summaryrefslogtreecommitdiff
path: root/sc/source/filter/lotus/tool.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/lotus/tool.cxx')
-rw-r--r--sc/source/filter/lotus/tool.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/filter/lotus/tool.cxx b/sc/source/filter/lotus/tool.cxx
index 6a7945e39b34..d6ef48719790 100644
--- a/sc/source/filter/lotus/tool.cxx
+++ b/sc/source/filter/lotus/tool.cxx
@@ -120,10 +120,10 @@ double SnumToDouble( sal_Int16 nVal )
if( nVal & 0x0001 )
{
fVal = pFacts[ ( nVal >> 1 ) & 0x0007 ];
- fVal *= ( sal_Int16 ) ( nVal >> 4 );
+ fVal *= static_cast<sal_Int16>( nVal >> 4 );
}
else
- fVal = ( sal_Int16 ) ( nVal >> 1 );
+ fVal = static_cast<sal_Int16>( nVal >> 1 );
return fVal;
}
@@ -137,9 +137,9 @@ double Snum32ToDouble( sal_uInt32 nValue )
if (temp)
{
if (nValue & 0x00000010)
- fValue /= pow((double)10, temp);
+ fValue /= pow(double(10), temp);
else
- fValue *= pow((double)10, temp);
+ fValue *= pow(double(10), temp);
}
if (nValue & 0x00000020)