summaryrefslogtreecommitdiff
path: root/sw/source/core/fields
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-01-15 09:09:35 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-01-15 14:07:03 +0100
commitd54824438b29e433e6178a822e9207dfe28ef9af (patch)
treec05950254f8c541b1ee88a5dc648e933af129c07 /sw/source/core/fields
parent7201d157a2ff2f0a8b6bb8fa57e31871187cbc81 (diff)
sw: prefix members of SwAuthorField, SwBreakIt and SwCombinedCharField
Change-Id: Ic277b91a75602b0997ff68feb46a9cad9dae4e46 Reviewed-on: https://gerrit.libreoffice.org/47891 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/source/core/fields')
-rw-r--r--sw/source/core/fields/docufld.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/sw/source/core/fields/docufld.cxx b/sw/source/core/fields/docufld.cxx
index 2b9158b52a6e..47a7463b298e 100644
--- a/sw/source/core/fields/docufld.cxx
+++ b/sw/source/core/fields/docufld.cxx
@@ -330,23 +330,23 @@ SwFieldType* SwAuthorFieldType::Copy() const
SwAuthorField::SwAuthorField(SwAuthorFieldType* pTyp, sal_uInt32 nFormat)
: SwField(pTyp, nFormat)
{
- aContent = SwAuthorFieldType::Expand(GetFormat());
+ m_aContent = SwAuthorFieldType::Expand(GetFormat());
}
OUString SwAuthorField::Expand() const
{
if (!IsFixed())
- const_cast<SwAuthorField*>(this)->aContent =
+ const_cast<SwAuthorField*>(this)->m_aContent =
SwAuthorFieldType::Expand(GetFormat());
- return aContent;
+ return m_aContent;
}
SwField* SwAuthorField::Copy() const
{
SwAuthorField *pTmp = new SwAuthorField( static_cast<SwAuthorFieldType*>(GetTyp()),
GetFormat());
- pTmp->SetExpansion(aContent);
+ pTmp->SetExpansion(m_aContent);
return pTmp;
}
@@ -363,7 +363,7 @@ bool SwAuthorField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const
break;
case FIELD_PROP_PAR1:
- rAny <<= aContent;
+ rAny <<= m_aContent;
break;
default:
@@ -388,7 +388,7 @@ bool SwAuthorField::PutValue( const uno::Any& rAny, sal_uInt16 nWhichId )
break;
case FIELD_PROP_PAR1:
- rAny >>= aContent;
+ rAny >>= m_aContent;
break;
default:
@@ -2539,29 +2539,29 @@ SwFieldType* SwCombinedCharFieldType::Copy() const
SwCombinedCharField::SwCombinedCharField( SwCombinedCharFieldType* pFTyp,
const OUString& rChars )
: SwField( pFTyp, 0 ),
- sCharacters( rChars.copy( 0, std::min<sal_Int32>(rChars.getLength(), MAX_COMBINED_CHARACTERS) ))
+ m_sCharacters( rChars.copy( 0, std::min<sal_Int32>(rChars.getLength(), MAX_COMBINED_CHARACTERS) ))
{
}
OUString SwCombinedCharField::Expand() const
{
- return sCharacters;
+ return m_sCharacters;
}
SwField* SwCombinedCharField::Copy() const
{
return new SwCombinedCharField( static_cast<SwCombinedCharFieldType*>(GetTyp()),
- sCharacters );
+ m_sCharacters );
}
OUString SwCombinedCharField::GetPar1() const
{
- return sCharacters;
+ return m_sCharacters;
}
void SwCombinedCharField::SetPar1(const OUString& rStr)
{
- sCharacters = rStr.copy(0, std::min<sal_Int32>(rStr.getLength(), MAX_COMBINED_CHARACTERS));
+ m_sCharacters = rStr.copy(0, std::min<sal_Int32>(rStr.getLength(), MAX_COMBINED_CHARACTERS));
}
bool SwCombinedCharField::QueryValue( uno::Any& rAny,
@@ -2570,7 +2570,7 @@ bool SwCombinedCharField::QueryValue( uno::Any& rAny,
switch( nWhichId )
{
case FIELD_PROP_PAR1:
- rAny <<= sCharacters;
+ rAny <<= m_sCharacters;
break;
default:
assert(false);