Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf/xpdf/XPDFCore.cc
diff options
context:
space:
mode:
authorMartin Kretzschmar <mkretzschmar@src.gnome.org>2003-03-31 21:55:40 (GMT)
committer Martin Kretzschmar <mkretzschmar@src.gnome.org>2003-03-31 21:55:40 (GMT)
commit9ac495d6543dbd65992791bb41d5f8fbf90e549c (patch)
tree86a82c37529579eb209b3abe757970e885e11e23 /pdf/xpdf/XPDFCore.cc
parent96653f29e1cfb116a8af43c3aeee5a1ad6947af8 (diff)
Import of Xpdf 2.01 for merge
Diffstat (limited to 'pdf/xpdf/XPDFCore.cc')
-rw-r--r--pdf/xpdf/XPDFCore.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/pdf/xpdf/XPDFCore.cc b/pdf/xpdf/XPDFCore.cc
index 8376ce9..554154c 100644
--- a/pdf/xpdf/XPDFCore.cc
+++ b/pdf/xpdf/XPDFCore.cc
@@ -150,6 +150,7 @@ XPDFCore::XPDFCore(Widget shellA, Widget parentWidgetA,
zoom = maxZoom;
}
}
+ delete initialZoom;
scrollX = 0;
scrollY = 0;
@@ -961,7 +962,7 @@ GString *XPDFCore::extractText(int pageNum,
if (!doc->okToCopy()) {
return NULL;
}
- textOut = new TextOutputDev(NULL, gFalse, gFalse);
+ textOut = new TextOutputDev(NULL, gFalse, gFalse, gFalse);
if (!textOut->isOk()) {
delete textOut;
return NULL;
@@ -1275,7 +1276,7 @@ void XPDFCore::find(char *s) {
}
// search following pages
- textOut = new TextOutputDev(NULL, gFalse, gFalse);
+ textOut = new TextOutputDev(NULL, gFalse, gFalse, gFalse);
if (!textOut->isOk()) {
delete textOut;
goto done;