summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-06-10 14:39:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-06-10 18:01:53 +0200
commit67bf2dd287597cf76f310c34f8178b07dd62bd12 (patch)
tree2f5a3e1e0377b259875a3dae3691aead201c966a /oox
parent47a2ae73afc1181f0581febf9808e0c0a3dd94c6 (diff)
coverity#1412145 Result is not floating point
Change-Id: Ia2b4c4f14f5a59dd5d24c0d0749922e0d190f53a Reviewed-on: https://gerrit.libreoffice.org/38635 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
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";
}