summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/backingcomp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/backingcomp.cxx')
-rw-r--r--sfx2/source/dialog/backingcomp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/backingcomp.cxx b/sfx2/source/dialog/backingcomp.cxx
index 6bc43e1def13..72df7c17767d 100644
--- a/sfx2/source/dialog/backingcomp.cxx
+++ b/sfx2/source/dialog/backingcomp.cxx
@@ -582,7 +582,7 @@ void SAL_CALL BackingComp::disposing( /*IN*/ const css::lang::EventObject& aEven
OUString("unexpected source or called twice"),
static_cast< ::cppu::OWeakObject* >(this));
- m_xWindow = css::uno::Reference< css::awt::XWindow >();
+ m_xWindow.clear();
/* } SAFE */
}
@@ -629,7 +629,7 @@ void SAL_CALL BackingComp::dispose()
}
css::uno::Reference< css::awt::XKeyListener > xKeyThis(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY);
m_xWindow->removeKeyListener(xKeyThis);
- m_xWindow = css::uno::Reference< css::awt::XWindow >();
+ m_xWindow.clear();
}
// forget all other used references