[Libreoffice-commits] core.git: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jul 16 19:37:36 UTC 2018


 sc/source/filter/excel/xestyle.cxx |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit 14c2ca1b4efad2dcdc40e6d5c218cedd487857aa
Author:     Markus Mohrhard <markus.mohrhard at googlemail.com>
AuthorDate: Mon Jul 16 00:43:02 2018 +0200
Commit:     Markus Mohrhard <markus.mohrhard at googlemail.com>
CommitDate: Mon Jul 16 21:37:13 2018 +0200

    tdf#113646, export font size for dxf records
    
    Change-Id: I6dd6b0ef858fd933603be4435f7810c739b72ef0
    Reviewed-on: https://gerrit.libreoffice.org/57471
    Tested-by: Jenkins
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx
index ca0db5c3e42f..a36f75e8921b 100644
--- a/sc/source/filter/excel/xestyle.cxx
+++ b/sc/source/filter/excel/xestyle.cxx
@@ -1160,6 +1160,13 @@ void XclExpDxfFont::SaveXml(XclExpXmlStream& rStrm)
                 FSEND);
     }
 
+    if (maDxfData.nFontHeight)
+    {
+        rStyleSheet->singleElement(XML_sz,
+                XML_val, OString::number(*maDxfData.nFontHeight/20).getStr(),
+                FSEND);
+    }
+
     if (maDxfData.eUnder)
     {
         const char* pVal = getUnderlineOOXValue(maDxfData.eUnder.get());


More information about the Libreoffice-commits mailing list