From cd6fe27b7ff7210e4bf320f689dda41c0367d123 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 4 Jun 2013 06:08:02 +0200 Subject: [PATCH] fix ambigous call to overloaded function Change-Id: Id9009faa5c9221a04130f87af4fa14e33fe0dc50 --- svx/source/dialog/dialcontrol.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() );