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

Julien Nabet serval2412 at yahoo.fr
Thu May 26 05:10:51 UTC 2016


 writerfilter/source/dmapper/FontTable.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 31eda69d6b65f224209a100f3ed0801a5c305e1b
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Wed May 25 22:41:52 2016 +0200

    We indeed can't do anything with LN_CT_Font_notTrueType here
    
    Avoid this warn:writerfilter:18041:1:writerfilter/source/dmapper/FontTable.cxx:144:
       FontTable::lcl_sprm: unhandled token: 93155
    when testing https://bugs.documentfoundation.org/attachment.cgi?id=125266
    
    Change-Id: I7bc7cea8398b4430a2e67130f5869057ec0cd256
    Reviewed-on: https://gerrit.libreoffice.org/25469
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/writerfilter/source/dmapper/FontTable.cxx b/writerfilter/source/dmapper/FontTable.cxx
index fe714c4..7609bfd 100644
--- a/writerfilter/source/dmapper/FontTable.cxx
+++ b/writerfilter/source/dmapper/FontTable.cxx
@@ -140,6 +140,8 @@ void FontTable::lcl_sprm(Sprm& rSprm)
             break;
         case NS_ooxml::LN_CT_Font_sig:
             break;
+        case NS_ooxml::LN_CT_Font_notTrueType:
+            break;
         default:
             SAL_WARN("writerfilter", "FontTable::lcl_sprm: unhandled token: " << nSprmId);
             break;


More information about the Libreoffice-commits mailing list