summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/docnum.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/sw/source/core/doc/docnum.cxx b/sw/source/core/doc/docnum.cxx
index 2420532c5bee..586324391888 100644
--- a/sw/source/core/doc/docnum.cxx
+++ b/sw/source/core/doc/docnum.cxx
@@ -1185,16 +1185,6 @@ bool SwDoc::ReplaceNumRule( const SwPosition& rPos,
if ( !aTextNodeList.empty() )
{
SwRegHistory aRegH( pUndo ? pUndo->GetHistory() : nullptr );
- sal_uInt16 nChgFormatLevel = 0;
- for( sal_uInt8 n = 0; n < MAXLEVEL; ++n )
- {
- const SwNumFormat& rOldFormat = pOldRule->Get( n ),
- & rNewFormat = pNewRule->Get( n );
-
- if( rOldFormat.GetAbsLSpace() != rNewFormat.GetAbsLSpace() ||
- rOldFormat.GetFirstLineOffset() != rNewFormat.GetFirstLineOffset() )
- nChgFormatLevel |= ( 1 << n );
- }
const SwTextNode* pGivenTextNode = rPos.nNode.GetNode().GetTextNode();
SwNumRuleItem aRule( rNewRule );