diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-09-28 16:19:45 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-09-28 17:43:38 +0300 |
commit | e688d55100de08fe4ac95d6c40c2de0d2ffa6f8b (patch) | |
tree | fbabfa930c83657c29a380d704792fd9a2beccdb /vcl/aqua/source | |
parent | 2ae1b4eb996bd5665559837b0c24bb78e72acf4e (diff) |
WaE: suggest a space before ';' or explicit braces around empty body in 'while' statement
Diffstat (limited to 'vcl/aqua/source')
-rw-r--r-- | vcl/aqua/source/gdi/salatslayout.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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 ); |