diff options
-rw-r--r-- | framework/source/uielement/genericstatusbarcontroller.cxx | 1 | ||||
-rw-r--r-- | xmloff/source/draw/ximplink.cxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/framework/source/uielement/genericstatusbarcontroller.cxx b/framework/source/uielement/genericstatusbarcontroller.cxx index 431069c9d2b8..ee3b28d4af75 100644 --- a/framework/source/uielement/genericstatusbarcontroller.cxx +++ b/framework/source/uielement/genericstatusbarcontroller.cxx @@ -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; 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; } |