diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-14 09:54:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-14 10:53:29 +0000 |
commit | ec3085d6256959722dca64c0df71487177cb4db3 (patch) | |
tree | e42d6ac755c78f366e9611d0ce289d53c093b5ef /editeng | |
parent | e576b083c88b97750ce261da80c3933cc04725a7 (diff) |
comment is wrong now with conversion to OUString
Change-Id: Iff26cd2c966fc747895fbde7229a457a99c62f7a
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editdoc.cxx | 3 |
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); |