summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-10-28 09:02:49 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-10-28 09:06:10 +0100
commit5645fb51e112f7532b0f5e3472937c54e6704c40 (patch)
tree5730fba7d190cbd77156539f0e4af9e0170c5cc8 /sw
parent8c85e746dc52bf8ada89d4be6d193a0760af1b21 (diff)
sw: prefix members of SwTOXType
Change-Id: I8500dda538a82a920dd6164251bf193489b12a15
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/tox.hxx8
-rw-r--r--sw/source/core/tox/tox.cxx8
2 files changed, 8 insertions, 8 deletions
diff --git a/sw/inc/tox.hxx b/sw/inc/tox.hxx
index ccd41a71682a..01a6d1347a58 100644
--- a/sw/inc/tox.hxx
+++ b/sw/inc/tox.hxx
@@ -163,8 +163,8 @@ public:
inline TOXTypes GetType() const;
private:
- OUString aName;
- TOXTypes eType;
+ OUString m_aName;
+ TOXTypes m_eType;
// @@@ public copy ctor, but no copy assignment?
SwTOXType & operator= (const SwTOXType &) = delete;
@@ -668,10 +668,10 @@ inline sal_uInt16 SwForm::GetFormMax() const
//SwTOXType
inline OUString SwTOXType::GetTypeName() const
- { return aName; }
+ { return m_aName; }
inline TOXTypes SwTOXType::GetType() const
- { return eType; }
+ { return m_eType; }
// SwTOXBase
diff --git a/sw/source/core/tox/tox.cxx b/sw/source/core/tox/tox.cxx
index ed8bd3ccd986..26d7eb2a7963 100644
--- a/sw/source/core/tox/tox.cxx
+++ b/sw/source/core/tox/tox.cxx
@@ -201,15 +201,15 @@ void SwTOXMark::InsertTOXMarks( SwTOXMarks& aMarks, const SwTOXType& rType )
// Manage types of TOX
SwTOXType::SwTOXType( TOXTypes eTyp, const OUString& rName )
: SwModify(0),
- aName(rName),
- eType(eTyp)
+ m_aName(rName),
+ m_eType(eTyp)
{
}
SwTOXType::SwTOXType(const SwTOXType& rCopy)
: SwModify( const_cast<SwModify*>(rCopy.GetRegisteredIn()) ),
- aName(rCopy.aName),
- eType(rCopy.eType)
+ m_aName(rCopy.m_aName),
+ m_eType(rCopy.m_eType)
{
}