oox/source/export/vmlexport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f804cce00ec00cb2a97be0ca8c0bab4e953773b0 Author: Caolán McNamara <caol...@redhat.com> Date: Sat Jun 10 14:39:29 2017 +0100 coverity#1412145 Result is not floating point Change-Id: Ia2b4c4f14f5a59dd5d24c0d0749922e0d190f53a Reviewed-on: https://gerrit.libreoffice.org/38635 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/38919 diff --git a/oox/source/export/vmlexport.cxx b/oox/source/export/vmlexport.cxx index a7420b560beb..5196edbe74ec 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"; }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits