diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-06 20:53:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-07 17:51:52 +0200 |
commit | 4c76bcb5f35527283c6070fc8e3911a35734eba1 (patch) | |
tree | 87fc65acaebf7d7c11834cb364416d63cb8c4e61 /include | |
parent | f6b143a57d9bd8f5d7b29febcb4e01ee1eb2ff1d (diff) |
tdf#132740 avoid some WeakReference cost in accessibility
reduces time by 20% for me
Change-Id: Ife78248fd36099298eb2401b362f16a1ae3c0434
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118534
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/AccessibleParaManager.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/editeng/AccessibleParaManager.hxx b/include/editeng/AccessibleParaManager.hxx index d496be8afb28..5330e1100893 100644 --- a/include/editeng/AccessibleParaManager.hxx +++ b/include/editeng/AccessibleParaManager.hxx @@ -138,6 +138,7 @@ namespace accessibility sal_Int32 nParagraphIndex ); WeakChild GetChild( sal_Int32 nParagraphIndex ) const; + bool HasCreatedChild( sal_Int32 nParagraphIndex ) const; // forwarder to all paragraphs /// Make all children active and editable (or off) |