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>
This commit is contained in:
@@ -55,6 +55,7 @@ GenericStatusbarController::GenericStatusbarController(
|
||||
m_xStatusbarItem = rxItem;
|
||||
if ( m_xStatusbarItem.is() )
|
||||
{
|
||||
assert(m_aCommandURL.pData);
|
||||
m_aCommandURL = m_xStatusbarItem->getCommand();
|
||||
m_nID = m_xStatusbarItem->getItemId();
|
||||
m_bOwnerDraw = ( m_xStatusbarItem->getStyle() & ui::ItemStyle::OWNER_DRAW ) == ui::ItemStyle::OWNER_DRAW;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user