[poppler] poppler/qt: poppler-document.cc, 1.3, 1.4 poppler-qt.h, 1.5, 1.6

Jeff Muizelaar jrmuizel at freedesktop.org
Sat Apr 30 12:53:59 PDT 2005


Update of /cvs/poppler/poppler/qt
In directory gabe:/tmp/cvs-serv28833/qt

Modified Files:
	poppler-document.cc poppler-qt.h 
Log Message:
2005-04-30  Jeff Muizelaar  <jeff at infidigm.net>

	* qt/poppler-document.cc (Document::unlock) :
	* qt/poppler-qt.h (Document::unlock):
	Add const to the password argument.

	Patch from Albert Astals Cid.


Index: poppler-document.cc
===================================================================
RCS file: /cvs/poppler/poppler/qt/poppler-document.cc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- poppler-document.cc	9 Apr 2005 18:14:39 -0000	1.3
+++ poppler-document.cc	30 Apr 2005 19:53:57 -0000	1.4
@@ -65,7 +65,7 @@
   return data->locked;
 }
 
-bool Document::unlock(QCString &password)
+bool Document::unlock(const QCString &password)
 {
   if (data->locked) {
     /* racier then it needs to be */

Index: poppler-qt.h
===================================================================
RCS file: /cvs/poppler/poppler/qt/poppler-qt.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- poppler-qt.h	20 Apr 2005 22:48:53 -0000	1.5
+++ poppler-qt.h	30 Apr 2005 19:53:57 -0000	1.6
@@ -78,7 +78,7 @@
   
   PageMode getPageMode() const;
   
-  bool unlock(QCString &password);
+  bool unlock(const QCString &password);
   
   bool isLocked() const;
   



More information about the poppler mailing list