summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-10-05 15:17:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-06 08:45:16 +0100
commit07aaf4d327731ab858bdf84100960752cfe637a9 (patch)
tree1e1dc274c831b279b9f3c44e8d68996d304937ff
parentbceb4cf287351707609af03d9cdf75ba1ca607d0 (diff)
#i113069# fix useless dereference
-rw-r--r--vcl/source/helper/strhelper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/helper/strhelper.cxx b/vcl/source/helper/strhelper.cxx
index db622073cea9..67f50b69a182 100644
--- a/vcl/source/helper/strhelper.cxx
+++ b/vcl/source/helper/strhelper.cxx
@@ -365,8 +365,8 @@ String WhitespaceToSpace( const String& rLine, BOOL bProtect )
else
{
*pLeap = *pRun;
- *pLeap++;
- *pRun++;
+ ++pLeap;
+ ++pRun;
}
}
}
@@ -422,8 +422,8 @@ ByteString WhitespaceToSpace( const ByteString& rLine, BOOL bProtect )
else
{
*pLeap = *pRun;
- *pLeap++;
- *pRun++;
+ ++pLeap;
+ ++pRun;
}
}
}