diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-05-13 16:28:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-05-16 11:49:25 +0200 |
commit | b27755b704fa4866025f1ed6d26c0d43aafa3407 (patch) | |
tree | 94513403f93738df001d7f121912b72fca053efe /include/svl | |
parent | 4b04eae81478d4aa19f3bdc3f2d6247063aeb6cd (diff) |
tdf#125254 Performance: A spreadsheet opens too slow, part1
This takes the opening time from 55s to 48s for me.
Change-Id: Ia60fff33e9948e0bd6906c82b48aa30f8b2551bb
Reviewed-on: https://gerrit.libreoffice.org/72394
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svl')
-rw-r--r-- | include/svl/listener.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svl/listener.hxx b/include/svl/listener.hxx index 5ba14aea953e..38d72552618a 100644 --- a/include/svl/listener.hxx +++ b/include/svl/listener.hxx @@ -21,7 +21,7 @@ #include <svl/svldllapi.h> -#include <unordered_set> +#include <o3tl/sorted_vector.hxx> class SvtBroadcaster; class SfxHint; @@ -29,7 +29,7 @@ class SfxHint; class SVL_DLLPUBLIC SvtListener { friend class SvtBroadcaster; - typedef std::unordered_set<SvtBroadcaster*> BroadcastersType; + typedef o3tl::sorted_vector<SvtBroadcaster*> BroadcastersType; BroadcastersType maBroadcasters; const SvtListener& operator=(const SvtListener &) = delete; |