From e237d8b5c2ae8805487a0790d9fb218263686712 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Wed, 13 May 2009 18:37:07 +0200 Subject: [Qt4] we don't need an output device anymore (since long, even) for resolving destinations --- qt4/src/poppler-document.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'qt4') diff --git a/qt4/src/poppler-document.cc b/qt4/src/poppler-document.cc index 8494fb8b..877db526 100644 --- a/qt4/src/poppler-document.cc +++ b/qt4/src/poppler-document.cc @@ -412,9 +412,6 @@ namespace Poppler { LinkDestination *Document::linkDestination( const QString &name ) { - if ( m_doc->getOutputDev() == NULL ) - return NULL; - GooString * namedDest = QStringToGooString( name ); LinkDestinationData ldd(NULL, namedDest, m_doc, false); LinkDestination *ld = new LinkDestination(ldd); -- cgit v1.2.3