summaryrefslogtreecommitdiff
path: root/framework/source/dispatch/closedispatcher.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/dispatch/closedispatcher.cxx')
-rw-r--r--framework/source/dispatch/closedispatcher.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/dispatch/closedispatcher.cxx b/framework/source/dispatch/closedispatcher.cxx
index b409735f330e..20fb3104bf1b 100644
--- a/framework/source/dispatch/closedispatcher.cxx
+++ b/framework/source/dispatch/closedispatcher.cxx
@@ -201,7 +201,7 @@ void SAL_CALL CloseDispatcher::dispatchWithNotification(const css::util::URL&
// They call us back by using our c++ interface.
m_xResultListener = xListener;
- m_xSelfHold = css::uno::Reference< css::uno::XInterface >(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY);
+ m_xSelfHold.set(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY);
aWriteLock.clear();
// <- SAFE ----------------------------------
@@ -492,7 +492,7 @@ bool CloseDispatcher::implts_closeFrame()
{
SolarMutexGuard g;
- m_xCloseFrame = css::uno::WeakReference< css::frame::XFrame >();
+ m_xCloseFrame.clear();
}
return true;