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( pContext ) ->GetAnchorType( ); + return dynamic_cast(*pContext).GetAnchorType(); } else return eDefaultAnchorType;