summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-11-28 12:33:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-11-28 13:36:19 +0100
commit912ac41182b7fc6dbc52c3e699ce5a720998c565 (patch)
tree201713b0a1882349bd25d4217aff31a1b5c92108 /sw/inc
parent035bdbab49bb15a88d1c653dbf098ec3c17e0bde (diff)
re-order methods a little in SwFormatAnchor
group them more logically Change-Id: I3b3d4bdbe7d4f38d03503928c1c1c054844c51cf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143379 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/fmtanchr.hxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/sw/inc/fmtanchr.hxx b/sw/inc/fmtanchr.hxx
index 582801d379f0..8a4001319b25 100644
--- a/sw/inc/fmtanchr.hxx
+++ b/sw/inc/fmtanchr.hxx
@@ -65,17 +65,18 @@ public:
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
RndStdIds GetAnchorId() const { return m_eAnchorId; }
+ void SetType( RndStdIds nRndId ) { m_eAnchorId = nRndId; }
+
sal_uInt16 GetPageNum() const { return m_nPageNumber; }
- const SwPosition* GetContentAnchor() const { return m_oContentAnchor ? &*m_oContentAnchor : nullptr; }
- // #i28701#
- sal_uInt32 GetOrder() const { return m_nOrder;}
+ void SetPageNum( sal_uInt16 nNew ) { m_nPageNumber = nNew; }
SwNode* GetAnchorNode() const;
-
- void SetType( RndStdIds nRndId ) { m_eAnchorId = nRndId; }
- void SetPageNum( sal_uInt16 nNew ) { m_nPageNumber = nNew; }
+ const SwPosition* GetContentAnchor() const { return m_oContentAnchor ? &*m_oContentAnchor : nullptr; }
void SetAnchor( const SwPosition *pPos );
+ // #i28701#
+ sal_uInt32 GetOrder() const { return m_nOrder;}
+
void dumpAsXml(xmlTextWriterPtr pWriter) const override;
};