summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-12-04 13:25:08 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-04 15:57:43 +0000
commit1bc6bd89adfdfe77e0355319c9b25ee6999f74fc (patch)
tree45967d7302ec6971d234231c31e48ede01e1f686 /include/svtools
parentfe471fec199f5a16bd49caa45561abc518ac75bb (diff)
tdf#88206 replace cppu::WeakImplHelper* in svtools and svx
and remove unused implbase*.hxx and compbase*.hxx includes Change-Id: Iedf6b6dce09b5baf714a1b3394bb7fb3526cca82 Reviewed-on: https://gerrit.libreoffice.org/31594 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/accessibleruler.hxx1
-rw-r--r--include/svtools/cliplistener.hxx4
-rw-r--r--include/svtools/dialogclosedlistener.hxx4
-rw-r--r--include/svtools/genericunodialog.hxx9
-rw-r--r--include/svtools/openfiledroptargetlistener.hxx4
-rw-r--r--include/svtools/popupmenucontrollerbase.hxx4
-rw-r--r--include/svtools/toolboxcontroller.hxx4
-rw-r--r--include/svtools/transfer.hxx11
-rw-r--r--include/svtools/unoevent.hxx4
9 files changed, 21 insertions, 24 deletions
diff --git a/include/svtools/accessibleruler.hxx b/include/svtools/accessibleruler.hxx
index 2d4861f74ac1..7c003e2652b4 100644
--- a/include/svtools/accessibleruler.hxx
+++ b/include/svtools/accessibleruler.hxx
@@ -36,7 +36,6 @@
#include <cppuhelper/interfacecontainer.h>
#include <cppuhelper/compbase5.hxx>
#include <cppuhelper/basemutex.hxx>
-#include <cppuhelper/implbase5.hxx>
#include <comphelper/servicehelper.hxx>
#include <vcl/vclptr.hxx>
diff --git a/include/svtools/cliplistener.hxx b/include/svtools/cliplistener.hxx
index c6364ded6400..3fdcf18c2ae5 100644
--- a/include/svtools/cliplistener.hxx
+++ b/include/svtools/cliplistener.hxx
@@ -22,14 +22,14 @@
#include <svtools/svtdllapi.h>
#include <tools/link.hxx>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <com/sun/star/datatransfer/clipboard/XClipboardListener.hpp>
namespace vcl { class Window; }
class TransferableDataHelper;
-class SVT_DLLPUBLIC TransferableClipboardListener : public ::cppu::WeakImplHelper1<
+class SVT_DLLPUBLIC TransferableClipboardListener : public cppu::WeakImplHelper<
css::datatransfer::clipboard::XClipboardListener >
{
Link<TransferableDataHelper*,void> aLink;
diff --git a/include/svtools/dialogclosedlistener.hxx b/include/svtools/dialogclosedlistener.hxx
index bfc01fe84610..a4a2b7392e48 100644
--- a/include/svtools/dialogclosedlistener.hxx
+++ b/include/svtools/dialogclosedlistener.hxx
@@ -21,7 +21,7 @@
#define INCLUDED_SVTOOLS_DIALOGCLOSEDLISTENER_HXX
#include <svtools/svtdllapi.h>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <com/sun/star/ui/dialogs/XDialogClosedListener.hpp>
#include <tools/link.hxx>
@@ -36,7 +36,7 @@ namespace svt
C++ class to implement a css::ui::dialogs::XDialogClosedListener
*/
class SVT_DLLPUBLIC DialogClosedListener :
- public ::cppu::WeakImplHelper1< css::ui::dialogs::XDialogClosedListener >
+ public cppu::WeakImplHelper< css::ui::dialogs::XDialogClosedListener >
{
private:
/**
diff --git a/include/svtools/genericunodialog.hxx b/include/svtools/genericunodialog.hxx
index 6527ebbb1661..5116a14b04cf 100644
--- a/include/svtools/genericunodialog.hxx
+++ b/include/svtools/genericunodialog.hxx
@@ -31,7 +31,7 @@
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/lang/NotInitializedException.hpp>
-#include <cppuhelper/implbase3.hxx>
+#include <cppuhelper/implbase.hxx>
#include <cppuhelper/propshlp.hxx>
#include <comphelper/proparrhlp.hxx>
#include <comphelper/uno3.hxx>
@@ -56,10 +56,9 @@ namespace svt
#define UNODIALOG_PROPERTY_PARENT "ParentWindow"
- typedef ::cppu::WeakImplHelper3 < css::ui::dialogs::XExecutableDialog
- , css::lang::XServiceInfo
- , css::lang::XInitialization
- > OGenericUnoDialogBase;
+ typedef cppu::WeakImplHelper< css::ui::dialogs::XExecutableDialog,
+ css::lang::XServiceInfo,
+ css::lang::XInitialization > OGenericUnoDialogBase;
/** abstract base class for implementing UNO objects representing dialogs (com.sun.star.awt::XDialog)
*/
diff --git a/include/svtools/openfiledroptargetlistener.hxx b/include/svtools/openfiledroptargetlistener.hxx
index 78ee372722be..1faf79af4b98 100644
--- a/include/svtools/openfiledroptargetlistener.hxx
+++ b/include/svtools/openfiledroptargetlistener.hxx
@@ -25,7 +25,7 @@
#include <com/sun/star/datatransfer/dnd/XDropTargetListener.hpp>
#include <com/sun/star/frame/XFrame.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <sot/exchange.hxx>
@@ -35,7 +35,7 @@ namespace com { namespace sun { namespace star { namespace uno {
/** DropTargetListener that takes care of opening a file when it is dropped in the frame.
*/
-class SVT_DLLPUBLIC OpenFileDropTargetListener : public ::cppu::WeakImplHelper1< css::datatransfer::dnd::XDropTargetListener >
+class SVT_DLLPUBLIC OpenFileDropTargetListener : public cppu::WeakImplHelper< css::datatransfer::dnd::XDropTargetListener >
{
private:
/// uno service manager to create necessary services
diff --git a/include/svtools/popupmenucontrollerbase.hxx b/include/svtools/popupmenucontrollerbase.hxx
index 4fcfad407b20..1358f5e0c957 100644
--- a/include/svtools/popupmenucontrollerbase.hxx
+++ b/include/svtools/popupmenucontrollerbase.hxx
@@ -37,7 +37,7 @@
#include <com/sun/star/util/XURLTransformer.hpp>
#include <toolkit/awt/vclxmenu.hxx>
-#include <cppuhelper/compbase7.hxx>
+#include <cppuhelper/compbase.hxx>
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/weak.hxx>
#include <rtl/ustring.hxx>
@@ -46,7 +46,7 @@ namespace svt
{
struct PopupMenuControllerBaseDispatchInfo;
- typedef ::cppu::WeakComponentImplHelper7<
+ typedef cppu::WeakComponentImplHelper<
css::lang::XServiceInfo ,
css::frame::XPopupMenuController ,
css::lang::XInitialization ,
diff --git a/include/svtools/toolboxcontroller.hxx b/include/svtools/toolboxcontroller.hxx
index 93258462574f..eac72ecdbfa0 100644
--- a/include/svtools/toolboxcontroller.hxx
+++ b/include/svtools/toolboxcontroller.hxx
@@ -30,7 +30,7 @@
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/util/XUpdatable.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
-#include <cppuhelper/implbase5.hxx>
+#include <cppuhelper/implbase.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <comphelper/broadcasthelper.hxx>
#include <comphelper/proparrhlp.hxx>
@@ -46,7 +46,7 @@ class ToolBox;
namespace svt
{
-typedef cppu::WeakImplHelper5<
+typedef cppu::WeakImplHelper<
css::frame::XStatusListener, css::frame::XToolbarController,
css::lang::XInitialization, css::util::XUpdatable,
css::lang::XComponent >
diff --git a/include/svtools/transfer.hxx b/include/svtools/transfer.hxx
index 13ea1c98e244..5f402457bd19 100644
--- a/include/svtools/transfer.hxx
+++ b/include/svtools/transfer.hxx
@@ -27,8 +27,7 @@
#include <tools/ref.hxx>
#include <sot/formats.hxx>
#include <sot/exchange.hxx>
-#include <cppuhelper/implbase1.hxx>
-#include <cppuhelper/implbase4.hxx>
+#include <cppuhelper/implbase.hxx>
#include <com/sun/star/frame/XTerminateListener.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <com/sun/star/datatransfer/XTransferable2.hpp>
@@ -122,7 +121,7 @@ struct ExecuteDropEvent
mbDefault( false ) {}
};
-class SVT_DLLPUBLIC TransferableHelper : public ::cppu::WeakImplHelper4< css::datatransfer::XTransferable2,
+class SVT_DLLPUBLIC TransferableHelper : public cppu::WeakImplHelper< css::datatransfer::XTransferable2,
css::datatransfer::clipboard::XClipboardOwner,
css::datatransfer::dnd::XDragSourceListener,
css::lang::XUnoTunnel >
@@ -130,7 +129,7 @@ class SVT_DLLPUBLIC TransferableHelper : public ::cppu::WeakImplHelper4< css::da
private:
// nested class to implement the XTerminateListener interface
- class TerminateListener : public ::cppu::WeakImplHelper1< css::frame::XTerminateListener >
+ class TerminateListener : public cppu::WeakImplHelper< css::frame::XTerminateListener >
{
private:
@@ -370,7 +369,7 @@ class SVT_DLLPUBLIC DragSourceHelper
private:
// nested class to implement the XDragGestureListener interface
- class DragGestureListener : public ::cppu::WeakImplHelper1< css::datatransfer::dnd::XDragGestureListener >
+ class DragGestureListener : public cppu::WeakImplHelper< css::datatransfer::dnd::XDragGestureListener >
{
private:
@@ -416,7 +415,7 @@ class SVT_DLLPUBLIC DropTargetHelper
private:
// nested class to implement the XDropTargetListener interface
- class DropTargetListener : public ::cppu::WeakImplHelper1< css::datatransfer::dnd::XDropTargetListener >
+ class DropTargetListener : public cppu::WeakImplHelper< css::datatransfer::dnd::XDropTargetListener >
{
private:
diff --git a/include/svtools/unoevent.hxx b/include/svtools/unoevent.hxx
index e5332cb0f611..39c934d25206 100644
--- a/include/svtools/unoevent.hxx
+++ b/include/svtools/unoevent.hxx
@@ -23,7 +23,7 @@
#include <com/sun/star/container/XNameReplace.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/uno/XInterface.hpp>
-#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/implbase.hxx>
class SvxMacroTableDtor;
class SvxMacroItem;
@@ -54,7 +54,7 @@ struct SvEventDescription
* All details of how to actually get and set SvxMacroItem(s) have to
* be supplied by the base class.
*/
-class SVT_DLLPUBLIC SvBaseEventDescriptor : public cppu::WeakImplHelper2
+class SVT_DLLPUBLIC SvBaseEventDescriptor : public cppu::WeakImplHelper
<
css::container::XNameReplace,
css::lang::XServiceInfo