[poppler] qt5/src
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jul 3 12:09:51 UTC 2019
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 <aacid at 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 <bradh at frogmouth.net>
- * Copyright (C) 2005-2015, 2017, 2018, Albert Astals Cid <aacid at kde.org>
+ * Copyright (C) 2005-2015, 2017-2019, Albert Astals Cid <aacid at kde.org>
* Copyright (C) 2005, Stefan Kebekus <stefan.kebekus at math.uni-koeln.de>
* Copyright (C) 2006-2011, Pino Toscano <pino at kde.org>
* Copyright (C) 2009 Shawn Rutledge <shawn.t.rutledge at 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;
More information about the poppler
mailing list