summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-03-02 07:01:57 +0100
committerDavid Tardon <dtardon@redhat.com>2013-03-03 09:28:25 +0100
commit1e1a25efd4ba640dbed7e274592f706f48c120e6 (patch)
tree3c40dd32a0b46aca6e6121f955a43d7688501689 /vcl
parent09e2d7345addbcaad15e9ab5f8e5bca795bc8a67 (diff)
why is the ResMgr being created here anyway?
Change-Id: Icbff9bd5717e79b39218415f24ca544e98f26686
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/filter/graphicfilter.cxx2
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;