diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-14 07:46:08 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-14 07:47:01 +0200 |
commit | 358be80f65d335910a4add147cd15e35d3505afd (patch) | |
tree | c74c7246273506642e2514648e5b9cc58b4ccf74 /connectivity/source/inc/file | |
parent | eb4fb12fdbe14b929cf8fe5d5785fcfae8d96fa4 (diff) |
comphelper,connectivity: prefer passing OUString by reference
Change-Id: I19b2613918ec62ee39bb3e447f3587c5dba1e36a
Diffstat (limited to 'connectivity/source/inc/file')
-rw-r--r-- | connectivity/source/inc/file/quotedstring.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/inc/file/quotedstring.hxx b/connectivity/source/inc/file/quotedstring.hxx index 77c7b7a7c474..9f27eb39fa1f 100644 --- a/connectivity/source/inc/file/quotedstring.hxx +++ b/connectivity/source/inc/file/quotedstring.hxx @@ -39,7 +39,7 @@ namespace connectivity sal_Int32 GetTokenCount( sal_Unicode cTok , sal_Unicode cStrDel ) const; OUString GetTokenSpecial(sal_Int32& nStartPos, sal_Unicode cTok = ';', sal_Unicode cStrDel = '\0') const; inline OUString& GetString() { return m_sString; } - inline void SetString(OUString aStr) { m_sString = aStr;} + inline void SetString(const OUString& aStr) { m_sString = aStr;} inline sal_Int32 Len() const { return m_sString.getLength(); } inline operator OUString&() { return m_sString; } }; |