qt5/src/poppler-page.cc |    2 +-
 qt5/src/poppler-qt5.h   |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit cf629d6f829d1371b86fc654891ca83533b0542e
Author: Albert Astals Cid <aa...@kde.org>
Date:   Wed Jul 3 14:06:09 2019 +0200

    QString::null is deprecated, use QString()

diff --git a/qt5/src/poppler-page.cc b/qt5/src/poppler-page.cc
index 4676dcd8..bf1f8889 100644
--- a/qt5/src/poppler-page.cc
+++ b/qt5/src/poppler-page.cc
@@ -211,7 +211,7 @@ Link* PageData::convertLinkActionToLink(::LinkAction * a, 
DocumentData *parentDo
       LinkGoTo * g = (LinkGoTo *) a;
       const LinkDestinationData ldd( g->getDest(), g->getNamedDest(), 
parentDoc, false );
       // create link: no ext file, namedDest, object pointer
-      popplerLink = new LinkGoto( linkArea, QString::null, LinkDestination( 
ldd ) );
+      popplerLink = new LinkGoto( linkArea, QString(), LinkDestination( ldd ) 
);
     }
     break;
 
diff --git a/qt5/src/poppler-qt5.h b/qt5/src/poppler-qt5.h
index c03fec15..ebbc456a 100644
--- a/qt5/src/poppler-qt5.h
+++ b/qt5/src/poppler-qt5.h
@@ -1,7 +1,7 @@
 /* poppler-qt.h: qt interface to poppler
  * Copyright (C) 2005, Net Integration Technologies, Inc.
  * Copyright (C) 2005, 2007, Brad Hards <br...@frogmouth.net>
- * Copyright (C) 2005-2015, 2017, 2018, Albert Astals Cid <aa...@kde.org>
+ * Copyright (C) 2005-2015, 2017-2019, Albert Astals Cid <aa...@kde.org>
  * Copyright (C) 2005, Stefan Kebekus <stefan.kebe...@math.uni-koeln.de>
  * Copyright (C) 2006-2011, Pino Toscano <p...@kde.org>
  * Copyright (C) 2009 Shawn Rutledge <shawn.t.rutle...@gmail.com>
@@ -205,7 +205,7 @@ namespace Poppler {
        ~FontInfo();
 
        /**
-          The name of the font. Can be QString::null if the font has no name
+          The name of the font. Can be a null QString if the font has no name
        */
        QString name() const;
 
_______________________________________________
poppler mailing list
poppler@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to