diff options
Diffstat (limited to 'vcl/source/control/fixed.cxx')
-rw-r--r-- | vcl/source/control/fixed.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx index b6a4d1068701..35a47f323e5d 100644 --- a/vcl/source/control/fixed.cxx +++ b/vcl/source/control/fixed.cxx @@ -386,7 +386,7 @@ Size FixedText::CalcMinimumTextSize( Control const *pControl, long nMaxWidth ) if ( pControl->GetStyle() & WB_EXTRAOFFSET ) aSize.Width() += 2; - // GetTextRect cannot take and empty string + // GetTextRect cannot take an empty string if ( aSize.Width() < 0 ) aSize.Width() = 0; if ( aSize.Height() <= 0 ) |