Kaydet (Commit) 4000a0e6 authored tarafından Miklos Vajna's avatar Miklos Vajna

sw: use variadic cppu::WeakComponentImplHelper

Change-Id: I209ff18f4326c6757a0c98b8f40cc3898c8b114e
Reviewed-on: https://gerrit.libreoffice.org/15603Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst 93f0b144
......@@ -680,7 +680,7 @@ void SwConnectionListener::disposing(const lang::EventObject& /*aEvent*/)
}
SwMailTransferable::SwMailTransferable(const OUString& rBody, const OUString& rMimeType) :
cppu::WeakComponentImplHelper2< datatransfer::XTransferable, beans::XPropertySet >(m_aMutex),
cppu::WeakComponentImplHelper< datatransfer::XTransferable, beans::XPropertySet >(m_aMutex),
m_aMimeType( rMimeType ),
m_sBody( rBody ),
m_bIsBody( true )
......@@ -689,7 +689,7 @@ SwMailTransferable::SwMailTransferable(const OUString& rBody, const OUString& rM
SwMailTransferable::SwMailTransferable(const OUString& rURL,
const OUString& rName, const OUString& rMimeType) :
cppu::WeakComponentImplHelper2< datatransfer::XTransferable, beans::XPropertySet >(m_aMutex),
cppu::WeakComponentImplHelper< datatransfer::XTransferable, beans::XPropertySet >(m_aMutex),
m_aMimeType( rMimeType ),
m_aURL(rURL),
m_aName( rName ),
......@@ -798,7 +798,7 @@ void SwMailTransferable::removeVetoableChangeListener(
}
SwMailMessage::SwMailMessage() :
cppu::WeakComponentImplHelper1< mail::XMailMessage>(m_aMutex)
cppu::WeakComponentImplHelper< mail::XMailMessage>(m_aMutex)
{
}
......
......@@ -29,8 +29,7 @@
#include <com/sun/star/datatransfer/XTransferable.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/compbase1.hxx>
#include <cppuhelper/compbase2.hxx>
#include <cppuhelper/compbase.hxx>
#include <vcl/scrbar.hxx>
#include <rtl/ustring.hxx>
#include "swdllapi.h"
......@@ -180,13 +179,13 @@ public:
class SW_DLLPUBLIC SwConnectionListener :
public SwMutexBase,
public cppu::WeakComponentImplHelper1< ::com::sun::star::mail::XConnectionListener >
public cppu::WeakComponentImplHelper< ::com::sun::star::mail::XConnectionListener >
{
using cppu::WeakComponentImplHelperBase::disposing;
public:
SwConnectionListener() :
cppu::WeakComponentImplHelper1< ::com::sun::star::mail::XConnectionListener>(m_aMutex)
cppu::WeakComponentImplHelper< ::com::sun::star::mail::XConnectionListener>(m_aMutex)
{}
virtual ~SwConnectionListener();
......@@ -202,7 +201,7 @@ public:
class SW_DLLPUBLIC SwMailTransferable :
public SwMutexBase,
public cppu::WeakComponentImplHelper2
public cppu::WeakComponentImplHelper
<
::com::sun::star::datatransfer::XTransferable,
::com::sun::star::beans::XPropertySet
......@@ -241,7 +240,7 @@ class SW_DLLPUBLIC SwMailTransferable :
class SW_DLLPUBLIC SwMailMessage :
public SwMutexBase,
public cppu::WeakComponentImplHelper1< ::com::sun::star::mail::XMailMessage >
public cppu::WeakComponentImplHelper< ::com::sun::star::mail::XMailMessage >
{
OUString m_sSenderName;
OUString m_sSenderAddress;
......
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