summaryrefslogtreecommitdiff
path: root/filter/source/flash/swfwriter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/flash/swfwriter.cxx')
-rw-r--r--filter/source/flash/swfwriter.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/filter/source/flash/swfwriter.cxx b/filter/source/flash/swfwriter.cxx
index 4e2021264605..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();
@@ -100,7 +99,7 @@ Writer::Writer( sal_Int32 nTWIPWidthOutput, sal_Int32 nTWIPHeightOutput, sal_Int
Writer::~Writer()
{
- delete mpVDev;
+ mpVDev.disposeAndClear();
delete mpSprite;
delete mpTag;
}