summaryrefslogtreecommitdiff
path: root/include/svx
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/svx
parentb46079bb41591d9697339e8250d4ca7bf0930c0f (diff)
Use vector instead of scoped_array to hold ruler items
Change-Id: I51f8d1d22da5f869e9937813de9649fddae1ffda
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/ruler.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/svx/ruler.hxx b/include/svx/ruler.hxx
index 55dea876a22e..09d59f085434 100644
--- a/include/svx/ruler.hxx
+++ b/include/svx/ruler.hxx
@@ -87,11 +87,11 @@ class SVX_DLLPUBLIC SvxRuler: public Ruler, public SfxListener
sal_uInt16 nTabBufSize;
long lDefTabDist;
long lTabPos;
- boost::scoped_array<RulerTab> mpTabs; // tab positions in pixel
- boost::scoped_array<RulerIndent> mpIndents; // paragraph margins in pixel
- boost::scoped_array<RulerBorder> mpBorders;
- sal_uInt16 nBorderCount;
- boost::scoped_array<RulerBorder> mpObjectBorders;
+
+ std::vector<RulerTab> mpTabs; // tab positions in pixel
+ std::vector<RulerIndent> mpIndents; // paragraph margins in pixel
+ std::vector<RulerBorder> mpBorders;
+ std::vector<RulerBorder> mpObjectBorders;
SfxBindings* pBindings;
long nDragOffset;
@@ -167,7 +167,7 @@ class SVX_DLLPUBLIC SvxRuler: public Ruler, public SfxListener
long GetRightIndent() const;
long GetLogicRightIndent() const;
- inline long GetLeftFrameMargin() const;
+ long GetLeftFrameMargin() const;
long GetRightFrameMargin() const;
void CalcMinMax();