Lines Matching refs:pViewShell
57 uno::Reference<view::XSelectionSupplier> lcl_GetSelectionSupplier( SfxViewShell* pViewShell ) in lcl_GetSelectionSupplier() argument
59 if ( pViewShell ) in lcl_GetSelectionSupplier()
61 SfxViewFrame* pViewFrame = pViewShell->GetViewFrame(); in lcl_GetSelectionSupplier()
74 pViewShell( pViewSh ) in ScDispatchProviderInterceptor()
76 if ( pViewShell ) in ScDispatchProviderInterceptor()
78 …m_xIntercepted.set(uno::Reference<frame::XDispatchProviderInterception>(pViewShell->GetViewFrame()… in ScDispatchProviderInterceptor()
94 StartListening(*pViewShell); in ScDispatchProviderInterceptor()
100 if (pViewShell) in ~ScDispatchProviderInterceptor()
101 EndListening(*pViewShell); in ~ScDispatchProviderInterceptor()
108 pViewShell = NULL; in Notify()
122 if ( pViewShell && ( in queryDispatch()
127 m_xMyDispatch = new ScDispatch( pViewShell ); in queryDispatch()
213 pViewShell( pViewSh ), in ScDispatch()
216 if (pViewShell) in ScDispatch()
217 StartListening(*pViewShell); in ScDispatch()
222 if (pViewShell) in ~ScDispatch()
223 EndListening(*pViewShell); in ~ScDispatch()
225 if (bListeningToView && pViewShell) in ~ScDispatch()
227 uno::Reference<view::XSelectionSupplier> xSupplier(lcl_GetSelectionSupplier( pViewShell )); in ~ScDispatch()
237 pViewShell = NULL; in Notify()
249 if ( pViewShell && !aURL.Complete.compareToAscii(cURLInsertColumns) ) in dispatch()
251 ScViewData* pViewData = pViewShell->GetViewData(); in dispatch()
297 if (!pViewShell) in addStatusListener()
314 … uno::Reference<view::XSelectionSupplier> xSupplier(lcl_GetSelectionSupplier( pViewShell )); in addStatusListener()
320 ScDBData* pDBData = pViewShell->GetDBData(sal_False,SC_DB_OLD); in addStatusListener()
350 if ( aDataSourceListeners.Count() == 0 && pViewShell ) in removeStatusListener()
352 … uno::Reference<view::XSelectionSupplier> xSupplier(lcl_GetSelectionSupplier( pViewShell )); in removeStatusListener()
367 if ( pViewShell ) in selectionChanged()
370 ScDBData* pDBData = pViewShell->GetDBData(sal_False,SC_DB_OLD); in selectionChanged()
409 pViewShell = NULL; in disposing()