summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dbaccess/source/core/api/CacheSet.hxx4
-rw-r--r--dbaccess/source/core/api/PrivateRow.hxx4
-rw-r--r--dbaccess/source/core/api/resultset.hxx4
-rw-r--r--dbaccess/source/core/dataaccess/ComponentDefinition.cxx4
-rw-r--r--dbaccess/source/core/dataaccess/ModelImpl.cxx5
-rw-r--r--dbaccess/source/core/dataaccess/SharedConnection.hxx6
-rw-r--r--dbaccess/source/core/dataaccess/bookmarkcontainer.hxx18
-rw-r--r--dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx13
-rw-r--r--dbaccess/source/core/dataaccess/databasecontext.cxx6
-rw-r--r--dbaccess/source/core/dataaccess/databasecontext.hxx10
-rw-r--r--dbaccess/source/core/dataaccess/datasource.cxx5
-rw-r--r--dbaccess/source/core/dataaccess/datasource.hxx26
-rw-r--r--dbaccess/source/core/dataaccess/documentdefinition.cxx13
-rw-r--r--dbaccess/source/core/dataaccess/documentevents.hxx6
-rw-r--r--dbaccess/source/core/dataaccess/intercept.hxx8
-rw-r--r--dbaccess/source/core/inc/ContainerMediator.hxx4
-rw-r--r--dbaccess/source/core/inc/ContentHelper.hxx22
-rw-r--r--dbaccess/source/core/inc/DatabaseDataProvider.hxx10
-rw-r--r--dbaccess/source/core/inc/PropertyForward.hxx6
-rw-r--r--dbaccess/source/core/inc/TableDeco.hxx20
-rw-r--r--dbaccess/source/core/inc/column.hxx9
-rw-r--r--dbaccess/source/core/inc/veto.hxx6
-rw-r--r--dbaccess/source/core/recovery/subcomponentloader.hxx6
-rw-r--r--dbaccess/source/core/recovery/subcomponentrecovery.cxx5
-rw-r--r--dbaccess/source/ext/macromigration/progresscapture.hxx6
-rw-r--r--dbaccess/source/filter/xml/dbloader2.cxx6
-rw-r--r--dbaccess/source/sdbtools/connection/connectiontools.hxx10
-rw-r--r--dbaccess/source/sdbtools/connection/datasourcemetadata.hxx6
-rw-r--r--dbaccess/source/sdbtools/connection/objectnames.hxx6
-rw-r--r--dbaccess/source/sdbtools/connection/tablename.hxx6
-rw-r--r--dbaccess/source/ui/app/subcomponentmanager.hxx6
-rw-r--r--dbaccess/source/ui/browser/dbloader.cxx4
-rw-r--r--dbaccess/source/ui/control/dbtreelistbox.cxx6
-rw-r--r--dbaccess/source/ui/control/sqledit.cxx3
-rw-r--r--dbaccess/source/ui/dlg/dbwizsetup.cxx5
-rw-r--r--dbaccess/source/ui/dlg/finteraction.hxx6
-rw-r--r--dbaccess/source/ui/inc/TokenWriter.hxx4
-rw-r--r--dbaccess/source/ui/inc/formadapter.hxx29
-rw-r--r--dbaccess/source/ui/inc/singledoccontroller.hxx8
-rw-r--r--dbaccess/source/ui/misc/controllerframe.cxx6
-rw-r--r--dbaccess/source/ui/uno/copytablewizard.cxx8
-rw-r--r--dbaccess/source/ui/uno/dbinteraction.hxx8
-rw-r--r--dbaccess/source/ui/uno/textconnectionsettings_uno.cxx10
-rw-r--r--include/dbaccess/dbsubcomponentcontroller.hxx10
-rw-r--r--include/dbaccess/genericcontroller.hxx26
45 files changed, 202 insertions, 197 deletions
diff --git a/dbaccess/source/core/api/CacheSet.hxx b/dbaccess/source/core/api/CacheSet.hxx
index 30b4352edf8f..5897949922ff 100644
--- a/dbaccess/source/core/api/CacheSet.hxx
+++ b/dbaccess/source/core/api/CacheSet.hxx
@@ -29,14 +29,14 @@
#include <com/sun/star/sdbcx/XDeleteRows.hpp>
#include <com/sun/star/sdbcx/CompareBookmark.hpp>
#include "RowSetRow.hxx"
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <list>
namespace com{ namespace sun { namespace star{namespace sdbc{ class XParameters; } } } }
namespace dbaccess
{
- class OCacheSet : public ::cppu::WeakImplHelper1< ::com::sun::star::sdbc::XRow>
+ class OCacheSet : public ::cppu::WeakImplHelper< ::com::sun::star::sdbc::XRow>
{
protected:
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet> m_xDriverSet;
diff --git a/dbaccess/source/core/api/PrivateRow.hxx b/dbaccess/source/core/api/PrivateRow.hxx
index 99583b73f53a..e9499049a6e7 100644
--- a/dbaccess/source/core/api/PrivateRow.hxx
+++ b/dbaccess/source/core/api/PrivateRow.hxx
@@ -19,13 +19,13 @@
#ifndef INCLUDED_DBACCESS_SOURCE_CORE_API_PRIVATEROW_HXX
#define INCLUDED_DBACCESS_SOURCE_CORE_API_PRIVATEROW_HXX
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <com/sun/star/sdbc/XRow.hpp>
#include "RowSetRow.hxx"
namespace dbaccess
{
- class OPrivateRow : public ::cppu::WeakImplHelper1< ::com::sun::star::sdbc::XRow>
+ class OPrivateRow : public ::cppu::WeakImplHelper< ::com::sun::star::sdbc::XRow>
{
ORowSetValueVector::Vector m_aRow;
sal_Int32 m_nPos;
diff --git a/dbaccess/source/core/api/resultset.hxx b/dbaccess/source/core/api/resultset.hxx
index 52a913fe83aa..4b03600b60f2 100644
--- a/dbaccess/source/core/api/resultset.hxx
+++ b/dbaccess/source/core/api/resultset.hxx
@@ -39,12 +39,12 @@
#include <cppuhelper/propshlp.hxx>
#include <comphelper/proparrhlp.hxx>
#include <osl/diagnose.h>
-#include <cppuhelper/compbase11.hxx>
+#include <cppuhelper/compbase.hxx>
#include <comphelper/broadcasthelper.hxx>
namespace dbaccess
{
- typedef ::cppu::WeakComponentImplHelper11< css::sdbc::XWarningsSupplier,
+ typedef ::cppu::WeakComponentImplHelper< css::sdbc::XWarningsSupplier,
css::sdbc::XResultSet,
css::sdbc::XResultSetMetaDataSupplier,
css::sdbc::XRow,
diff --git a/dbaccess/source/core/dataaccess/ComponentDefinition.cxx b/dbaccess/source/core/dataaccess/ComponentDefinition.cxx
index 3c9d0b188172..7708a6a1ca0f 100644
--- a/dbaccess/source/core/dataaccess/ComponentDefinition.cxx
+++ b/dbaccess/source/core/dataaccess/ComponentDefinition.cxx
@@ -31,7 +31,7 @@
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <comphelper/property.hxx>
#include "definitioncolumn.hxx"
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::sdbc;
@@ -52,7 +52,7 @@ namespace dbaccess
{
/// helper class for column property change events which holds the OComponentDefinition weak
-typedef ::cppu::WeakImplHelper1 < XPropertyChangeListener > TColumnPropertyListener_BASE;
+typedef ::cppu::WeakImplHelper< XPropertyChangeListener > TColumnPropertyListener_BASE;
class OColumnPropertyListener:
public TColumnPropertyListener_BASE, private boost::noncopyable
{
diff --git a/dbaccess/source/core/dataaccess/ModelImpl.cxx b/dbaccess/source/core/dataaccess/ModelImpl.cxx
index b69e84ac2e78..858c32f85d12 100644
--- a/dbaccess/source/core/dataaccess/ModelImpl.cxx
+++ b/dbaccess/source/core/dataaccess/ModelImpl.cxx
@@ -48,6 +48,7 @@
#include <comphelper/sequence.hxx>
#include <connectivity/dbexception.hxx>
#include <cppuhelper/exc_hlp.hxx>
+#include <cppuhelper/implbase.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <rtl/digest.h>
#include <sfx2/signaturestate.hxx>
@@ -108,8 +109,8 @@ bool VosMutexFacade::tryToAcquire()
}
// DocumentStorageAccess
-class DocumentStorageAccess : public ::cppu::WeakImplHelper2< XDocumentSubStorageSupplier
- , XTransactionListener >
+class DocumentStorageAccess : public ::cppu::WeakImplHelper< XDocumentSubStorageSupplier
+ , XTransactionListener >
{
typedef ::std::map< OUString, Reference< XStorage > > NamedStorages;
diff --git a/dbaccess/source/core/dataaccess/SharedConnection.hxx b/dbaccess/source/core/dataaccess/SharedConnection.hxx
index afc5603f8674..aa9a5ce5022c 100644
--- a/dbaccess/source/core/dataaccess/SharedConnection.hxx
+++ b/dbaccess/source/core/dataaccess/SharedConnection.hxx
@@ -22,7 +22,7 @@
#include "connectivity/ConnectionWrapper.hxx"
#include <cppuhelper/component.hxx>
#include <connectivity/CommonTools.hxx>
-#include <cppuhelper/compbase1.hxx>
+#include <cppuhelper/compbase.hxx>
#include <com/sun/star/sdbc/XConnection.hpp>
#include <com/sun/star/sdbc/XWarningsSupplier.hpp>
#include <com/sun/star/sdbc/SQLWarning.hpp>
@@ -40,8 +40,8 @@ namespace dbaccess
// All methods will be forwarded with exception of the set methods, which are not allowed
// to be called on shared connections. Instances of this class will be created when the
// datasource is asked for not isolated connection.
- typedef ::cppu::WeakComponentImplHelper1< ::com::sun::star::sdbc::XConnection
- > OSharedConnection_BASE;
+ typedef ::cppu::WeakComponentImplHelper< ::com::sun::star::sdbc::XConnection
+ > OSharedConnection_BASE;
typedef ::connectivity::OConnectionWrapper OSharedConnection_BASE2;
class OSharedConnection : public ::comphelper::OBaseMutex
diff --git a/dbaccess/source/core/dataaccess/bookmarkcontainer.hxx b/dbaccess/source/core/dataaccess/bookmarkcontainer.hxx
index b14bfbd9b24e..6f88eff0b2ed 100644
--- a/dbaccess/source/core/dataaccess/bookmarkcontainer.hxx
+++ b/dbaccess/source/core/dataaccess/bookmarkcontainer.hxx
@@ -26,7 +26,7 @@
#include <vector>
#include <cppuhelper/interfacecontainer.hxx>
-#include <cppuhelper/implbase6.hxx>
+#include <cppuhelper/implbase.hxx>
#include <osl/mutex.hxx>
#include <com/sun/star/container/XChild.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
@@ -43,14 +43,14 @@ namespace dbaccess
// OBookmarkContainer - base class of collections of database definition
// documents
-typedef ::cppu::WeakImplHelper6 <
- ::com::sun::star::container::XIndexAccess
- , ::com::sun::star::container::XNameContainer
- , ::com::sun::star::container::XEnumerationAccess
- , ::com::sun::star::container::XContainer
- , ::com::sun::star::lang::XServiceInfo
- , ::com::sun::star::container::XChild
- > OBookmarkContainer_Base;
+typedef ::cppu::WeakImplHelper<
+ ::com::sun::star::container::XIndexAccess
+ , ::com::sun::star::container::XNameContainer
+ , ::com::sun::star::container::XEnumerationAccess
+ , ::com::sun::star::container::XContainer
+ , ::com::sun::star::lang::XServiceInfo
+ , ::com::sun::star::container::XChild
+ > OBookmarkContainer_Base;
class OBookmarkContainer
:public OBookmarkContainer_Base
diff --git a/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx b/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx
index ae63130a138b..ebb461b57357 100644
--- a/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx
+++ b/dbaccess/source/core/dataaccess/dataaccessdescriptor.cxx
@@ -33,8 +33,7 @@
#include <comphelper/proparrhlp.hxx>
#include <comphelper/propertycontainer.hxx>
#include <comphelper/uno3.hxx>
-#include <cppuhelper/implbase1.hxx>
-#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
namespace dbaccess
@@ -67,8 +66,8 @@ namespace dbaccess
// DataAccessDescriptor
typedef ::comphelper::OMutexAndBroadcastHelper DataAccessDescriptor_MutexBase;
- typedef ::cppu::WeakImplHelper1 < XServiceInfo
- > DataAccessDescriptor_TypeBase;
+ typedef ::cppu::WeakImplHelper< XServiceInfo
+ > DataAccessDescriptor_TypeBase;
typedef ::comphelper::OPropertyContainer DataAccessDescriptor_PropertyBase;
@@ -213,9 +212,9 @@ namespace dbaccess
}
// DataAccessDescriptorFactory
- typedef ::cppu::WeakImplHelper2 < XServiceInfo
- , XDataAccessDescriptorFactory
- > DataAccessDescriptorFactory_Base;
+ typedef ::cppu::WeakImplHelper< XServiceInfo
+ , XDataAccessDescriptorFactory
+ > DataAccessDescriptorFactory_Base;
class DataAccessDescriptorFactory : public DataAccessDescriptorFactory_Base
{
public:
diff --git a/dbaccess/source/core/dataaccess/databasecontext.cxx b/dbaccess/source/core/dataaccess/databasecontext.cxx
index b643646d1a7f..9f88b7d81065 100644
--- a/dbaccess/source/core/dataaccess/databasecontext.cxx
+++ b/dbaccess/source/core/dataaccess/databasecontext.cxx
@@ -54,7 +54,7 @@
#include <comphelper/namedvaluecollection.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/sequence.hxx>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <cppuhelper/exc_hlp.hxx>
@@ -92,8 +92,8 @@ using ::com::sun::star::ucb::IOErrorCode_NOT_EXISTING_PATH;
namespace dbaccess
{
- typedef ::cppu::WeakImplHelper1 < XTerminateListener
- > DatabaseDocumentLoader_Base;
+ typedef ::cppu::WeakImplHelper< XTerminateListener
+ > DatabaseDocumentLoader_Base;
class DatabaseDocumentLoader : public DatabaseDocumentLoader_Base
{
private:
diff --git a/dbaccess/source/core/dataaccess/databasecontext.hxx b/dbaccess/source/core/dataaccess/databasecontext.hxx
index 512ae3309239..d48a6034ffde 100644
--- a/dbaccess/source/core/dataaccess/databasecontext.hxx
+++ b/dbaccess/source/core/dataaccess/databasecontext.hxx
@@ -42,7 +42,7 @@
#include <com/sun/star/uno/XAggregation.hpp>
#include <basic/basicmanagerrepository.hxx>
-#include <cppuhelper/compbase3.hxx>
+#include <cppuhelper/compbase.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <boost/shared_ptr.hpp>
@@ -63,10 +63,10 @@ class DatabaseDocumentLoader;
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
ODatabaseContext_CreateInstance(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >&);
-typedef ::cppu::WeakComponentImplHelper3 < ::com::sun::star::lang::XServiceInfo
- , ::com::sun::star::sdb::XDatabaseContext
- , ::com::sun::star::lang::XUnoTunnel
- > DatabaseAccessContext_Base;
+typedef ::cppu::WeakComponentImplHelper< ::com::sun::star::lang::XServiceInfo
+ , ::com::sun::star::sdb::XDatabaseContext
+ , ::com::sun::star::lang::XUnoTunnel
+ > DatabaseAccessContext_Base;
class ODatabaseContext :public DatabaseAccessContext_Base
,public ::basic::BasicManagerCreationListener
diff --git a/dbaccess/source/core/dataaccess/datasource.cxx b/dbaccess/source/core/dataaccess/datasource.cxx
index 1c2764fe3190..5568cb87bbad 100644
--- a/dbaccess/source/core/dataaccess/datasource.cxx
+++ b/dbaccess/source/core/dataaccess/datasource.cxx
@@ -50,6 +50,7 @@
#include <com/sun/star/view/XPrintable.hpp>
#include <comphelper/guarding.hxx>
+#include <cppuhelper/implbase.hxx>
#include <comphelper/interaction.hxx>
#include <comphelper/namedvaluecollection.hxx>
#include <comphelper/property.hxx>
@@ -95,7 +96,7 @@ namespace dbaccess
{
// FlushNotificationAdapter
-typedef ::cppu::WeakImplHelper1< XFlushListener > FlushNotificationAdapter_Base;
+typedef ::cppu::WeakImplHelper< XFlushListener > FlushNotificationAdapter_Base;
/** helper class which implements a XFlushListener, and forwards all
notification events to another XFlushListener
@@ -259,7 +260,7 @@ void SAL_CALL OAuthenticationContinuation::setRememberAccount( RememberAuthentic
/** The class OSharedConnectionManager implements a structure to share connections.
It owns the master connections which will be disposed when the last connection proxy is gone.
*/
-typedef ::cppu::WeakImplHelper1< XEventListener > OConnectionHelper_BASE;
+typedef ::cppu::WeakImplHelper< XEventListener > OConnectionHelper_BASE;
// need to hold the digest
struct TDigestHolder
{
diff --git a/dbaccess/source/core/dataaccess/datasource.hxx b/dbaccess/source/core/dataaccess/datasource.hxx
index 6e0adefc5573..ff4d3385ed19 100644
--- a/dbaccess/source/core/dataaccess/datasource.hxx
+++ b/dbaccess/source/core/dataaccess/datasource.hxx
@@ -33,7 +33,7 @@
#include <cppuhelper/propshlp.hxx>
#include <comphelper/proparrhlp.hxx>
#include <cppuhelper/weakref.hxx>
-#include <cppuhelper/compbase11.hxx>
+#include <cppuhelper/compbase.hxx>
#include <com/sun/star/embed/XTransactionListener.hpp>
#include "apitools.hxx"
#include "bookmarkcontainer.hxx"
@@ -58,18 +58,18 @@ namespace dbaccess
class OSharedConnectionManager;
// ODatabaseSource
-typedef ::cppu::WeakComponentImplHelper11 < ::com::sun::star::lang::XServiceInfo
- , ::com::sun::star::sdbc::XDataSource
- , ::com::sun::star::sdb::XBookmarksSupplier
- , ::com::sun::star::sdb::XQueryDefinitionsSupplier
- , ::com::sun::star::sdb::XCompletedConnection
- , ::com::sun::star::container::XContainerListener
- , ::com::sun::star::sdbc::XIsolatedConnection
- , ::com::sun::star::sdbcx::XTablesSupplier
- , ::com::sun::star::util::XFlushable
- , ::com::sun::star::util::XFlushListener
- , ::com::sun::star::sdb::XDocumentDataSource
- > ODatabaseSource_Base;
+typedef ::cppu::WeakComponentImplHelper< ::com::sun::star::lang::XServiceInfo
+ , ::com::sun::star::sdbc::XDataSource
+ , ::com::sun::star::sdb::XBookmarksSupplier
+ , ::com::sun::star::sdb::XQueryDefinitionsSupplier
+ , ::com::sun::star::sdb::XCompletedConnection
+ , ::com::sun::star::container::XContainerListener
+ , ::com::sun::star::sdbc::XIsolatedConnection
+ , ::com::sun::star::sdbcx::XTablesSupplier
+ , ::com::sun::star::util::XFlushable
+ , ::com::sun::star::util::XFlushListener
+ , ::com::sun::star::sdb::XDocumentDataSource
+ > ODatabaseSource_Base;
class ODatabaseSource :public ModelDependentComponent // must be first
,public ODatabaseSource_Base
diff --git a/dbaccess/source/core/dataaccess/documentdefinition.cxx b/dbaccess/source/core/dataaccess/documentdefinition.cxx
index 0618f43463e4..d0d9695457bc 100644
--- a/dbaccess/source/core/dataaccess/documentdefinition.cxx
+++ b/dbaccess/source/core/dataaccess/documentdefinition.cxx
@@ -89,8 +89,9 @@
#include <com/sun/star/task/XInteractionApprove.hpp>
#include <com/sun/star/task/XInteractionDisapprove.hpp>
#include <com/sun/star/frame/XLayoutManager.hpp>
-#include <cppuhelper/compbase1.hxx>
+#include <cppuhelper/compbase.hxx>
#include <cppuhelper/exc_hlp.hxx>
+#include <cppuhelper/implbase.hxx>
#include <com/sun/star/frame/FrameSearchFlag.hpp>
#include <comphelper/sequenceashashmap.hxx>
#include <comphelper/mimeconfighelper.hxx>
@@ -157,7 +158,7 @@ namespace dbaccess
}
// OEmbedObjectHolder
- typedef ::cppu::WeakComponentImplHelper1< embed::XStateChangeListener > TEmbedObjectHolder;
+ typedef ::cppu::WeakComponentImplHelper< embed::XStateChangeListener > TEmbedObjectHolder;
class OEmbedObjectHolder : public ::comphelper::OBaseMutex
,public TEmbedObjectHolder
{
@@ -219,8 +220,8 @@ namespace dbaccess
}
// OEmbeddedClientHelper
- typedef ::cppu::WeakImplHelper1 < XEmbeddedClient
- > EmbeddedClientHelper_BASE;
+ typedef ::cppu::WeakImplHelper< XEmbeddedClient
+ > EmbeddedClientHelper_BASE;
class OEmbeddedClientHelper : public EmbeddedClientHelper_BASE
{
ODocumentDefinition* m_pClient;
@@ -276,8 +277,8 @@ namespace dbaccess
};
// LifetimeCoupler
- typedef ::cppu::WeakImplHelper1 < css::lang::XEventListener
- > LifetimeCoupler_Base;
+ typedef ::cppu::WeakImplHelper< css::lang::XEventListener
+ > LifetimeCoupler_Base;
/** helper class which couples the lifetime of a component to the lifetime
of another component
diff --git a/dbaccess/source/core/dataaccess/documentevents.hxx b/dbaccess/source/core/dataaccess/documentevents.hxx
index 61a9c635bd30..669dc0040aa6 100644
--- a/dbaccess/source/core/dataaccess/documentevents.hxx
+++ b/dbaccess/source/core/dataaccess/documentevents.hxx
@@ -23,7 +23,7 @@
#include <com/sun/star/container/XNameReplace.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <memory>
#include <map>
@@ -38,8 +38,8 @@ namespace dbaccess
// DocumentEvents
struct DocumentEvents_Data;
- typedef ::cppu::WeakImplHelper1 < ::com::sun::star::container::XNameReplace
- > DocumentEvents_Base;
+ typedef ::cppu::WeakImplHelper< ::com::sun::star::container::XNameReplace
+ > DocumentEvents_Base;
class DocumentEvents :public DocumentEvents_Base
,public ::boost::noncopyable
diff --git a/dbaccess/source/core/dataaccess/intercept.hxx b/dbaccess/source/core/dataaccess/intercept.hxx
index ea2060cc7b0d..2786dfcccb4e 100644
--- a/dbaccess/source/core/dataaccess/intercept.hxx
+++ b/dbaccess/source/core/dataaccess/intercept.hxx
@@ -21,7 +21,7 @@
#define INCLUDED_DBACCESS_SOURCE_CORE_DATAACCESS_INTERCEPT_HXX
#include <osl/mutex.hxx>
-#include <cppuhelper/implbase4.hxx>
+#include <cppuhelper/implbase.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <com/sun/star/frame/XDispatchProviderInterceptor.hpp>
#include <com/sun/star/frame/XInterceptorInfo.hpp>
@@ -34,9 +34,9 @@ namespace dbaccess
{
-class OInterceptor : public ::cppu::WeakImplHelper4< ::com::sun::star::frame::XDispatchProviderInterceptor,
- ::com::sun::star::frame::XInterceptorInfo,
- ::com::sun::star::frame::XDispatch,
+class OInterceptor : public ::cppu::WeakImplHelper< ::com::sun::star::frame::XDispatchProviderInterceptor,
+ ::com::sun::star::frame::XInterceptorInfo,
+ ::com::sun::star::frame::XDispatch,
::com::sun::star::document::XDocumentEventListener>
{
DECL_LINK( OnDispatch, void* _aURL );
diff --git a/dbaccess/source/core/inc/ContainerMediator.hxx b/dbaccess/source/core/inc/ContainerMediator.hxx
index e0360bf6a0e1..2615c64d4221 100644
--- a/dbaccess/source/core/inc/ContainerMediator.hxx
+++ b/dbaccess/source/core/inc/ContainerMediator.hxx
@@ -26,7 +26,7 @@
#include <com/sun/star/sdbc/XConnection.hpp>
#include <comphelper/broadcasthelper.hxx>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <rtl/ref.hxx>
#include <map>
@@ -37,7 +37,7 @@ namespace dbaccess
class OPropertyForward;
class OContainerMediator : public ::comphelper::OBaseMutex
- ,public ::cppu::WeakImplHelper1< ::com::sun::star::container::XContainerListener >
+ ,public ::cppu::WeakImplHelper< ::com::sun::star::container::XContainerListener >
{
private:
typedef ::rtl::Reference< OPropertyForward > TPropertyForward;
diff --git a/dbaccess/source/core/inc/ContentHelper.hxx b/dbaccess/source/core/inc/ContentHelper.hxx
index 62b2a3a9d3dd..9165978e492b 100644
--- a/dbaccess/source/core/inc/ContentHelper.hxx
+++ b/dbaccess/source/core/inc/ContentHelper.hxx
@@ -31,7 +31,7 @@
#include <com/sun/star/embed/XStorage.hpp>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
-#include <cppuhelper/compbase9.hxx>
+#include <cppuhelper/compbase.hxx>
#include <comphelper/broadcasthelper.hxx>
#include <comphelper/uno3.hxx>
#include <com/sun/star/beans/Property.hpp>
@@ -80,16 +80,16 @@ namespace dbaccess
typedef cppu::OMultiTypeInterfaceContainerHelperVar<OUString>
PropertyChangeListenerContainer;
typedef ::comphelper::OBaseMutex OContentHelper_MBASE;
- typedef ::cppu::WeakComponentImplHelper9 < ::com::sun::star::ucb::XContent
- , ::com::sun::star::ucb::XCommandProcessor
- , ::com::sun::star::lang::XServiceInfo
- , ::com::sun::star::beans::XPropertiesChangeNotifier
- , ::com::sun::star::beans::XPropertyContainer
- , ::com::sun::star::lang::XInitialization
- , ::com::sun::star::lang::XUnoTunnel
- , ::com::sun::star::container::XChild
- , ::com::sun::star::sdbcx::XRename
- > OContentHelper_COMPBASE;
+ typedef ::cppu::WeakComponentImplHelper< ::com::sun::star::ucb::XContent
+ , ::com::sun::star::ucb::XCommandProcessor
+ , ::com::sun::star::lang::XServiceInfo
+ , ::com::sun::star::beans::XPropertiesChangeNotifier
+ , ::com::sun::star::beans::XPropertyContainer
+ , ::com::sun::star::lang::XInitialization
+ , ::com::sun::star::lang::XUnoTunnel
+ , ::com::sun::star::container::XChild
+ , ::com::sun::star::sdbcx::XRename
+ > OContentHelper_COMPBASE;
class OContentHelper : public OContentHelper_MBASE
,public OContentHelper_COMPBASE
diff --git a/dbaccess/source/core/inc/DatabaseDataProvider.hxx b/dbaccess/source/core/inc/DatabaseDataProvider.hxx
index baa92025e425..9dc849456247 100644
--- a/dbaccess/source/core/inc/DatabaseDataProvider.hxx
+++ b/dbaccess/source/core/inc/DatabaseDataProvider.hxx
@@ -30,7 +30,7 @@
#include <com/sun/star/sdbc/XParameters.hpp>
#include <com/sun/star/container/XChild.hpp>
-#include "cppuhelper/compbase4.hxx"
+#include <cppuhelper/compbase.hxx>
#include "cppuhelper/basemutex.hxx"
#include "cppuhelper/propertysetmixin.hxx"
#include <cppuhelper/implementationentry.hxx>
@@ -44,10 +44,10 @@
namespace dbaccess
{
-typedef ::cppu::WeakComponentImplHelper4< ::com::sun::star::chart2::data::XDatabaseDataProvider
- , ::com::sun::star::container::XChild
- , ::com::sun::star::chart::XComplexDescriptionAccess
- , ::com::sun::star::lang::XServiceInfo > TDatabaseDataProvider;
+typedef ::cppu::WeakComponentImplHelper< ::com::sun::star::chart2::data::XDatabaseDataProvider
+ , ::com::sun::star::container::XChild
+ , ::com::sun::star::chart::XComplexDescriptionAccess
+ , ::com::sun::star::lang::XServiceInfo > TDatabaseDataProvider;
class DatabaseDataProvider: private ::cppu::BaseMutex,
public TDatabaseDataProvider,
diff --git a/dbaccess/source/core/inc/PropertyForward.hxx b/dbaccess/source/core/inc/PropertyForward.hxx
index 0f27db60894c..c0eec828ad08 100644
--- a/dbaccess/source/core/inc/PropertyForward.hxx
+++ b/dbaccess/source/core/inc/PropertyForward.hxx
@@ -23,7 +23,7 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertySetInfo.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <comphelper/broadcasthelper.hxx>
#include <vector>
@@ -32,8 +32,8 @@ namespace dbaccess
{
// OPropertyForward
- typedef ::cppu::WeakImplHelper1 < ::com::sun::star::beans::XPropertyChangeListener
- > OPropertyForward_Base;
+ typedef ::cppu::WeakImplHelper< ::com::sun::star::beans::XPropertyChangeListener
+ > OPropertyForward_Base;
class OPropertyForward :public ::comphelper::OBaseMutex
,public OPropertyForward_Base
{
diff --git a/dbaccess/source/core/inc/TableDeco.hxx b/dbaccess/source/core/inc/TableDeco.hxx
index 73b8b2ab3763..3fdfb7f274ec 100644
--- a/dbaccess/source/core/inc/TableDeco.hxx
+++ b/dbaccess/source/core/inc/TableDeco.hxx
@@ -30,7 +30,7 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/sdbc/XRow.hpp>
#include <com/sun/star/sdbc/XConnection.hpp>
-#include <cppuhelper/compbase9.hxx>
+#include <cppuhelper/compbase.hxx>
#include <cppuhelper/implbase5.hxx>
#include "apitools.hxx"
#include "datasettings.hxx"
@@ -42,15 +42,15 @@
namespace dbaccess
{
- typedef ::cppu::WeakComponentImplHelper9< ::com::sun::star::sdbcx::XColumnsSupplier,
- ::com::sun::star::sdbcx::XKeysSupplier,
- ::com::sun::star::container::XNamed,
- ::com::sun::star::lang::XServiceInfo,
- ::com::sun::star::sdbcx::XDataDescriptorFactory,
- ::com::sun::star::sdbcx::XIndexesSupplier,
- ::com::sun::star::sdbcx::XRename,
- ::com::sun::star::lang::XUnoTunnel,
- ::com::sun::star::sdbcx::XAlterTable> OTableDescriptor_BASE;
+ typedef ::cppu::WeakComponentImplHelper< ::com::sun::star::sdbcx::XColumnsSupplier,
+ ::com::sun::star::sdbcx::XKeysSupplier,
+ ::com::sun::star::container::XNamed,
+ ::com::sun::star::lang::XServiceInfo,
+ ::com::sun::star::sdbcx::XDataDescriptorFactory,
+ ::com::sun::star::sdbcx::XIndexesSupplier,
+ ::com::sun::star::sdbcx::XRename,
+ ::com::sun::star::lang::XUnoTunnel,
+ ::com::sun::star::sdbcx::XAlterTable> OTableDescriptor_BASE;
// OTables
class ODBTableDecorator;
typedef ::comphelper::OIdPropertyArrayUsageHelper< ODBTableDecorator > ODBTableDecorator_PROP;
diff --git a/dbaccess/source/core/inc/column.hxx b/dbaccess/source/core/inc/column.hxx
index 00f48ba4c541..8788f71d51b1 100644
--- a/dbaccess/source/core/inc/column.hxx
+++ b/dbaccess/source/core/inc/column.hxx
@@ -46,8 +46,7 @@
#include <connectivity/FValue.hxx>
#include <connectivity/TColumnsHelper.hxx>
#include <connectivity/sdbcx/IRefreshable.hxx>
-#include <cppuhelper/compbase2.hxx>
-#include <cppuhelper/compbase4.hxx>
+#include <cppuhelper/compbase.hxx>
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/propshlp.hxx>
#include <osl/diagnose.h>
@@ -58,9 +57,9 @@ namespace dbaccess
// OColumn
- typedef ::cppu::WeakComponentImplHelper2< ::com::sun::star::lang::XServiceInfo,
- ::com::sun::star::container::XNamed
- > OColumnBase;
+ typedef ::cppu::WeakComponentImplHelper< ::com::sun::star::lang::XServiceInfo,
+ ::com::sun::star::container::XNamed
+ > OColumnBase;
class OColumn :public comphelper::OBaseMutex
,public OColumnBase
diff --git a/dbaccess/source/core/inc/veto.hxx b/dbaccess/source/core/inc/veto.hxx
index f3757c760519..1e31b853fd30 100644
--- a/dbaccess/source/core/inc/veto.hxx
+++ b/dbaccess/source/core/inc/veto.hxx
@@ -22,14 +22,14 @@
#include <com/sun/star/util/XVeto.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
namespace dbaccess
{
// Veto
- typedef ::cppu::WeakImplHelper1 < ::com::sun::star::util::XVeto
- > Veto_Base;
+ typedef ::cppu::WeakImplHelper< ::com::sun::star::util::XVeto
+ > Veto_Base;
/** implements ::com::sun::star::util::XVeto
*/
class Veto : public Veto_Base
diff --git a/dbaccess/source/core/recovery/subcomponentloader.hxx b/dbaccess/source/core/recovery/subcomponentloader.hxx
index a6aa24109013..c82cb96124c4 100644
--- a/dbaccess/source/core/recovery/subcomponentloader.hxx
+++ b/dbaccess/source/core/recovery/subcomponentloader.hxx
@@ -27,14 +27,14 @@
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/ucb/XCommandProcessor.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
namespace dbaccess
{
// SubComponentLoader
- typedef ::cppu::WeakImplHelper1 < ::com::sun::star::awt::XWindowListener
- > SubComponentLoader_Base;
+ typedef ::cppu::WeakImplHelper< ::com::sun::star::awt::XWindowListener
+ > SubComponentLoader_Base;
struct SubComponentLoader_Data;
/** is a helper class which loads/opens a given sub component as soon as the main application
window becomes visible.
diff --git a/dbaccess/source/core/recovery/subcomponentrecovery.cxx b/dbaccess/source/core/recovery/subcomponentrecovery.cxx
index 59c55b7bed75..580b7660c366 100644
--- a/dbaccess/source/core/recovery/subcomponentrecovery.cxx
+++ b/dbaccess/source/core/recovery/subcomponentrecovery.cxx
@@ -34,6 +34,7 @@
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include <comphelper/namedvaluecollection.hxx>
+#include <cppuhelper/implbase.hxx>
#include <connectivity/dbtools.hxx>
#include <tools/diagnose_ex.h>
#include <xmloff/XMLSettingsExportContext.hxx>
@@ -237,8 +238,8 @@ namespace dbaccess
}
// SettingsDocumentHandler
- typedef ::cppu::WeakImplHelper1 < XDocumentHandler
- > SettingsDocumentHandler_Base;
+ typedef ::cppu::WeakImplHelper< XDocumentHandler
+ > SettingsDocumentHandler_Base;
class DBACCESS_DLLPRIVATE SettingsDocumentHandler : public SettingsDocumentHandler_Base
{
public:
diff --git a/dbaccess/source/ext/macromigration/progresscapture.hxx b/dbaccess/source/ext/macromigration/progresscapture.hxx
index e7633af9e7e2..f36630250feb 100644
--- a/dbaccess/source/ext/macromigration/progresscapture.hxx
+++ b/dbaccess/source/ext/macromigration/progresscapture.hxx
@@ -22,7 +22,7 @@
#include <com/sun/star/task/XStatusIndicator.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <memory>
@@ -32,8 +32,8 @@ namespace dbmm
class IMigrationProgress;
// ProgressCapture
- typedef ::cppu::WeakImplHelper1 < ::com::sun::star::task::XStatusIndicator
- > ProgressCapture_Base;
+ typedef ::cppu::WeakImplHelper< ::com::sun::star::task::XStatusIndicator
+ > ProgressCapture_Base;
struct ProgressCapture_Data;
diff --git a/dbaccess/source/filter/xml/dbloader2.cxx b/dbaccess/source/filter/xml/dbloader2.cxx
index 93cf4c0b748d..45aa339a731f 100644
--- a/dbaccess/source/filter/xml/dbloader2.cxx
+++ b/dbaccess/source/filter/xml/dbloader2.cxx
@@ -58,7 +58,7 @@
#include <comphelper/sequenceashashmap.hxx>
#include <comphelper/storagehelper.hxx>
#include <comphelper/types.hxx>
-#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <osl/file.hxx>
#include <sfx2/docfile.hxx>
@@ -92,7 +92,7 @@ using ::com::sun::star::sdb::application::NamedDatabaseObject;
namespace dbaxml
{
-class DBTypeDetection : public ::cppu::WeakImplHelper2< XExtendedFilterDetection, XServiceInfo>
+class DBTypeDetection : public ::cppu::WeakImplHelper< XExtendedFilterDetection, XServiceInfo>
{
const Reference< XComponentContext > m_aContext;
@@ -223,7 +223,7 @@ extern "C" void SAL_CALL createRegistryInfo_DBTypeDetection()
namespace dbaxml
{
-class DBContentLoader : public ::cppu::WeakImplHelper2< XFrameLoader, XServiceInfo>
+class DBContentLoader : public ::cppu::WeakImplHelper< XFrameLoader, XServiceInfo>
{
private:
const Reference< XComponentContext > m_aContext;
diff --git a/dbaccess/source/sdbtools/connection/connectiontools.hxx b/dbaccess/source/sdbtools/connection/connectiontools.hxx
index 844a8280e618..658d2fb49036 100644
--- a/dbaccess/source/sdbtools/connection/connectiontools.hxx
+++ b/dbaccess/source/sdbtools/connection/connectiontools.hxx
@@ -29,16 +29,16 @@
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
-#include <cppuhelper/implbase3.hxx>
+#include <cppuhelper/implbase.hxx>
namespace sdbtools
{
// ConnectionTools
- typedef ::cppu::WeakImplHelper3 < ::com::sun::star::sdb::tools::XConnectionTools
- , ::com::sun::star::lang::XServiceInfo
- , ::com::sun::star::lang::XInitialization
- > ConnectionTools_Base;
+ typedef ::cppu::WeakImplHelper< ::com::sun::star::sdb::tools::XConnectionTools
+ , ::com::sun::star::lang::XServiceInfo
+ , ::com::sun::star::lang::XInitialization
+ > ConnectionTools_Base;
/** implements the com::sun::star::sdb::tools::XConnectionTools functionality
*/
class ConnectionTools :public ConnectionTools_Base
diff --git a/dbaccess/source/sdbtools/connection/datasourcemetadata.hxx b/dbaccess/source/sdbtools/connection/datasourcemetadata.hxx
index 87ae21efdd4f..ea1ddf5a7013 100644
--- a/dbaccess/source/sdbtools/connection/datasourcemetadata.hxx
+++ b/dbaccess/source/sdbtools/connection/datasourcemetadata.hxx
@@ -24,7 +24,7 @@
#include <com/sun/star/sdb/tools/XDataSourceMetaData.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <memory>
@@ -32,8 +32,8 @@ namespace sdbtools
{
// DataSourceMetaData
- typedef ::cppu::WeakImplHelper1 < ::com::sun::star::sdb::tools::XDataSourceMetaData
- > DataSourceMetaData_Base;
+ typedef ::cppu::WeakImplHelper< ::com::sun::star::sdb::tools::XDataSourceMetaData
+ > DataSourceMetaData_Base;
struct DataSourceMetaData_Impl;
/** default implementation for XDataSourceMetaData
*/
diff --git a/dbaccess/source/sdbtools/connection/objectnames.hxx b/dbaccess/source/sdbtools/connection/objectnames.hxx
index 833d16580be2..cc0b2b029fdc 100644
--- a/dbaccess/source/sdbtools/connection/objectnames.hxx
+++ b/dbaccess/source/sdbtools/connection/objectnames.hxx
@@ -24,7 +24,7 @@
#include <com/sun/star/sdb/tools/XObjectNames.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <memory>
@@ -32,8 +32,8 @@ namespace sdbtools
{
// ObjectNames
- typedef ::cppu::WeakImplHelper1 < ::com::sun::star::sdb::tools::XObjectNames
- > ObjectNames_Base;
+ typedef ::cppu::WeakImplHelper< ::com::sun::star::sdb::tools::XObjectNames
+ > ObjectNames_Base;
struct ObjectNames_Impl;
/** default implementation for XObjectNames
*/
diff --git a/dbaccess/source/sdbtools/connection/tablename.hxx b/dbaccess/source/sdbtools/connection/tablename.hxx
index d74a5548600f..c5eef8b713c4 100644
--- a/dbaccess/source/sdbtools/connection/tablename.hxx
+++ b/dbaccess/source/sdbtools/connection/tablename.hxx
@@ -24,7 +24,7 @@
#include <com/sun/star/sdb/tools/XTableName.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <memory>
@@ -32,8 +32,8 @@ namespace sdbtools
{
// TableName
- typedef ::cppu::WeakImplHelper1 < ::com::sun::star::sdb::tools::XTableName
- > TableName_Base;
+ typedef ::cppu::WeakImplHelper< ::com::sun::star::sdb::tools::XTableName
+ > TableName_Base;
struct TableName_Impl;
/** default implementation for XTableName
*/
diff --git a/dbaccess/source/ui/app/subcomponentmanager.hxx b/dbaccess/source/ui/app/subcomponentmanager.hxx
index 76bde5d2438a..74a34e39178b 100644
--- a/dbaccess/source/ui/app/subcomponentmanager.hxx
+++ b/dbaccess/source/ui/app/subcomponentmanager.hxx
@@ -26,7 +26,7 @@
#include <com/sun/star/frame/XController.hpp>
#include <comphelper/sharedmutex.hxx>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <memory>
@@ -37,8 +37,8 @@ namespace dbaui
class OApplicationController;
// SubComponentManager
- typedef ::cppu::WeakImplHelper1 < ::com::sun::star::beans::XPropertyChangeListener
- > SubComponentManager_Base;
+ typedef ::cppu::WeakImplHelper< ::com::sun::star::beans::XPropertyChangeListener
+ > SubComponentManager_Base;
class SubComponentManager : public SubComponentManager_Base
{
public:
diff --git a/dbaccess/source/ui/browser/dbloader.cxx b/dbaccess/source/ui/browser/dbloader.cxx
index 206790bfd33f..a0f36d8522c1 100644
--- a/dbaccess/source/ui/browser/dbloader.cxx
+++ b/dbaccess/source/ui/browser/dbloader.cxx
@@ -42,7 +42,7 @@
#include <com/sun/star/sdbc/XDataSource.hpp>
#include <comphelper/namedvaluecollection.hxx>
#include <comphelper/processfactory.hxx>
-#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <toolkit/awt/vclxwindow.hxx>
#include <toolkit/helper/vclunohelper.hxx>
@@ -61,7 +61,7 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::registry;
using namespace dbaui;
-class DBContentLoader : public ::cppu::WeakImplHelper2< XFrameLoader, XServiceInfo>
+class DBContentLoader : public ::cppu::WeakImplHelper< XFrameLoader, XServiceInfo>
{
private:
OUString m_aURL;
diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx b/dbaccess/source/ui/control/dbtreelistbox.cxx
index d8346df0259f..e68b22ae0dfa 100644
--- a/dbaccess/source/ui/control/dbtreelistbox.cxx
+++ b/dbaccess/source/ui/control/dbtreelistbox.cxx
@@ -28,7 +28,7 @@
#include <com/sun/star/ui/XContextMenuInterceptor.hpp>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/util/URL.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <vcl/help.hxx>
#include <dbaccess/IController.hxx>
@@ -521,8 +521,8 @@ namespace
}
}
// SelectionSupplier
- typedef ::cppu::WeakImplHelper1 < XSelectionSupplier
- > SelectionSupplier_Base;
+ typedef ::cppu::WeakImplHelper< XSelectionSupplier
+ > SelectionSupplier_Base;
class SelectionSupplier : public SelectionSupplier_Base
{
public:
diff --git a/dbaccess/source/ui/control/sqledit.cxx b/dbaccess/source/ui/control/sqledit.cxx
index 938404686cc4..6831b573f6f7 100644
--- a/dbaccess/source/ui/control/sqledit.cxx
+++ b/dbaccess/source/ui/control/sqledit.cxx
@@ -35,11 +35,12 @@
#include "QueryDesignView.hxx"
#include <svl/smplhint.hxx>
#include <vcl/settings.hxx>
+#include <cppuhelper/implbase.hxx>
using namespace dbaui;
class OSqlEdit::ChangesListener:
- public cppu::WeakImplHelper1< css::beans::XPropertiesChangeListener >
+ public cppu::WeakImplHelper< css::beans::XPropertiesChangeListener >
{
public:
ChangesListener(OSqlEdit & editor): editor_(editor) {}
diff --git a/dbaccess/source/ui/dlg/dbwizsetup.cxx b/dbaccess/source/ui/dlg/dbwizsetup.cxx
index 71cf17d16f47..180b2f8dea75 100644
--- a/dbaccess/source/ui/dlg/dbwizsetup.cxx
+++ b/dbaccess/source/ui/dlg/dbwizsetup.cxx
@@ -45,6 +45,7 @@
#include <dbaccess/AsynchronousLink.hxx>
#include <sfx2/filedlghelper.hxx>
#include <cppuhelper/exc_hlp.hxx>
+#include <cppuhelper/implbase.hxx>
#include <com/sun/star/frame/XStorable.hpp>
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
@@ -878,8 +879,8 @@ bool ODbTypeWizDialogSetup::SaveDatabaseDocument()
namespace
{
- typedef ::cppu::WeakImplHelper1 < XTerminateListener
- > AsyncLoader_Base;
+ typedef ::cppu::WeakImplHelper< XTerminateListener
+ > AsyncLoader_Base;
class AsyncLoader : public AsyncLoader_Base
{
private:
diff --git a/dbaccess/source/ui/dlg/finteraction.hxx b/dbaccess/source/ui/dlg/finteraction.hxx
index 2d86566894f2..e3ae83f3c9af 100644
--- a/dbaccess/source/ui/dlg/finteraction.hxx
+++ b/dbaccess/source/ui/dlg/finteraction.hxx
@@ -20,15 +20,15 @@
#ifndef INCLUDED_DBACCESS_SOURCE_UI_DLG_FINTERACTION_HXX
#define INCLUDED_DBACCESS_SOURCE_UI_DLG_FINTERACTION_HXX
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <com/sun/star/task/XInteractionHandler.hpp>
namespace dbaui
{
// OFilePickerInteractionHandler
- typedef ::cppu::WeakImplHelper1 < ::com::sun::star::task::XInteractionHandler
- > OFilePickerInteractionHandler_Base;
+ typedef ::cppu::WeakImplHelper< ::com::sun::star::task::XInteractionHandler
+ > OFilePickerInteractionHandler_Base;
/** a InteractionHandler implementation which extends another handler with some customizability
*/
diff --git a/dbaccess/source/ui/inc/TokenWriter.hxx b/dbaccess/source/ui/inc/TokenWriter.hxx
index d1b87f0ddc70..390991e4d959 100644
--- a/dbaccess/source/ui/inc/TokenWriter.hxx
+++ b/dbaccess/source/ui/inc/TokenWriter.hxx
@@ -34,7 +34,7 @@
#include <com/sun/star/sdbcx/XRowLocate.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <tools/stream.hxx>
#include <svx/dataaccessdescriptor.hxx>
@@ -48,7 +48,7 @@ namespace dbaui
{
// ODatabaseImportExport base class for import/export
class ODatabaseExport;
- typedef ::cppu::WeakImplHelper1< ::com::sun::star::lang::XEventListener> ODatabaseImportExport_BASE;
+ typedef ::cppu::WeakImplHelper< ::com::sun::star::lang::XEventListener> ODatabaseImportExport_BASE;
class ODatabaseImportExport : public ODatabaseImportExport_BASE
{
private:
diff --git a/dbaccess/source/ui/inc/formadapter.hxx b/dbaccess/source/ui/inc/formadapter.hxx
index 6b0e94400f07..f35bef0df3ce 100644
--- a/dbaccess/source/ui/inc/formadapter.hxx
+++ b/dbaccess/source/ui/inc/formadapter.hxx
@@ -55,6 +55,7 @@
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/util/XCancellable.hpp>
#include <comphelper/uno3.hxx>
+#include <cppuhelper/implbase.hxx>
#include <cppuhelper/implbase12.hxx>
#include <cppuhelper/implbase10.hxx>
#include "moduledbu.hxx"
@@ -63,20 +64,20 @@ namespace dbaui
{
// SbaXFormAdapter
- typedef ::cppu::WeakImplHelper12< ::com::sun::star::sdbc::XResultSetMetaDataSupplier
- , ::com::sun::star::sdb::XResultSetAccess
- , ::com::sun::star::sdbc::XResultSetUpdate
- , ::com::sun::star::sdbc::XRowSet
- , ::com::sun::star::sdb::XRowSetApproveBroadcaster
- , ::com::sun::star::sdbcx::XRowLocate
- , ::com::sun::star::sdbc::XRowUpdate
- , ::com::sun::star::sdbc::XRow
- , ::com::sun::star::sdbcx::XColumnsSupplier
- , ::com::sun::star::sdbc::XColumnLocate
- // --- stardiv::one::form::component::DatabaseForm ---
- , ::com::sun::star::sdbc::XParameters
- , ::com::sun::star::sdbcx::XDeleteRows
- > SbaXFormAdapter_BASE1;
+ typedef ::cppu::WeakImplHelper< ::com::sun::star::sdbc::XResultSetMetaDataSupplier
+ , ::com::sun::star::sdb::XResultSetAccess
+ , ::com::sun::star::sdbc::XResultSetUpdate
+ , ::com::sun::star::sdbc::XRowSet
+ , ::com::sun::star::sdb::XRowSetApproveBroadcaster
+ , ::com::sun::star::sdbcx::XRowLocate
+ , ::com::sun::star::sdbc::XRowUpdate
+ , ::com::sun::star::sdbc::XRow
+ , ::com::sun::star::sdbcx::XColumnsSupplier
+ , ::com::sun::star::sdbc::XColumnLocate
+ // --- stardiv::one::form::component::DatabaseForm ---
+ , ::com::sun::star::sdbc::XParameters
+ , ::com::sun::star::sdbcx::XDeleteRows
+ > SbaXFormAdapter_BASE1;
typedef ::cppu::ImplHelper12 < ::com::sun::star::sdbc::XWarningsSupplier
, ::com::sun::star::sdbc::XCloseable
, ::com::sun::star::form::XLoadable
diff --git a/dbaccess/source/ui/inc/singledoccontroller.hxx b/dbaccess/source/ui/inc/singledoccontroller.hxx
index fe9588ee6910..e6730b0152c6 100644
--- a/dbaccess/source/ui/inc/singledoccontroller.hxx
+++ b/dbaccess/source/ui/inc/singledoccontroller.hxx
@@ -24,7 +24,7 @@
#include <com/sun/star/document/XUndoManagerSupplier.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
class SfxUndoAction;
class SfxUndoManager;
@@ -34,9 +34,9 @@ namespace dbaui
// OSingleDocumentController
struct OSingleDocumentController_Data;
- typedef ::cppu::ImplInheritanceHelper1 < DBSubComponentController
- , ::com::sun::star::document::XUndoManagerSupplier
- > OSingleDocumentController_Base;
+ typedef ::cppu::ImplInheritanceHelper< DBSubComponentController
+ , ::com::sun::star::document::XUndoManagerSupplier
+ > OSingleDocumentController_Base;
class OSingleDocumentController : public OSingleDocumentController_Base
{
protected:
diff --git a/dbaccess/source/ui/misc/controllerframe.cxx b/dbaccess/source/ui/misc/controllerframe.cxx
index fae7d7555961..31452e2ba2f8 100644
--- a/dbaccess/source/ui/misc/controllerframe.cxx
+++ b/dbaccess/source/ui/misc/controllerframe.cxx
@@ -27,7 +27,7 @@
#include <com/sun/star/document/XDocumentEventBroadcaster.hpp>
#include <com/sun/star/frame/XController2.hpp>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <rtl/ref.hxx>
#include <sfx2/objsh.hxx>
#include <tools/diagnose_ex.h>
@@ -66,8 +66,8 @@ namespace dbaui
using ::com::sun::star::awt::XWindow;
// FrameWindowActivationListener
- typedef ::cppu::WeakImplHelper1 < XTopWindowListener
- > FrameWindowActivationListener_Base;
+ typedef ::cppu::WeakImplHelper< XTopWindowListener
+ > FrameWindowActivationListener_Base;
class FrameWindowActivationListener : public FrameWindowActivationListener_Base
{
public:
diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx
index bf5a00634914..1ba693445cdc 100644
--- a/dbaccess/source/ui/uno/copytablewizard.cxx
+++ b/dbaccess/source/ui/uno/copytablewizard.cxx
@@ -63,7 +63,7 @@
#include <connectivity/dbexception.hxx>
#include <connectivity/dbtools.hxx>
#include <cppuhelper/exc_hlp.hxx>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
#include <rtl/ustrbuf.hxx>
#include <svtools/genericunodialog.hxx>
#include <tools/diagnose_ex.h>
@@ -141,9 +141,9 @@ namespace dbaui
// CopyTableWizard
typedef ::svt::OGenericUnoDialog CopyTableWizard_DialogBase;
- typedef ::cppu::ImplInheritanceHelper1 < CopyTableWizard_DialogBase
- , XCopyTableWizard
- > CopyTableWizard_Base;
+ typedef ::cppu::ImplInheritanceHelper< CopyTableWizard_DialogBase
+ , XCopyTableWizard
+ > CopyTableWizard_Base;
class CopyTableWizard
:public CopyTableWizard_Base
,public ::comphelper::OPropertyArrayUsageHelper< CopyTableWizard >
diff --git a/dbaccess/source/ui/uno/dbinteraction.hxx b/dbaccess/source/ui/uno/dbinteraction.hxx
index 075adf953ab3..07ded2d4f208 100644
--- a/dbaccess/source/ui/uno/dbinteraction.hxx
+++ b/dbaccess/source/ui/uno/dbinteraction.hxx
@@ -20,7 +20,7 @@
#ifndef INCLUDED_DBACCESS_SOURCE_UI_UNO_DBINTERACTION_HXX
#define INCLUDED_DBACCESS_SOURCE_UI_UNO_DBINTERACTION_HXX
-#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/implbase.hxx>
#include "moduledbu.hxx"
#include "apitools.hxx"
@@ -45,9 +45,9 @@ namespace dbaui
{
// BasicInteractionHandler
- typedef ::cppu::WeakImplHelper2 < ::com::sun::star::lang::XServiceInfo
- , ::com::sun::star::task::XInteractionHandler2
- > BasicInteractionHandler_Base;
+ typedef ::cppu::WeakImplHelper< ::com::sun::star::lang::XServiceInfo
+ , ::com::sun::star::task::XInteractionHandler2
+ > BasicInteractionHandler_Base;
/** implements an <type scope="com.sun.star.task">XInteractionHandler</type> for
database related interaction requests.
<p/>
diff --git a/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx b/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx
index 9744b5af026b..1b2dea50043c 100644
--- a/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx
+++ b/dbaccess/source/ui/uno/textconnectionsettings_uno.cxx
@@ -32,7 +32,7 @@
#include <comphelper/processfactory.hxx>
#include <svtools/genericunodialog.hxx>
-#include <cppuhelper/implbase1.hxx>
+#include <cppuhelper/implbase.hxx>
namespace dbaui
{
@@ -56,15 +56,15 @@ namespace dbaui
// OTextConnectionSettingsDialog
class OTextConnectionSettingsDialog;
- typedef ::cppu::ImplInheritanceHelper1 < ODatabaseAdministrationDialog
- , ::com::sun::star::sdb::XTextConnectionSettings
- > OTextConnectionSettingsDialog_BASE;
+ typedef ::cppu::ImplInheritanceHelper< ODatabaseAdministrationDialog
+ , ::com::sun::star::sdb::XTextConnectionSettings
+ > OTextConnectionSettingsDialog_BASE;
typedef ::comphelper::OPropertyArrayUsageHelper< OTextConnectionSettingsDialog > OTextConnectionSettingsDialog_PBASE;
class OTextConnectionSettingsDialog
:public OTextConnectionSettingsDialog_BASE
,public OTextConnectionSettingsDialog_PBASE
- ,public ::cppu::WeakImplHelper1< com::sun::star::sdb::XTextConnectionSettings >
+ ,public ::cppu::WeakImplHelper< com::sun::star::sdb::XTextConnectionSettings >
{
OModuleClient m_aModuleClient;
PropertyValues m_aPropertyValues;
diff --git a/include/dbaccess/dbsubcomponentcontroller.hxx b/include/dbaccess/dbsubcomponentcontroller.hxx
index 6cf592e4f072..9406a3e7954d 100644
--- a/include/dbaccess/dbsubcomponentcontroller.hxx
+++ b/include/dbaccess/dbsubcomponentcontroller.hxx
@@ -33,7 +33,7 @@
#include <comphelper/proparrhlp.hxx>
#include <comphelper/propertycontainer.hxx>
#include <connectivity/dbmetadata.hxx>
-#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/implbase.hxx>
#include <memory>
@@ -47,10 +47,10 @@ namespace dbaui
class DBSubComponentController;
- typedef ::cppu::ImplInheritanceHelper2 < OGenericUnoController
- , ::com::sun::star::document::XScriptInvocationContext
- , ::com::sun::star::util::XModifiable
- > DBSubComponentController_Base;
+ typedef ::cppu::ImplInheritanceHelper< OGenericUnoController
+ , ::com::sun::star::document::XScriptInvocationContext
+ , ::com::sun::star::util::XModifiable
+ > DBSubComponentController_Base;
struct DBSubComponentController_Impl;
class DBACCESS_DLLPUBLIC DBSubComponentController : public DBSubComponentController_Base
diff --git a/include/dbaccess/genericcontroller.hxx b/include/dbaccess/genericcontroller.hxx
index f1953218ef15..3b40f65b774c 100644
--- a/include/dbaccess/genericcontroller.hxx
+++ b/include/dbaccess/genericcontroller.hxx
@@ -54,7 +54,7 @@
#include <comphelper/sharedmutex.hxx>
#include <comphelper/namedvaluecollection.hxx>
#include <connectivity/dbexception.hxx>
-#include <cppuhelper/compbase11.hxx>
+#include <cppuhelper/compbase.hxx>
#include <cppuhelper/interfacecontainer.h>
#include <boost/optional.hpp>
@@ -188,18 +188,18 @@ namespace dbaui
typedef ::comphelper::SharedMutexBase OGenericUnoController_MBASE;
- typedef ::cppu::WeakComponentImplHelper11 < ::com::sun::star::frame::XDispatch
- , ::com::sun::star::frame::XDispatchProviderInterceptor
- , ::com::sun::star::util::XModifyListener
- , ::com::sun::star::frame::XFrameActionListener
- , ::com::sun::star::lang::XInitialization
- , ::com::sun::star::lang::XServiceInfo
- , ::com::sun::star::frame::XDispatchInformationProvider
- , ::com::sun::star::frame::XController2
- , ::com::sun::star::frame::XTitle
- , ::com::sun::star::frame::XTitleChangeBroadcaster
- , ::com::sun::star::awt::XUserInputInterception
- > OGenericUnoController_Base;
+ typedef ::cppu::WeakComponentImplHelper< ::com::sun::star::frame::XDispatch
+ , ::com::sun::star::frame::XDispatchProviderInterceptor
+ , ::com::sun::star::util::XModifyListener
+ , ::com::sun::star::frame::XFrameActionListener
+ , ::com::sun::star::lang::XInitialization
+ , ::com::sun::star::lang::XServiceInfo
+ , ::com::sun::star::frame::XDispatchInformationProvider
+ , ::com::sun::star::frame::XController2
+ , ::com::sun::star::frame::XTitle
+ , ::com::sun::star::frame::XTitleChangeBroadcaster
+ , ::com::sun::star::awt::XUserInputInterception
+ > OGenericUnoController_Base;
struct OGenericUnoController_Data;