summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/inc/canvasbitmap.hxx4
-rw-r--r--vcl/inc/displayconnectiondispatch.hxx4
-rw-r--r--vcl/inc/dndevdis.hxx4
-rw-r--r--vcl/inc/dndlcon.hxx4
-rw-r--r--vcl/inc/osx/a11ylistener.hxx4
-rw-r--r--vcl/inc/pch/precompiled_vcl.hxx7
-rw-r--r--vcl/osx/DragSource.cxx2
-rw-r--r--vcl/osx/DragSource.hxx4
-rw-r--r--vcl/osx/DragSourceContext.cxx2
-rw-r--r--vcl/osx/DragSourceContext.hxx5
-rw-r--r--vcl/osx/DropTarget.cxx2
-rw-r--r--vcl/osx/DropTarget.hxx4
-rw-r--r--vcl/osx/OSXTransferable.hxx4
-rw-r--r--vcl/osx/clipboard.cxx2
-rw-r--r--vcl/osx/clipboard.hxx4
-rw-r--r--vcl/osx/documentfocuslistener.hxx4
-rw-r--r--vcl/qa/cppunit/canvasbitmaptest.cxx4
-rw-r--r--vcl/qa/cppunit/dndtest.cxx7
-rw-r--r--vcl/source/app/session.cxx6
-rw-r--r--vcl/source/app/svdata.cxx1
-rw-r--r--vcl/source/app/svmain.cxx6
-rw-r--r--vcl/source/components/dtranscomp.cxx3
-rw-r--r--vcl/source/filter/graphicfilter.cxx4
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx4
-rw-r--r--vcl/source/gdi/pdfwriter_impl2.cxx4
-rw-r--r--vcl/source/helper/canvastools.cxx4
-rw-r--r--vcl/source/window/dndlcon.cxx2
-rw-r--r--vcl/unx/generic/dtrans/X11_clipboard.cxx2
-rw-r--r--vcl/unx/generic/dtrans/X11_clipboard.hxx4
-rw-r--r--vcl/unx/generic/dtrans/X11_dndcontext.hxx8
-rw-r--r--vcl/unx/generic/dtrans/X11_droptarget.cxx2
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.cxx2
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.hxx10
-rw-r--r--vcl/unx/generic/dtrans/X11_service.cxx1
-rw-r--r--vcl/unx/generic/dtrans/X11_transferable.hxx4
-rw-r--r--vcl/unx/gtk/a11y/atklistener.hxx4
-rw-r--r--vcl/unx/gtk/a11y/atkutil.cxx4
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkFilePicker.hxx4
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkFolderPicker.hxx4
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkPicker.cxx2
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkPicker.hxx4
-rw-r--r--vcl/unx/gtk3/app/gtk3gtkinst.cxx4
-rw-r--r--vcl/unx/kde/UnxFilePicker.hxx4
-rw-r--r--vcl/unx/kde4/KDE4FilePicker.hxx4
44 files changed, 82 insertions, 90 deletions
diff --git a/vcl/inc/canvasbitmap.hxx b/vcl/inc/canvasbitmap.hxx
index bd00fb77d99f..7b9174abb360 100644
--- a/vcl/inc/canvasbitmap.hxx
+++ b/vcl/inc/canvasbitmap.hxx
@@ -20,7 +20,7 @@
#ifndef INCLUDED_VCL_INC_CANVASBITMAP_HXX
#define INCLUDED_VCL_INC_CANVASBITMAP_HXX
-#include <cppuhelper/compbase3.hxx>
+#include <cppuhelper/implbase.hxx>
#include <com/sun/star/rendering/XIntegerReadOnlyBitmap.hpp>
#include <com/sun/star/rendering/XIntegerBitmapColorSpace.hpp>
#include <com/sun/star/rendering/XIntegerBitmap.hpp>
@@ -34,7 +34,7 @@ namespace vcl
namespace unotools
{
class VCL_DLLPUBLIC VclCanvasBitmap :
- public cppu::WeakImplHelper3< com::sun::star::rendering::XIntegerReadOnlyBitmap,
+ public cppu::WeakImplHelper< com::sun::star::rendering::XIntegerReadOnlyBitmap,
com::sun::star::rendering::XBitmapPalette,
com::sun::star::rendering::XIntegerBitmapColorSpace >
{
diff --git a/vcl/inc/displayconnectiondispatch.hxx b/vcl/inc/displayconnectiondispatch.hxx
index 564111e563d5..b1e36d3b228e 100644
--- a/vcl/inc/displayconnectiondispatch.hxx
+++ b/vcl/inc/displayconnectiondispatch.hxx
@@ -23,12 +23,12 @@
#include <sal/config.h>
#include <com/sun/star/awt/XDisplayConnection.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
namespace vcl {
class DisplayConnectionDispatch:
- public cppu::WeakImplHelper1< com::sun::star::awt::XDisplayConnection >
+ public cppu::WeakImplHelper< com::sun::star::awt::XDisplayConnection >
{
public:
virtual bool dispatchEvent(void * pData, int nBytes) = 0;
diff --git a/vcl/inc/dndevdis.hxx b/vcl/inc/dndevdis.hxx
index b542581efee1..4d5df39aa3c0 100644
--- a/vcl/inc/dndevdis.hxx
+++ b/vcl/inc/dndevdis.hxx
@@ -24,10 +24,10 @@
#include <com/sun/star/datatransfer/dnd/XDropTargetDragContext.hpp>
#include <com/sun/star/datatransfer/dnd/XDragGestureRecognizer.hpp>
-#include <cppuhelper/implbase3.hxx>
+#include <cppuhelper/implbase.hxx>
#include <vcl/window.hxx>
-class DNDEventDispatcher: public ::cppu::WeakImplHelper3<
+class DNDEventDispatcher: public ::cppu::WeakImplHelper<
::com::sun::star::datatransfer::dnd::XDropTargetListener,
::com::sun::star::datatransfer::dnd::XDropTargetDragContext,
::com::sun::star::datatransfer::dnd::XDragGestureListener >
diff --git a/vcl/inc/dndlcon.hxx b/vcl/inc/dndlcon.hxx
index b2febeee3337..d6e3cab13433 100644
--- a/vcl/inc/dndlcon.hxx
+++ b/vcl/inc/dndlcon.hxx
@@ -25,12 +25,12 @@
#include <com/sun/star/datatransfer/dnd/XDropTarget.hpp>
#include <com/sun/star/datatransfer/dnd/XDropTargetDragContext.hpp>
#include <com/sun/star/datatransfer/dnd/XDropTargetDropContext.hpp>
-#include <cppuhelper/compbase4.hxx>
+#include <cppuhelper/compbase.hxx>
#include <vcl/unohelp2.hxx>
class DNDListenerContainer : public vcl::unohelper::MutexHelper,
- public ::cppu::WeakComponentImplHelper4<
+ public ::cppu::WeakComponentImplHelper<
::com::sun::star::datatransfer::dnd::XDragGestureRecognizer, \
::com::sun::star::datatransfer::dnd::XDropTargetDragContext,
::com::sun::star::datatransfer::dnd::XDropTargetDropContext,
diff --git a/vcl/inc/osx/a11ylistener.hxx b/vcl/inc/osx/a11ylistener.hxx
index 1861299f2b0f..c20f42363efc 100644
--- a/vcl/inc/osx/a11ylistener.hxx
+++ b/vcl/inc/osx/a11ylistener.hxx
@@ -21,7 +21,7 @@
#define INCLUDED_VCL_INC_OSX_A11YLISTENER_HXX
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include "a11yfocustracker.hxx"
#include "osxvcltypes.h"
@@ -31,7 +31,7 @@
// - AquaA11yEventListener -
class AquaA11yEventListener :
- public ::cppu::WeakImplHelper1< ::com::sun::star::accessibility::XAccessibleEventListener >
+ public ::cppu::WeakImplHelper< ::com::sun::star::accessibility::XAccessibleEventListener >
{
public:
diff --git a/vcl/inc/pch/precompiled_vcl.hxx b/vcl/inc/pch/precompiled_vcl.hxx
index 62f6612d8dbb..ac10eefbc74e 100644
--- a/vcl/inc/pch/precompiled_vcl.hxx
+++ b/vcl/inc/pch/precompiled_vcl.hxx
@@ -70,9 +70,6 @@
#include "com/sun/star/view/DuplexMode.hpp"
#include "comphelper/processfactory.hxx"
#include "comphelper/solarmutex.hxx"
-#include "cppuhelper/compbase1.hxx"
-#include "cppuhelper/compbase2.hxx"
-#include "cppuhelper/implbase1.hxx"
#include "i18nlangtag/languagetag.hxx"
#include "i18nlangtag/mslangid.hxx"
#include "i18nutil/unicode.hxx"
@@ -279,9 +276,9 @@
#include <config_folders.h>
#include <config_graphite.h>
#include <cppuhelper/basemutex.hxx>
-#include <cppuhelper/compbase1.hxx>
+#include <cppuhelper/compbase.hxx>
#include <cppuhelper/factory.hxx>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
diff --git a/vcl/osx/DragSource.cxx b/vcl/osx/DragSource.cxx
index 5ac5b3c05f1f..30818cfe4eb6 100644
--- a/vcl/osx/DragSource.cxx
+++ b/vcl/osx/DragSource.cxx
@@ -143,7 +143,7 @@ Sequence<OUString> dragSource_getSupportedServiceNames()
@end
DragSource::DragSource():
- WeakComponentImplHelper3<XDragSource, XInitialization, XServiceInfo>(m_aMutex),
+ WeakComponentImplHelper<XDragSource, XInitialization, XServiceInfo>(m_aMutex),
mView(NULL),
mpFrame(NULL),
mLastMouseEventBeforeStartDrag(nil),
diff --git a/vcl/osx/DragSource.hxx b/vcl/osx/DragSource.hxx
index 45fc71c64b36..58b18c1ea0f9 100644
--- a/vcl/osx/DragSource.hxx
+++ b/vcl/osx/DragSource.hxx
@@ -23,7 +23,7 @@
#include <com/sun/star/datatransfer/dnd/XDragSource.hpp>
#include <com/sun/star/datatransfer/dnd/XDragSourceContext.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
-#include <cppuhelper/compbase3.hxx>
+#include <cppuhelper/compbase.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <cppuhelper/basemutex.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
@@ -70,7 +70,7 @@ class AquaSalFrame;
@end
class DragSource : public ::cppu::BaseMutex,
- public ::cppu::WeakComponentImplHelper3< com::sun::star::datatransfer::dnd::XDragSource,
+ public ::cppu::WeakComponentImplHelper< com::sun::star::datatransfer::dnd::XDragSource,
com::sun::star::lang::XInitialization,
com::sun::star::lang::XServiceInfo >,
private ::boost::noncopyable
diff --git a/vcl/osx/DragSourceContext.cxx b/vcl/osx/DragSourceContext.cxx
index ac3b9221d98a..319e969e8e99 100644
--- a/vcl/osx/DragSourceContext.cxx
+++ b/vcl/osx/DragSourceContext.cxx
@@ -27,7 +27,7 @@ using namespace com::sun::star::uno;
using namespace cppu;
DragSourceContext::DragSourceContext() :
- WeakComponentImplHelper1<XDragSourceContext>(m_aMutex)
+ WeakComponentImplHelper<XDragSourceContext>(m_aMutex)
{
}
diff --git a/vcl/osx/DragSourceContext.hxx b/vcl/osx/DragSourceContext.hxx
index f8f603b8ae2d..2cecf2debdeb 100644
--- a/vcl/osx/DragSourceContext.hxx
+++ b/vcl/osx/DragSourceContext.hxx
@@ -20,9 +20,8 @@
#ifndef INCLUDED_VCL_OSX_DRAGSOURCECONTEXT_HXX
#define INCLUDED_VCL_OSX_DRAGSOURCECONTEXT_HXX
-#include <cppuhelper/implbase1.hxx>
#include <com/sun/star/datatransfer/dnd/XDragSourceContext.hpp>
-#include <cppuhelper/compbase1.hxx>
+#include <cppuhelper/compbase.hxx>
#include <cppuhelper/basemutex.hxx>
#include <boost/noncopyable.hpp>
@@ -34,7 +33,7 @@
// An instance of SourceContext only lives as long as the drag and drop
// operation lasts.
class DragSourceContext: public cppu::BaseMutex,
- public cppu::WeakComponentImplHelper1<com::sun::star::datatransfer::dnd::XDragSourceContext>,
+ public cppu::WeakComponentImplHelper<com::sun::star::datatransfer::dnd::XDragSourceContext>,
private ::boost::noncopyable
{
public:
diff --git a/vcl/osx/DropTarget.cxx b/vcl/osx/DropTarget.cxx
index 79b1fc409819..a90c1d84a90b 100644
--- a/vcl/osx/DropTarget.cxx
+++ b/vcl/osx/DropTarget.cxx
@@ -116,7 +116,7 @@ namespace /* private */
@end
DropTarget::DropTarget() :
- WeakComponentImplHelper5<XInitialization, XDropTarget, XDropTargetDragContext, XDropTargetDropContext, XServiceInfo>(m_aMutex),
+ WeakComponentImplHelper<XInitialization, XDropTarget, XDropTargetDragContext, XDropTargetDropContext, XServiceInfo>(m_aMutex),
mView(nil),
mpFrame(NULL),
mDropTargetHelper(nil),
diff --git a/vcl/osx/DropTarget.hxx b/vcl/osx/DropTarget.hxx
index 9223fb35a571..d592bf1d397d 100644
--- a/vcl/osx/DropTarget.hxx
+++ b/vcl/osx/DropTarget.hxx
@@ -21,7 +21,7 @@
#define INCLUDED_VCL_OSX_DROPTARGET_HXX
#include "DataFlavorMapping.hxx"
-#include <cppuhelper/compbase5.hxx>
+#include <cppuhelper/compbase.hxx>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/datatransfer/dnd/XDropTarget.hpp>
@@ -73,7 +73,7 @@ class AquaSalFrame;
@end
class DropTarget: public cppu::BaseMutex,
- public cppu::WeakComponentImplHelper5< com::sun::star::lang::XInitialization,
+ public cppu::WeakComponentImplHelper< com::sun::star::lang::XInitialization,
com::sun::star::datatransfer::dnd::XDropTarget,
com::sun::star::datatransfer::dnd::XDropTargetDragContext,
com::sun::star::datatransfer::dnd::XDropTargetDropContext,
diff --git a/vcl/osx/OSXTransferable.hxx b/vcl/osx/OSXTransferable.hxx
index 092e0dc59bf3..79ae6bee5d08 100644
--- a/vcl/osx/OSXTransferable.hxx
+++ b/vcl/osx/OSXTransferable.hxx
@@ -21,7 +21,7 @@
#define INCLUDED_VCL_OSX_OSXTRANSFERABLE_HXX
#include <com/sun/star/datatransfer/XTransferable.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <com/sun/star/datatransfer/XMimeContentTypeFactory.hpp>
#include <com/sun/star/datatransfer/XMimeContentType.hpp>
@@ -35,7 +35,7 @@
#include <boost/noncopyable.hpp>
#include <vector>
-class OSXTransferable : public ::cppu::WeakImplHelper1<com::sun::star::datatransfer::XTransferable>,
+class OSXTransferable : public ::cppu::WeakImplHelper<com::sun::star::datatransfer::XTransferable>,
private ::boost::noncopyable
{
public:
diff --git a/vcl/osx/clipboard.cxx b/vcl/osx/clipboard.cxx
index 008ec32ade5e..52943a944e73 100644
--- a/vcl/osx/clipboard.cxx
+++ b/vcl/osx/clipboard.cxx
@@ -78,7 +78,7 @@ Sequence<OUString> clipboard_getSupportedServiceNames()
}
AquaClipboard::AquaClipboard(NSPasteboard* pasteboard, bool bUseSystemPasteboard) :
- WeakComponentImplHelper3<XSystemClipboard, XFlushableClipboard, XServiceInfo>(m_aMutex),
+ WeakComponentImplHelper<XSystemClipboard, XFlushableClipboard, XServiceInfo>(m_aMutex),
mIsSystemPasteboard(bUseSystemPasteboard)
{
Reference<XComponentContext> xContext = comphelper::getProcessComponentContext();
diff --git a/vcl/osx/clipboard.hxx b/vcl/osx/clipboard.hxx
index 3444c70d6a05..8d66d168b2f9 100644
--- a/vcl/osx/clipboard.hxx
+++ b/vcl/osx/clipboard.hxx
@@ -23,7 +23,7 @@
#include "DataFlavorMapping.hxx"
#include <rtl/ustring.hxx>
#include <sal/types.h>
-#include <cppuhelper/compbase3.hxx>
+#include <cppuhelper/compbase.hxx>
#include <com/sun/star/datatransfer/XTransferable.hpp>
#include <com/sun/star/datatransfer/clipboard/XClipboardEx.hpp>
#include <com/sun/star/datatransfer/clipboard/XClipboardOwner.hpp>
@@ -63,7 +63,7 @@ class AquaClipboard;
@end
class AquaClipboard : public ::cppu::BaseMutex,
- public ::cppu::WeakComponentImplHelper3< com::sun::star::datatransfer::clipboard::XSystemClipboard,
+ public ::cppu::WeakComponentImplHelper< com::sun::star::datatransfer::clipboard::XSystemClipboard,
com::sun::star::datatransfer::clipboard::XFlushableClipboard,
com::sun::star::lang::XServiceInfo >,
private ::boost::noncopyable
diff --git a/vcl/osx/documentfocuslistener.hxx b/vcl/osx/documentfocuslistener.hxx
index 002819c6b2c7..1c572f34d69e 100644
--- a/vcl/osx/documentfocuslistener.hxx
+++ b/vcl/osx/documentfocuslistener.hxx
@@ -22,7 +22,7 @@
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include "osx/a11yfocustracker.hxx"
@@ -31,7 +31,7 @@
// - DocumentFocusListener -
class DocumentFocusListener :
- public ::cppu::WeakImplHelper1< ::com::sun::star::accessibility::XAccessibleEventListener >
+ public ::cppu::WeakImplHelper< ::com::sun::star::accessibility::XAccessibleEventListener >
{
public:
diff --git a/vcl/qa/cppunit/canvasbitmaptest.cxx b/vcl/qa/cppunit/canvasbitmaptest.cxx
index 07f2a51c85ef..2c4978bc65d8 100644
--- a/vcl/qa/cppunit/canvasbitmaptest.cxx
+++ b/vcl/qa/cppunit/canvasbitmaptest.cxx
@@ -28,7 +28,7 @@
#include <com/sun/star/rendering/XIntegerBitmapColorSpace.hpp>
#include <com/sun/star/rendering/XBitmapPalette.hpp>
-#include <cppuhelper/compbase3.hxx>
+#include <cppuhelper/implbase.hxx>
#include <tools/diagnose_ex.h>
#include <rtl/ref.hxx>
@@ -232,7 +232,7 @@ void checkCanvasBitmap( const rtl::Reference<VclCanvasBitmap>& xBmp,
}
}
-class TestBitmap : public cppu::WeakImplHelper3< rendering::XIntegerReadOnlyBitmap,
+class TestBitmap : public cppu::WeakImplHelper< rendering::XIntegerReadOnlyBitmap,
rendering::XBitmapPalette,
rendering::XIntegerBitmapColorSpace >
{
diff --git a/vcl/qa/cppunit/dndtest.cxx b/vcl/qa/cppunit/dndtest.cxx
index 64da3070d1cd..66cc9a12c3d7 100644
--- a/vcl/qa/cppunit/dndtest.cxx
+++ b/vcl/qa/cppunit/dndtest.cxx
@@ -26,8 +26,7 @@
#include <vcl/msgbox.hxx>
#include <vcl/lstbox.hxx>
-#include <cppuhelper/implbase1.hxx>
-#include <cppuhelper/implbase3.hxx>
+#include <cppuhelper/implbase.hxx>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/datatransfer/XTransferable.hpp>
@@ -59,7 +58,7 @@ public:
void Resize();
};
-class MyDragAndDropListener: public ::cppu::WeakImplHelper3 < XDropTargetListener, XDragGestureListener, XDragSourceListener >
+class MyDragAndDropListener: public ::cppu::WeakImplHelper < XDropTargetListener, XDragGestureListener, XDragSourceListener >
{
vcl::Window * m_pWindow;
@@ -97,7 +96,7 @@ public:
explicit MyListBox( vcl::Window* pParent );
};
-class StringTransferable : public ::cppu::WeakImplHelper1< XTransferable >
+class StringTransferable : public ::cppu::WeakImplHelper< XTransferable >
{
const OUString m_aData;
Sequence< DataFlavor > m_aFlavorList;
diff --git a/vcl/source/app/session.cxx b/vcl/source/app/session.cxx
index 5686ec15f40b..761224663a99 100644
--- a/vcl/source/app/session.cxx
+++ b/vcl/source/app/session.cxx
@@ -20,7 +20,7 @@
#include "sal/config.h"
#include <cppuhelper/basemutex.hxx>
-#include <cppuhelper/compbase1.hxx>
+#include <cppuhelper/compbase.hxx>
#include <tools/debug.hxx>
@@ -47,7 +47,7 @@ SalSession::~SalSession()
class VCLSession:
private cppu::BaseMutex,
- public cppu::WeakComponentImplHelper1 < XSessionManagerClient >
+ public cppu::WeakComponentImplHelper < XSessionManagerClient >
{
struct Listener
{
@@ -92,7 +92,7 @@ public:
};
VCLSession::VCLSession()
- : cppu::WeakComponentImplHelper1< XSessionManagerClient >( m_aMutex ),
+ : cppu::WeakComponentImplHelper< XSessionManagerClient >( m_aMutex ),
m_xSession( ImplGetSVData()->mpDefInst->CreateSalSession() ),
m_bInteractionRequested( false ),
m_bInteractionGranted( false ),
diff --git a/vcl/source/app/svdata.cxx b/vcl/source/app/svdata.cxx
index ca815a2f3103..56b2908e266d 100644
--- a/vcl/source/app/svdata.cxx
+++ b/vcl/source/app/svdata.cxx
@@ -27,7 +27,6 @@
#include <tools/debug.hxx>
#include <tools/resary.hxx>
#include <tools/gen.hxx>
-#include <cppuhelper/implbase1.hxx>
#include <uno/current_context.hxx>
#include "vcl/configsettings.hxx"
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index b5aca4281ae9..7a00b0e2467d 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -78,7 +78,7 @@
#include "com/sun/star/lang/XComponent.hpp"
#include "com/sun/star/frame/Desktop.hpp"
-#include "cppuhelper/implbase1.hxx"
+#include <cppuhelper/implbase.hxx>
#include "uno/current_context.hxx"
#include "opengl/zone.hxx"
@@ -213,7 +213,7 @@ static Application * pOwnSvApp = NULL;
// Exception handler. pExceptionHandler != NULL => VCL already inited
static oslSignalHandler pExceptionHandler = NULL;
-class DesktopEnvironmentContext: public cppu::WeakImplHelper1< com::sun::star::uno::XCurrentContext >
+class DesktopEnvironmentContext: public cppu::WeakImplHelper< com::sun::star::uno::XCurrentContext >
{
public:
explicit DesktopEnvironmentContext( const com::sun::star::uno::Reference< com::sun::star::uno::XCurrentContext > & ctx)
@@ -312,7 +312,7 @@ namespace
a bundled extension is registered/deregistered during startup, forcing exit
while the app is still in splash screen.)
*/
-class VCLUnoWrapperDeleter : public cppu::WeakImplHelper1<com::sun::star::lang::XEventListener>
+class VCLUnoWrapperDeleter : public cppu::WeakImplHelper<com::sun::star::lang::XEventListener>
{
virtual void SAL_CALL disposing(lang::EventObject const& rSource) throw(uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
diff --git a/vcl/source/components/dtranscomp.cxx b/vcl/source/components/dtranscomp.cxx
index 53c90cab4c77..312ffa221c36 100644
--- a/vcl/source/components/dtranscomp.cxx
+++ b/vcl/source/components/dtranscomp.cxx
@@ -40,8 +40,7 @@
#include "com/sun/star/datatransfer/dnd/XDropTarget.hpp"
#include "com/sun/star/datatransfer/dnd/DNDConstants.hpp"
-#include "cppuhelper/compbase.hxx"
-#include "cppuhelper/implbase1.hxx"
+#include <cppuhelper/compbase.hxx>
#include <cppuhelper/supportsservice.hxx>
using namespace com::sun::star;
diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx
index 997cc56ea614..45480f4be204 100644
--- a/vcl/source/filter/graphicfilter.cxx
+++ b/vcl/source/filter/graphicfilter.cxx
@@ -23,7 +23,7 @@
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <ucbhelper/content.hxx>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <tools/urlobj.hxx>
#include <tools/zcodec.hxx>
#include <tools/fract.hxx>
@@ -88,7 +88,7 @@ static ::osl::Mutex& getListMutex()
return s_aListProtection;
}
-class ImpFilterOutputStream : public ::cppu::WeakImplHelper1< css::io::XOutputStream >
+class ImpFilterOutputStream : public ::cppu::WeakImplHelper< css::io::XOutputStream >
{
protected:
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 32335133db75..9fdd688273af 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -36,7 +36,7 @@
#include <comphelper/processfactory.hxx>
#include <comphelper/random.hxx>
#include <comphelper/string.hxx>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <o3tl/numeric.hxx>
#include <osl/file.hxx>
@@ -8238,7 +8238,7 @@ void PDFWriterImpl::sortWidgets()
namespace vcl {
class PDFStreamIf :
- public cppu::WeakImplHelper1< com::sun::star::io::XOutputStream >
+ public cppu::WeakImplHelper< com::sun::star::io::XOutputStream >
{
PDFWriterImpl* m_pWriter;
bool m_bWrite;
diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx
index 95f07fa94855..6a1d1b62c025 100644
--- a/vcl/source/gdi/pdfwriter_impl2.cxx
+++ b/vcl/source/gdi/pdfwriter_impl2.cxx
@@ -39,7 +39,7 @@
#include "com/sun/star/graphic/GraphicProvider.hpp"
#include "com/sun/star/graphic/XGraphicProvider.hpp"
-#include "cppuhelper/implbase1.hxx"
+#include <cppuhelper/implbase.hxx>
#include <rtl/digest.h>
#include <memory>
@@ -1068,7 +1068,7 @@ void PDFWriterImpl::playMetafile( const GDIMetaFile& i_rMtf, vcl::PDFExtOutDevDa
is not sufficient, since an rtl MD5 digest cannot be created in an arbitrary state
which would be needed in PDFWriterImpl::computeEncryptionKey.
*/
-class EncHashTransporter : public cppu::WeakImplHelper1 < com::sun::star::beans::XMaterialHolder >
+class EncHashTransporter : public cppu::WeakImplHelper < com::sun::star::beans::XMaterialHolder >
{
rtlDigest maUDigest;
sal_IntPtr maID;
diff --git a/vcl/source/helper/canvastools.cxx b/vcl/source/helper/canvastools.cxx
index f8dbf63ad841..4c8ee6674727 100644
--- a/vcl/source/helper/canvastools.cxx
+++ b/vcl/source/helper/canvastools.cxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <cppuhelper/compbase1.hxx>
+#include <cppuhelper/compbase.hxx>
#include <com/sun/star/geometry/RealSize2D.hpp>
#include <com/sun/star/geometry/RealPoint2D.hpp>
@@ -417,7 +417,7 @@ namespace vcl
namespace
{
- class StandardColorSpace : public cppu::WeakImplHelper1< com::sun::star::rendering::XColorSpace >
+ class StandardColorSpace : public cppu::WeakImplHelper< com::sun::star::rendering::XColorSpace >
{
private:
uno::Sequence< sal_Int8 > m_aComponentTags;
diff --git a/vcl/source/window/dndlcon.cxx b/vcl/source/window/dndlcon.cxx
index 54b9939a8ed5..24503c49fdde 100644
--- a/vcl/source/window/dndlcon.cxx
+++ b/vcl/source/window/dndlcon.cxx
@@ -25,7 +25,7 @@ using namespace ::com::sun::star::datatransfer;
using namespace ::com::sun::star::datatransfer::dnd;
DNDListenerContainer::DNDListenerContainer( sal_Int8 nDefaultActions )
- : WeakComponentImplHelper4< XDragGestureRecognizer, XDropTargetDragContext, XDropTargetDropContext, XDropTarget >(GetMutex())
+ : WeakComponentImplHelper< XDragGestureRecognizer, XDropTargetDragContext, XDropTargetDropContext, XDropTarget >(GetMutex())
{
m_bActive = true;
m_nDefaultActions = nDefaultActions;
diff --git a/vcl/unx/generic/dtrans/X11_clipboard.cxx b/vcl/unx/generic/dtrans/X11_clipboard.cxx
index f947345e9fc9..0ec568fadd4c 100644
--- a/vcl/unx/generic/dtrans/X11_clipboard.cxx
+++ b/vcl/unx/generic/dtrans/X11_clipboard.cxx
@@ -46,7 +46,7 @@ using namespace osl;
using namespace x11;
X11Clipboard::X11Clipboard( SelectionManager& rManager, Atom aSelection ) :
- ::cppu::WeakComponentImplHelper2<
+ ::cppu::WeakComponentImplHelper<
::com::sun::star::datatransfer::clipboard::XSystemClipboard,
::com::sun::star::lang::XServiceInfo
>( rManager.getMutex() ),
diff --git a/vcl/unx/generic/dtrans/X11_clipboard.hxx b/vcl/unx/generic/dtrans/X11_clipboard.hxx
index ba83636aac74..fc1e4db40ef5 100644
--- a/vcl/unx/generic/dtrans/X11_clipboard.hxx
+++ b/vcl/unx/generic/dtrans/X11_clipboard.hxx
@@ -25,14 +25,14 @@
#include <com/sun/star/datatransfer/clipboard/XClipboardEx.hpp>
#include <com/sun/star/datatransfer/clipboard/XClipboardNotifier.hpp>
#include <com/sun/star/datatransfer/clipboard/XSystemClipboard.hpp>
-#include <cppuhelper/compbase2.hxx>
+#include <cppuhelper/compbase.hxx>
#define X11_CLIPBOARD_IMPLEMENTATION_NAME "com.sun.star.datatransfer.X11ClipboardSupport"
namespace x11 {
class X11Clipboard :
- public ::cppu::WeakComponentImplHelper2 <
+ public ::cppu::WeakComponentImplHelper <
css::datatransfer::clipboard::XSystemClipboard,
css::lang::XServiceInfo
>,
diff --git a/vcl/unx/generic/dtrans/X11_dndcontext.hxx b/vcl/unx/generic/dtrans/X11_dndcontext.hxx
index 9fac72f058b0..4174b3458ccd 100644
--- a/vcl/unx/generic/dtrans/X11_dndcontext.hxx
+++ b/vcl/unx/generic/dtrans/X11_dndcontext.hxx
@@ -23,7 +23,7 @@
#include <com/sun/star/datatransfer/dnd/XDragSourceContext.hpp>
#include <com/sun/star/datatransfer/dnd/XDropTargetDropContext.hpp>
#include <com/sun/star/datatransfer/dnd/XDropTargetDragContext.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <prex.h>
#include <X11/Xlib.h>
@@ -34,7 +34,7 @@ namespace x11 {
class SelectionManager;
class DropTargetDropContext :
- public ::cppu::WeakImplHelper1<
+ public ::cppu::WeakImplHelper<
::com::sun::star::datatransfer::dnd::XDropTargetDropContext
>
{
@@ -53,7 +53,7 @@ namespace x11 {
};
class DropTargetDragContext :
- public ::cppu::WeakImplHelper1<
+ public ::cppu::WeakImplHelper<
::com::sun::star::datatransfer::dnd::XDropTargetDragContext
>
{
@@ -71,7 +71,7 @@ namespace x11 {
};
class DragSourceContext :
- public ::cppu::WeakImplHelper1<
+ public ::cppu::WeakImplHelper<
::com::sun::star::datatransfer::dnd::XDragSourceContext
>
{
diff --git a/vcl/unx/generic/dtrans/X11_droptarget.cxx b/vcl/unx/generic/dtrans/X11_droptarget.cxx
index eb726e86fbb1..98fcb7e9dcef 100644
--- a/vcl/unx/generic/dtrans/X11_droptarget.cxx
+++ b/vcl/unx/generic/dtrans/X11_droptarget.cxx
@@ -28,7 +28,7 @@ using namespace com::sun::star::datatransfer;
using namespace com::sun::star::datatransfer::dnd;
DropTarget::DropTarget() :
- ::cppu::WeakComponentImplHelper3<
+ ::cppu::WeakComponentImplHelper<
XDropTarget,
XInitialization,
XServiceInfo
diff --git a/vcl/unx/generic/dtrans/X11_selection.cxx b/vcl/unx/generic/dtrans/X11_selection.cxx
index a3237914c1d0..425cfc206ded 100644
--- a/vcl/unx/generic/dtrans/X11_selection.cxx
+++ b/vcl/unx/generic/dtrans/X11_selection.cxx
@@ -3975,7 +3975,7 @@ css::uno::Reference< XInterface > SelectionManager::getReference() throw()
*/
SelectionManagerHolder::SelectionManagerHolder() :
- ::cppu::WeakComponentImplHelper3<
+ ::cppu::WeakComponentImplHelper<
XDragSource,
XInitialization,
XServiceInfo > (m_aMutex)
diff --git a/vcl/unx/generic/dtrans/X11_selection.hxx b/vcl/unx/generic/dtrans/X11_selection.hxx
index f91d0fd14794..d7ec585272c1 100644
--- a/vcl/unx/generic/dtrans/X11_selection.hxx
+++ b/vcl/unx/generic/dtrans/X11_selection.hxx
@@ -20,8 +20,8 @@
#ifndef INCLUDED_VCL_UNX_GENERIC_DTRANS_X11_SELECTION_HXX
#define INCLUDED_VCL_UNX_GENERIC_DTRANS_X11_SELECTION_HXX
-#include <cppuhelper/compbase3.hxx>
-#include <cppuhelper/compbase4.hxx>
+#include <cppuhelper/compbase.hxx>
+#include <cppuhelper/implbase.hxx>
#include <com/sun/star/datatransfer/XTransferable.hpp>
#include <com/sun/star/datatransfer/dnd/XDropTarget.hpp>
#include <com/sun/star/datatransfer/dnd/XDragSource.hpp>
@@ -66,7 +66,7 @@ namespace x11 {
};
class DropTarget :
- public ::cppu::WeakComponentImplHelper3<
+ public ::cppu::WeakComponentImplHelper<
css::datatransfer::dnd::XDropTarget,
css::lang::XInitialization,
css::lang::XServiceInfo
@@ -111,7 +111,7 @@ namespace x11 {
};
class SelectionManagerHolder :
- public ::cppu::WeakComponentImplHelper3<
+ public ::cppu::WeakComponentImplHelper<
css::datatransfer::dnd::XDragSource,
css::lang::XInitialization,
css::lang::XServiceInfo
@@ -146,7 +146,7 @@ namespace x11 {
};
class SelectionManager :
- public ::cppu::WeakImplHelper4<
+ public ::cppu::WeakImplHelper<
css::datatransfer::dnd::XDragSource,
css::lang::XInitialization,
css::awt::XEventHandler,
diff --git a/vcl/unx/generic/dtrans/X11_service.cxx b/vcl/unx/generic/dtrans/X11_service.cxx
index 3b8f45bb6991..5a2d42bb20af 100644
--- a/vcl/unx/generic/dtrans/X11_service.cxx
+++ b/vcl/unx/generic/dtrans/X11_service.cxx
@@ -26,7 +26,6 @@
#include <uno/dispatcher.h>
#include <uno/mapping.hxx>
#include <cppuhelper/factory.hxx>
-#include <cppuhelper/compbase1.hxx>
using namespace cppu;
using namespace com::sun::star::uno;
diff --git a/vcl/unx/generic/dtrans/X11_transferable.hxx b/vcl/unx/generic/dtrans/X11_transferable.hxx
index eeccaf03ee6b..e13797ddd9c7 100644
--- a/vcl/unx/generic/dtrans/X11_transferable.hxx
+++ b/vcl/unx/generic/dtrans/X11_transferable.hxx
@@ -24,11 +24,11 @@
#include <com/sun/star/datatransfer/XTransferable.hpp>
#include <com/sun/star/lang/XEventListener.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
namespace x11 {
- class X11Transferable : public ::cppu::WeakImplHelper1 <
+ class X11Transferable : public ::cppu::WeakImplHelper <
::com::sun::star::datatransfer::XTransferable >
{
SelectionManager& m_rManager;
diff --git a/vcl/unx/gtk/a11y/atklistener.hxx b/vcl/unx/gtk/a11y/atklistener.hxx
index e47f6222fe06..43405075fe55 100644
--- a/vcl/unx/gtk/a11y/atklistener.hxx
+++ b/vcl/unx/gtk/a11y/atklistener.hxx
@@ -21,13 +21,13 @@
#define INCLUDED_VCL_UNX_GTK_A11Y_ATKLISTENER_HXX
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <vector>
#include "atkwrapper.hxx"
-class AtkListener : public ::cppu::WeakImplHelper1< ::com::sun::star::accessibility::XAccessibleEventListener >
+class AtkListener : public ::cppu::WeakImplHelper< ::com::sun::star::accessibility::XAccessibleEventListener >
{
public:
explicit AtkListener(AtkObjectWrapper * pWrapper);
diff --git a/vcl/unx/gtk/a11y/atkutil.cxx b/vcl/unx/gtk/a11y/atkutil.cxx
index 57556ac73173..c3eb4a50485a 100644
--- a/vcl/unx/gtk/a11y/atkutil.cxx
+++ b/vcl/unx/gtk/a11y/atkutil.cxx
@@ -29,7 +29,7 @@
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
#include <com/sun/star/accessibility/XAccessibleText.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <osl/mutex.hxx>
#include <rtl/ref.hxx>
@@ -125,7 +125,7 @@ atk_wrapper_focus_tracker_notify_when_idle( const uno::Reference< accessibility:
/*****************************************************************************/
class DocumentFocusListener :
- public ::cppu::WeakImplHelper1< accessibility::XAccessibleEventListener >
+ public ::cppu::WeakImplHelper< accessibility::XAccessibleEventListener >
{
std::set< uno::Reference< uno::XInterface > > m_aRefList;
diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.hxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.hxx
index ec1e07a82e27..1830f210ffb5 100644
--- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.hxx
+++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.hxx
@@ -20,7 +20,7 @@
#ifndef INCLUDED_VCL_UNX_GTK_FPICKER_SALGTKFILEPICKER_HXX
#define INCLUDED_VCL_UNX_GTK_FPICKER_SALGTKFILEPICKER_HXX
-#include <cppuhelper/compbase5.hxx>
+#include <cppuhelper/compbase.hxx>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp>
#include <com/sun/star/ui/dialogs/XFilePreview.hpp>
@@ -45,7 +45,7 @@ typedef ::com::sun::star::uno::Sequence< UnoFilterEntry > UnoFilterList; // c
// class declaration
-typedef cppu::WeakComponentImplHelper5<
+typedef cppu::WeakComponentImplHelper<
::com::sun::star::ui::dialogs::XFilePickerControlAccess,
::com::sun::star::ui::dialogs::XFilePreview,
::com::sun::star::ui::dialogs::XFilePicker2,
diff --git a/vcl/unx/gtk/fpicker/SalGtkFolderPicker.hxx b/vcl/unx/gtk/fpicker/SalGtkFolderPicker.hxx
index 0744bcd82bb2..e438d331f728 100644
--- a/vcl/unx/gtk/fpicker/SalGtkFolderPicker.hxx
+++ b/vcl/unx/gtk/fpicker/SalGtkFolderPicker.hxx
@@ -23,13 +23,13 @@
#include <list>
#include <memory>
#include <rtl/ustring.hxx>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include "gtk/fpicker/SalGtkPicker.hxx"
class SalGtkFolderPicker :
public SalGtkPicker,
- public cppu::WeakImplHelper1<
+ public cppu::WeakImplHelper<
::com::sun::star::ui::dialogs::XFolderPicker2 >
{
public:
diff --git a/vcl/unx/gtk/fpicker/SalGtkPicker.cxx b/vcl/unx/gtk/fpicker/SalGtkPicker.cxx
index 6f9cfb21b5f3..87c41b210b65 100644
--- a/vcl/unx/gtk/fpicker/SalGtkPicker.cxx
+++ b/vcl/unx/gtk/fpicker/SalGtkPicker.cxx
@@ -122,7 +122,7 @@ GtkWindow* RunDialog::GetTransientFor()
RunDialog::RunDialog( GtkWidget *pDialog, uno::Reference< awt::XExtendedToolkit >& rToolkit,
uno::Reference< frame::XDesktop >& rDesktop ) :
- cppu::WeakComponentImplHelper2< awt::XTopWindowListener, frame::XTerminateListener >( maLock ),
+ cppu::WeakComponentImplHelper< awt::XTopWindowListener, frame::XTerminateListener >( maLock ),
mpDialog(pDialog), mxToolkit(rToolkit), mxDesktop(rDesktop)
{
}
diff --git a/vcl/unx/gtk/fpicker/SalGtkPicker.hxx b/vcl/unx/gtk/fpicker/SalGtkPicker.hxx
index dd98b3a93dc9..3e404527155d 100644
--- a/vcl/unx/gtk/fpicker/SalGtkPicker.hxx
+++ b/vcl/unx/gtk/fpicker/SalGtkPicker.hxx
@@ -21,7 +21,7 @@
#define INCLUDED_VCL_UNX_GTK_FPICKER_SALGTKPICKER_HXX
#include <osl/mutex.hxx>
-#include <cppuhelper/compbase2.hxx>
+#include <cppuhelper/compbase.hxx>
#include <com/sun/star/awt/XTopWindowListener.hpp>
#include <com/sun/star/awt/XExtendedToolkit.hpp>
@@ -72,7 +72,7 @@ class SalGtkPicker
//to happen while we're opened waiting for user input, e.g.
//https://bugzilla.redhat.com/show_bug.cgi?id=441108
class RunDialog :
- public cppu::WeakComponentImplHelper2<
+ public cppu::WeakComponentImplHelper<
::com::sun::star::awt::XTopWindowListener,
::com::sun::star::frame::XTerminateListener >
{
diff --git a/vcl/unx/gtk3/app/gtk3gtkinst.cxx b/vcl/unx/gtk3/app/gtk3gtkinst.cxx
index 1656b0f678a2..9d5438d8fd75 100644
--- a/vcl/unx/gtk3/app/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/app/gtk3gtkinst.cxx
@@ -26,7 +26,7 @@
#include <comphelper/processfactory.hxx>
#include <comphelper/sequence.hxx>
#include "cppuhelper/compbase.hxx"
-#include "cppuhelper/implbase1.hxx"
+#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
using namespace com::sun::star;
@@ -93,7 +93,7 @@ namespace
};
}
-class GtkTransferable : public ::cppu::WeakImplHelper1 <
+class GtkTransferable : public ::cppu::WeakImplHelper <
css::datatransfer::XTransferable >
{
private:
diff --git a/vcl/unx/kde/UnxFilePicker.hxx b/vcl/unx/kde/UnxFilePicker.hxx
index 8371d0f06094..8a80f6edb920 100644
--- a/vcl/unx/kde/UnxFilePicker.hxx
+++ b/vcl/unx/kde/UnxFilePicker.hxx
@@ -20,7 +20,7 @@
#ifndef INCLUDED_VCL_UNX_KDE_UNXFILEPICKER_HXX
#define INCLUDED_VCL_UNX_KDE_UNXFILEPICKER_HXX
-#include <cppuhelper/compbase5.hxx>
+#include <cppuhelper/compbase.hxx>
#include <osl/conditn.hxx>
#include <osl/mutex.hxx>
#include <rtl/ustrbuf.hxx>
@@ -45,7 +45,7 @@ protected:
osl::Mutex m_rbHelperMtx;
};
-typedef ::cppu::WeakComponentImplHelper5<
+typedef ::cppu::WeakComponentImplHelper<
::com::sun::star::ui::dialogs::XFilePicker2,
::com::sun::star::ui::dialogs::XFilePicker3,
::com::sun::star::ui::dialogs::XFilePickerControlAccess,
diff --git a/vcl/unx/kde4/KDE4FilePicker.hxx b/vcl/unx/kde4/KDE4FilePicker.hxx
index c414aca44e6a..c29f4d89c355 100644
--- a/vcl/unx/kde4/KDE4FilePicker.hxx
+++ b/vcl/unx/kde4/KDE4FilePicker.hxx
@@ -19,7 +19,7 @@
#pragma once
-#include <cppuhelper/compbase5.hxx>
+#include <cppuhelper/compbase.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
@@ -41,7 +41,7 @@ class KFileDialog;
class QWidget;
class QLayout;
-typedef ::cppu::WeakComponentImplHelper5
+typedef ::cppu::WeakComponentImplHelper
< ::com::sun::star::ui::dialogs::XFilePicker2
, ::com::sun::star::ui::dialogs::XFilePicker3
, ::com::sun::star::ui::dialogs::XFilePickerControlAccess