summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-31 20:20:00 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-31 23:08:51 +0100
commit20c015f2726904b0d96380a1ec16e7d7406acca1 (patch)
tree304813e02b61bc9ad849a35ee314d48dbd92993f /sc
parentc77ecfbdbee4b03225e9dad7cbedd5c9c7be0995 (diff)
cid#1546464 COPY_INSTEAD_OF_MOVE
and cid#1546346 COPY_INSTEAD_OF_MOVE cid#1546342 COPY_INSTEAD_OF_MOVE cid#1546320 COPY_INSTEAD_OF_MOVE cid#1546305 COPY_INSTEAD_OF_MOVE cid#1546241 COPY_INSTEAD_OF_MOVE cid#1546162 COPY_INSTEAD_OF_MOVE cid#1546118 COPY_INSTEAD_OF_MOVE cid#1546048 COPY_INSTEAD_OF_MOVE cid#1545989 COPY_INSTEAD_OF_MOVE cid#1545936 COPY_INSTEAD_OF_MOVE Change-Id: I63bc43378b36f7c49e66231152138ad7038971e1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161507 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/fstalgorithm.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/inc/fstalgorithm.hxx b/sc/inc/fstalgorithm.hxx
index 7db039fd0905..6cd67c8cf7dd 100644
--- a/sc/inc/fstalgorithm.hxx
+++ b/sc/inc/fstalgorithm.hxx
@@ -117,8 +117,7 @@ std::vector<Span> toSpanArray( const mdds::flat_segment_tree<Key,bool>& rTree, K
// Tree search failed.
return aSpans;
- typename FstType::const_iterator it = r.first, itEnd = rTree.end();
- buildSpan<Key,Span>(aSpans, it, itEnd, &nStartPos);
+ buildSpan<Key,Span>(aSpans, r.first, rTree.end(), &nStartPos);
return aSpans;
}