From 9ac495d6543dbd65992791bb41d5f8fbf90e549c Mon Sep 17 00:00:00 2001 From: Martin Kretzschmar Date: Mon, 31 Mar 2003 21:55:40 +0000 Subject: Import of Xpdf 2.01 for merge --- (limited to 'pdf/xpdf/XPDFCore.cc') 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; -- cgit v0.9.1