| author | Felix Zhang <fezhang@suse.com> | 2012-06-15 16:00:02 (GMT) |
|---|---|---|
| committer | Radek Doulik <rodo@novell.com> | 2012-08-21 19:55:53 (GMT) |
| commit | f2b1841ae3f082921ea0db44a0e6d4d7b0d92041 (patch) (side-by-side diff) | |
| tree | 514af492f161ce2e3608110469480979b1074ade | |
| parent | 6f37f7f06b1b4810d0cee025a3502e3282c25986 (diff) | |
| download | core-f2b1841ae3f082921ea0db44a0e6d4d7b0d92041.zip core-f2b1841ae3f082921ea0db44a0e6d4d7b0d92041.tar.gz | |
n760019: removing problematic code that disrupts numbering level
Change-Id: Idb997e672e4f997ad324bdb5d49ab7dae4a9e9e9
| -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 a47a5d5..1b599a6 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 ); |
