diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-26 18:59:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-29 08:30:00 +0200 |
commit | 24503d5ddfc0a83ac88aa23d03b69ed47f989e8e (patch) | |
tree | 39683a5df5964b1f6b03e16f574e7ca4e34440ee /include/svx/xflhtit.hxx | |
parent | tdf#120135 Currency icon must not show the dollar sign SIFR (diff) | |
download | core-24503d5ddfc0a83ac88aa23d03b69ed47f989e8e.tar.gz core-24503d5ddfc0a83ac88aa23d03b69ed47f989e8e.zip |
tdf#63640 FILEOPEN/FILESAVE: particular .odt loads/saves very slow, part1
Make CntUnencodedStringItem sortable, implementing operator<.
This takes the load time from 4s to 3.3s
Change-Id: I532cdf65149a733d41d2caf367675800d2ba4d41
Reviewed-on: https://gerrit.libreoffice.org/71460
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/xflhtit.hxx')
-rw-r--r-- | include/svx/xflhtit.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svx/xflhtit.hxx b/include/svx/xflhtit.hxx index a81e7232abfa..1f85088ad7cb 100644 --- a/include/svx/xflhtit.hxx +++ b/include/svx/xflhtit.hxx @@ -41,6 +41,8 @@ public: XFillHatchItem(const XFillHatchItem& rItem); virtual bool operator==(const SfxPoolItem& rItem) const override; + // NameOrIndex is sortable, but we are not + virtual bool IsSortable() const override { return false; } virtual SfxPoolItem* Clone(SfxItemPool* pPool = nullptr) const override; virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; |