diff options
-rw-r--r-- | svx/source/dialog/dialcontrol.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/dialcontrol.cxx b/svx/source/dialog/dialcontrol.cxx index 4b2622280f45..33cc0de0eac0 100644 --- a/svx/source/dialog/dialcontrol.cxx +++ b/svx/source/dialog/dialcontrol.cxx @@ -390,7 +390,7 @@ void DialControl::SetRotation( sal_Int32 nAngle ) void DialControl::SetLinkedField( NumericField* pField, sal_Int32 nDecimalPlaces ) { - mpImpl->mnLinkedFieldValueMultiplyer = 100 / pow(10, nDecimalPlaces); + mpImpl->mnLinkedFieldValueMultiplyer = static_cast<sal_Int32> (100.0 / pow(10.0, nDecimalPlaces)); // remove modify handler from old linked field ImplSetFieldLink( Link() ); |