From 682fdbf1312cf6ca70fe209bf4d7051dad8f5008 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 8 Oct 2019 10:30:36 +0200 Subject: loplugin:redundantpointerops check other pointer types as well as unique_ptr Change-Id: I54842bca161ee460fb96c46ca31b6f9c0a7dbbdf Reviewed-on: https://gerrit.libreoffice.org/80455 Tested-by: Jenkins Reviewed-by: Noel Grandin --- connectivity/source/drivers/mysqlc/mysqlc_connection.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'connectivity/source') diff --git a/connectivity/source/drivers/mysqlc/mysqlc_connection.hxx b/connectivity/source/drivers/mysqlc/mysqlc_connection.hxx index 0e52e9281f4b..283b1d964d4b 100644 --- a/connectivity/source/drivers/mysqlc/mysqlc_connection.hxx +++ b/connectivity/source/drivers/mysqlc/mysqlc_connection.hxx @@ -175,7 +175,7 @@ public: const ConnectionSettings& getConnectionSettings() const { return m_settings; } OUString transFormPreparedStatement(const OUString& _sSQL); - const MysqlCDriver& getDriver() const { return *m_xDriver.get(); } + const MysqlCDriver& getDriver() const { return *m_xDriver; } }; /* OConnection */ // TODO: Not used. -- cgit