[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdegraphics/kpdf/core
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2005-04-27 8:27:59
Message-ID: 20050427082759.1967C630 () office ! kde ! org
[Download RAW message or body]
CVS commit by aacid:
Accept "invalid" viewports when the link is to an external pdf
M +1 -1 document.cpp 1.43
--- kdegraphics/kpdf/core/document.cpp #1.42:1.43
@@ -899,5 +899,4 @@ void KPDFDocument::processLink( const KP
const KPDFLinkGoto * go = static_cast< const KPDFLinkGoto * >( link );
d->nextDocumentViewport = go->destViewport();
- if (d->nextDocumentViewport.pageNumber == -1) return;
// Explanation of why d->nextDocumentViewport is needed
@@ -917,4 +916,5 @@ void KPDFDocument::processLink( const KP
else
{
+ if (d->nextDocumentViewport.pageNumber == -1) return;
setViewport( d->nextDocumentViewport, -1, true );
d->nextDocumentViewport = DocumentViewport();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic