summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-08-27 15:43:35 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-08-27 11:18:24 -0500
commit767850c68e8362661df06c6ee234cfb65d078121 (patch)
tree73d06ba12f9c8a58751ece2528229f436e8275a7
parent6194e5019954a8680144ee584b04735f3cb3d74b (diff)
Resolves: fdo#83137 NULL pAction
Change-Id: I74c4e32aae1e3aa74d197f132c900627062b6d01 (cherry picked from commit 72f4f0e9e7db6798ff002632d5bc19b72a671306) Reviewed-on: https://gerrit.libreoffice.org/11144 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r--sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
index e3a779eab957..129f2b9fe871 100644
--- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
+++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
@@ -572,7 +572,7 @@ void PDFOutDev::processLink(Link* link, Catalog*)
link->getRect( &x1, &y1, &x2, &y2 );
LinkAction* pAction = link->getAction();
- if( pAction->getKind() == actionURI )
+ if (pAction && pAction->getKind() == actionURI)
{
const char* pURI = static_cast<LinkURI*>(pAction)->getURI()->getCString();