summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-11-05 12:16:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-05 17:18:56 +0100
commitac1b9fd57b005305ea0dd426aa33b75200c825f4 (patch)
tree4b4f62e9dde14d4fe166394ee408a03b96a401f5
parenttdf#109266 sw change tracking: track transliteration (diff)
downloadcore-ac1b9fd57b005305ea0dd426aa33b75200c825f4.tar.gz
core-ac1b9fd57b005305ea0dd426aa33b75200c825f4.zip
std::set->o3tl::sorted_set in AssertFlyPages
Change-Id: I47b6f51d669d810c83d9c5a659b662fe1ffd0b8b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105336 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--sw/source/core/layout/pagechg.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx
index af4a5e1680ab..c322a0d7b496 100644
--- a/sw/source/core/layout/pagechg.cxx
+++ b/sw/source/core/layout/pagechg.cxx
@@ -1520,7 +1520,8 @@ void SwRootFrame::AssertFlyPages()
// what page targets the "last" Fly?
// note the needed pages in a set
sal_uInt16 nMaxPg(0);
- std::set< sal_uInt16 > neededPages;
+ o3tl::sorted_vector< sal_uInt16 > neededPages;
+ neededPages.reserve(pTable->size());
for ( size_t i = 0; i < pTable->size(); ++i )
{