summaryrefslogtreecommitdiff
path: root/sw/inc/fmtanchr.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-07-17 08:08:04 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-07-17 09:08:43 +0200
commitd62d7803adb65c6c6469bf0709dc862d3b06c4a4 (patch)
tree0a2ecb985cea595c16eba6dfeacdfdf83eac6290 /sw/inc/fmtanchr.hxx
parentd0264b0748b16d63fdd213a9b9e826ced2dc42f2 (diff)
sw: prefix members of SwFormatAnchor
Members had "", "m" and "m_" as prefixes, standardize on the later. Change-Id: I468b3444e4918809bc9a07884c662af042abbd9e Reviewed-on: https://gerrit.libreoffice.org/40034 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/inc/fmtanchr.hxx')
-rw-r--r--sw/inc/fmtanchr.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/inc/fmtanchr.hxx b/sw/inc/fmtanchr.hxx
index 374f014930ed..f96cff887334 100644
--- a/sw/inc/fmtanchr.hxx
+++ b/sw/inc/fmtanchr.hxx
@@ -36,12 +36,12 @@ class SW_DLLPUBLIC SwFormatAnchor: public SfxPoolItem
std::unique_ptr<SwPosition> m_pContentAnchor; /**< 0 for page-bound frames.
Index for paragraph-bound frames.
Position for character-bound frames. */
- RndStdIds nAnchorId;
- sal_uInt16 nPageNum; ///< Page number for page-bound frames.
+ RndStdIds m_eAnchorId;
+ sal_uInt16 m_nPageNumber; ///< Page number for page-bound frames.
/// #i28701# - getting anchor positions ordered
- sal_uInt32 mnOrder;
- static sal_uInt32 mnOrderCounter;
+ sal_uInt32 m_nOrder;
+ static sal_uInt32 m_nOrderCounter;
public:
SwFormatAnchor( RndStdIds eRnd = RndStdIds::FLY_AT_PAGE, sal_uInt16 nPageNum = 0 );
@@ -62,14 +62,14 @@ public:
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
- RndStdIds GetAnchorId() const { return nAnchorId; }
- sal_uInt16 GetPageNum() const { return nPageNum; }
+ RndStdIds GetAnchorId() const { return m_eAnchorId; }
+ sal_uInt16 GetPageNum() const { return m_nPageNumber; }
const SwPosition *GetContentAnchor() const { return m_pContentAnchor.get(); }
// #i28701#
- sal_uInt32 GetOrder() const { return mnOrder;}
+ sal_uInt32 GetOrder() const { return m_nOrder;}
- void SetType( RndStdIds nRndId ) { nAnchorId = nRndId; }
- void SetPageNum( sal_uInt16 nNew ) { nPageNum = nNew; }
+ void SetType( RndStdIds nRndId ) { m_eAnchorId = nRndId; }
+ void SetPageNum( sal_uInt16 nNew ) { m_nPageNumber = nNew; }
void SetAnchor( const SwPosition *pPos );
void dumpAsXml(struct _xmlTextWriter* pWriter) const override;