svx/source/dialog/dialcontrol.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit cd6fe27b7ff7210e4bf320f689dda41c0367d123 Author: David Tardon <dtar...@redhat.com> Date: Tue Jun 4 06:08:02 2013 +0200 fix ambigous call to overloaded function Change-Id: Id9009faa5c9221a04130f87af4fa14e33fe0dc50 diff --git a/svx/source/dialog/dialcontrol.cxx b/svx/source/dialog/dialcontrol.cxx index 4b26222..40c818e 100644 --- a/svx/source/dialog/dialcontrol.cxx +++ b/svx/source/dialog/dialcontrol.cxx @@ -21,7 +21,7 @@ #include "bmpmask.hrc" #include <svx/dialmgr.hxx> #include <tools/rcid.h> -#include <math.h> +#include <cmath> #include <vcl/virdev.hxx> #include <vcl/svapp.hxx> #include <vcl/bitmap.hxx> @@ -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() ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits