[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Jul 17 09:49:03 UTC 2018


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

New commits:
commit 91eec155eb9433343c7e549907960855b6e91e7b
Author:     Markus Mohrhard <markus.mohrhard at googlemail.com>
AuthorDate: Mon Jul 16 00:43:02 2018 +0200
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Tue Jul 17 11:48:41 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>
    (cherry picked from commit 14c2ca1b4efad2dcdc40e6d5c218cedd487857aa)
    Reviewed-on: https://gerrit.libreoffice.org/57529
    Reviewed-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx
index dd74300e4774..f8c077ce7860 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