diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-08-24 21:31:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-08-25 11:32:38 +0200 |
commit | 3975c4e85ff34e48d953b110f947c1768b59e750 (patch) | |
tree | 18f82ae36d58e12a07675c739c63bbf7c4f61cbc /xmloff/source/draw/ximplink.cxx | |
parent | be9c16ea495d0e4e5b8d90e64bb481087a7c6b13 (diff) |
cid#1448241 silence Explicit null deferenced false positive
Change-Id: Iaf20e2c7c6f8502d902b41f2c109589aaa490a10
Reviewed-on: https://gerrit.libreoffice.org/78075
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'xmloff/source/draw/ximplink.cxx')
-rw-r--r-- | xmloff/source/draw/ximplink.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmloff/source/draw/ximplink.cxx b/xmloff/source/draw/ximplink.cxx index ec43cf9d38a0..1e891ff1f167 100644 --- a/xmloff/source/draw/ximplink.cxx +++ b/xmloff/source/draw/ximplink.cxx @@ -38,6 +38,7 @@ SdXMLShapeLinkContext::SdXMLShapeLinkContext( SvXMLImport& rImport, sal_uInt16 n sal_uInt16 nPrefix = rImport.GetNamespaceMap().GetKeyByAttrName( sAttrName, &aLocalName ); if( (nPrefix == XML_NAMESPACE_XLINK) && IsXMLToken( aLocalName, XML_HREF ) ) { + assert(msHyperlink.pData); msHyperlink = xAttrList->getValueByIndex( i ); break; } |