diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-09-13 20:09:49 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-09-19 10:18:32 +0200 |
commit | e2dc30d6b01a02efc40849b15a38f30b1f34181c (patch) | |
tree | d4aac0ecaa54a1eadabca3c4773f7edbbd5a6de3 /sw/source/ui | |
parent | 29c8641fb20c27a3a9aafb94654b4a9afaaa578b (diff) |
sw_redlinehide_2: remove GetTextUntilEndOfNode()
This is pretty silly, the only caller is actually interested in the
position of the cursor, not any text at all.
Change-Id: Ibf016d5526e18775c0e6e365b9823723267e76d5
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/dbui/mmlayoutpage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/dbui/mmlayoutpage.cxx b/sw/source/ui/dbui/mmlayoutpage.cxx index 9d5007bbb288..ecb0150f25a4 100644 --- a/sw/source/ui/dbui/mmlayoutpage.cxx +++ b/sw/source/ui/dbui/mmlayoutpage.cxx @@ -453,7 +453,7 @@ void SwMailMergeLayoutPage::InsertGreeting(SwWrtShell& rShell, SwMailMergeConfig //we may end up inside of a paragraph if the left margin is not at DEFAULT_LEFT_DISTANCE rShell.MovePara(GoCurrPara, fnParaStart); } - bool bSplitNode = !rShell.GetTextUntilEndOfNode().isEmpty(); + bool bSplitNode = !rShell.IsEndPara(); sal_Int32 nMoves = rConfigItem.GetGreetingMoves(); if( !bExample && 0 != nMoves ) { |