diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-19 12:47:50 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-20 07:55:30 +0000 |
commit | 8a2149c1059c70d67b4897e8a7751cf028a5136b (patch) | |
tree | 10d01599b5b5b2ea1d361c32d438cf47371f21ae /include/connectivity | |
parent | 1b89a57aa5ac4faf59bc1e13eb1e0cad9933bacc (diff) |
clang-tidy misc-assign-operator-signature
Change-Id: I2953a88d9e2f5923732865ef17615d5928ac5f5f
Reviewed-on: https://gerrit.libreoffice.org/25154
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/connectivity')
-rw-r--r-- | include/connectivity/dbexception.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/connectivity/dbexception.hxx b/include/connectivity/dbexception.hxx index 67639abcc065..3a1ba7132fb3 100644 --- a/include/connectivity/dbexception.hxx +++ b/include/connectivity/dbexception.hxx @@ -116,11 +116,11 @@ public: */ void doThrow(); - const SQLExceptionInfo& operator=(const css::sdbc::SQLException& _rError); - const SQLExceptionInfo& operator=(const css::sdbc::SQLWarning& _rError); - const SQLExceptionInfo& operator=(const css::sdb::SQLContext& _rError); - const SQLExceptionInfo& operator=(const css::sdb::SQLErrorEvent& _rErrorEvent); - const SQLExceptionInfo& operator=(const css::uno::Any& _rCaughtSQLException); + SQLExceptionInfo& operator=(const css::sdbc::SQLException& _rError); + SQLExceptionInfo& operator=(const css::sdbc::SQLWarning& _rError); + SQLExceptionInfo& operator=(const css::sdb::SQLContext& _rError); + SQLExceptionInfo& operator=(const css::sdb::SQLErrorEvent& _rErrorEvent); + SQLExceptionInfo& operator=(const css::uno::Any& _rCaughtSQLException); bool isKindOf(TYPE _eType) const; // not just a simple comparisation ! e.g. getType() == SQL_CONTEXT implies isKindOf(SQL_EXCEPTION) == sal_True ! |