diff options
-rw-r--r-- | sw/source/core/layout/pagechg.cxx | 3 |
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 ) { |