View | Details | Raw Unified | Return to issue 119624
Collapse All | Expand All

(-)sw/source/filter/ww8/ww8graf.cxx (-3 / +3 lines)
Lines 2398-2404 Link Here
2398
        if ( nInTable &&
2398
        if ( nInTable &&
2399
             ( eHoriRel == text::RelOrientation::FRAME || eHoriRel == text::RelOrientation::CHAR ) &&
2399
             ( eHoriRel == text::RelOrientation::FRAME || eHoriRel == text::RelOrientation::CHAR ) &&
2400
             pFSPA->nwr == 3 &&
2400
             pFSPA->nwr == 3 &&
2401
//             pRecord->nLayoutInTableCell == 0x80000000 )
2402
             !IsObjectLayoutInTableCell( pRecord->nLayoutInTableCell ) )
2401
             !IsObjectLayoutInTableCell( pRecord->nLayoutInTableCell ) )
2403
        {
2402
        {
2404
            eHoriRel = text::RelOrientation::PAGE_PRINT_AREA;
2403
            eHoriRel = text::RelOrientation::PAGE_PRINT_AREA;
Lines 2468-2486 Link Here
2468
            {
2467
            {
2469
                bIsObjectLayoutInTableCell = false;
2468
                bIsObjectLayoutInTableCell = false;
2470
                ASSERT( nLayoutInTableCell == 0xFFFFFFFF,
2469
                ASSERT( nLayoutInTableCell == 0xFFFFFFFF,
2471
                        "no explicit object attribute layout in table cell excepted." );
2470
                        "no explicit object attribute layout in table cell expected." );
2472
            }
2471
            }
2473
            break;
2472
            break;
2474
            case 0x2000: // version 9 aka Microsoft Word 2000
2473
            case 0x2000: // version 9 aka Microsoft Word 2000
2475
            case 0x4000: // version 10 aka Microsoft Word 2002
2474
            case 0x4000: // version 10 aka Microsoft Word 2002
2476
            case 0x6000: // version 11 aka Microsoft Word 2003
2475
            case 0x6000: // version 11 aka Microsoft Word 2003
2477
            case 0x8000: // version 12 aka Microsoft Word 2007
2476
            case 0x8000: // version 12 aka Microsoft Word 2007
2477
            case 0xC000: // version 14 aka Microsoft Word 2010
2478
            {
2478
            {
2479
                // --> OD 2009-01-13 #i98037#
2479
                // --> OD 2009-01-13 #i98037#
2480
                // adjustment of conditions needed after deeper analysis of
2480
                // adjustment of conditions needed after deeper analysis of
2481
                // certain test cases.
2481
                // certain test cases.
2482
                if ( nLayoutInTableCell == 0xFFFFFFFF || // no explicit attribute value given
2482
                if ( nLayoutInTableCell == 0xFFFFFFFF || // no explicit attribute value given
2483
                     nLayoutInTableCell & 0x80008000 ||
2483
                     nLayoutInTableCell == 0x80008000 ||
2484
                     ( nLayoutInTableCell & 0x02000000 &&
2484
                     ( nLayoutInTableCell & 0x02000000 &&
2485
                       !(nLayoutInTableCell & 0x80000000 ) ) )
2485
                       !(nLayoutInTableCell & 0x80000000 ) ) )
2486
                // <--
2486
                // <--

Return to issue 119624