summaryrefslogtreecommitdiffstats
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-07-20 12:08:29 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-26 14:30:10 +0200
commite7cda38616c967bcc8c07f94d32342ccd1b629c5 (patch)
treeaee4511f29b4beba37260bc8e7d34b8006a8d95d /sw/inc
parentfix previous STL conversion commit: (diff)
downloadcore-e7cda38616c967bcc8c07f94d32342ccd1b629c5.tar.gz
core-e7cda38616c967bcc8c07f94d32342ccd1b629c5.zip
Convert SV_DECL_VARARR(SwRects) to std::vector
Change-Id: I7fa9380fad92d6667ccd9a635b2d26f700aa780e
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/swregion.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/swregion.hxx b/sw/inc/swregion.hxx
index b0f63f805e74..b4c18faafa24 100644
--- a/sw/inc/swregion.hxx
+++ b/sw/inc/swregion.hxx
@@ -28,17 +28,17 @@
#ifndef _SWREGION_HXX
#define _SWREGION_HXX
-#include <svl/svarray.hxx>
+#include <vector>
#include "swrect.hxx"
-SV_DECL_VARARR( SwRects, SwRect, 20 )
+typedef std::vector<SwRect> SwRects;
class SwRegionRects : public SwRects
{
SwRect aOrigin; // Copy of StartRect.
- inline void InsertRect( const SwRect &rRect, const sal_uInt16 nPos, sal_Bool &rDel);
+ inline void InsertRect( const SwRect &rRect, const sal_uInt16 nPos, bool &rDel);
public:
SwRegionRects( const SwRect& rStartRect, sal_uInt16 nInit = 20 );
@@ -50,7 +50,7 @@ public:
void Invert();
// Combine adjacent rectangles.
- void Compress( sal_Bool bFuzzy = sal_True );
+ void Compress( bool bFuzzy = true );
inline const SwRect &GetOrigin() const { return aOrigin; }
inline void ChangeOrigin( const SwRect &rRect ) { aOrigin = rRect; }