sw/inc/fmtanchr.hxx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-)
New commits: commit 912ac41182b7fc6dbc52c3e699ce5a720998c565 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Mon Nov 28 12:33:25 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Mon Nov 28 13:36:19 2022 +0100 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.gran...@collabora.co.uk> 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; };