diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-13 13:14:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-07-14 12:15:07 +0200 |
commit | 34d8eb4d3f2a75a3a072f5f6a443f959ba99113c (patch) | |
tree | 4f9e5ee058152111ed559369ac2a490ad3d06153 /svtools/source/svhtml | |
parent | 2d009c405714934ae5f95f4131510cb4e9c2493f (diff) |
clang-tidy modernize-pass-by-value in svtools
Change-Id: I60e7373c924a479fed72eb4f0538006e3e422004
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137019
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/svhtml')
-rw-r--r-- | svtools/source/svhtml/parhtml.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx index c6962824b6b6..d29027449181 100644 --- a/svtools/source/svhtml/parhtml.cxx +++ b/svtools/source/svhtml/parhtml.cxx @@ -96,10 +96,10 @@ HTMLOptionEnum<HTMLTableRules> const aTableRulesOptEnums[] = }; -HTMLOption::HTMLOption( HtmlOptionId nTok, const OUString& rToken, - const OUString& rValue ) - : aValue(rValue) - , aToken(rToken) +HTMLOption::HTMLOption( HtmlOptionId nTok, OUString _aToken, + OUString _aValue ) + : aValue(std::move(_aValue)) + , aToken(std::move(_aToken)) , nToken( nTok ) { DBG_ASSERT( nToken>=HtmlOptionId::BOOL_START && nToken<HtmlOptionId::END, |