summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/number.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-02-04 10:50:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-02-04 12:55:21 +0100
commit4d307299bc7aada87d13810f12b9868045d15743 (patch)
treea9c5acf9ceaff1813f07d6cbf51134323157e1c8 /sw/source/core/doc/number.cxx
parent02c5a61944a212ecc4573001a2fb853339448b03 (diff)
std::set<T*> -> o3tl::sorted_vector in sw/
Change-Id: I7b8e221b9e76f98efdbed9ee1c83e32379fde73f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87951 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/doc/number.cxx')
-rw-r--r--sw/source/core/doc/number.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx
index 9fa258c5676f..0db3e7820bc3 100644
--- a/sw/source/core/doc/number.cxx
+++ b/sw/source/core/doc/number.cxx
@@ -868,7 +868,7 @@ void SwNumRule::SetInvalidRule(bool bFlag)
{
if (bFlag)
{
- std::set< SwList* > aLists;
+ o3tl::sorted_vector< SwList* > aLists;
for ( const SwTextNode* pTextNode : maTextNodeList )
{
// #i111681# - applying patch from cmc
@@ -980,7 +980,7 @@ void SwNumRule::SetIndentOfFirstListLevelAndChangeOthers( const short nNewIndent
void SwNumRule::Validate()
{
- std::set< SwList* > aLists;
+ o3tl::sorted_vector< SwList* > aLists;
for ( const SwTextNode* pTextNode : maTextNodeList )
{
aLists.insert( pTextNode->GetDoc()->getIDocumentListsAccess().getListByName( pTextNode->GetListId() ) );