From a1eb1b6e845a7772d51755ec060300a8b746d9ff Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 20 Mar 2017 09:10:55 +0100 Subject: sw: prefix members of SwTableBoxNumFormat Change-Id: Ie5f9740f5022230d85aafb8a2921396d03abe1df Reviewed-on: https://gerrit.libreoffice.org/35453 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- sw/inc/cellatr.hxx | 4 ++-- sw/source/core/attr/cellatr.cxx | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sw') diff --git a/sw/inc/cellatr.hxx b/sw/inc/cellatr.hxx index 68b5c18be7cd..36e709af2778 100644 --- a/sw/inc/cellatr.hxx +++ b/sw/inc/cellatr.hxx @@ -30,7 +30,7 @@ namespace rtl { class OUString; } class SW_DLLPUBLIC SwTableBoxNumFormat : public SfxUInt32Item { - bool bAuto; ///< automatically given flag + bool m_bAuto; ///< automatically given flag public: SwTableBoxNumFormat( sal_uInt32 nFormat = css::util::NumberFormat::TEXT, bool bAuto = false ); @@ -42,7 +42,7 @@ public: SwTableBoxNumFormat& operator=( const SwTableBoxNumFormat& rAttr ) { SetValue( rAttr.GetValue() ); - bAuto = rAttr.bAuto; + m_bAuto = rAttr.m_bAuto; return *this; } }; diff --git a/sw/source/core/attr/cellatr.cxx b/sw/source/core/attr/cellatr.cxx index e471bd7a9686..6817eea0c6c1 100644 --- a/sw/source/core/attr/cellatr.cxx +++ b/sw/source/core/attr/cellatr.cxx @@ -32,7 +32,7 @@ #include SwTableBoxNumFormat::SwTableBoxNumFormat( sal_uInt32 nFormat, bool bFlag ) - : SfxUInt32Item( RES_BOXATR_FORMAT, nFormat ), bAuto( bFlag ) + : SfxUInt32Item( RES_BOXATR_FORMAT, nFormat ), m_bAuto( bFlag ) { } @@ -40,12 +40,12 @@ bool SwTableBoxNumFormat::operator==( const SfxPoolItem& rAttr ) const { assert(SfxPoolItem::operator==(rAttr)); return GetValue() == static_cast(rAttr).GetValue() && - bAuto == static_cast(rAttr).bAuto; + m_bAuto == static_cast(rAttr).m_bAuto; } SfxPoolItem* SwTableBoxNumFormat::Clone( SfxItemPool* ) const { - return new SwTableBoxNumFormat( GetValue(), bAuto ); + return new SwTableBoxNumFormat( GetValue(), m_bAuto ); } SwTableBoxFormula::SwTableBoxFormula( const OUString& rFormula ) -- cgit v1.2.3