summaryrefslogtreecommitdiff
path: root/include/svtools/inettbc.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 11:30:11 +0200
committerNoel Grandin <noel@peralex.com>2016-04-13 13:27:53 +0200
commit19b34c0039c6293f9b37aa70f8055aa2be28ba09 (patch)
tree04463a78141cd94ee70cd463ba7687993410c276 /include/svtools/inettbc.hxx
parentfe8896bab01ccb595c993e54866a01f554b54f4f (diff)
loplugin:passstuffbyref in svtools
Change-Id: Ie166eaef65e56fafe4e57a5559b587d7558d7aa4
Diffstat (limited to 'include/svtools/inettbc.hxx')
-rw-r--r--include/svtools/inettbc.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svtools/inettbc.hxx b/include/svtools/inettbc.hxx
index e6435f1a2ce6..1b39f8fb8720 100644
--- a/include/svtools/inettbc.hxx
+++ b/include/svtools/inettbc.hxx
@@ -87,7 +87,7 @@ public:
{ bIsAutoCompleteEnabled = _bEnable; }
void SetPlaceHolder( const OUString& sPlaceHolder )
{ aPlaceHolder = sPlaceHolder; }
- OUString GetPlaceHolder() { return aPlaceHolder; }
+ const OUString& GetPlaceHolder() { return aPlaceHolder; }
bool MatchesPlaceHolder( const OUString& sToMatch ) const
{ return ( !aPlaceHolder.isEmpty() ) && ( aPlaceHolder == sToMatch ); }
};