summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/inc/node.hxx8
-rw-r--r--sw/source/core/docnode/node.cxx18
2 files changed, 13 insertions, 13 deletions
diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx
index 9a5b903a0931..66a62506f2df 100644
--- a/sw/inc/node.hxx
+++ b/sw/inc/node.hxx
@@ -354,7 +354,7 @@ class SW_DLLPUBLIC SwContentNode: public SwModify, public SwNode, public SwIndex
{
//FEATURE::CONDCOLL
- SwDepend* pCondColl;
+ SwDepend* m_pCondColl;
//FEATURE::CONDCOLL
mutable bool mbSetModifyAtAttr;
@@ -717,13 +717,13 @@ inline const SwDoc* SwNode::GetDoc() const
inline SwFormatColl* SwContentNode::GetCondFormatColl() const
{
- return pCondColl ? static_cast<SwFormatColl*>(pCondColl->GetRegisteredIn()) : 0;
+ return m_pCondColl ? static_cast<SwFormatColl*>(m_pCondColl->GetRegisteredIn()) : 0;
}
inline SwFormatColl& SwContentNode::GetAnyFormatColl() const
{
- return pCondColl && pCondColl->GetRegisteredIn()
- ? *static_cast<SwFormatColl*>(pCondColl->GetRegisteredIn())
+ return m_pCondColl && m_pCondColl->GetRegisteredIn()
+ ? *static_cast<SwFormatColl*>(m_pCondColl->GetRegisteredIn())
: *const_cast<SwFormatColl*>(static_cast<const SwFormatColl*>(GetRegisteredIn()));
}
diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx
index 7d67454dd12b..1ecd44b818fe 100644
--- a/sw/source/core/docnode/node.cxx
+++ b/sw/source/core/docnode/node.cxx
@@ -995,7 +995,7 @@ SwContentNode::SwContentNode( const SwNodeIndex &rWhere, const sal_uInt8 nNdType
SwFormatColl *pColl )
: SwModify( pColl ), // CrsrsShell, FrameFormat,
SwNode( rWhere, nNdType ),
- pCondColl( 0 ),
+ m_pCondColl( 0 ),
mbSetModifyAtAttr( false )
{
}
@@ -1006,7 +1006,7 @@ SwContentNode::~SwContentNode()
// Thus, we need to delete all Frames in the dependency list.
DelFrms(false);
- delete pCondColl;
+ delete m_pCondColl;
if ( mpAttrSet.get() && mbSetModifyAtAttr )
const_cast<SwAttrSet*>(static_cast<const SwAttrSet*>(mpAttrSet.get()))->SetModifyAtAttr( 0 );
@@ -1698,7 +1698,7 @@ const SfxPoolItem* SwContentNode::GetNoCondAttr( sal_uInt16 nWhich,
bool bInParents ) const
{
const SfxPoolItem* pFnd = 0;
- if( pCondColl && pCondColl->GetRegisteredIn() )
+ if( m_pCondColl && m_pCondColl->GetRegisteredIn() )
{
if( !GetpSwAttrSet() || ( SfxItemState::SET != GetpSwAttrSet()->GetItemState(
nWhich, false, &pFnd ) && bInParents ))
@@ -1782,15 +1782,15 @@ bool SwContentNode::CanJoinPrev( SwNodeIndex* pIdx ) const
//FEATURE::CONDCOLL
void SwContentNode::SetCondFormatColl( SwFormatColl* pColl )
{
- if( (!pColl && pCondColl) || ( pColl && !pCondColl ) ||
- ( pColl && pColl != pCondColl->GetRegisteredIn() ) )
+ if( (!pColl && m_pCondColl) || ( pColl && !m_pCondColl ) ||
+ ( pColl && pColl != m_pCondColl->GetRegisteredIn() ) )
{
SwFormatColl* pOldColl = GetCondFormatColl();
- delete pCondColl;
+ delete m_pCondColl;
if( pColl )
- pCondColl = new SwDepend( this, pColl );
+ m_pCondColl = new SwDepend( this, pColl );
else
- pCondColl = 0;
+ m_pCondColl = 0;
if( GetpSwAttrSet() )
{
@@ -1934,7 +1934,7 @@ void SwContentNode::ChkCondColl()
if( pCColl )
SetCondFormatColl( pCColl->GetTextFormatColl() );
- else if( pCondColl )
+ else if( m_pCondColl )
SetCondFormatColl( 0 );
}
}