diff options
Diffstat (limited to 'sw/source/filter/xml/xmlitemi.cxx')
-rw-r--r-- | sw/source/filter/xml/xmlitemi.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/xml/xmlitemi.cxx b/sw/source/filter/xml/xmlitemi.cxx index 2e9903170256..97d7962fcf4c 100644 --- a/sw/source/filter/xml/xmlitemi.cxx +++ b/sw/source/filter/xml/xmlitemi.cxx @@ -278,10 +278,10 @@ SwXMLItemSetContext_Impl::SwXMLItemSetContext_Impl( SwXMLItemSetContext_Impl::~SwXMLItemSetContext_Impl() { - if( xBackground.Is() ) + if( xBackground.is() ) { const SvxBrushItem& rItem = - static_cast<SwXMLBrushItemImportContext*>(&xBackground)->GetItem(); + static_cast<SwXMLBrushItemImportContext*>(xBackground.get())->GetItem(); rItemSet.Put( rItem ); } } |