summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-14 09:54:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-14 10:53:29 +0000
commitec3085d6256959722dca64c0df71487177cb4db3 (patch)
treee42d6ac755c78f366e9611d0ce289d53c093b5ef /editeng
parente576b083c88b97750ce261da80c3933cc04725a7 (diff)
comment is wrong now with conversion to OUString
Change-Id: Iff26cd2c966fc747895fbde7229a457a99c62f7a
Diffstat (limited to 'editeng')
-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);