summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-19 08:40:48 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-19 08:40:48 +0100
commit42bfcce1231f8f91056ddbc3ad8771e57b540b52 (patch)
tree36dfcd5b84c68655f47cea4f412815f921afdb16 /extensions
parent4da1eb8404c726a22c2b43aff544d26ad5d42af6 (diff)
loplugin:passstringbyref
Change-Id: If08dab3956da5c0ee90d6a788f6f34a936e792d7
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/update/check/updateinfo.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/update/check/updateinfo.hxx b/extensions/source/update/check/updateinfo.hxx
index 67acd557be0c..9896270363da 100644
--- a/extensions/source/update/check/updateinfo.hxx
+++ b/extensions/source/update/check/updateinfo.hxx
@@ -41,8 +41,8 @@ struct ReleaseNote
sal_uInt8 Pos2;
OUString URL2;
- ReleaseNote(sal_uInt8 pos, const OUString aURL) : Pos(pos), URL(aURL), Pos2(0), URL2() {};
- ReleaseNote(sal_uInt8 pos, const OUString aURL, sal_uInt8 pos2, const OUString aURL2) : Pos(pos), URL(aURL), Pos2(pos2), URL2(aURL2) {};
+ ReleaseNote(sal_uInt8 pos, const OUString& aURL) : Pos(pos), URL(aURL), Pos2(0), URL2() {};
+ ReleaseNote(sal_uInt8 pos, const OUString& aURL, sal_uInt8 pos2, const OUString& aURL2) : Pos(pos), URL(aURL), Pos2(pos2), URL2(aURL2) {};
ReleaseNote(const ReleaseNote& rn) :Pos(rn.Pos), URL(rn.URL), Pos2(rn.Pos2), URL2(rn.URL2) {};
ReleaseNote & operator=( const ReleaseNote& rn) { Pos=rn.Pos; URL=rn.URL; Pos2=rn.Pos2; URL2=rn.URL2; return *this; };