summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/commontools')
-rw-r--r--connectivity/source/commontools/TTableHelper.cxx3
-rw-r--r--connectivity/source/commontools/dbtools.cxx4
2 files changed, 4 insertions, 3 deletions
diff --git a/connectivity/source/commontools/TTableHelper.cxx b/connectivity/source/commontools/TTableHelper.cxx
index b12f05a964eb..fbd00ec7211f 100644
--- a/connectivity/source/commontools/TTableHelper.cxx
+++ b/connectivity/source/commontools/TTableHelper.cxx
@@ -25,6 +25,7 @@
#include <com/sun/star/sdbc/XResultSet.hpp>
#include <com/sun/star/sdbcx/KeyType.hpp>
#include <com/sun/star/sdbc/KeyRule.hpp>
+#include <cppuhelper/implbase.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
@@ -52,7 +53,7 @@ using namespace ::com::sun::star::lang;
namespace
{
/// helper class for column property change events which holds the OComponentDefinition weak
-typedef ::cppu::WeakImplHelper1 < XContainerListener > OTableContainerListener_BASE;
+typedef ::cppu::WeakImplHelper< XContainerListener > OTableContainerListener_BASE;
class OTableContainerListener:
public OTableContainerListener_BASE, private boost::noncopyable
{
diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx
index 1d8d157e638b..a3feae5f497f 100644
--- a/connectivity/source/commontools/dbtools.cxx
+++ b/connectivity/source/commontools/dbtools.cxx
@@ -77,7 +77,7 @@
#include <osl/diagnose.h>
#include <rtl/ustrbuf.hxx>
#include <tools/diagnose_ex.h>
-
+#include <cppuhelper/implbase.hxx>
#include "resource/common_res.hrc"
#include "resource/sharedresources.hxx"
#include <connectivity/OSubComponent.hxx>
@@ -1642,7 +1642,7 @@ bool implSetObject( const Reference< XParameters >& _rxParameters,
namespace
{
- class OParameterWrapper : public ::cppu::WeakImplHelper1< XIndexAccess >
+ class OParameterWrapper : public ::cppu::WeakImplHelper< XIndexAccess >
{
::std::vector<bool, std::allocator<bool> > m_aSet;
Reference<XIndexAccess> m_xSource;