diff options
author | David Tardon <dtardon@redhat.com> | 2013-03-02 07:01:57 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-03-03 09:28:25 +0100 |
commit | 1e1a25efd4ba640dbed7e274592f706f48c120e6 (patch) | |
tree | 3c40dd32a0b46aca6e6121f955a43d7688501689 /vcl | |
parent | 09e2d7345addbcaad15e9ab5f8e5bca795bc8a67 (diff) |
why is the ResMgr being created here anyway?
Change-Id: Icbff9bd5717e79b39218415f24ca544e98f26686
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/filter/graphicfilter.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx index 4ba099b7bb72..cd62da4886ef 100644 --- a/vcl/source/filter/graphicfilter.cxx +++ b/vcl/source/filter/graphicfilter.cxx @@ -2006,11 +2006,9 @@ sal_uInt16 GraphicFilter::ExportGraphic( const Graphic& rGraphic, const String& if( !aBmp.Convert( (BmpConversion) nColorRes ) ) aBmp = aGraphic.GetBitmap(); } - ResMgr* pResMgr = ResMgr::CreateResMgr( "svt" ); sal_Bool bRleCoding = aConfigItem.ReadBool( "RLE_Coding", sal_True ); // save RLE encoded? aBmp.Write( rOStm, bRleCoding ); - delete pResMgr; if( rOStm.GetError() ) nStatus = GRFILTER_IOERROR; |