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

(-)source/dmapper/DomainMapper.cxx (-1 / +6 lines)
Lines 2647-2659 Link Here
2647
    case NS_sprm::LN_POutLvl:
2647
    case NS_sprm::LN_POutLvl:
2648
        /* WRITERFILTERSTATUS: done: 0, planned: 2, spent: 0 */
2648
        /* WRITERFILTERSTATUS: done: 0, planned: 2, spent: 0 */
2649
        { 
2649
        { 
2650
            sal_Int16 nLvl = static_cast< sal_Int16 >( nIntValue );
2650
            if( m_pImpl->IsStyleSheetImport() )
2651
            if( m_pImpl->IsStyleSheetImport() )
2651
            {
2652
            {
2652
                sal_Int16 nLvl = static_cast< sal_Int16 >( nIntValue );
2653
2653
2654
                StyleSheetPropertyMap* pStyleSheetPropertyMap = dynamic_cast< StyleSheetPropertyMap* >( rContext.get() );
2654
                StyleSheetPropertyMap* pStyleSheetPropertyMap = dynamic_cast< StyleSheetPropertyMap* >( rContext.get() );
2655
                pStyleSheetPropertyMap->SetOutlineLevel( nLvl );
2655
                pStyleSheetPropertyMap->SetOutlineLevel( nLvl );
2656
            }
2656
            }
2657
			else
2658
			{
2659
				nLvl = nLvl >= WW_OUTLINE_MIN && nLvl < WW_OUTLINE_MAX? nLvl+1 : 0; //0 means no outline level set on
2660
				rContext->Insert(PROP_OUTLINE_LEVEL, true, uno::makeAny ( nLvl ));
2661
			}
2657
        }
2662
        }
2658
        break;  // sprmPOutLvl
2663
        break;  // sprmPOutLvl
2659
    case NS_sprm::LN_PFBiDi:
2664
    case NS_sprm::LN_PFBiDi:

Return to issue 119621