diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-15 10:04:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-15 10:04:38 +0200 |
commit | c65f6dfb9fdc77ec9004339c1970e6950b0eab17 (patch) | |
tree | d48610466255796f699a14b400c3134613ed7013 /connectivity | |
parent | 588a36339f8f16180aed8d3b1196b3aae4797a98 (diff) |
loplugin:passstuffbyref
Change-Id: I5c2883dab8045e70467c6d09a75dcb423eecf702
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/evoab2/NConnection.hxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/evoab2/NTable.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/evoab2/NConnection.hxx b/connectivity/source/drivers/evoab2/NConnection.hxx index 9fe51c16ff7b..97915dcff555 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 d903dd009024..bf3c32aeebf5 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; } }; } } |