diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/inc/frmtool.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/layout/frmtool.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/inc/frmtool.hxx b/sw/source/core/inc/frmtool.hxx index ed803b300ac5..a94dc263fd2a 100644 --- a/sw/source/core/inc/frmtool.hxx +++ b/sw/source/core/inc/frmtool.hxx @@ -367,7 +367,7 @@ public: class SwBorderAttrAccess : public SwCacheAccess { - const SwFrame *pConstructor; //opt: for passing on to SwBorderAttrs + const SwFrame *m_pConstructor; //opt: for passing on to SwBorderAttrs protected: virtual SwCacheObj *NewObj() override; diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx index 48f293ad3e24..b2c88d2f6d9d 100644 --- a/sw/source/core/layout/frmtool.cxx +++ b/sw/source/core/layout/frmtool.cxx @@ -2127,14 +2127,14 @@ SwBorderAttrAccess::SwBorderAttrAccess( SwCache &rCach, const SwFrame *pFrame ) (pFrame->IsContentFrame() ? static_cast<SwModify const *>(static_cast<const SwContentFrame*>(pFrame)->GetNode())->IsInCache() : static_cast<SwModify const *>(static_cast<const SwLayoutFrame*>(pFrame)->GetFormat())->IsInCache()) ), - pConstructor( pFrame ) + m_pConstructor( pFrame ) { } SwCacheObj *SwBorderAttrAccess::NewObj() { const_cast<SwModify *>(static_cast<SwModify const *>(m_pOwner))->SetInCache( true ); - return new SwBorderAttrs( static_cast<SwModify const *>(m_pOwner), pConstructor ); + return new SwBorderAttrs( static_cast<SwModify const *>(m_pOwner), m_pConstructor ); } SwBorderAttrs *SwBorderAttrAccess::Get() |