summaryrefslogtreecommitdiff
path: root/sw/source/uibase/wrtsh
diff options
context:
space:
mode:
authorJustin Luth <jluth@mail.com>2022-08-25 05:51:11 -0400
committerJustin Luth <jluth@mail.com>2022-08-25 21:04:38 +0200
commit3e3328987b69a2a549d24c79ee71b353b9a3e288 (patch)
tree93287ed05eda145e202ca0f0a7e629451ff55525 /sw/source/uibase/wrtsh
parentf5eccd1ecf67daace793fb7c856b4429345a9338 (diff)
tdf#109285 sw numbering: RemoveLeadingWhiteSpace from all paras
Change-Id: Ie834b9c10c9a6cfd7971c7713c5684157477acc4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138807 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'sw/source/uibase/wrtsh')
-rw-r--r--sw/source/uibase/wrtsh/wrtsh1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/wrtsh/wrtsh1.cxx b/sw/source/uibase/wrtsh/wrtsh1.cxx
index 6606b65ff49f..5b6649861a74 100644
--- a/sw/source/uibase/wrtsh/wrtsh1.cxx
+++ b/sw/source/uibase/wrtsh/wrtsh1.cxx
@@ -1549,7 +1549,7 @@ void SwWrtShell::NumOrBulletOn(bool bNum)
const SwTwips nWidthOfTabs = pTextNode
? pTextNode->GetWidthOfLeadingTabs()
: 0;
- GetDoc()->getIDocumentContentOperations().RemoveLeadingWhiteSpace( *GetCursor()->GetPoint() );
+ GetDoc()->getIDocumentContentOperations().RemoveLeadingWhiteSpace(*GetCursor());
const bool bHtml = dynamic_cast<SwWebDocShell*>( pDocSh ) != nullptr;
const bool bRightToLeft = IsInRightToLeftText();