diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-27 15:43:35 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-08-28 04:45:58 -0500 |
commit | 737596aac515d6a24ec154ef30d9d1c2d20dd01f (patch) | |
tree | 6a1c3f51a15a8f7e7882300a55039355ee2e93eb | |
parent | 6ad5c28219222fac4e62adfb09548aa8dd4fff64 (diff) |
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@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
-rw-r--r-- | sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx | 2 |
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 b4b66a3f6dc3..c07e2a3b540f 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(); |