diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2015-09-05 18:09:41 +0900 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-09-07 07:36:12 +0000 |
commit | 9ea32ccd6e45e2d914e09413a4164045aff9f0fd (patch) | |
tree | b38f6a1e43a4865daa36b916fe64be94718a4020 /svl/qa/unit/test_URIHelper.cxx | |
parent | 20a8b8ac6b4e3c17d28fb88dcc52b1d67ff6b39a (diff) |
svl: tdf#88206 replace cppu::WeakImplHelper*
with the variadic variants.
Change-Id: I7aad512c4de034ed96b9a48e797e580e605d98a6
Reviewed-on: https://gerrit.libreoffice.org/18351
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svl/qa/unit/test_URIHelper.cxx')
-rw-r--r-- | svl/qa/unit/test_URIHelper.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/svl/qa/unit/test_URIHelper.cxx b/svl/qa/unit/test_URIHelper.cxx index cedebdfe322d..b221b54feb16 100644 --- a/svl/qa/unit/test_URIHelper.cxx +++ b/svl/qa/unit/test_URIHelper.cxx @@ -38,8 +38,7 @@ #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/uri/XUriReference.hpp> #include <cppuhelper/bootstrap.hxx> -#include <cppuhelper/implbase1.hxx> -#include <cppuhelper/implbase2.hxx> +#include <cppuhelper/implbase.hxx> #include "cppunit/TestCase.h" #include "cppunit/TestFixture.h" #include "cppunit/TestSuite.h" @@ -66,7 +65,7 @@ namespace { // This class only implements that subset of functionality of a proper // css::ucb::Content that is known to be needed here: class Content: - public cppu::WeakImplHelper2< + public cppu::WeakImplHelper< css::ucb::XContent, css::ucb::XCommandProcessor > { public: @@ -169,7 +168,7 @@ css::uno::Any Content::execute( return css::uno::makeAny(uri.toAsciiLowerCase()); } -class Provider: public cppu::WeakImplHelper1< css::ucb::XContentProvider > { +class Provider: public cppu::WeakImplHelper< css::ucb::XContentProvider > { public: virtual css::uno::Reference< css::ucb::XContent > SAL_CALL queryContent( css::uno::Reference< css::ucb::XContentIdentifier > const & identifier) |