diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-09-29 10:45:36 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-09-29 10:46:59 +0200 |
commit | 1b0f6be2d06154f6ecab2f6ee930fa3c5a62f01d (patch) | |
tree | 1ef8d6de3b728d19c1840194416d785a51d35dc3 | |
parent | 8b7bc95275b19affebf50b3ecba6c763f63bc1c5 (diff) |
There are no users of this optional argument
Change-Id: I74b4988a3c93e0964580bdd35210b3495365d5b6
-rw-r--r-- | sw/inc/doc.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/doc/docnum.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index dff338529a91..8d6ea4db9c0e 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -1527,7 +1527,7 @@ public: OUString GetUniqueNumRuleName( const OUString* pChkStr = 0, bool bAutoNum = true ) const; void UpdateNumRule(); /// Update all invalids. - void ChgNumRuleFmts( const SwNumRule& rRule, const String * pOldName = 0 ); + void ChgNumRuleFmts( const SwNumRule& rRule ); bool ReplaceNumRule( const SwPosition& rPos, const String& rOldRule, const String& rNewRule ); diff --git a/sw/source/core/doc/docnum.cxx b/sw/source/core/doc/docnum.cxx index 2a3105fa70dd..52f3b1d4fc95 100644 --- a/sw/source/core/doc/docnum.cxx +++ b/sw/source/core/doc/docnum.cxx @@ -1061,9 +1061,9 @@ bool SwDoc::DelNumRule( const String& rName, bool bBroadcast ) return false; } -void SwDoc::ChgNumRuleFmts( const SwNumRule& rRule, const String * pName ) +void SwDoc::ChgNumRuleFmts( const SwNumRule& rRule ) { - SwNumRule* pRule = FindNumRulePtr( pName ? *pName : String(rRule.GetName()) ); + SwNumRule* pRule = FindNumRulePtr( rRule.GetName() ); if( pRule ) { SwUndoInsNum* pUndo = 0; |