diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-13 21:24:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-17 09:29:50 +0200 |
commit | 185e01c015528cafbddcda5dfdabf816ce8be20e (patch) | |
tree | 1342baec7abca149c1477902cafdd16ad8b250f7 /sc/source/filter/lotus/tool.cxx | |
parent | tdf#124032 fix Edit background drawing (diff) | |
download | core-185e01c015528cafbddcda5dfdabf816ce8be20e.tar.gz core-185e01c015528cafbddcda5dfdabf816ce8be20e.zip |
loplugin:sequentialassign in sc
Change-Id: I9287d266cd5267e194f2539f95a7efff3824e9b1
Reviewed-on: https://gerrit.libreoffice.org/70715
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/lotus/tool.cxx')
-rw-r--r-- | sc/source/filter/lotus/tool.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/filter/lotus/tool.cxx b/sc/source/filter/lotus/tool.cxx index 2c0a0f7465e9..a3de47cadefa 100644 --- a/sc/source/filter/lotus/tool.cxx +++ b/sc/source/filter/lotus/tool.cxx @@ -482,8 +482,7 @@ bool RangeNameBufferWK3::FindAbs( const OUString& rRef, sal_uInt16& rIndex ) { if (rRef.isEmpty()) return false; - OUString aTmp(rRef.copy(1)); - StringHashEntry aRef(aTmp); // search w/o '$'! + StringHashEntry aRef(rRef.copy(1)); // search w/o '$'! std::vector<Entry>::iterator itr = std::find_if(maEntries.begin(), maEntries.end(), [&aRef](const Entry& rEntry) { return aRef == rEntry.aStrHashEntry; }); |