diff options
author | David Tardon <dtardon@redhat.com> | 2013-06-04 06:08:02 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-06-04 06:12:00 +0200 |
commit | cd6fe27b7ff7210e4bf320f689dda41c0367d123 (patch) | |
tree | 13b2e4389e6aa07ce46455dced311b9135f875e2 /svx/source/dialog/dialcontrol.cxx | |
parent | a6833704bcfe6b5b5b6eb020eb79aebf0dc6cd4f (diff) |
fix ambigous call to overloaded function
Change-Id: Id9009faa5c9221a04130f87af4fa14e33fe0dc50
Diffstat (limited to 'svx/source/dialog/dialcontrol.cxx')
-rw-r--r-- | svx/source/dialog/dialcontrol.cxx | 4 |
1 files 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 <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() ); |