diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-13 13:12:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-13 13:13:38 +0200 |
commit | 41776e53c54968881021c25f1173d190cfd2ba5d (patch) | |
tree | 82a10d8f6b237879bde8acdc38e0f9e07bbfb87e /svtools/source/control/inettbc.cxx | |
parent | d575b23c187fb66bbe13c4fe6df8a8cb1ccbc135 (diff) |
svtools,svx: prefer passing OUString and OString by reference
Change-Id: Iceb2cbcda9d8ddb4ee00db9365c751e0e5d8b3a6
Diffstat (limited to 'svtools/source/control/inettbc.cxx')
-rw-r--r-- | svtools/source/control/inettbc.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx index 33bcf894b1b7..5a2e8b822b73 100644 --- a/svtools/source/control/inettbc.cxx +++ b/svtools/source/control/inettbc.cxx @@ -469,9 +469,11 @@ void SvtMatchContext_Impl::ReadFolder( const OUString& rURL, } -OUString SvtURLBox::ParseSmart( OUString aText, OUString aBaseURL, const OUString& aWorkDir ) +OUString SvtURLBox::ParseSmart( const OUString& _aText, const OUString& _aBaseURL, const OUString& aWorkDir ) { OUString aMatch; + OUString aText = _aText; + OUString aBaseURL = _aBaseURL; // parse ~ for Unix systems // does nothing for Windows |