summaryrefslogtreecommitdiff
path: root/mysqlc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-30 11:45:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-30 13:06:54 +0100
commit9ee60319c675087486907707c8a2b18b5c9dc9fc (patch)
treed4accdcfe604efa91518f37a1283ea436ecc65b7 /mysqlc
parent4eec79bb376b64a9a90de4b6540c90776d3dba32 (diff)
loplugin:constmethod in idl,helpcompiler
Change-Id: I9b328fc0a3ebdd15a646ee6dab800ffbadb1aaef Reviewed-on: https://gerrit.libreoffice.org/44050 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'mysqlc')
-rw-r--r--mysqlc/source/mysqlc_connection.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysqlc/source/mysqlc_connection.hxx b/mysqlc/source/mysqlc_connection.hxx
index 4ef6bb044a45..b3fd5a78bfe9 100644
--- a/mysqlc/source/mysqlc_connection.hxx
+++ b/mysqlc/source/mysqlc_connection.hxx
@@ -119,7 +119,7 @@ namespace connectivity
OConnection(MysqlCDriver& _rDriver, sql::Driver * cppDriver);
virtual ~OConnection();
- rtl_TextEncoding getConnectionEncoding() { return m_settings.encoding; }
+ rtl_TextEncoding getConnectionEncoding() const { return m_settings.encoding; }
// OComponentHelper