diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2024-09-19 19:53:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-09-20 07:52:02 +0200 |
commit | 01ab23b13297c9d7b091dfbe2850cd343fcd3e0e (patch) | |
tree | e84b8b3a66171082f83786e70aa0e92c7995d98d /sw/inc | |
parent | 1442dc4ee12251eed04e51eb324a34dc4b7973c3 (diff) |
dont use GetItemSurrogates for gathering SvxTabStopItem
which is very expensive these days
Change-Id: Iae80c9d677fd1db8606a6a3f9462fe16b110a540
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173682
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/doc.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index c11f23dcf6f6..0e16a9607e34 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -1458,6 +1458,9 @@ public: /// Iterate over all RES_TXTATR_UNKNOWN_CONTAINER SvXMLAttrContainerItem, if the function returns false, iteration is stopped SW_DLLPUBLIC void ForEachTxtAtrContainerItem(const std::function<bool(const SvXMLAttrContainerItem&)>& ) const; + /// Iterate over all RES_PARATR_TABSTOP SvxTabStopItem, if the function returns false, iteration is stopped + SW_DLLPUBLIC void ForEachParaAtrTabStopItem(const std::function<bool(const SvxTabStopItem&)>& ) const; + // Call into intransparent Basic; expect possible Return String. void ExecMacro( const SvxMacro& rMacro, OUString* pRet, SbxArray* pArgs ); |