From b826f09e18e34d5a1d27ce0b15f43c7ed6b5aecc Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 28 Jan 2014 20:00:44 +0100 Subject: [PATCH] bool improvements Change-Id: Ib1663b761675eebf9399c4d006b2fc59dd72cb47 --- rsc/source/parser/rscibas.cxx | 4 ++-- 1 file 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++; }