[poppler] qt4/src
Albert Astals Cid
aacid at kemper.freedesktop.org
Mon May 26 13:14:04 PDT 2008
qt4/src/poppler-page.cc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 2e40ef652eb9fca7fe947acb2adfecc96ad3c50e
Author: Albert Astals Cid <aacid at kde.org>
Date: Mon May 26 22:13:38 2008 +0200
Do not shadow a paramer with a local variable name
diff --git a/qt4/src/poppler-page.cc b/qt4/src/poppler-page.cc
index 8448fa9..cfb98de 100644
--- a/qt4/src/poppler-page.cc
+++ b/qt4/src/poppler-page.cc
@@ -418,14 +418,14 @@ Link *Page::action( PageAction act ) const
Object o2;
const char *key = act == Page::Opening ? "O" : "C";
dict->lookup((char*)key, &o2);
- ::LinkAction *act = ::LinkAction::parseAction(&o2, m_page->parentDoc->doc->getCatalog()->getBaseURI() );
+ ::LinkAction *lact = ::LinkAction::parseAction(&o2, m_page->parentDoc->doc->getCatalog()->getBaseURI() );
o2.free();
o.free();
Link *popplerLink = NULL;
- if (act != NULL)
+ if (lact != NULL)
{
- popplerLink = m_page->convertLinkActionToLink(act, QRectF());
- delete act;
+ popplerLink = m_page->convertLinkActionToLink(lact, QRectF());
+ delete lact;
}
return popplerLink;
}
More information about the poppler
mailing list