summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/cellatr.hxx6
-rw-r--r--sw/source/core/attr/cellatr.cxx14
2 files changed, 10 insertions, 10 deletions
diff --git a/sw/inc/cellatr.hxx b/sw/inc/cellatr.hxx
index af49f782070a..68b5c18be7cd 100644
--- a/sw/inc/cellatr.hxx
+++ b/sw/inc/cellatr.hxx
@@ -49,7 +49,7 @@ public:
class SwTableBoxFormula : public SfxPoolItem, public SwTableFormula
{
- SwModify* pDefinedIn; // Modify object where the formula is located
+ SwModify* m_pDefinedIn; // Modify object where the formula is located
// can only be TableBoxFormat
public:
@@ -59,9 +59,9 @@ public:
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool* pPool = nullptr ) const override;
- const SwModify* GetDefinedIn() const { return pDefinedIn; }
+ const SwModify* GetDefinedIn() const { return m_pDefinedIn; }
void ChgDefinedIn( const SwModify* pNew )
- { pDefinedIn = const_cast<SwModify*>(pNew); }
+ { m_pDefinedIn = const_cast<SwModify*>(pNew); }
// BoxAttribut -> BoxStartNode
virtual const SwNode* GetNodeOfFormula() const override;
diff --git a/sw/source/core/attr/cellatr.cxx b/sw/source/core/attr/cellatr.cxx
index 6a0401b2b5f6..e471bd7a9686 100644
--- a/sw/source/core/attr/cellatr.cxx
+++ b/sw/source/core/attr/cellatr.cxx
@@ -51,7 +51,7 @@ SfxPoolItem* SwTableBoxNumFormat::Clone( SfxItemPool* ) const
SwTableBoxFormula::SwTableBoxFormula( const OUString& rFormula )
: SfxPoolItem( RES_BOXATR_FORMULA ),
SwTableFormula( rFormula ),
- pDefinedIn( nullptr )
+ m_pDefinedIn( nullptr )
{
}
@@ -59,7 +59,7 @@ bool SwTableBoxFormula::operator==( const SfxPoolItem& rAttr ) const
{
assert(SfxPoolItem::operator==(rAttr));
return GetFormula() == static_cast<const SwTableBoxFormula&>(rAttr).GetFormula() &&
- pDefinedIn == static_cast<const SwTableBoxFormula&>(rAttr).pDefinedIn;
+ m_pDefinedIn == static_cast<const SwTableBoxFormula&>(rAttr).m_pDefinedIn;
}
SfxPoolItem* SwTableBoxFormula::Clone( SfxItemPool* ) const
@@ -80,9 +80,9 @@ SfxPoolItem* SwTableBoxFormula::Clone( SfxItemPool* ) const
const SwNode* SwTableBoxFormula::GetNodeOfFormula() const
{
const SwNode* pRet = nullptr;
- if( pDefinedIn )
+ if( m_pDefinedIn )
{
- SwTableBox* pBox = SwIterator<SwTableBox,SwModify>( *pDefinedIn ).First();
+ SwTableBox* pBox = SwIterator<SwTableBox,SwModify>( *m_pDefinedIn ).First();
if( pBox )
pRet = pBox->GetSttNd();
}
@@ -92,14 +92,14 @@ const SwNode* SwTableBoxFormula::GetNodeOfFormula() const
SwTableBox* SwTableBoxFormula::GetTableBox()
{
SwTableBox* pBox = nullptr;
- if( pDefinedIn )
- pBox = SwIterator<SwTableBox,SwModify>( *pDefinedIn ).First();
+ if( m_pDefinedIn )
+ pBox = SwIterator<SwTableBox,SwModify>( *m_pDefinedIn ).First();
return pBox;
}
void SwTableBoxFormula::ChangeState( const SfxPoolItem* pItem )
{
- if( !pDefinedIn )
+ if( !m_pDefinedIn )
return ;
SwTableFormulaUpdate* pUpdateField;