summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/ximpstyl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/draw/ximpstyl.cxx')
-rw-r--r--xmloff/source/draw/ximpstyl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx
index 1f1c6f5571fa..34447403db3f 100644
--- a/xmloff/source/draw/ximpstyl.cxx
+++ b/xmloff/source/draw/ximpstyl.cxx
@@ -1608,7 +1608,7 @@ sal_Bool SdXMLHeaderFooterDeclContext::IsTransient() const
void SdXMLHeaderFooterDeclContext::EndElement()
{
- SdXMLImport& rImport = *dynamic_cast< SdXMLImport* >( &GetImport() );
+ SdXMLImport& rImport = dynamic_cast<SdXMLImport&>(GetImport());
if( IsXMLToken( GetLocalName(), XML_HEADER_DECL ) )
{
rImport.AddHeaderDecl( maStrName, maStrText );