diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2023-02-26 20:37:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-02-27 05:43:11 +0000 |
commit | 09680fadbcd85da3405cefeed66712bc0ba2be9c (patch) | |
tree | 56e32ecc03bf9f4e3a484af5150bc58abeae3fb6 /sc/source/ui/inc/tpsort.hxx | |
parent | 44a3085f9aaf0dfc62b1a8f34d3b8889d69c4e62 (diff) |
no need to hold CollatorWrapper by std::unique_ptr
allocate it inline, it is only one pointer in size
Change-Id: Idb6217e6c9c37da92427aa6c497223a84015c553
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147742
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/inc/tpsort.hxx')
-rw-r--r-- | sc/source/ui/inc/tpsort.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/tpsort.hxx b/sc/source/ui/inc/tpsort.hxx index 655f3a7732ed..4e6a36ca9da5 100644 --- a/sc/source/ui/inc/tpsort.hxx +++ b/sc/source/ui/inc/tpsort.hxx @@ -121,7 +121,7 @@ private: ScAddress theOutPos; std::unique_ptr<CollatorResource> m_xColRes; - std::unique_ptr<CollatorWrapper> m_xColWrap; + std::optional<CollatorWrapper> m_oColWrap; std::unique_ptr<weld::CheckButton> m_xBtnCase; std::unique_ptr<weld::CheckButton> m_xBtnFormats; |