summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-28 19:56:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-28 20:24:39 +0100
commit1b574435a591695fac694f7129631312b05ef06e (patch)
treeb4a454abbcd720b30739ad7cffe34aa85dfab433 /include
parentFix apparently broken OSL_ASSERT (that would have never fired) (diff)
downloadcore-1b574435a591695fac694f7129631312b05ef06e.tar.gz
core-1b574435a591695fac694f7129631312b05ef06e.zip
bool improvements
Change-Id: I17c451d33d6d5e4edf0304ff47d63ac878d7e5d9
Diffstat (limited to 'include')
-rw-r--r--include/comphelper/string.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/comphelper/string.hxx b/include/comphelper/string.hxx
index 0363d4b743c0..181ca8b92a6e 100644
--- a/include/comphelper/string.hxx
+++ b/include/comphelper/string.hxx
@@ -96,7 +96,7 @@ inline OUStringBuffer& remove(OUStringBuffer &rIn,
sal_Unicode c)
{
sal_Int32 index = 0;
- while (1)
+ while (true)
{
if (index >= rIn.getLength())
break;