svx/source/dialog/dialcontrol.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9dc3b996fabb57469258db9fac7340b2295d00ae
Author: Tomaž Vajngerl <qui...@gmail.com>
Date:   Tue Jun 4 00:56:55 2013 +0200

    fix "ambiguous call" error
    
    Change-Id: Ib6c95e87d8b8e6dd8bfd1e5a7579067383586e67

diff --git a/svx/source/dialog/dialcontrol.cxx 
b/svx/source/dialog/dialcontrol.cxx
index 4b26222..33cc0de 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() );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to