summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editeng/source/editeng/editdoc.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx
index 0b45180484ff..2b0e40fe4c4f 100644
--- a/editeng/source/editeng/editdoc.cxx
+++ b/editeng/source/editeng/editdoc.cxx
@@ -2144,8 +2144,7 @@ OUString EditDoc::GetParaAsString(
pNextFeature = 0; // Feature does not interest the below
DBG_ASSERT( nEnd >= nIndex, "End in front of the index?" );
- //!! beware of sub string length of -1 which is also defined as STRING_LEN and
- //!! thus would result in adding the whole sub string up to the end of the node !!
+ //!! beware of sub string length of -1
if (nEnd > nIndex)
aStr += pNode->GetString().copy(nIndex, nEnd - nIndex);