[Libreoffice-commits] core.git: sw/inc sw/source
Miklos Vajna
vmiklos at collabora.co.uk
Mon Mar 20 12:06:53 UTC 2017
sw/inc/cellatr.hxx | 4 ++--
sw/source/core/attr/cellatr.cxx | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
New commits:
commit a1eb1b6e845a7772d51755ec060300a8b746d9ff
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Mon Mar 20 09:10:55 2017 +0100
sw: prefix members of SwTableBoxNumFormat
Change-Id: Ie5f9740f5022230d85aafb8a2921396d03abe1df
Reviewed-on: https://gerrit.libreoffice.org/35453
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
Tested-by: Jenkins <ci at libreoffice.org>
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 )
More information about the Libreoffice-commits
mailing list