diff options
author | Radek Doulik <rodo@novell.com> | 2013-02-25 15:06:11 +0100 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2013-02-25 15:08:30 +0100 |
commit | 251adf02222661bcabf05bd32bbf5cd7345f42b2 (patch) | |
tree | b87b26884091f7c8d612c14814f8151b971aa403 | |
parent | 41cfd0fd9d32b5e0a07d9f422aec2c7d97b27c01 (diff) |
Revert "allow WMF's with missing EOF record"
This reverts commit 199f0edc93e25ff8144f16599184049573154232.
the problematic emf+ file with embedded wmf suffered from different problem
so I reverted this fix as it is not needed
-rw-r--r-- | vcl/source/filter/wmf/winwmf.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/filter/wmf/winwmf.cxx b/vcl/source/filter/wmf/winwmf.cxx index 97a705bbc3bf..ecdf04d06abd 100644 --- a/vcl/source/filter/wmf/winwmf.cxx +++ b/vcl/source/filter/wmf/winwmf.cxx @@ -1188,7 +1188,7 @@ void WMFReader::ReadWMF() || pWMF->IsEof() ) { - if( pWMF->IsEof() && nPos != nEndPos) + if( pWMF->IsEof() ) pWMF->SetError( SVSTREAM_FILEFORMAT_ERROR ); break; |