diff options
Diffstat (limited to 'vcl/source/window/toolbox.cxx')
-rw-r--r-- | vcl/source/window/toolbox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index 90bd2622ef87..ae3ce232557d 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -797,7 +797,7 @@ void ToolBox::ImplCalcFloatSizes() nCalcSize += mnMaxItemWidth; nTempLines = ImplCalcBreaks( nCalcSize, &nMaxLineWidth, true ); } - while ( (nCalcSize < upperBoundWidth) && (nLines < nTempLines) && (nTempLines != 1) ); + while ((nCalcSize < upperBoundWidth) && (nLines < nTempLines)); // implies nTempLines>1 if ( nTempLines < nLines ) nLines = nTempLines; } |