Kaydet (Commit) 251adf02 authored tarafından Radek Doulik's avatar Radek Doulik

Revert "allow WMF's with missing EOF record"

This reverts commit 199f0edc.

the problematic emf+ file with embedded wmf suffered from different problem
so I reverted this fix as it is not needed
üst 41cfd0fd
......@@ -1188,7 +1188,7 @@ void WMFReader::ReadWMF()
|| pWMF->IsEof()
)
{
if( pWMF->IsEof() && nPos != nEndPos)
if( pWMF->IsEof() )
pWMF->SetError( SVSTREAM_FILEFORMAT_ERROR );
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment