n760019: removing problematic code that disrupts numbering level
Change-Id: Idb997e672e4f997ad324bdb5d49ab7dae4a9e9e9
This commit is contained in:
parent
6f37f7f06b
commit
f2b1841ae3
1 changed files with 0 additions and 6 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue