From ec3085d6256959722dca64c0df71487177cb4db3 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 14 Jan 2014 09:54:22 +0000 Subject: comment is wrong now with conversion to OUString Change-Id: Iff26cd2c966fc747895fbde7229a457a99c62f7a --- editeng/source/editeng/editdoc.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'editeng') 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); -- cgit