summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-10-01 14:13:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-10-01 14:41:29 +0100
commit192c05c532dbfe905ab520683abb4f04e85b5745 (patch)
tree378a6beaad8e9f1811d7ff44846372d7383d4efe /xmloff
parente31cd8f3ae7c1edc97369291266c75e8a3a4db8e (diff)
coverity#1325249 Unchecked dynamic_cast
Change-Id: I5789d62424fd01705b64a111dbd121b15d89a3d9
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/ximpshap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx
index 7984878295cd..208129c403f0 100644
--- a/xmloff/source/draw/ximpshap.cxx
+++ b/xmloff/source/draw/ximpshap.cxx
@@ -3606,7 +3606,7 @@ SvXMLImportContext *SdXMLFrameShapeContext::CreateChildContext( sal_uInt16 nPref
IsXMLToken( rLocalName, XML_THUMBNAIL ) ) ) )
{
SvXMLImportContext *pImplContext = &mxImplContext;
- pContext = dynamic_cast<SdXMLShapeContext*>( pImplContext )->CreateChildContext( nPrefix,
+ pContext = dynamic_cast<SdXMLShapeContext&>(*pImplContext).CreateChildContext( nPrefix,
rLocalName, xAttrList );
}
else if ( (XML_NAMESPACE_DRAW == nPrefix) && IsXMLToken( rLocalName, XML_IMAGE_MAP ) )