diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-24 09:41:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-24 13:47:52 +0200 |
commit | 604bc943655b88994faa7f307d1c48e914965e95 (patch) | |
tree | 51d09183f93c02371f764a5d1e68c7c54abcb0b5 /filter/source | |
parent | a43187d9075c6347412a2584d764145127779df8 (diff) |
loplugin:unusedfields readonly fields
Change-Id: I6629926df06f71ff86e9fb23ae4fc1ae73bc9406
Reviewed-on: https://gerrit.libreoffice.org/40360
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter/source')
-rw-r--r-- | filter/source/graphicfilter/icgm/cgm.cxx | 8 | ||||
-rw-r--r-- | filter/source/graphicfilter/icgm/cgm.hxx | 2 |
2 files changed, 0 insertions, 10 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(); diff --git a/filter/source/graphicfilter/icgm/cgm.hxx b/filter/source/graphicfilter/icgm/cgm.hxx index fb335e09bc0e..2921ce726ca7 100644 --- a/filter/source/graphicfilter/icgm/cgm.hxx +++ b/filter/source/graphicfilter/icgm/cgm.hxx @@ -56,8 +56,6 @@ class CGM double mnYFraction; bool mbAngReverse; // AngularDirection - Graphic* mpGraphic; - bool mbStatus; bool mbMetaFile; bool mbIsFinished; |