diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-06-10 14:39:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-06-10 18:01:53 +0200 |
commit | 67bf2dd287597cf76f310c34f8178b07dd62bd12 (patch) | |
tree | 2f5a3e1e0377b259875a3dae3691aead201c966a /oox/source/export | |
parent | 47a2ae73afc1181f0581febf9808e0c0a3dd94c6 (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/source/export')
-rw-r--r-- | oox/source/export/vmlexport.cxx | 2 |
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"; } |