summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2024-09-17 20:19:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-09-18 09:24:18 +0200
commitb6a5cdc0f753c8ed6ed080f9189ac2e2601dce9d (patch)
treedf60f9a7f31739a88b456c1fd43c9271de842be0 /sw/inc
parent750be5370638917361ec9cc2e7d016e4caf2416e (diff)
dont use GetItemSurrogates for gathering SvxBrushItem
which is very expensive these days Change-Id: I010d174fbd256da0b220e13cbc50d9b4d8c6b1bd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173576 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/doc.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index 9b6e56db50d9..1f5ec0e53094 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -1449,6 +1449,9 @@ public:
/// Iterate over all RES_CHRATR_UNDERLINE SvxUnderlineItem, if the function returns false, iteration is stopped
SW_DLLPUBLIC void ForEachCharacterUnderlineItem(const std::function<bool(const SvxUnderlineItem&)>& ) const;
+ /// Iterate over all RES_CHRATR_BACKGROUND SvxBrushItem, if the function returns false, iteration is stopped
+ SW_DLLPUBLIC void ForEachCharacterBrushItem(const std::function<bool(const SvxBrushItem&)>& ) const;
+
// Call into intransparent Basic; expect possible Return String.
void ExecMacro( const SvxMacro& rMacro, OUString* pRet, SbxArray* pArgs );