summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/vmlexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/vmlexport.cxx b/oox/source/export/vmlexport.cxx
index d5b829d41c3f..b91d72e218e9 100644
--- a/oox/source/export/vmlexport.cxx
+++ b/oox/source/export/vmlexport.cxx
@@ -815,7 +815,7 @@ void VMLExport::Commit( EscherPropertyContainer& rProps, const tools::Rectangle&
sal_uInt32 nSize;
if (rProps.GetOpt(ESCHER_Prop_gtextSize, nSize))
{
- float nSizeF = (sal_Int32)nSize / 65536;
+ float nSizeF = (sal_Int32)nSize / 65536.0;
OUString aSize = OUString::number(nSizeF);
aStyle += ";font-size:" + aSize + "pt";
}