diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-27 14:20:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-28 09:22:34 +0200 |
commit | 16246ed7b280f51a39a01ded24c0d7bd59d59365 (patch) | |
tree | e506c24eeae16b384555f08818e0b62ba41e0285 /sc/inc/dispuno.hxx | |
parent | 5d3c37b99e8bfa9256f12015152439bf4e5ebbb4 (diff) |
com::sun::star->css in sc
Change-Id: I7774890f46f9343e944e34db27af8bce3b1d0915
Diffstat (limited to 'sc/inc/dispuno.hxx')
-rw-r--r-- | sc/inc/dispuno.hxx | 87 |
1 files changed, 39 insertions, 48 deletions
diff --git a/sc/inc/dispuno.hxx b/sc/inc/dispuno.hxx index 288a5f0f5ce1..8d934f941a5c 100644 --- a/sc/inc/dispuno.hxx +++ b/sc/inc/dispuno.hxx @@ -35,25 +35,21 @@ class ScTabViewShell; typedef std::vector< css::uno::Reference< css::frame::XStatusListener > > XStatusListenerArr_Impl; class ScDispatchProviderInterceptor : public cppu::WeakImplHelper< - com::sun::star::frame::XDispatchProviderInterceptor, - com::sun::star::lang::XEventListener>, + css::frame::XDispatchProviderInterceptor, + css::lang::XEventListener>, public SfxListener { ScTabViewShell* pViewShell; /// the component which's dispatches we're intercepting - ::com::sun::star::uno::Reference< - ::com::sun::star::frame::XDispatchProviderInterception> m_xIntercepted; + css::uno::Reference< css::frame::XDispatchProviderInterception> m_xIntercepted; /// chaining - ::com::sun::star::uno::Reference< - ::com::sun::star::frame::XDispatchProvider> m_xSlaveDispatcher; - ::com::sun::star::uno::Reference< - ::com::sun::star::frame::XDispatchProvider> m_xMasterDispatcher; + css::uno::Reference< css::frame::XDispatchProvider> m_xSlaveDispatcher; + css::uno::Reference< css::frame::XDispatchProvider> m_xMasterDispatcher; /// own dispatch - ::com::sun::star::uno::Reference< - ::com::sun::star::frame::XDispatch> m_xMyDispatch; + css::uno::Reference< css::frame::XDispatch> m_xMyDispatch; public: @@ -63,37 +59,35 @@ public: virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; /// XDispatchProvider - virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > SAL_CALL - queryDispatch( const ::com::sun::star::util::URL& aURL, + virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL + queryDispatch( const css::util::URL& aURL, const OUString& aTargetFrameName, sal_Int32 nSearchFlags ) - throw(::com::sun::star::uno::RuntimeException, std::exception) override; - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< - ::com::sun::star::frame::XDispatch > > SAL_CALL - queryDispatches( const ::com::sun::star::uno::Sequence< - ::com::sun::star::frame::DispatchDescriptor >& aDescripts ) - throw(::com::sun::star::uno::RuntimeException, std::exception) override; + throw(css::uno::RuntimeException, std::exception) override; + virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL + queryDispatches( const css::uno::Sequence< css::frame::DispatchDescriptor >& aDescripts ) + throw(css::uno::RuntimeException, std::exception) override; /// XDispatchProviderInterceptor - virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > SAL_CALL - getSlaveDispatchProvider() throw(::com::sun::star::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setSlaveDispatchProvider( const ::com::sun::star::uno::Reference< - ::com::sun::star::frame::XDispatchProvider >& xNewDispatchProvider ) - throw(::com::sun::star::uno::RuntimeException, std::exception) override; - virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > SAL_CALL - getMasterDispatchProvider() throw(::com::sun::star::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setMasterDispatchProvider( const ::com::sun::star::uno::Reference< - ::com::sun::star::frame::XDispatchProvider >& xNewSupplier ) - throw(::com::sun::star::uno::RuntimeException, std::exception) override; + virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL + getSlaveDispatchProvider() throw(css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL setSlaveDispatchProvider( const css::uno::Reference< + css::frame::XDispatchProvider >& xNewDispatchProvider ) + throw(css::uno::RuntimeException, std::exception) override; + virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL + getMasterDispatchProvider() throw(css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL setMasterDispatchProvider( const css::uno::Reference< + css::frame::XDispatchProvider >& xNewSupplier ) + throw(css::uno::RuntimeException, std::exception) override; /// XEventListener - virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) - throw(::com::sun::star::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) + throw(css::uno::RuntimeException, std::exception) override; }; class ScDispatch : public cppu::WeakImplHelper< - com::sun::star::frame::XDispatch, - com::sun::star::view::XSelectionChangeListener >, + css::frame::XDispatch, + css::view::XSelectionChangeListener >, public SfxListener { ScTabViewShell* pViewShell; @@ -109,28 +103,25 @@ public: virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; /// XDispatch - virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& aURL, - const ::com::sun::star::uno::Sequence< - ::com::sun::star::beans::PropertyValue >& aArgs ) - throw(::com::sun::star::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL addStatusListener( const ::com::sun::star::uno::Reference< - ::com::sun::star::frame::XStatusListener >& xControl, - const ::com::sun::star::util::URL& aURL ) - throw(::com::sun::star::uno::RuntimeException, + virtual void SAL_CALL dispatch( const css::util::URL& aURL, + const css::uno::Sequence< css::beans::PropertyValue >& aArgs ) + throw(css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL addStatusListener( const css::uno::Reference< css::frame::XStatusListener >& xControl, + const css::util::URL& aURL ) + throw(css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL removeStatusListener( const ::com::sun::star::uno::Reference< - ::com::sun::star::frame::XStatusListener >& xControl, - const ::com::sun::star::util::URL& aURL ) - throw(::com::sun::star::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL removeStatusListener( const css::uno::Reference< css::frame::XStatusListener >& xControl, + const css::util::URL& aURL ) + throw(css::uno::RuntimeException, std::exception) override; /// XSelectionChangeListener - virtual void SAL_CALL selectionChanged( const ::com::sun::star::lang::EventObject& aEvent ) - throw (::com::sun::star::uno::RuntimeException, + virtual void SAL_CALL selectionChanged( const css::lang::EventObject& aEvent ) + throw (css::uno::RuntimeException, std::exception) override; /// XEventListener - virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) - throw (::com::sun::star::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) + throw (css::uno::RuntimeException, std::exception) override; }; #endif |