diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-12 13:06:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-12 14:17:15 +0200 |
commit | df6a8b15a67baa6e2717a7de7755ac93fdb46723 (patch) | |
tree | f00335d58e5ccb400a6ca5d7d110981fae7715d1 /sc/inc | |
parent | a72f2dcf73df9b9f4420cc93aa57a77c165a0fcb (diff) |
tdf#95549 speed up xls open
Remove the m_wThis field, and instead just check the ref count to know
if we are being called from our own destructor.
Also re-order ScCellRangesBase::Notify so we do the cheap checks first.
This shaves 2% off the load time
Change-Id: Ie95a4ff46bacba583ec4b3a934f98a9aac3551b9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120385
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/cellsuno.hxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx index b29da7c92c0b..7f1b1a0106ad 100644 --- a/sc/inc/cellsuno.hxx +++ b/sc/inc/cellsuno.hxx @@ -176,7 +176,6 @@ class SC_DLLPUBLIC ScCellRangesBase : friend class ooo::vba::excel::ScVbaCellRangeAccess; private: - css::uno::WeakReference<css::uno::XInterface> m_wThis; const SfxItemPropertySet* pPropSet; ScDocShell* pDocShell; std::unique_ptr<ScLinkListener> pValueListener; |