diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-05 10:25:49 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-05 11:18:41 +0200 |
commit | f9a6e75e21e9919a405a1964d85345a1c0634067 (patch) | |
tree | 8b3a9162071da1e8beded91bc3cad16614b2abcc /sw/source/uibase/uno/unodispatch.cxx | |
parent | 0e31c12f4c1cb53e1d68d1129b3b42508605846f (diff) |
use uno::Reference::set method instead of assignmen
Change-Id: I76671a74150791e1a74ece3d5bcf40fd6c727ac7
Diffstat (limited to 'sw/source/uibase/uno/unodispatch.cxx')
-rw-r--r-- | sw/source/uibase/uno/unodispatch.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unodispatch.cxx b/sw/source/uibase/uno/unodispatch.cxx index 8b281b03ba19..e1b95428eca7 100644 --- a/sw/source/uibase/uno/unodispatch.cxx +++ b/sw/source/uibase/uno/unodispatch.cxx @@ -43,7 +43,7 @@ SwXDispatchProviderInterceptor::SwXDispatchProviderInterceptor(SwView& rVw) : m_pView(&rVw) { uno::Reference< frame::XFrame> xUnoFrame = m_pView->GetViewFrame()->GetFrame().GetFrameInterface(); - m_xIntercepted = uno::Reference< frame::XDispatchProviderInterception>(xUnoFrame, uno::UNO_QUERY); + m_xIntercepted.set(xUnoFrame, uno::UNO_QUERY); if(m_xIntercepted.is()) { m_refCount++; |