From 72f4f0e9e7db6798ff002632d5bc19b72a671306 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 27 Aug 2014 15:43:35 +0100 Subject: Resolves: fdo#83137 NULL pAction Change-Id: I74c4e32aae1e3aa74d197f132c900627062b6d01 --- sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sdext/source') 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(pAction)->getURI()->getCString(); -- cgit