summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-12-04 15:57:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-12-04 17:06:19 +0100
commit285b66443303b8e240a6af48adb1f58bf4f8644e (patch)
treec7052bc7c791374cd98874d7817d3b46fc40c0fc /sw/inc
parentd775d637b9ff7619aba195559deed6e9a341e372 (diff)
split up SwGetRefFieldType::FindAnchor method
to make it easier to read Change-Id: Ifaece90d4fb18be3caae9fd4afbbbdf64ff9d18a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177800 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/reffld.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/inc/reffld.hxx b/sw/inc/reffld.hxx
index a6d51679f101..471226b7f028 100644
--- a/sw/inc/reffld.hxx
+++ b/sw/inc/reffld.hxx
@@ -101,6 +101,13 @@ public:
SwTextNode* pSelf = nullptr, SwFrame* pFrame = nullptr);
void UpdateGetReferences();
void UpdateStyleReferences();
+
+private:
+ static SwTextNode* FindAnchorRefStyle( SwDoc* pDoc, const OUString& rRefMark,
+ sal_uInt16 nFlags,
+ sal_Int32* pStt, sal_Int32* pEnd,
+ SwRootFrame const* pLayout,
+ SwTextNode* pSelf, SwFrame* pFrame);
};
class SAL_DLLPUBLIC_RTTI SwGetRefField final : public SwField