diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-05 08:52:58 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-05 09:59:30 +0200 |
commit | c8782b39116eee3ddc3ef0a38c6f6dde09b6ec00 (patch) | |
tree | a37c11f8ec6436d00b36fec99027bb3b06668372 /sfx2/source/dialog/backingcomp.cxx | |
parent | b46496c4154ff3784ecd59ed6e15b6ee07a66f22 (diff) |
use uno::Reference::set method instead of assignment
Change-Id: Id9e7621ca7170d6cc80d8ce14f155ce564691ec0
Diffstat (limited to 'sfx2/source/dialog/backingcomp.cxx')
-rw-r--r-- | sfx2/source/dialog/backingcomp.cxx | 4 |
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 |