connectivity/source/drivers/mysqlc/mysqlc_column.cxx | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-)
New commits: commit 4165eee714d1b06a56a14e75a030dba9da91b11a Author: Julien Nabet <[email protected]> AuthorDate: Sat Jan 22 10:51:24 2022 +0100 Commit: Julien Nabet <[email protected]> CommitDate: Sat Jan 22 14:36:48 2022 +0100 Mysql/MariaDB: Clean mysqlc_column + remove using Change-Id: I10e3cc1fb2b66d7bebbaa33d7eb0b2099658e3af Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128759 Tested-by: Julien Nabet <[email protected]> Reviewed-by: Julien Nabet <[email protected]> diff --git a/connectivity/source/drivers/mysqlc/mysqlc_column.cxx b/connectivity/source/drivers/mysqlc/mysqlc_column.cxx index 960f0ff97526..ceb7437386e6 100644 --- a/connectivity/source/drivers/mysqlc/mysqlc_column.cxx +++ b/connectivity/source/drivers/mysqlc/mysqlc_column.cxx @@ -11,17 +11,13 @@ #include <TConnection.hxx> -using namespace connectivity; -using namespace connectivity::mysqlc; -using namespace connectivity::sdbcx; - -Column::Column() +connectivity::mysqlc::Column::Column() : OColumn(true) // case sensitive { construct(); } -void Column::construct() +void connectivity::mysqlc::Column::construct() { m_sAutoIncrement = "auto_increment"; registerProperty( @@ -30,17 +26,18 @@ void Column::construct() cppu::UnoType<decltype(m_sAutoIncrement)>::get()); } -::cppu::IPropertyArrayHelper* Column::createArrayHelper(sal_Int32 /*_nId*/) const +::cppu::IPropertyArrayHelper* + connectivity::mysqlc::Column::createArrayHelper(sal_Int32 /*_nId*/) const { return doCreateArrayHelper(); } -::cppu::IPropertyArrayHelper& SAL_CALL Column::getInfoHelper() +::cppu::IPropertyArrayHelper& SAL_CALL connectivity::mysqlc::Column::getInfoHelper() { return *Column_PROP::getArrayHelper(isNew() ? 1 : 0); } -css::uno::Sequence<OUString> SAL_CALL Column::getSupportedServiceNames() +css::uno::Sequence<OUString> SAL_CALL connectivity::mysqlc::Column::getSupportedServiceNames() { return { "com.sun.star.sdbcx.Column" }; }
