[Libreoffice-commits] core.git: sw/source
Noel (via logerrit)
logerrit at kemper.freedesktop.org
Thu Nov 5 16:19:41 UTC 2020
sw/source/core/layout/pagechg.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit ac1b9fd57b005305ea0dd426aa33b75200c825f4
Author: Noel <noelgrandin at gmail.com>
AuthorDate: Thu Nov 5 12:16:48 2020 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Nov 5 17:18:56 2020 +0100
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 at collabora.co.uk>
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 )
{
More information about the Libreoffice-commits
mailing list