Index: source/dmapper/DomainMapper.cxx =================================================================== --- source/dmapper/DomainMapper.cxx (revision 1346698) +++ source/dmapper/DomainMapper.cxx (working copy) @@ -2647,13 +2647,18 @@ case NS_sprm::LN_POutLvl: /* WRITERFILTERSTATUS: done: 0, planned: 2, spent: 0 */ { + sal_Int16 nLvl = static_cast< sal_Int16 >( nIntValue ); if( m_pImpl->IsStyleSheetImport() ) { - sal_Int16 nLvl = static_cast< sal_Int16 >( nIntValue ); StyleSheetPropertyMap* pStyleSheetPropertyMap = dynamic_cast< StyleSheetPropertyMap* >( rContext.get() ); pStyleSheetPropertyMap->SetOutlineLevel( nLvl ); } + else + { + nLvl = nLvl >= WW_OUTLINE_MIN && nLvl < WW_OUTLINE_MAX? nLvl+1 : 0; //0 means no outline level set on + rContext->Insert(PROP_OUTLINE_LEVEL, true, uno::makeAny ( nLvl )); + } } break; // sprmPOutLvl case NS_sprm::LN_PFBiDi: