summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-11-06 08:32:47 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-06 10:44:44 +0100
commit0de59fac73861466aea95796f16a0fe17e083172 (patch)
tree34acb7638c486ac7697732e564f0cd9cf4f472a7 /sc
parent2194e2dd7e54ad6babec26cf05226b35d34cd309 (diff)
Revert "loplugin:stringbuffer"
This reverts commit f0356b6128bb4e78041d53025ad7c2e0b8e0c299. Reason for revert: There is a OUStringConcat overload for OUStringBuffer which would have kicked in here, so this is unnecessary Change-Id: I3bafb6c30bd3a2c1912daf227554889f1e09c78a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105354 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/table3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index 5ba1ee204b47..a528117f1d74 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -3111,7 +3111,7 @@ SCSIZE ScTable::Query(const ScQueryParam& rParamOrg, bool bKeepSub)
{
OUString aCellStr;
GetString(k, j, aCellStr);
- aStr.append(aCellStr).append(u"\x0001");
+ aStr.append(aCellStr + u"\x0001");
}
bResult = aStrSet.insert(aStr.makeStringAndClear()).second; // unique if inserted.