[poppler] poppler/poppler: PageTransition.cc,1.1,1.2
Albert Astals Cid
aacid at freedesktop.org
Mon Jan 2 06:24:33 PST 2006
Update of /cvs/poppler/poppler/poppler
In directory gabe:/tmp/cvs-serv28217/poppler
Modified Files:
PageTransition.cc
Log Message:
Use error() instead std::cerr in PageTranstion.cc
Index: PageTransition.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/PageTransition.cc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- PageTransition.cc 30 Dec 2005 22:31:32 -0000 1.1
+++ PageTransition.cc 2 Jan 2006 14:24:31 -0000 1.2
@@ -18,6 +18,7 @@
#include <iostream>
+#include "Error.h"
#include "Object.h"
#include "PageTransition.h"
#include "Private.h"
@@ -49,11 +50,11 @@
// Paranoid safety checks
if (params.dictObj == 0) {
- std::cerr << "ERROR in the poppler library: the method PageTransition_x::PageTransition_x(Object *params.dictObj) was called with params.dictObj==0\n";
+ error(-1, "PageTransition::PageTransition() called with params.dictObj==0");
return;
}
if (params.dictObj->isDict() == false) {
- std::cerr << "ERROR in the poppler library: the method PageTransition_x::PageTransition_x(Object *params.dictObj) was called where params.dictObj->isDict()==false\n";
+ error(-1, "PageTransition::PageTransition() called with params.dictObj->isDict()==false");
return;
}
More information about the poppler
mailing list