summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-11-24 10:52:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-11-24 11:58:04 +0100
commitdd90710a0acd58ac76bdbe9809382fa266733167 (patch)
tree6952afdcb22167a29fd0ae5aed3ed83d64686daf /sw/inc
parentfebf6795f68efcdc05a4bcb19a2b6636226b026d (diff)
add SwFormatAnchor::GetAnchorNode method
as a step towards switching away from using SwPosition inside SwFormatAnchor (because SwFormatAnchor wants to do weird stuff with the internals of SwPosition) Change-Id: I1527b6585d1e130b46e1e51b1e40eea043339d8f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143205 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/fmtanchr.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/fmtanchr.hxx b/sw/inc/fmtanchr.hxx
index 8dc5ecf59db6..582801d379f0 100644
--- a/sw/inc/fmtanchr.hxx
+++ b/sw/inc/fmtanchr.hxx
@@ -70,6 +70,8 @@ public:
// #i28701#
sal_uInt32 GetOrder() const { return m_nOrder;}
+ SwNode* GetAnchorNode() const;
+
void SetType( RndStdIds nRndId ) { m_eAnchorId = nRndId; }
void SetPageNum( sal_uInt16 nNew ) { m_nPageNumber = nNew; }
void SetAnchor( const SwPosition *pPos );