[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - svx/source
Tomaž Vajngerl
quikee at gmail.com
Mon Jun 3 15:59:48 PDT 2013
svx/source/dialog/dialcontrol.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9dc3b996fabb57469258db9fac7340b2295d00ae
Author: Tomaž Vajngerl <quikee at 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() );
More information about the Libreoffice-commits
mailing list