diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/rechead.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/rechead.cxx b/sc/source/core/tool/rechead.cxx index 517759524c92..ce1d91c28744 100644 --- a/sc/source/core/tool/rechead.cxx +++ b/sc/source/core/tool/rechead.cxx @@ -81,7 +81,7 @@ ScMultipleReadHeader::ScMultipleReadHeader(SvStream& rNewStream) : ScMultipleReadHeader::~ScMultipleReadHeader() { - if ( pMemStream && pMemStream->Tell() != pMemStream->GetSize() ) + if ( pMemStream && pMemStream->Tell() != pMemStream->GetEndOfData() ) { DBG_ERRORFILE( "Sizes nicht vollstaendig gelesen" ); if ( rStream.GetError() == SVSTREAM_OK ) |