Kaydet (Commit) 315afb12 authored tarafından Takeshi Abe's avatar Takeshi Abe Kaydeden (comit) Noel Grandin

tdf#88206 replace cppu::WeakImplHelper* etc.

with the variadic variants, in binaryurp / bridges.

Change-Id: I2d158c24e73681907cae5815d4b07b1c74f74335
Reviewed-on: https://gerrit.libreoffice.org/16792Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst b854086d
......@@ -31,7 +31,7 @@
#include "com/sun/star/lang/XComponent.hpp"
#include "com/sun/star/uno/Reference.hxx"
#include "com/sun/star/uno/RuntimeException.hpp"
#include "cppuhelper/implbase2.hxx"
#include "cppuhelper/implbase.hxx"
#include "osl/conditn.hxx"
#include "osl/mutex.hxx"
#include "rtl/ref.hxx"
......@@ -67,7 +67,7 @@ namespace rtl { class ByteSequence; }
namespace binaryurp {
class Bridge:
public cppu::WeakImplHelper2<
public cppu::WeakImplHelper<
com::sun::star::bridge::XBridge, com::sun::star::lang::XComponent >
{
public:
......
......@@ -32,7 +32,7 @@
#include "com/sun/star/uno/Reference.hxx"
#include "com/sun/star/uno/RuntimeException.hpp"
#include "cppuhelper/basemutex.hxx"
#include "cppuhelper/compbase2.hxx"
#include "cppuhelper/compbase.hxx"
#include "sal/types.h"
namespace com { namespace sun { namespace star {
......@@ -49,7 +49,7 @@ namespace binaryurp {
// the implementation does not care about a disposed state:
typedef
cppu::WeakComponentImplHelper2<
cppu::WeakComponentImplHelper<
com::sun::star::lang::XServiceInfo,
com::sun::star::bridge::XBridgeFactory2 >
BridgeFactoryBase;
......
......@@ -34,7 +34,7 @@
#include "com/sun/star/uno/XComponentContext.hpp"
#include "com/sun/star/uno/XInterface.hpp"
#include "cppuhelper/factory.hxx"
#include "cppuhelper/implbase3.hxx"
#include "cppuhelper/implbase.hxx"
#include <cppuhelper/supportsservice.hxx>
#include "cppuhelper/weak.hxx"
#include "osl/conditn.hxx"
......@@ -176,7 +176,7 @@ css::uno::Any Derived::queryInterface(css::uno::Type const & type)
namespace {
class Service: public cppu::WeakImplHelper3<
class Service: public cppu::WeakImplHelper<
css::lang::XServiceInfo, css::lang::XMain, test::javauno::acquire::XTest >
{
public:
......
......@@ -25,7 +25,7 @@
#include "uno/environment.hxx"
#include "jvmaccess/virtualmachine.hxx"
#include "jvmaccess/unovirtualmachine.hxx"
#include "cppuhelper/implbase1.hxx"
#include "cppuhelper/implbase.hxx"
#include "test/java_uno/anytest/XTransport.hpp"
#include "test/java_uno/anytest/DerivedInterface.hpp"
......@@ -37,7 +37,7 @@ using ::test::java_uno::anytest::XTransport;
namespace
{
class Transport : public ::cppu::WeakImplHelper1< XTransport >
class Transport : public ::cppu::WeakImplHelper< XTransport >
{
public:
virtual Any SAL_CALL mapAny( Any const & any )
......
......@@ -35,7 +35,7 @@
#include "com/sun/star/uno/XComponentContext.hpp"
#include "com/sun/star/uno/XInterface.hpp"
#include "cppuhelper/factory.hxx"
#include "cppuhelper/implbase2.hxx"
#include "cppuhelper/implbase.hxx"
#include <cppuhelper/supportsservice.hxx>
#include "cppuhelper/weak.hxx"
#include "rtl/string.h"
......@@ -48,7 +48,7 @@
namespace {
class Service: public cppu::WeakImplHelper2<
class Service: public cppu::WeakImplHelper<
css::lang::XServiceInfo, test::java_uno::equals::XTestInterface >
{
public:
......
......@@ -36,7 +36,7 @@
#include "com/sun/star/uno/XComponentContext.hpp"
#include "com/sun/star/uno/XInterface.hpp"
#include "cppuhelper/factory.hxx"
#include "cppuhelper/implbase2.hxx"
#include "cppuhelper/implbase.hxx"
#include "cppuhelper/implementationentry.hxx"
#include "cppuhelper/weak.hxx"
#include "osl/thread.hxx"
......@@ -47,7 +47,7 @@
namespace {
class Client: public cppu::WeakImplHelper2<
class Client: public cppu::WeakImplHelper<
css::lang::XMain, test::javauno::nativethreadpool::XSource >
{
public:
......
......@@ -34,7 +34,7 @@
#include "com/sun/star/uno/XComponentContext.hpp"
#include "com/sun/star/uno/XInterface.hpp"
#include "cppuhelper/factory.hxx"
#include "cppuhelper/implbase1.hxx"
#include "cppuhelper/implbase.hxx"
#include "cppuhelper/implementationentry.hxx"
#include "cppuhelper/weak.hxx"
#include "rtl/ustring.hxx"
......@@ -43,7 +43,7 @@
namespace {
class Server:
public cppu::WeakImplHelper1< test::javauno::nativethreadpool::XSource >
public cppu::WeakImplHelper< test::javauno::nativethreadpool::XSource >
{
public:
explicit Server(
......
......@@ -26,7 +26,6 @@
#include <osl/thread.hxx>
#include <cppuhelper/servicefactory.hxx>
#include <cppuhelper/implbase1.hxx>
#include <com/sun/star/connection/XAcceptor.hpp>
#include <com/sun/star/connection/XConnection.hpp>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment