diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-03-20 09:10:55 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-03-20 12:06:30 +0000 |
commit | a1eb1b6e845a7772d51755ec060300a8b746d9ff (patch) | |
tree | 67b82e6d3ec38fe9781281d04ee7bba7ca2d6937 /sw | |
parent | 879aa0f71d98969f6bf2e540f1e95c7c9e0e05bf (diff) |
sw: prefix members of SwTableBoxNumFormat
Change-Id: Ie5f9740f5022230d85aafb8a2921396d03abe1df
Reviewed-on: https://gerrit.libreoffice.org/35453
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/cellatr.hxx | 4 | ||||
-rw-r--r-- | sw/source/core/attr/cellatr.cxx | 6 |
2 files changed, 5 insertions, 5 deletions
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 <swtable.hxx> 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<const SwTableBoxNumFormat&>(rAttr).GetValue() && - bAuto == static_cast<const SwTableBoxNumFormat&>(rAttr).bAuto; + m_bAuto == static_cast<const SwTableBoxNumFormat&>(rAttr).m_bAuto; } SfxPoolItem* SwTableBoxNumFormat::Clone( SfxItemPool* ) const { - return new SwTableBoxNumFormat( GetValue(), bAuto ); + return new SwTableBoxNumFormat( GetValue(), m_bAuto ); } SwTableBoxFormula::SwTableBoxFormula( const OUString& rFormula ) |