diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2015-08-14 10:23:57 +0900 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-08-14 10:46:14 +0000 |
commit | 431f2ce81893db21f23572926e8a5b045c67e9ae (patch) | |
tree | 6ea4842720498966bbf22d135756a64ee9505280 /framework/source/services | |
parent | 48c4810edf302c1f0593328535f065ed338e0a18 (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/source/services')
-rw-r--r-- | framework/source/services/ContextChangeEventMultiplexer.cxx | 4 | ||||
-rw-r--r-- | framework/source/services/autorecovery.cxx | 4 | ||||
-rw-r--r-- | framework/source/services/modulemanager.cxx | 4 | ||||
-rw-r--r-- | framework/source/services/pathsettings.cxx | 4 | ||||
-rw-r--r-- | framework/source/services/sessionlistener.cxx | 4 | ||||
-rw-r--r-- | framework/source/services/substitutepathvars.cxx | 4 | ||||
-rw-r--r-- | framework/source/services/taskcreatorsrv.cxx | 4 | ||||
-rw-r--r-- | framework/source/services/urltransformer.cxx | 4 |
8 files changed, 16 insertions, 16 deletions
diff --git a/framework/source/services/ContextChangeEventMultiplexer.cxx b/framework/source/services/ContextChangeEventMultiplexer.cxx index d672704c23c7..dd558ed167a1 100644 --- a/framework/source/services/ContextChangeEventMultiplexer.cxx +++ b/framework/source/services/ContextChangeEventMultiplexer.cxx @@ -25,7 +25,7 @@ #include <com/sun/star/ui/XContextChangeEventMultiplexer.hpp> #include <com/sun/star/uno/XComponentContext.hpp> -#include <cppuhelper/compbase3.hxx> +#include <cppuhelper/compbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <cppuhelper/basemutex.hxx> @@ -42,7 +42,7 @@ using namespace css::uno; namespace { -typedef ::cppu::WeakComponentImplHelper3 < +typedef ::cppu::WeakComponentImplHelper < css::ui::XContextChangeEventMultiplexer, css::lang::XServiceInfo, css::lang::XEventListener diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index 05d2fc603f44..1b0033f81f5a 100644 --- a/framework/source/services/autorecovery.cxx +++ b/framework/source/services/autorecovery.cxx @@ -71,7 +71,7 @@ #include <comphelper/configurationhelper.hxx> #include <cppuhelper/basemutex.hxx> #include <cppuhelper/exc_hlp.hxx> -#include <cppuhelper/compbase5.hxx> +#include <cppuhelper/compbase.hxx> #include <cppuhelper/propshlp.hxx> #include <cppuhelper/supportsservice.hxx> #include <unotools/mediadescriptor.hxx> @@ -159,7 +159,7 @@ public: of documents - including features of an EmergencySave in case a GPF occurs. */ -typedef ::cppu::WeakComponentImplHelper5< +typedef ::cppu::WeakComponentImplHelper< css::lang::XServiceInfo, css::frame::XDispatch, css::document::XDocumentEventListener, // => css.lang.XEventListener diff --git a/framework/source/services/modulemanager.cxx b/framework/source/services/modulemanager.cxx index 4b9d383f89fb..f8f176db12af 100644 --- a/framework/source/services/modulemanager.cxx +++ b/framework/source/services/modulemanager.cxx @@ -29,7 +29,7 @@ #include <com/sun/star/container/XContainerQuery.hpp> #include <com/sun/star/uno/XComponentContext.hpp> -#include <cppuhelper/implbase3.hxx> +#include <cppuhelper/implbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <comphelper/configurationhelper.hxx> #include <comphelper/sequenceashashmap.hxx> @@ -41,7 +41,7 @@ namespace { class ModuleManager: - public cppu::WeakImplHelper3< + public cppu::WeakImplHelper< css::lang::XServiceInfo, css::frame::XModuleManager2, css::container::XContainerQuery >, diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx index db5f427f2a08..5296c8fde73e 100644 --- a/framework/source/services/pathsettings.cxx +++ b/framework/source/services/pathsettings.cxx @@ -38,7 +38,7 @@ #include <cppuhelper/basemutex.hxx> #include <cppuhelper/propshlp.hxx> -#include <cppuhelper/compbase3.hxx> +#include <cppuhelper/compbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <comphelper/sequence.hxx> #include <comphelper/configurationhelper.hxx> @@ -79,7 +79,7 @@ sal_Int32 impl_getPropGroup(sal_Int32 nID) disable it in case only the new schema must be used. */ -typedef ::cppu::WeakComponentImplHelper3< +typedef ::cppu::WeakComponentImplHelper< css::lang::XServiceInfo, css::util::XChangesListener, // => XEventListener css::util::XPathSettings> // => XPropertySet diff --git a/framework/source/services/sessionlistener.cxx b/framework/source/services/sessionlistener.cxx index fa131d417b3b..cd151710d02f 100644 --- a/framework/source/services/sessionlistener.cxx +++ b/framework/source/services/sessionlistener.cxx @@ -40,7 +40,7 @@ #include <com/sun/star/util/URLTransformer.hpp> #include <com/sun/star/util/XURLTransformer.hpp> #include <com/sun/star/util/URL.hpp> -#include <cppuhelper/implbase4.hxx> +#include <cppuhelper/implbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <unotools/pathoptions.hxx> @@ -75,7 +75,7 @@ namespace { if flush failed</li> </ul> */ -typedef cppu::WeakImplHelper4< +typedef cppu::WeakImplHelper< css::lang::XInitialization, css::frame::XSessionManagerListener2, css::frame::XStatusListener, diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx index faaf2a118754..e2e9d12bace1 100644 --- a/framework/source/services/substitutepathvars.cxx +++ b/framework/source/services/substitutepathvars.cxx @@ -22,7 +22,7 @@ #include <helper/networkdomain.hxx> #include <cppuhelper/basemutex.hxx> -#include <cppuhelper/compbase2.hxx> +#include <cppuhelper/compbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <unotools/configitem.hxx> #include <unotools/localfilehelper.hxx> @@ -218,7 +218,7 @@ struct ReSubstUserVarOrder typedef std::list< ReSubstFixedVarOrder > ReSubstFixedVarOrderVector; typedef std::list< ReSubstUserVarOrder > ReSubstUserVarOrderVector; -typedef ::cppu::WeakComponentImplHelper2< +typedef ::cppu::WeakComponentImplHelper< css::util::XStringSubstitution, css::lang::XServiceInfo > SubstitutePathVariables_BASE; diff --git a/framework/source/services/taskcreatorsrv.cxx b/framework/source/services/taskcreatorsrv.cxx index e26f481d250b..e8f03b178f1e 100644 --- a/framework/source/services/taskcreatorsrv.cxx +++ b/framework/source/services/taskcreatorsrv.cxx @@ -36,7 +36,7 @@ #include <comphelper/sequenceashashmap.hxx> #include <cppuhelper/basemutex.hxx> -#include <cppuhelper/compbase2.hxx> +#include <cppuhelper/compbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <svtools/colorcfg.hxx> #include <toolkit/helper/vclunohelper.hxx> @@ -47,7 +47,7 @@ using namespace framework; namespace { -typedef ::cppu::WeakComponentImplHelper2< +typedef ::cppu::WeakComponentImplHelper< css::lang::XServiceInfo, css::lang::XSingleServiceFactory> TaskCreatorService_BASE; diff --git a/framework/source/services/urltransformer.cxx b/framework/source/services/urltransformer.cxx index 13c2208bec1d..097864b08a77 100644 --- a/framework/source/services/urltransformer.cxx +++ b/framework/source/services/urltransformer.cxx @@ -19,7 +19,7 @@ #include <services.h> -#include <cppuhelper/implbase2.hxx> +#include <cppuhelper/implbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <tools/urlobj.hxx> #include <rtl/ref.hxx> @@ -32,7 +32,7 @@ namespace { -class URLTransformer : public ::cppu::WeakImplHelper2< css::util::XURLTransformer, css::lang::XServiceInfo> +class URLTransformer : public ::cppu::WeakImplHelper< css::util::XURLTransformer, css::lang::XServiceInfo> { public: URLTransformer() {} |