diff options
author | Felix Zhang <fezhang@suse.com> | 2012-06-16 00:00:02 +0800 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2012-08-21 21:57:56 +0200 |
commit | 1e49061273f1f64fe02e4ec916dc7b4b45207d21 (patch) | |
tree | 008be841b66b9d9524bc654b68b8515e514728cb /oox | |
parent | f2202ff952aefec7da78c45262d5004f31815270 (diff) |
n760019: removing problematic code that disrupts numbering level
Change-Id: Idb997e672e4f997ad324bdb5d49ab7dae4a9e9e9
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 63a28452ba9e..1e2d8e2f2829 100644 --- a/oox/source/drawingml/textparagraph.cxx +++ b/oox/source/drawingml/textparagraph.cxx @@ -129,12 +129,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 ); |