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

tdf#88206 replace cppu::WeakImplHelper* etc.

with the variadic variants, in cppcanvas / cpputools / cui.

Change-Id: Ic28d0830ab86555494004c27b1468de2ea6825dc
Reviewed-on: https://gerrit.libreoffice.org/17119Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 7fa29ecc
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
#include <com/sun/star/rendering/XBitmapCanvas.hpp> #include <com/sun/star/rendering/XBitmapCanvas.hpp>
#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/beans/XFastPropertySet.hpp> #include <com/sun/star/beans/XFastPropertySet.hpp>
#include <cppuhelper/compbase2.hxx> #include <cppuhelper/compbase.hxx>
#include <cppuhelper/basemutex.hxx> #include <cppuhelper/basemutex.hxx>
#include <vcl/gdimtf.hxx> #include <vcl/gdimtf.hxx>
typedef cppu::WeakComponentImplHelper2<com::sun::star::rendering::XMtfRenderer, com::sun::star::beans::XFastPropertySet> MtfRendererBase; typedef cppu::WeakComponentImplHelper<com::sun::star::rendering::XMtfRenderer, com::sun::star::beans::XFastPropertySet> MtfRendererBase;
class MtfRenderer : private cppu::BaseMutex, public MtfRendererBase class MtfRenderer : private cppu::BaseMutex, public MtfRendererBase
{ {
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include <rtl/ustrbuf.hxx> #include <rtl/ustrbuf.hxx>
#include <cppuhelper/bootstrap.hxx> #include <cppuhelper/bootstrap.hxx>
#include <cppuhelper/implbase1.hxx> #include <cppuhelper/implbase.hxx>
#include <com/sun/star/lang/XMain.hpp> #include <com/sun/star/lang/XMain.hpp>
#include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/lang/XInitialization.hpp>
...@@ -252,7 +252,7 @@ static Reference< XInterface > loadComponent( ...@@ -252,7 +252,7 @@ static Reference< XInterface > loadComponent(
} }
class OInstanceProvider class OInstanceProvider
: public WeakImplHelper1< XInstanceProvider > : public WeakImplHelper< XInstanceProvider >
{ {
Reference< XComponentContext > _xContext; Reference< XComponentContext > _xContext;
...@@ -348,7 +348,7 @@ Reference< XInterface > OInstanceProvider::getInstance( const OUString & rName ) ...@@ -348,7 +348,7 @@ Reference< XInterface > OInstanceProvider::getInstance( const OUString & rName )
"no such element \"" + rName + "\"!" ); "no such element \"" + rName + "\"!" );
} }
struct ODisposingListener : public WeakImplHelper1< XEventListener > struct ODisposingListener : public WeakImplHelper< XEventListener >
{ {
Condition cDisposed; Condition cDisposed;
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <com/sun/star/datatransfer/XTransferable.hpp> #include <com/sun/star/datatransfer/XTransferable.hpp>
#include <com/sun/star/datatransfer/clipboard/XClipboard.hpp> #include <com/sun/star/datatransfer/clipboard/XClipboard.hpp>
#include <com/sun/star/awt/XWindow.hpp> #include <com/sun/star/awt/XWindow.hpp>
#include <cppuhelper/compbase4.hxx> #include <cppuhelper/compbase.hxx>
#include <cppuhelper/supportsservice.hxx> #include <cppuhelper/supportsservice.hxx>
#include <comphelper/broadcasthelper.hxx> #include <comphelper/broadcasthelper.hxx>
#include <vcl/dialog.hxx> #include <vcl/dialog.hxx>
...@@ -1508,7 +1508,7 @@ void ColorPickerDialog::setColorComponent( sal_uInt16 nComp, double dValue ) ...@@ -1508,7 +1508,7 @@ void ColorPickerDialog::setColorComponent( sal_uInt16 nComp, double dValue )
} }
} }
typedef ::cppu::WeakComponentImplHelper4< XServiceInfo, XExecutableDialog, XInitialization, XPropertyAccess > ColorPickerBase; typedef ::cppu::WeakComponentImplHelper< XServiceInfo, XExecutableDialog, XInitialization, XPropertyAccess > ColorPickerBase;
class ColorPicker : protected ::comphelper::OBaseMutex, // Struct for right initalization of mutex member! Must be first of baseclasses. class ColorPicker : protected ::comphelper::OBaseMutex, // Struct for right initalization of mutex member! Must be first of baseclasses.
public ColorPickerBase public ColorPickerBase
......
...@@ -10,12 +10,12 @@ ...@@ -10,12 +10,12 @@
#ifndef INCLUDED_CUI_SOURCE_OPTIONS_PERSONASDOCHANDLER_HXX #ifndef INCLUDED_CUI_SOURCE_OPTIONS_PERSONASDOCHANDLER_HXX
#define INCLUDED_CUI_SOURCE_OPTIONS_PERSONASDOCHANDLER_HXX #define INCLUDED_CUI_SOURCE_OPTIONS_PERSONASDOCHANDLER_HXX
#include <cppuhelper/implbase1.hxx> #include <cppuhelper/implbase.hxx>
#include <com/sun/star/xml/sax/XAttributeList.hpp> #include <com/sun/star/xml/sax/XAttributeList.hpp>
#include <com/sun/star/xml/sax/XParser.hpp> #include <com/sun/star/xml/sax/XParser.hpp>
#include <vector> #include <vector>
class PersonasDocHandler : public ::cppu::WeakImplHelper1< css::xml::sax::XDocumentHandler > class PersonasDocHandler : public ::cppu::WeakImplHelper< css::xml::sax::XDocumentHandler >
{ {
private: private:
std::vector<OUString> m_vLearnmoreURLs; std::vector<OUString> m_vLearnmoreURLs;
......
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