diff options
author | Albert Astals Cid <aacid@kde.org> | 2006-05-12 21:02:01 +0000 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2006-05-12 21:02:01 +0000 |
commit | 35500375e3f790c444ab7e7d0a687d270c5a66b1 (patch) | |
tree | bc4e9ea9f16db58c9b5cf19d85db0bd162053808 | |
parent | 181f09829cf4831965059e3064114d83348c51b5 (diff) |
fixing compile problems for some people
-rw-r--r-- | qt4/src/poppler-page.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qt4/src/poppler-page.cc b/qt4/src/poppler-page.cc index f1807a81..97771538 100644 --- a/qt4/src/poppler-page.cc +++ b/qt4/src/poppler-page.cc @@ -335,12 +335,15 @@ QList<Link*> Page::links() const break; case actionLaunch: + { LinkLaunch * e = (LinkLaunch *)a; GooString * p = e->getParams(); popplerLink = new LinkExecute( linkArea, e->getFileName()->getCString(), p ? p->getCString() : 0 ); + } break; case actionNamed: + { const char * name = ((LinkNamed *)a)->getName()->getCString(); if ( !strcmp( name, "NextPage" ) ) popplerLink = new LinkAction( linkArea, LinkAction::PageNext ); @@ -373,10 +376,13 @@ QList<Link*> Page::links() const { // TODO } + } break; case actionURI: + { popplerLink = new LinkBrowse( linkArea, ((LinkURI *)a)->getURI()->getCString() ); + } break; case actionMovie: |