From e688d55100de08fe4ac95d6c40c2de0d2ffa6f8b Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 28 Sep 2011 16:19:45 +0300 Subject: WaE: suggest a space before ';' or explicit braces around empty body in 'while' statement --- vcl/aqua/source/gdi/salatslayout.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vcl/aqua') diff --git a/vcl/aqua/source/gdi/salatslayout.cxx b/vcl/aqua/source/gdi/salatslayout.cxx index 9cb413b00654..21fbba1eed42 100644 --- a/vcl/aqua/source/gdi/salatslayout.cxx +++ b/vcl/aqua/source/gdi/salatslayout.cxx @@ -987,7 +987,8 @@ bool ATSLayout::InitGIA( ImplLayoutArgs* pArgs ) const // get to the end of the current sub-portion // prevent splitting up at diacritics etc. int j = i; - while( (++j < mnCharCount) && !mpCharWidths[j] ); + while( (++j < mnCharCount) && !mpCharWidths[j] ) + ; aSubPortion.mnEndCharPos = mnMinCharPos + j; // emit current sub-portion maSubPortions.push_back( aSubPortion ); -- cgit