Kaydet (Commit) 5645fb51 authored tarafından Miklos Vajna's avatar Miklos Vajna

sw: prefix members of SwTOXType

Change-Id: I8500dda538a82a920dd6164251bf193489b12a15
üst 8c85e746
......@@ -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
......
......@@ -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)
{
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment