summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/impgraph.cxx11
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 );