diff options
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/textparagraph.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/oox/source/drawingml/textparagraph.cxx b/oox/source/drawingml/textparagraph.cxx index a47a5d57f4d4..1b599a6668e0 100644 --- a/oox/source/drawingml/textparagraph.cxx +++ b/oox/source/drawingml/textparagraph.cxx @@ -125,12 +125,6 @@ void TextParagraph::insertAt( const OUString sNumberingLevel( CREATE_OUSTRING( "NumberingLevel" ) ); xProps->setPropertyValue( sNumberingLevel, Any( static_cast< sal_Int16 >( -1 ) ) ); } - else if ( nLevel > 1 ) - { - // Even more UGLY HACK - const OUString sNumberingLevel( CREATE_OUSTRING( "NumberingLevel" ) ); - xProps->setPropertyValue( sNumberingLevel, Any( static_cast< sal_Int16 >( nLevel-1 ) ) ); - } // FIXME this is causing a lot of dispruption (ie does not work). I wonder what to do -- Hub // Reference< XTextRange > xEnd( xAt, UNO_QUERY ); |