diff options
author | Noel Grandin <noel@peralex.com> | 2013-05-28 10:49:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-06-03 09:59:59 +0200 |
commit | a8a35e54f506ae22a0ac8f80aa824813260de000 (patch) | |
tree | a4b9e98346c9c579536557f0256abb08908fa5e8 /include | |
parent | 515701a1ff18d04ede235bef862c465adf41062f (diff) |
fdo#46808, Convert frame::AppDispatchProvider to new style
The service already existed, it just needed an IDL file.
Change-Id: I9553c8e7c4922f2106bc13034e0cc35669b28b7e
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/appuno.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sfx2/appuno.hxx b/include/sfx2/appuno.hxx index 90bf2d5edf58..ff2313fd040d 100644 --- a/include/sfx2/appuno.hxx +++ b/include/sfx2/appuno.hxx @@ -28,7 +28,7 @@ #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/util/URL.hpp> #include <com/sun/star/uno/Exception.hpp> -#include <com/sun/star/frame/XDispatchProvider.hpp> +#include <com/sun/star/frame/XAppDispatchProvider.hpp> #include <com/sun/star/frame/XDispatch.hpp> #include <com/sun/star/frame/XSynchronousDispatch.hpp> #include <com/sun/star/frame/XNotifyingDispatch.hpp> @@ -40,6 +40,7 @@ #include <com/sun/star/uno/Reference.h> #include <com/sun/star/uno/Sequence.hxx> #include <cppuhelper/weak.hxx> +#include <cppuhelper/implbase3.hxx> #include <cppuhelper/implbase4.hxx> #include <tools/errcode.hxx> @@ -81,10 +82,9 @@ public: virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException); }; -class SfxAppDispatchProvider : public ::cppu::WeakImplHelper4< ::com::sun::star::frame::XDispatchProvider, +class SfxAppDispatchProvider : public ::cppu::WeakImplHelper3< ::com::sun::star::frame::XAppDispatchProvider, ::com::sun::star::lang::XServiceInfo, - ::com::sun::star::lang::XInitialization, - ::com::sun::star::frame::XDispatchInformationProvider > + ::com::sun::star::lang::XInitialization > { ::com::sun::star::uno::WeakReference < ::com::sun::star::frame::XFrame > m_xFrame; public: |