summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-26 12:29:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-26 12:34:40 +0100
commit94e175e9614f05c906f5820439557d608efab307 (patch)
tree3f9cd7c9d96391e5e81d999e546a9d64a82c75c7 /include
parent27041c83cb4c6e7843a4fc112cbab65dfbea929a (diff)
the OutDevState dtors are never called
regression since cf3c6cb40f99fa1761a6af3d7447a899b9447868 Change-Id: Iaeb44d948d3e0a0b26cfd3e16aa81b979cf56457
Diffstat (limited to 'include')
-rw-r--r--include/vcl/outdev.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 40f3345a72d8..1d98f41c6c45 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -42,6 +42,7 @@
#include <unotools/fontdefs.hxx>
#include <boost/scoped_ptr.hpp>
+#include <boost/ptr_container/ptr_deque.hpp>
#include <com/sun/star/drawing/LineCap.hpp>
#include <com/sun/star/uno/Reference.h>
@@ -264,7 +265,7 @@ private:
mutable PhysicalFontCollection* mpFontCollection;
mutable ImplGetDevFontList* mpGetDevFontList;
mutable ImplGetDevSizeList* mpGetDevSizeList;
- std::stack < OutDevState* >* mpOutDevStateStack;
+ boost::ptr_deque<OutDevState>* mpOutDevStateStack;
ImplOutDevData* mpOutDevData;
VCLXGraphicsList_impl* mpUnoGraphicsList;
vcl::PDFWriterImpl* mpPDFWriter;