summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2020-06-22 19:34:02 +0200
committerAlbert Astals Cid <aacid@kde.org>2020-06-22 19:35:56 +0200
commite5001ae78d82624e4a1f07b1053c9db5e4643d48 (patch)
tree65c2ab3ad0ec9f838c4532f5ad3249874db5e6de
parent94e00cbe5481a02e84fc29974c7d0089d847d3eb (diff)
qt5: Document that Document::page can return nullptr
-rw-r--r--qt5/src/poppler-qt5.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt5/src/poppler-qt5.h b/qt5/src/poppler-qt5.h
index a5902859..06f6d021 100644
--- a/qt5/src/poppler-qt5.h
+++ b/qt5/src/poppler-qt5.h
@@ -1314,6 +1314,8 @@ delete it;
The caller gets the ownership of the returned object.
+ This function can return nullptr if for some reason the page can't be properly parsed.
+
\param index the page number index
*/
Page *page(int index) const;