connectivity/source/drivers/evoab2/NConnection.hxx | 2 +- connectivity/source/drivers/evoab2/NTable.hxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit c65f6dfb9fdc77ec9004339c1970e6950b0eab17 Author: Stephan Bergmann <[email protected]> Date: Fri Apr 15 10:04:38 2016 +0200 loplugin:passstuffbyref Change-Id: I5c2883dab8045e70467c6d09a75dcb423eecf702 diff --git a/connectivity/source/drivers/evoab2/NConnection.hxx b/connectivity/source/drivers/evoab2/NConnection.hxx index 9fe51c1..97915dc 100644 --- a/connectivity/source/drivers/evoab2/NConnection.hxx +++ b/connectivity/source/drivers/evoab2/NConnection.hxx @@ -67,7 +67,7 @@ namespace connectivity explicit OEvoabConnection( OEvoabDriver& _rDriver ); virtual void construct(const OUString& _rUrl,const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& _rInfo ) throw( ::com::sun::star::sdbc::SQLException); - inline OString getPassword() { return m_aPassword; } + inline OString const & getPassword() { return m_aPassword; } inline void setPassword( OString const & aStr ) { m_aPassword = aStr; } // own methods inline const OEvoabDriver& getDriver() const { return m_rDriver; } diff --git a/connectivity/source/drivers/evoab2/NTable.hxx b/connectivity/source/drivers/evoab2/NTable.hxx index d903dd0..bf3c32a 100644 --- a/connectivity/source/drivers/evoab2/NTable.hxx +++ b/connectivity/source/drivers/evoab2/NTable.hxx @@ -48,8 +48,8 @@ namespace connectivity virtual void refreshColumns() override; - OUString getTableName() const { return m_Name; } - OUString getSchema() const { return m_SchemaName; } + OUString const & getTableName() const { return m_Name; } + OUString const & getSchema() const { return m_SchemaName; } }; } } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
