[poppler] cpp/poppler-document-private.h

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Jan 4 23:51:06 UTC 2020


 cpp/poppler-document-private.h |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 7f53fa0e0b7bfe2be2763da08fa09127c5ecfe4d
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sun Jan 5 00:46:04 2020 +0100

    cpp: Make document_private() private just in case

diff --git a/cpp/poppler-document-private.h b/cpp/poppler-document-private.h
index d9568741..21550f9c 100644
--- a/cpp/poppler-document-private.h
+++ b/cpp/poppler-document-private.h
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2009-2011, Pino Toscano <pino at kde.org>
- * Copyright (C) 2018, Albert Astals Cid <aacid at kde.org>
+ * Copyright (C) 2018, 2020, Albert Astals Cid <aacid at kde.org>
  * Copyright (C) 2018, 2020, Adam Reichold <adam.reichold at t-online.de>
  *
  * This program is free software; you can redistribute it and/or modify
@@ -46,7 +46,6 @@ public:
     document_private(const char *file_data, int file_data_length,
                      const std::string &owner_password,
                      const std::string &user_password);
-    document_private();
     ~document_private();
 
     static document* check_document(document_private *doc, byte_array *file_data);
@@ -57,6 +56,8 @@ public:
     int raw_doc_data_length;
     bool is_locked;
     std::vector<embedded_file *> embedded_files;
+private:
+    document_private();
 };
 
 }


More information about the poppler mailing list