From 37f8ea642cd191e7bdbf3596f41e7bb28212472b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 24 Jan 2019 14:07:17 +0200 Subject: loplugin:unusedmethods Change-Id: Ifb0c479e9d1aed1cd90d78ed23902fc05db556d6 Reviewed-on: https://gerrit.libreoffice.org/66862 Tested-by: Jenkins Reviewed-by: Noel Grandin --- connectivity/source/drivers/mysqlc/mysqlc_general.cxx | 5 ----- connectivity/source/drivers/mysqlc/mysqlc_general.hxx | 2 -- 2 files changed, 7 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/drivers/mysqlc/mysqlc_general.cxx b/connectivity/source/drivers/mysqlc/mysqlc_general.cxx index ed1a71dd460d..75b97b4028de 100644 --- a/connectivity/source/drivers/mysqlc/mysqlc_general.cxx +++ b/connectivity/source/drivers/mysqlc/mysqlc_general.cxx @@ -225,11 +225,6 @@ sal_Int32 mysqlStrToOOOType(const OUString& sType) return css::sdbc::DataType::VARCHAR; } -OUString mysqlTypeToStr(MYSQL_FIELD const* field) -{ - return mysqlTypeToStr(field->type, field->flags); -} - OUString mysqlTypeToStr(unsigned type, unsigned flags) { bool isUnsigned = (flags & UNSIGNED_FLAG) != 0; diff --git a/connectivity/source/drivers/mysqlc/mysqlc_general.hxx b/connectivity/source/drivers/mysqlc/mysqlc_general.hxx index 67dbd7342597..38852d269ae6 100644 --- a/connectivity/source/drivers/mysqlc/mysqlc_general.hxx +++ b/connectivity/source/drivers/mysqlc/mysqlc_general.hxx @@ -105,8 +105,6 @@ void throwSQLExceptionWithMsg(const char* msg, unsigned int errorNum, sal_Int32 mysqlToOOOType(int eType, int charsetnr) noexcept; -OUString mysqlTypeToStr(MYSQL_FIELD const* pField); - OUString mysqlTypeToStr(unsigned mysql_type, unsigned mysql_flags); sal_Int32 mysqlStrToOOOType(const OUString& sType); -- cgit