summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-10-29 15:58:25 +0100
committerMichael Stahl <Michael.Stahl@cib.de>2018-11-10 19:47:00 +0100
commiteb925ebc33e672832310331559b67142f4a87b8e (patch)
treec95f6e65fc772cbbcae79f02358c63d20ef6e778
parentccf6c98b13a67edcc9e9edff482f3dc214730062 (diff)
sw: remove this nonsense, see SwPam::Delete()
Change-Id: Ic8425801e51219627fd37e0b63161590a61b2857
-rw-r--r--sw/source/core/edit/ednumber.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sw/source/core/edit/ednumber.cxx b/sw/source/core/edit/ednumber.cxx
index dd32c7a49efb..6402f498290e 100644
--- a/sw/source/core/edit/ednumber.cxx
+++ b/sw/source/core/edit/ednumber.cxx
@@ -398,12 +398,6 @@ bool SwEditShell::MoveParagraph( long nOffset )
StartAllAction();
SwPaM *pCursor = GetCursor();
- if( !pCursor->HasMark() )
- {
- // Ensures that Bound1 and Bound2 are in the same Node
- pCursor->SetMark();
- pCursor->DeleteMark();
- }
bool bRet = GetDoc()->MoveParagraph( *pCursor, nOffset );