Kaydet (Commit) a1eb1b6e authored tarafından Miklos Vajna's avatar Miklos Vajna

sw: prefix members of SwTableBoxNumFormat

Change-Id: Ie5f9740f5022230d85aafb8a2921396d03abe1df
Reviewed-on: https://gerrit.libreoffice.org/35453Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst 879aa0f7
......@@ -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;
}
};
......
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment