summaryrefslogtreecommitdiff
path: root/rsc/source/parser
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-28 20:00:44 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-28 20:26:24 +0100
commitb826f09e18e34d5a1d27ce0b15f43c7ed6b5aecc (patch)
tree91cb63984e56ac3c5383ef7d1fbdf86075c5967b /rsc/source/parser
parentbd4053f895167978978023309925c85c3826b31a (diff)
bool improvements
Change-Id: Ib1663b761675eebf9399c4d006b2fc59dd72cb47
Diffstat (limited to 'rsc/source/parser')
-rw-r--r--rsc/source/parser/rscibas.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/rsc/source/parser/rscibas.cxx b/rsc/source/parser/rscibas.cxx
index bef8e5bc9e82..0c28a07c2f0d 100644
--- a/rsc/source/parser/rscibas.cxx
+++ b/rsc/source/parser/rscibas.cxx
@@ -122,7 +122,7 @@ void RscLangEnum::Init( RscNameTable& rNames )
{
OString aIsoToken;
sal_uInt16 nTokenCounter = 0;
- bool bOneMore = 1;
+ bool bOneMore = true;
while ( bOneMore )
{
aIsoToken = comphelper::string::getToken(aEnvIsoTokens, nTokenCounter, ' ');
@@ -139,7 +139,7 @@ void RscLangEnum::Init( RscNameTable& rNames )
mnLangId++;
}
else
- bOneMore = 0;
+ bOneMore = false;
nTokenCounter++;
}