From db222b74f1482870aac76d51646215d756901b8d Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Wed, 19 Nov 2014 11:18:16 +0100 Subject: mbSwapUnderway always true inside ImpGraphic::ImplReadEmbedded Change-Id: I641a9ca69d8e821f6b4e82ca98179a59b793345a --- vcl/source/gdi/impgraph.cxx | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'vcl') diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx index eafd6c3a821e..4b3dc1742e06 100644 --- a/vcl/source/gdi/impgraph.cxx +++ b/vcl/source/gdi/impgraph.cxx @@ -981,17 +981,6 @@ bool ImpGraphic::ImplReadEmbedded( SvStream& rIStm ) const sal_uInt16 nOldFormat = rIStm.GetNumberFormatInt(); bool bRet = false; - if( !mbSwapUnderway ) - { - const OUString aTempURLStr( maDocFileURLStr ); - const sal_uLong nTempPos = mnDocFilePos; - - ImplClear(); - - maDocFileURLStr = aTempURLStr; - mnDocFilePos = nTempPos; - } - rIStm.SetNumberFormatInt( NUMBERFORMAT_INT_LITTLEENDIAN ); rIStm.ReadUInt32( nId ); -- cgit