summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-04-10 21:00:13 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 21:00:13 +0100
commitefcce8fc8478207d58069ee992aab4ff7b07f619 (patch)
tree995f58e45dc51e41dc779401cbcd58698f9254f9 /filter
parentMisc. other fixing. (diff)
downloadcore-efcce8fc8478207d58069ee992aab4ff7b07f619.tar.gz
core-efcce8fc8478207d58069ee992aab4ff7b07f619.zip
VclPtr: unfortunate includes needed for inlining ref/unref.
Something of a compile time vs. run-time choice. Change-Id: I7e9db3a6f14d352e0b78abd5f22ccc593aceb001
Diffstat (limited to 'filter')
-rw-r--r--filter/source/flash/swfwriter.cxx1
-rw-r--r--filter/source/flash/swfwriter.hxx3
2 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/flash/swfwriter.cxx b/filter/source/flash/swfwriter.cxx
index 7df9404ed549..9f80ca9afaeb 100644
--- a/filter/source/flash/swfwriter.cxx
+++ b/filter/source/flash/swfwriter.cxx
@@ -49,7 +49,6 @@ Writer::Writer( sal_Int32 nTWIPWidthOutput, sal_Int32 nTWIPHeightOutput, sal_Int
mnGlobalTransparency(0),
mnJPEGCompressMode(nJPEGcompressMode)
{
- mpVDev = new VirtualDevice;
mpVDev->EnableOutput( false );
maMovieTempFile.EnableKillingFile();
diff --git a/filter/source/flash/swfwriter.hxx b/filter/source/flash/swfwriter.hxx
index 2e98ab1f48a1..786410259559 100644
--- a/filter/source/flash/swfwriter.hxx
+++ b/filter/source/flash/swfwriter.hxx
@@ -25,6 +25,7 @@
#include <com/sun/star/i18n/XBreakIterator.hpp>
#include <vcl/font.hxx>
#include <vcl/gradient.hxx>
+#include <vcl/vclptr.hxx>
#include <unotools/tempfile.hxx>
#include <tools/color.hxx>
#include <tools/poly.hxx>
@@ -395,7 +396,7 @@ private:
sal_uInt16 mnWhiteBackgroundShapeId;
sal_uInt16 mnPageButtonId;
- VclPtr<VirtualDevice> mpVDev;
+ VclPtrInstance<VirtualDevice> mpVDev;
const tools::PolyPolygon* mpClipPolyPolygon;