diff options
Diffstat (limited to 'filter/source/graphicfilter/icgm/cgm.cxx')
-rw-r--r-- | filter/source/graphicfilter/icgm/cgm.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/filter/source/graphicfilter/icgm/cgm.cxx b/filter/source/graphicfilter/icgm/cgm.cxx index c841f7234a19..758f4e0a2fa8 100644 --- a/filter/source/graphicfilter/icgm/cgm.cxx +++ b/filter/source/graphicfilter/icgm/cgm.cxx @@ -43,7 +43,6 @@ CGM::CGM(uno::Reference< frame::XModel > const & rModel) , mnXFraction(0) , mnYFraction(0) , mbAngReverse(false) - , mpGraphic(nullptr) , mbStatus(true) , mbMetaFile(false) , mbIsFinished(false) @@ -72,13 +71,6 @@ CGM::CGM(uno::Reference< frame::XModel > const & rModel) CGM::~CGM() { - if ( mpGraphic ) - { - mpGDIMetaFile->Stop(); - mpGDIMetaFile->SetPrefMapMode( MapMode() ); - mpGDIMetaFile->SetPrefSize( Size( static_cast< long >( mnOutdx ), static_cast< long >( mnOutdy ) ) ); - *mpGraphic = Graphic( *mpGDIMetaFile ); - } for(sal_uInt8* i : maDefRepList) delete [] i; maDefRepList.clear(); |