summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/cellatr.hxx4
-rw-r--r--sw/source/core/attr/cellatr.cxx6
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 )