summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2024-09-08 10:29:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-09-08 18:01:22 +0200
commit68566c28b962bf46d3ffc30c635efb37df19a58e (patch)
tree1b1c7889821a19ff20f9b6ec908219129a66728f /sw/inc
parent70f3fea2f3956ec7344be45d035aafe12905896f (diff)
dont use GetItemSurrogates for gathering SwFormatURL
which is very expensive these days Change-Id: I6dbd6d1c66cd28c4f916842cd95f000215e52bc8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173033 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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 e15ba644a546..80f29accb3dd 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -1431,6 +1431,9 @@ public:
/// Iterate over all SwFormatINetFormat, if the function returns false, iteration is stopped
SW_DLLPUBLIC void ForEachINetFormat( const std::function<bool(const SwFormatINetFormat&)>& ) const;
+ /// Iterate over all SwFormatURL, if the function returns false, iteration is stopped
+ SW_DLLPUBLIC void ForEachFormatURL( const std::function<bool(const SwFormatURL&)>& ) const;
+
// Call into intransparent Basic; expect possible Return String.
void ExecMacro( const SvxMacro& rMacro, OUString* pRet, SbxArray* pArgs );