summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/docfile.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index f4732d2d55c4..4b62de5ae926 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -2280,7 +2280,6 @@ void SfxMedium::GetMedium_Impl()
if ( pImp->m_xInputStreamToLoadFrom.is() )
{
pImp->xInputStream = pImp->m_xInputStreamToLoadFrom;
- pImp->xInputStream->skipBytes(0);
if (pImp->m_bInputStreamIsReadOnly)
GetItemSet()->Put( SfxBoolItem( SID_DOC_READONLY, true ) );
}