https://bugs.documentfoundation.org/show_bug.cgi?id=173869

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Julien Nabet <[email protected]> ---
Just for the record, even with this patch:
diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx
index a4d06eb55d5a..37c1b493e8ac 100644
--- a/sot/source/sdstor/stgelem.cxx
+++ b/sot/source/sdstor/stgelem.cxx
@@ -193,8 +193,9 @@ static bool isKnownSpecial(sal_Int32 nLocation)
 // Perform thorough checks also on unknown variables
 bool StgHeader::Check()
 {
+    short version = static_cast<short>( m_nVersion >> 16 );
     return  memcmp( m_cSignature, cStgSignature, 8 ) == 0
-            && static_cast<short>( m_nVersion >> 16 ) == 3
+            && (version == 3 || version == 4)
             && m_nPageSize == 9
             && lcl_wontoverflow(m_nPageSize)
             && lcl_wontoverflow(m_nDataPageSize)

it still doesn't work.

Here are some console logs:
MWAWHeader::constructHeader: find a potential MacPaint file
MacPaintParser::readBitmap: can not read row 53
MWAWHeader::constructHeader: find a potential MacPaint file
MacPaintParser::readBitmap: can not read row 53
WPSDocument::isFileFormatSupported()
Throwing InvalidHeaderException
Throwing InvalidHeaderException
MWAWHeader::constructHeader: find a potential MacPaint file
MacPaintParser::readBitmap: can not read row 53
MWAWHeader::constructHeader: find a potential MacPaint file
MacPaintParser::readBitmap: can not read row 53
MWAWHeader::constructHeader: find a potential MacPaint file
MacPaintParser::readBitmap: can not read row 53
MWAWHeader::constructHeader: find a potential MacPaint file
MacPaintParser::readBitmap: can not read row 53
WPSDocument::isFileFormatSupported()
Throwing InvalidHeaderException
WPSDocument::isFileFormatSupported()
MWAWHeader::constructHeader: find a potential MacPaint file
MacPaintParser::readBitmap: can not read row 53
Throwing InvalidHeaderException
AbiDocument::isFileFormatSupported
Found xml parser severity error Start tag expected, '<' not found
MWAWHeader::constructHeader: find a potential MacPaint file
MacPaintParser::readBitmap: can not read row 53
MWAWHeader::constructHeader: find a potential MacPaint file
MacPaintParser::readBitmap: can not read row 53
MWAWHeader::constructHeader: find a potential MacPaint file
MacPaintParser::readBitmap: can not read row 53
MacPaintParser::readBitmap: can not read row 53
MWAWDocument::parse: Parse exception trapped

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to