--- a/main/sw/source/filter/ww8/ww8graf.cxx +++ a/main/sw/source/filter/ww8/ww8graf.cxx @@ -2398,7 +2398,6 @@ RndStdIds SwWW8ImplReader::ProcessEscherAlign(SvxMSDffImportRec* pRecord, if ( nInTable && ( eHoriRel == text::RelOrientation::FRAME || eHoriRel == text::RelOrientation::CHAR ) && pFSPA->nwr == 3 && -// pRecord->nLayoutInTableCell == 0x80000000 ) !IsObjectLayoutInTableCell( pRecord->nLayoutInTableCell ) ) { eHoriRel = text::RelOrientation::PAGE_PRINT_AREA; @@ -2468,7 +2467,7 @@ bool SwWW8ImplReader::IsObjectLayoutInTableCell( const sal_uInt32 nLayoutInTable { bIsObjectLayoutInTableCell = false; ASSERT( nLayoutInTableCell == 0xFFFFFFFF, - "no explicit object attribute layout in table cell excepted." ); + "no explicit object attribute layout in table cell expected." ); } break; case 0x2000: // version 9 aka Microsoft Word 2000 @@ -2480,7 +2479,7 @@ bool SwWW8ImplReader::IsObjectLayoutInTableCell( const sal_uInt32 nLayoutInTable // adjustment of conditions needed after deeper analysis of // certain test cases. if ( nLayoutInTableCell == 0xFFFFFFFF || // no explicit attribute value given - nLayoutInTableCell & 0x80008000 || + nLayoutInTableCell == 0x80008000 || ( nLayoutInTableCell & 0x02000000 && !(nLayoutInTableCell & 0x80000000 ) ) ) // <--