summaryrefslogtreecommitdiffstats
path: root/include/editeng/tstpitem.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <quikee@gmail.com>2013-09-13 22:12:51 +0200
committerTomaž Vajngerl <quikee@gmail.com>2013-09-15 15:34:16 +0200
commite0a43dff646515bbbcd2099b6fc095a7a89b84f9 (patch)
treefedbbe646e98f278e588d46ca8751d69e60a59e1 /include/editeng/tstpitem.hxx
parentFix ruler margin dragging in vertical mode (diff)
downloadcore-e0a43dff646515bbbcd2099b6fc095a7a89b84f9.tar.gz
core-e0a43dff646515bbbcd2099b6fc095a7a89b84f9.zip
Use vector instead of scoped_array to hold ruler items
Change-Id: I51f8d1d22da5f869e9937813de9649fddae1ffda
Diffstat (limited to 'include/editeng/tstpitem.hxx')
-rw-r--r--include/editeng/tstpitem.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/editeng/tstpitem.hxx b/include/editeng/tstpitem.hxx
index 254105737573..ee6ef7f0539c 100644
--- a/include/editeng/tstpitem.hxx
+++ b/include/editeng/tstpitem.hxx
@@ -140,6 +140,11 @@ public:
const SvxTabStop& operator[]( const sal_uInt16 nPos ) const
{ return maTabStops[nPos]; }
+ const SvxTabStop& At( const sal_uInt16 nPos ) const
+ {
+ return maTabStops[nPos];
+ }
+
// "pure virtual Methods" from SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;