diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-01 14:07:27 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-01 14:41:27 +0100 |
commit | d0ddb0c4a6aa4f65f45c6cbfbc2fa409720af53a (patch) | |
tree | dc0ed6ad759a6419318653fb30b84eb97a8a514c /xmloff/source | |
parent | 9ecd848dc9467aef4f3d3d0f9b5c2e7086ae77d5 (diff) |
coverity#1325253 Unchecked dynamic_cast
Change-Id: I7151f641ce87fa7ca11af4f0cef6594edb925f91
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 a5cf7770bf97..63f098495bf4 100644 --- a/xmloff/source/text/XMLTextFrameHyperlinkContext.cxx +++ b/xmloff/source/text/XMLTextFrameHyperlinkContext.cxx @@ -151,7 +151,7 @@ Reference < XTextContent > XMLTextFrameHyperlinkContext::GetTextContent() const if( xFrameContext.Is() ) { SvXMLImportContext *pContext = &xFrameContext; - xTxt = dynamic_cast<XMLTextFrameContext*>( pContext )->GetTextContent( ); + xTxt = dynamic_cast<XMLTextFrameContext&>(*pContext).GetTextContent(); } return xTxt; |