summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTomaž Vajngerl <quikee@gmail.com>2013-06-04 00:56:55 +0200
committerTomaž Vajngerl <quikee@gmail.com>2013-06-04 00:56:55 +0200
commit9dc3b996fabb57469258db9fac7340b2295d00ae (patch)
tree4bcda13db5dd5255b5f1b941c7b8be007c3c3aa7 /svx
parent4786d95b3187442ad2c3d0760e9bdcbc0a5e6825 (diff)
fix "ambiguous call" error
Change-Id: Ib6c95e87d8b8e6dd8bfd1e5a7579067383586e67
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/dialcontrol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/dialcontrol.cxx b/svx/source/dialog/dialcontrol.cxx
index 4b2622280f45..33cc0de0eac0 100644
--- a/svx/source/dialog/dialcontrol.cxx
+++ b/svx/source/dialog/dialcontrol.cxx
@@ -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 = static_cast<sal_Int32> (100.0 / pow(10.0, nDecimalPlaces));
// remove modify handler from old linked field
ImplSetFieldLink( Link() );