bool improvements

Change-Id: Ib1663b761675eebf9399c4d006b2fc59dd72cb47
This commit is contained in:
Stephan Bergmann 2014-01-28 20:00:44 +01:00
parent bd4053f895
commit b826f09e18

View file

@ -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++;
}