summaryrefslogtreecommitdiff
path: root/framework/inc/dispatch
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2015-08-14 10:23:57 +0900
committerNoel Grandin <noelgrandin@gmail.com>2015-08-14 10:46:14 +0000
commit431f2ce81893db21f23572926e8a5b045c67e9ae (patch)
tree6ea4842720498966bbf22d135756a64ee9505280 /framework/inc/dispatch
parent48c4810edf302c1f0593328535f065ed338e0a18 (diff)
framework: tdf#88206 replace cppu::WeakImplHelper* etc.
with the variadic variants. Change-Id: I6acff50f23bcbac58c689caf2a7f07dbd5404e57 Reviewed-on: https://gerrit.libreoffice.org/17734 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'framework/inc/dispatch')
-rw-r--r--framework/inc/dispatch/closedispatcher.hxx4
-rw-r--r--framework/inc/dispatch/dispatchinformationprovider.hxx4
-rw-r--r--framework/inc/dispatch/dispatchprovider.hxx4
-rw-r--r--framework/inc/dispatch/interceptionhelper.hxx4
-rw-r--r--framework/inc/dispatch/mailtodispatcher.hxx4
-rw-r--r--framework/inc/dispatch/menudispatcher.hxx4
-rw-r--r--framework/inc/dispatch/oxt_handler.hxx4
-rw-r--r--framework/inc/dispatch/popupmenudispatcher.hxx4
-rw-r--r--framework/inc/dispatch/servicehandler.hxx4
-rw-r--r--framework/inc/dispatch/startmoduledispatcher.hxx4
-rw-r--r--framework/inc/dispatch/systemexec.hxx4
11 files changed, 22 insertions, 22 deletions
diff --git a/framework/inc/dispatch/closedispatcher.hxx b/framework/inc/dispatch/closedispatcher.hxx
index e8e9d0567927..3080ed48e49b 100644
--- a/framework/inc/dispatch/closedispatcher.hxx
+++ b/framework/inc/dispatch/closedispatcher.hxx
@@ -37,7 +37,7 @@
#include <com/sun/star/frame/DispatchResultState.hpp>
#include <boost/scoped_ptr.hpp>
-#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/implbase.hxx>
#include <vcl/evntpost.hxx>
#include <vcl/vclptr.hxx>
@@ -55,7 +55,7 @@ namespace framework{
or some other menu entries. Or we terminate the whole application in case this backing mode should not
be used.
*/
-class CloseDispatcher : public ::cppu::WeakImplHelper2<
+class CloseDispatcher : public ::cppu::WeakImplHelper<
css::frame::XNotifyingDispatch, // => XDispatch
css::frame::XDispatchInformationProvider >
{
diff --git a/framework/inc/dispatch/dispatchinformationprovider.hxx b/framework/inc/dispatch/dispatchinformationprovider.hxx
index 0dd129a2e1be..851b0217ef87 100644
--- a/framework/inc/dispatch/dispatchinformationprovider.hxx
+++ b/framework/inc/dispatch/dispatchinformationprovider.hxx
@@ -30,7 +30,7 @@
#include <cppuhelper/weakref.hxx>
#include <rtl/ustring.hxx>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <vcl/svapp.hxx>
namespace framework{
@@ -38,7 +38,7 @@ namespace framework{
/*-************************************************************************************************************
@short a helper to merge dispatch information of different sources together.
*//*-*************************************************************************************************************/
-class DispatchInformationProvider : public ::cppu::WeakImplHelper1< css::frame::XDispatchInformationProvider >
+class DispatchInformationProvider : public ::cppu::WeakImplHelper< css::frame::XDispatchInformationProvider >
{
// member
diff --git a/framework/inc/dispatch/dispatchprovider.hxx b/framework/inc/dispatch/dispatchprovider.hxx
index dadcfd3a3db2..4b2eb036e9b1 100644
--- a/framework/inc/dispatch/dispatchprovider.hxx
+++ b/framework/inc/dispatch/dispatchprovider.hxx
@@ -36,7 +36,7 @@
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <cppuhelper/weakref.hxx>
namespace framework{
@@ -76,7 +76,7 @@ enum EDispatchHelper
*/
class DispatchProvider : private TransactionBase ,
// interfaces
- public ::cppu::WeakImplHelper1< css::frame::XDispatchProvider >
+ public ::cppu::WeakImplHelper< css::frame::XDispatchProvider >
{
/* member */
private:
diff --git a/framework/inc/dispatch/interceptionhelper.hxx b/framework/inc/dispatch/interceptionhelper.hxx
index e032017d280c..e2a9ad9dd021 100644
--- a/framework/inc/dispatch/interceptionhelper.hxx
+++ b/framework/inc/dispatch/interceptionhelper.hxx
@@ -32,7 +32,7 @@
#include <com/sun/star/frame/DispatchDescriptor.hpp>
#include <tools/wldcrd.hxx>
-#include <cppuhelper/implbase3.hxx>
+#include <cppuhelper/implbase.hxx>
#include <cppuhelper/weakref.hxx>
#include <deque>
@@ -47,7 +47,7 @@ namespace framework{
@attention Don't use this class as direct member - use it dynamicly. Do not derive from this class.
We hold a weakreference to our owner not to our superclass.
*/
-class InterceptionHelper : public ::cppu::WeakImplHelper3<
+class InterceptionHelper : public ::cppu::WeakImplHelper<
css::frame::XDispatchProvider,
css::frame::XDispatchProviderInterception,
css::lang::XEventListener >
diff --git a/framework/inc/dispatch/mailtodispatcher.hxx b/framework/inc/dispatch/mailtodispatcher.hxx
index 189e109ed41d..e4a1c8238326 100644
--- a/framework/inc/dispatch/mailtodispatcher.hxx
+++ b/framework/inc/dispatch/mailtodispatcher.hxx
@@ -35,7 +35,7 @@
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/frame/XStatusListener.hpp>
-#include <cppuhelper/implbase3.hxx>
+#include <cppuhelper/implbase.hxx>
namespace framework{
@@ -49,7 +49,7 @@ namespace framework{
@devstatus ready to use
*/
-class MailToDispatcher : public ::cppu::WeakImplHelper3<
+class MailToDispatcher : public ::cppu::WeakImplHelper<
css::lang::XServiceInfo,
css::frame::XDispatchProvider,
css::frame::XNotifyingDispatch> // => XDispatch
diff --git a/framework/inc/dispatch/menudispatcher.hxx b/framework/inc/dispatch/menudispatcher.hxx
index 633874b13f1e..16c19049214c 100644
--- a/framework/inc/dispatch/menudispatcher.hxx
+++ b/framework/inc/dispatch/menudispatcher.hxx
@@ -41,7 +41,7 @@
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/frame/XFrameActionListener.hpp>
-#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/implbase.hxx>
#include <cppuhelper/weakref.hxx>
#include <cppuhelper/interfacecontainer.h>
@@ -64,7 +64,7 @@ typedef cppu::OMultiTypeInterfaceContainerHelperVar<OUString>
@devstatus ready to use
*//*-*************************************************************************************************************/
-class MenuDispatcher : public ::cppu::WeakImplHelper2<
+class MenuDispatcher : public ::cppu::WeakImplHelper<
css::frame::XDispatch ,
css::frame::XFrameActionListener >
{
diff --git a/framework/inc/dispatch/oxt_handler.hxx b/framework/inc/dispatch/oxt_handler.hxx
index 999c2ddb06c3..d1992402e6a5 100644
--- a/framework/inc/dispatch/oxt_handler.hxx
+++ b/framework/inc/dispatch/oxt_handler.hxx
@@ -36,7 +36,7 @@
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/util/URL.hpp>
-#include <cppuhelper/implbase3.hxx>
+#include <cppuhelper/implbase.hxx>
namespace framework{
@@ -51,7 +51,7 @@ namespace framework{
@devstatus ready
@threadsafe yes
*//*-*************************************************************************************************************/
-class Oxt_Handler : public ::cppu::WeakImplHelper3<
+class Oxt_Handler : public ::cppu::WeakImplHelper<
css::lang::XServiceInfo,
css::frame::XNotifyingDispatch, // => XDispatch
css::document::XExtendedFilterDetection >
diff --git a/framework/inc/dispatch/popupmenudispatcher.hxx b/framework/inc/dispatch/popupmenudispatcher.hxx
index d21632619f82..40f92145adce 100644
--- a/framework/inc/dispatch/popupmenudispatcher.hxx
+++ b/framework/inc/dispatch/popupmenudispatcher.hxx
@@ -43,7 +43,7 @@
#include <com/sun/star/uri/XUriReferenceFactory.hpp>
#include <com/sun/star/uri/XUriReference.hpp>
-#include <cppuhelper/implbase5.hxx>
+#include <cppuhelper/implbase.hxx>
#include <cppuhelper/weakref.hxx>
#include <cppuhelper/interfacecontainer.h>
@@ -66,7 +66,7 @@ typedef cppu::OMultiTypeInterfaceContainerHelperVar<OUString>
@devstatus ready to use
*//*-*************************************************************************************************************/
-class PopupMenuDispatcher : public ::cppu::WeakImplHelper5<
+class PopupMenuDispatcher : public ::cppu::WeakImplHelper<
css::lang::XServiceInfo,
css::frame::XDispatchProvider,
css::frame::XDispatch,
diff --git a/framework/inc/dispatch/servicehandler.hxx b/framework/inc/dispatch/servicehandler.hxx
index e84049ab138d..ffb77bb2f4e1 100644
--- a/framework/inc/dispatch/servicehandler.hxx
+++ b/framework/inc/dispatch/servicehandler.hxx
@@ -35,7 +35,7 @@
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/frame/XStatusListener.hpp>
-#include <cppuhelper/implbase3.hxx>
+#include <cppuhelper/implbase.hxx>
namespace framework{
@@ -53,7 +53,7 @@ namespace framework{
@devstatus ready to use
*/
-class ServiceHandler : public ::cppu::WeakImplHelper3<
+class ServiceHandler : public ::cppu::WeakImplHelper<
css::lang::XServiceInfo ,
css::frame::XDispatchProvider ,
css::frame::XNotifyingDispatch > // => XDispatch
diff --git a/framework/inc/dispatch/startmoduledispatcher.hxx b/framework/inc/dispatch/startmoduledispatcher.hxx
index 979f79491234..84589df7875d 100644
--- a/framework/inc/dispatch/startmoduledispatcher.hxx
+++ b/framework/inc/dispatch/startmoduledispatcher.hxx
@@ -37,7 +37,7 @@
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/frame/DispatchResultState.hpp>
-#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/implbase.hxx>
#include <vcl/evntpost.hxx>
namespace framework{
@@ -45,7 +45,7 @@ namespace framework{
/**
@short helper to handle all URLs related to the StartModule
*/
-class StartModuleDispatcher : public ::cppu::WeakImplHelper2<
+class StartModuleDispatcher : public ::cppu::WeakImplHelper<
css::frame::XNotifyingDispatch, // => XDispatch
css::frame::XDispatchInformationProvider >
{
diff --git a/framework/inc/dispatch/systemexec.hxx b/framework/inc/dispatch/systemexec.hxx
index b4517e918e8f..f8ec78c153fe 100644
--- a/framework/inc/dispatch/systemexec.hxx
+++ b/framework/inc/dispatch/systemexec.hxx
@@ -35,7 +35,7 @@
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/frame/XStatusListener.hpp>
-#include <cppuhelper/implbase3.hxx>
+#include <cppuhelper/implbase.hxx>
namespace framework{
@@ -51,7 +51,7 @@ namespace framework{
@devstatus ready to use
*/
-class SystemExec : public ::cppu::WeakImplHelper3<
+class SystemExec : public ::cppu::WeakImplHelper<
css::lang::XServiceInfo ,
css::frame::XDispatchProvider ,
css::frame::XNotifyingDispatch > // => XDispatch