diff options
-rw-r--r-- | sw/source/core/layout/paintfrm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index beb44dd54a3e..bac034e7a69d 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -122,7 +122,7 @@ #include <basegfx/polygon/b2dpolygon.hxx> #include <basegfx/color/bcolortools.hxx> -#include <deque> +#include <vector> #include <algorithm> #include <wrtsh.hxx> #include <edtwin.hxx> @@ -189,7 +189,7 @@ public: sal_Bool MakeUnion( const SwRect &rRect ); }; -class SwLineRects : public std::deque< SwLineRect > +class SwLineRects : public std::vector< SwLineRect > { size_t nLastCount; //avoid unnecessary cycles in PaintLines public: |