summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/sdbtools/connection/objectnames.cxx8
-rw-r--r--dbaccess/source/sdbtools/connection/objectnames.hxx4
2 files changed, 2 insertions, 10 deletions
diff --git a/dbaccess/source/sdbtools/connection/objectnames.cxx b/dbaccess/source/sdbtools/connection/objectnames.cxx
index 1200586bceb7..9e24c49c31f8 100644
--- a/dbaccess/source/sdbtools/connection/objectnames.cxx
+++ b/dbaccess/source/sdbtools/connection/objectnames.cxx
@@ -19,7 +19,6 @@
#include "objectnames.hxx"
-#include "module_sdbt.hxx"
#include "sdbt_resource.hrc"
#include <com/sun/star/sdb/CommandType.hpp>
@@ -354,16 +353,9 @@ namespace sdbtools
return PNameValidation( new QueryValidityCheck( _rContext, _rxConnection ) );
}
- // ObjectNames_Impl
- struct ObjectNames_Impl
- {
- SdbtClient m_aModuleClient; // keep the module alive as long as this instance lives
- };
-
// ObjectNames
ObjectNames::ObjectNames( const Reference<XComponentContext>& _rContext, const Reference< XConnection >& _rxConnection )
:ConnectionDependentComponent( _rContext )
- ,m_pImpl( new ObjectNames_Impl )
{
setWeakConnection( _rxConnection );
}
diff --git a/dbaccess/source/sdbtools/connection/objectnames.hxx b/dbaccess/source/sdbtools/connection/objectnames.hxx
index 3b9b71cc6292..0af21d456e90 100644
--- a/dbaccess/source/sdbtools/connection/objectnames.hxx
+++ b/dbaccess/source/sdbtools/connection/objectnames.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_DBACCESS_SOURCE_SDBTOOLS_CONNECTION_OBJECTNAMES_HXX
#include "connectiondependent.hxx"
+#include "module_sdbt.hxx"
#include <com/sun/star/sdb/tools/XObjectNames.hpp>
@@ -34,14 +35,13 @@ namespace sdbtools
// ObjectNames
typedef ::cppu::WeakImplHelper< css::sdb::tools::XObjectNames
> ObjectNames_Base;
- struct ObjectNames_Impl;
/** default implementation for XObjectNames
*/
class ObjectNames :public ObjectNames_Base
,public ConnectionDependentComponent
{
private:
- ::std::unique_ptr< ObjectNames_Impl > m_pImpl;
+ SdbtClient m_aModuleClient; // keep the module alive as long as this instance lives
public:
/** constructs the instance