summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-02-20 09:27:09 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-02-20 09:12:09 +0000
commitfd27564ecbdf0a85b05e2578759dca9ad6efcd05 (patch)
tree4fa13b521ad6551a4cfc99c45554ccd531301262 /sw
parent996960f5a25c0833942c03b94356d2137c4d7557 (diff)
sw: prefix members of SwBorderAttrAccess
Change-Id: Iff8bf7d5d2b5b50e21726429c8b836ae560400e1 Reviewed-on: https://gerrit.libreoffice.org/34458 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/inc/frmtool.hxx2
-rw-r--r--sw/source/core/layout/frmtool.cxx4
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()