[poppler] poppler/GlobalParamsWin.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Thu Apr 5 11:01:11 UTC 2018


 poppler/GlobalParamsWin.cc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 390109044bdef1ba67c2339bffaf11b38261854d
Author: Albert Astals Cid <albert.astals.cid at kdab.com>
Date:   Thu Apr 5 13:00:59 2018 +0200

    Fix windows build

diff --git a/poppler/GlobalParamsWin.cc b/poppler/GlobalParamsWin.cc
index 1734f6eb..072d0fbb 100644
--- a/poppler/GlobalParamsWin.cc
+++ b/poppler/GlobalParamsWin.cc
@@ -10,6 +10,7 @@
    // Copyright (C) 2013 Dmytro Morgun <lztoad at gmail.com>
    // Copyright (C) 2017 Christoph Cullmann <cullmann at kde.org>
    // Copyright (C) 2017, 2018 Albert Astals Cid <aacid at kde.org>
+   // Copyright (C) 2018 Klarälvdalens Datakonsult AB, a KDAB Group company, <info at kdab.com>. Work sponsored by the LiMux project of the city of Munich
 
 TODO: instead of a fixed mapping defined in displayFontTab, it could
 scan the whole fonts directory, parse TTF files and build font
@@ -553,7 +554,7 @@ GooString *GlobalParams::findSystemFontFile(GfxFont *font,
                                           GooString *base14Name) {
   SysFontInfo *fi;
   GooString *path = nullptr;
-  GooString *fontName = font->getName();
+  const GooString *fontName = font->getName();
   if (!fontName) return nullptr;
   lockGlobalParams;
   setupBaseFonts(nullptr);


More information about the poppler mailing list