Kaydet (Commit) cd6fe27b authored tarafından David Tardon's avatar David Tardon

fix ambigous call to overloaded function

Change-Id: Id9009faa5c9221a04130f87af4fa14e33fe0dc50
üst a6833704
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include "bmpmask.hrc" #include "bmpmask.hrc"
#include <svx/dialmgr.hxx> #include <svx/dialmgr.hxx>
#include <tools/rcid.h> #include <tools/rcid.h>
#include <math.h> #include <cmath>
#include <vcl/virdev.hxx> #include <vcl/virdev.hxx>
#include <vcl/svapp.hxx> #include <vcl/svapp.hxx>
#include <vcl/bitmap.hxx> #include <vcl/bitmap.hxx>
...@@ -390,7 +390,7 @@ void DialControl::SetRotation( sal_Int32 nAngle ) ...@@ -390,7 +390,7 @@ void DialControl::SetRotation( sal_Int32 nAngle )
void DialControl::SetLinkedField( NumericField* pField, sal_Int32 nDecimalPlaces ) 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 // remove modify handler from old linked field
ImplSetFieldLink( Link() ); ImplSetFieldLink( Link() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment