diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 21:00:13 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 21:00:13 +0100 |
commit | efcce8fc8478207d58069ee992aab4ff7b07f619 (patch) | |
tree | 995f58e45dc51e41dc779401cbcd58698f9254f9 /filter/source | |
parent | e985155bc506c84efba297751c76242406351de7 (diff) |
VclPtr: unfortunate includes needed for inlining ref/unref.
Something of a compile time vs. run-time choice.
Change-Id: I7e9db3a6f14d352e0b78abd5f22ccc593aceb001
Diffstat (limited to 'filter/source')
-rw-r--r-- | filter/source/flash/swfwriter.cxx | 1 | ||||
-rw-r--r-- | filter/source/flash/swfwriter.hxx | 3 |
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; |