diff options
author | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-08-13 17:42:20 +0100 |
---|---|---|
committer | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-08-13 22:12:40 +0100 |
commit | 73c02c20b19702dbe662fe0d80601049f015d8ac (patch) | |
tree | 826de141e4a58b3e27d3e2f9f8a96b1ee3dcb451 /connectivity | |
parent | 67a9e7b1a161e96924e2e08b648c513b1a9795e2 (diff) |
Set ColumnsHelper parent. (firebird-sdbc)
This is needed for accessing the Tables again.
Change-Id: Ibebc017228b9bb47aaabaa4787e4c05d530acccf
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/firebird/Columns.cxx | 3 | ||||
-rw-r--r-- | connectivity/source/drivers/firebird/Columns.hxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/connectivity/source/drivers/firebird/Columns.cxx b/connectivity/source/drivers/firebird/Columns.cxx index 7fd9aef4baed..fbf54e0dbda8 100644 --- a/connectivity/source/drivers/firebird/Columns.cxx +++ b/connectivity/source/drivers/firebird/Columns.cxx @@ -24,7 +24,7 @@ using namespace ::com::sun::star; using namespace ::com::sun::star::sdbc; using namespace ::com::sun::star::uno; -Columns::Columns(OWeakObject& rTable, +Columns::Columns(Table& rTable, Mutex& rMutex, const TStringVector& rVector): OColumnsHelper(rTable, @@ -32,6 +32,7 @@ Columns::Columns(OWeakObject& rTable, rMutex, rVector) { + OColumnsHelper::setParent(&rTable); } ObjectType Columns::createObject(const OUString& rColumnName) diff --git a/connectivity/source/drivers/firebird/Columns.hxx b/connectivity/source/drivers/firebird/Columns.hxx index 543bf12ffafb..dc006d1cd288 100644 --- a/connectivity/source/drivers/firebird/Columns.hxx +++ b/connectivity/source/drivers/firebird/Columns.hxx @@ -21,7 +21,7 @@ namespace connectivity class Columns: public ::connectivity::OColumnsHelper { public: - Columns(::cppu::OWeakObject& rTable, + Columns(Table& rTable, ::osl::Mutex& rMutex, const ::connectivity::TStringVector &_rVector); |