diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 2dea5497b9f6..8c13dd8d5172 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -4445,12 +4445,6 @@ sal_uInt32 EscherGraphicProvider::GetBlibID( SvStream& rPicOutStrm, const OStrin aStream.Seek( STREAM_SEEK_TO_END ); p_EscherBlibEntry->mnSize = aStream.Tell(); pGraphicAry = (sal_uInt8*)aStream.GetData(); - - if ( p_EscherBlibEntry->meBlibType == WMF ) // the fileheader is not used - { - p_EscherBlibEntry->mnSize -= 22; - pGraphicAry += 22; - } } } }