summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-13 16:41:40 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-14 12:28:46 +0100
commit7dd028c0e498ba86d96e0e99744fec6ddc21a91d (patch)
tree38fc4a741aee2272ddfcd1f411920dd8fcd25f58 /sc/inc
parent2ee0500b6033e7dbfef221e28042f23da361869e (diff)
cid#1545211 COPY_INSTEAD_OF_MOVE
and cid#1545218 COPY_INSTEAD_OF_MOVE cid#1545232 COPY_INSTEAD_OF_MOVE cid#1545243 COPY_INSTEAD_OF_MOVE cid#1545246 COPY_INSTEAD_OF_MOVE cid#1545251 COPY_INSTEAD_OF_MOVE cid#1545260 COPY_INSTEAD_OF_MOVE cid#1545261 COPY_INSTEAD_OF_MOVE cid#1545276 COPY_INSTEAD_OF_MOVE cid#1545295 COPY_INSTEAD_OF_MOVE cid#1545297 COPY_INSTEAD_OF_MOVE cid#1545301 COPY_INSTEAD_OF_MOVE cid#1545302 COPY_INSTEAD_OF_MOVE Change-Id: I97ba935a4a2b8715b55ebbf6e853a66260b2eb90 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160686 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/fstalgorithm.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/sc/inc/fstalgorithm.hxx b/sc/inc/fstalgorithm.hxx
index f3f189184360..7db039fd0905 100644
--- a/sc/inc/fstalgorithm.hxx
+++ b/sc/inc/fstalgorithm.hxx
@@ -76,12 +76,8 @@ void buildSpanWithValue(
template<typename Key, typename Span>
std::vector<Span> toSpanArray( const mdds::flat_segment_tree<Key,bool>& rTree )
{
- typedef mdds::flat_segment_tree<Key,bool> FstType;
-
std::vector<Span> aSpans;
-
- typename FstType::const_iterator it = rTree.begin(), itEnd = rTree.end();
- buildSpan<Key,Span>(aSpans, it, itEnd, nullptr);
+ buildSpan<Key,Span>(aSpans, rTree.begin(), rTree.end(), nullptr);
return aSpans;
}