diff --git a/svx/source/dialog/dialcontrol.cxx b/svx/source/dialog/dialcontrol.cxx index 4b2622280f45..40c818e883ce 100644 --- a/svx/source/dialog/dialcontrol.cxx +++ b/svx/source/dialog/dialcontrol.cxx @@ -21,7 +21,7 @@ #include "bmpmask.hrc" #include #include -#include +#include #include #include #include @@ -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 = 100 / std::pow(10.0, double(nDecimalPlaces)); // remove modify handler from old linked field ImplSetFieldLink( Link() );