sw/source/uibase/wrtsh/wrtsh1.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit d8b72d2d841d35f3dfdd38aa9adcedae7550279b Author: Justin Luth <jl...@mail.com> AuthorDate: Sat Feb 11 11:15:44 2023 -0500 Commit: Justin Luth <jl...@mail.com> CommitDate: Sat Feb 11 23:24:21 2023 +0000 sw wrtsh1: cleanup unused pointer Having a separate pCurRule was made useless by commit 3234a9deaa8db760bbd7dbb6414aa3e8f9993c34 Author: Vladimir Glazounov <v...@openoffice.org> Date: Mon Feb 21 15:07:41 2005 +0000 INTEGRATION: CWS swqcore05 (1.40.82); FILE MERGED Change-Id: I5fe0c7b09245acd9376d46b448708f29594a7266 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146824 Tested-by: Jenkins Reviewed-by: Justin Luth <jl...@mail.com> diff --git a/sw/source/uibase/wrtsh/wrtsh1.cxx b/sw/source/uibase/wrtsh/wrtsh1.cxx index 8b6b3b225113..5f7ac28519b4 100644 --- a/sw/source/uibase/wrtsh/wrtsh1.cxx +++ b/sw/source/uibase/wrtsh/wrtsh1.cxx @@ -1349,12 +1349,9 @@ void SwWrtShell::SplitNode( bool bAutoFormat ) // cursor position in the document. void SwWrtShell::NumOrBulletOn(bool bNum) { - // determine numbering rule found at current cursor position in the document. - const SwNumRule* pCurRule = GetNumRuleAtCurrCursorPos(); - StartUndo(SwUndoId::NUMORNONUM); - const SwNumRule * pNumRule = pCurRule; + const SwNumRule* pNumRule = GetNumRuleAtCurrCursorPos(); // - activate outline rule respectively turning on outline rule for // current text node. But, only for turning on a numbering (<bNum> == true).