diff options
Diffstat (limited to 'svtools/source/control/ctrlbox.cxx')
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index fe3a390e61d3..4568f4a49b05 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -366,10 +366,10 @@ long BorderWidthImpl::GetGap( long nWidth ) const return result; } -static double lcl_getGuessedWidth( long nTested, double nRate, bool nChanging ) +static double lcl_getGuessedWidth( long nTested, double nRate, bool bChanging ) { double nWidth = -1.0; - if ( nChanging ) + if ( bChanging ) nWidth = double( nTested ) / nRate; else { |