[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sdext/source
Caolán McNamara
caolanm at redhat.com
Thu Aug 28 02:46:28 PDT 2014
sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 737596aac515d6a24ec154ef30d9d1c2d20dd01f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Aug 27 15:43:35 2014 +0100
Resolves: fdo#83137 NULL pAction
Change-Id: I74c4e32aae1e3aa74d197f132c900627062b6d01
(cherry picked from commit 72f4f0e9e7db6798ff002632d5bc19b72a671306)
Reviewed-on: https://gerrit.libreoffice.org/11145
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Eike Rathke <erack at redhat.com>
diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
index b4b66a3..c07e2a3 100644
--- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
+++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
@@ -521,7 +521,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();
More information about the Libreoffice-commits
mailing list