diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-11-19 11:18:16 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-11-19 11:28:56 +0100 |
commit | db222b74f1482870aac76d51646215d756901b8d (patch) | |
tree | 26e251e2783cebb569b86489f2df65398730b31d /vcl | |
parent | b62e70ef6f352c61d50eca36388e9aa8d3f5e412 (diff) |
mbSwapUnderway always true inside ImpGraphic::ImplReadEmbedded
Change-Id: I641a9ca69d8e821f6b4e82ca98179a59b793345a
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/impgraph.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
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 ); |