[Libreoffice-commits] .: src/lib

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Jan 23 01:52:23 PST 2013


 src/lib/CDRParser.cpp |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 1efc3cfb5e97e46ed19c39e8167c9fe06c2e21bf
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Wed Jan 23 10:51:58 2013 +0100

    Stub extraction of encoding information from font name

diff --git a/src/lib/CDRParser.cpp b/src/lib/CDRParser.cpp
index 67080ec..c30d987 100644
--- a/src/lib/CDRParser.cpp
+++ b/src/lib/CDRParser.cpp
@@ -84,6 +84,10 @@ struct CDRStltRecord
   unsigned dropCapId;
 };
 
+static void processNameForEncoding(WPXString & /* name */, unsigned short & /* encoding */)
+{
+}
+
 } // anonymous namespace
 
 libcdr::CDRParser::CDRParser(const std::vector<WPXInputStream *> &externalStreams, libcdr::CDRCollector *collector)
@@ -2332,6 +2336,7 @@ void libcdr::CDRParser::readFont(WPXInputStream *input, unsigned length)
       else
         break;
     }
+    processNameForEncoding(name, fontEncoding);
   }
   m_collector->collectFont(fontId, fontEncoding, name);
 }


More information about the Libreoffice-commits mailing list