Summary: | only one page displayed | ||
---|---|---|---|
Product: | [Applications] kghostview | Reporter: | Blindauer Emmanuel <bugs.kde.org> |
Component: | general | Assignee: | Wilco Greven <greven> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandrake RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Blindauer Emmanuel
2003-03-03 15:08:57 UTC
Fixed in HEAD. Still fails in KDE_3_1_BRANCH. I will confirm the bug for now. Subject: KDE_3_1_BRANCH: kdegraphics/kghostview CVS commit by luis_pedro: Backport an earlier bugfix with handling of half-broken DSC-comments in files. CCMAIL: 55468-done@bugs.kde.org M +7 -2 kdscerrordialog.cpp 1.5.4.1 M +1 -6 kgv_miniwidget.cpp 1.155.2.2 --- kdegraphics/kghostview/kgv_miniwidget.cpp #1.155.2.1:1.155.2.2 @@ -349,8 +349,4 @@ void KGVMiniWidget::scanDSC() _dsc = new KDSC(); - KDSCErrorDialog errorDialog; - KDSCErrorThreshold errorHandler( 3, &errorDialog ); - _dsc->setErrorHandler( &errorHandler ); - char buf[4096]; int count; @@ -371,5 +367,4 @@ void KGVMiniWidget::scanDSC() } _dsc->fixup(); - _dsc->setErrorHandler( 0 ); } --- kdegraphics/kghostview/kdscerrordialog.cpp #1.5:1.5.4.1 @@ -14,5 +14,5 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ @@ -40,5 +40,8 @@ KDSCErrorHandler::Response KDSCErrorThre return _errorHandler->error( err ); else - return Ok; + // Cancel is the default handling strategy for dsc_error_fn, so + // we keep it. This cancels error handling and *not* document + // parsing! + return Cancel; } @@ -163,2 +166,4 @@ void KDSCErrorDialog::slotIgnoreAll() accept(); } + +// vim:sw=4:sts=4:ts=8:noet |