diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-01 14:08:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-01 14:41:28 +0100 |
commit | 42f39d25c75c289e15079f7b8815f5244e06550b (patch) | |
tree | faa67d7f6cf873b5a50dcf570514662c66b3aaba /xmloff/source | |
parent | d0ddb0c4a6aa4f65f45c6cbfbc2fa409720af53a (diff) |
coverity#1325252 Unchecked dynamic_cast
Change-Id: I70b4c9f705d3da294e3b93f2834db5add9198ec9
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/text/XMLTextFrameHyperlinkContext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/XMLTextFrameHyperlinkContext.cxx b/xmloff/source/text/XMLTextFrameHyperlinkContext.cxx index 63f098495bf4..522f0a33da33 100644 --- a/xmloff/source/text/XMLTextFrameHyperlinkContext.cxx +++ b/xmloff/source/text/XMLTextFrameHyperlinkContext.cxx @@ -138,7 +138,7 @@ TextContentAnchorType XMLTextFrameHyperlinkContext::GetAnchorType() const if( xFrameContext.Is() ) { SvXMLImportContext *pContext = &xFrameContext; - return dynamic_cast<XMLTextFrameContext*>( pContext ) ->GetAnchorType( ); + return dynamic_cast<XMLTextFrameContext&>(*pContext).GetAnchorType(); } else return eDefaultAnchorType; |