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; OString aIsoToken;
sal_uInt16 nTokenCounter = 0; sal_uInt16 nTokenCounter = 0;
bool bOneMore = 1; bool bOneMore = true;
while ( bOneMore ) while ( bOneMore )
{ {
aIsoToken = comphelper::string::getToken(aEnvIsoTokens, nTokenCounter, ' '); aIsoToken = comphelper::string::getToken(aEnvIsoTokens, nTokenCounter, ' ');
@ -139,7 +139,7 @@ void RscLangEnum::Init( RscNameTable& rNames )
mnLangId++; mnLangId++;
} }
else else
bOneMore = 0; bOneMore = false;
nTokenCounter++; nTokenCounter++;
} }