summaryrefslogtreecommitdiff
path: root/sc/inc/conditio.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-08-05 11:21:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-08-07 13:32:30 +0200
commit5b112c8f8843613873181fce50990a8feef837ca (patch)
tree9ebd9d01d49a0c6a058de954dc167fd4ccb4ff5c /sc/inc/conditio.hxx
parent799753cb80f4c81a6e87bf016924e0f2a29f03f0 (diff)
clang-tidy modernize-pass-by-value in sc
Change-Id: Ia7ff651d1cbc119b36a9f8052594d03650988f59 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137848 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/conditio.hxx')
-rw-r--r--sc/inc/conditio.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx
index d47b841b0880..afd16ba27365 100644
--- a/sc/inc/conditio.hxx
+++ b/sc/inc/conditio.hxx
@@ -453,7 +453,7 @@ public:
ScCondFormatEntry( ScConditionMode eOper,
const OUString& rExpr1, const OUString& rExpr2,
ScDocument& rDocument, const ScAddress& rPos,
- const OUString& rStyle,
+ OUString aStyle,
const OUString& rExprNmsp1 = OUString(),
const OUString& rExprNmsp2 = OUString(),
formula::FormulaGrammar::Grammar eGrammar1 = formula::FormulaGrammar::GRAM_DEFAULT,
@@ -462,7 +462,7 @@ public:
ScCondFormatEntry( ScConditionMode eOper,
const ScTokenArray* pArr1, const ScTokenArray* pArr2,
ScDocument& rDocument, const ScAddress& rPos,
- const OUString& rStyle );
+ OUString aStyle );
ScCondFormatEntry( const ScCondFormatEntry& r );
ScCondFormatEntry( ScDocument& rDocument, const ScCondFormatEntry& r );
virtual ~ScCondFormatEntry() override;