diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2009-12-15 23:07:57 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2009-12-15 23:07:57 +0100 |
commit | bf11fdb06da187fc262448c8ae03fdbdbf998665 (patch) | |
tree | 30a30a755a8960531f3be107a8a8b1051bffb120 /sw/source/ui/uno | |
parent | 41914dd4eaec84f227db3412c978c980b8164b95 (diff) |
autorecovery: SfxViewFrame's SfxFrame is a reference now, no pointer (it can never be NULL)
Diffstat (limited to 'sw/source/ui/uno')
-rw-r--r-- | sw/source/ui/uno/unodispatch.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/uno/unodispatch.cxx b/sw/source/ui/uno/unodispatch.cxx index 44b82239b1..81359b690f 100644 --- a/sw/source/ui/uno/unodispatch.cxx +++ b/sw/source/ui/uno/unodispatch.cxx @@ -59,8 +59,7 @@ const sal_Char* cInternalDBChangeNotification = ".uno::Writer/DataSourceChanged" SwXDispatchProviderInterceptor::SwXDispatchProviderInterceptor(SwView& rVw) : m_pView(&rVw) { - SfxFrame* pFrame = m_pView->GetViewFrame()->GetFrame(); - uno::Reference< frame::XFrame> xUnoFrame = pFrame->GetFrameInterface(); + uno::Reference< frame::XFrame> xUnoFrame = m_pView->GetViewFrame()->GetFrame().GetFrameInterface(); m_xIntercepted = uno::Reference< frame::XDispatchProviderInterception>(xUnoFrame, uno::UNO_QUERY); if(m_xIntercepted.is()) { |