summaryrefslogtreecommitdiff
path: root/sw/inc/docufld.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-02-05 10:09:01 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-02-05 21:32:13 +0100
commit3e6b60b27fe2eb4c8d38aa4ccafaf166ebbfd76d (patch)
treedf8312f4c0609844e40ce08d0287fc0a690a3601 /sw/inc/docufld.hxx
parent94411b5765427344d106e5cca12c032ca5a1ea6a (diff)
sw: prefix members of SwHiddenParaField, SwHiddenTextField and SwJumpEditField
Change-Id: I23a5ea2d85f5f22f48a2c069d84929b4d70f62a0 Reviewed-on: https://gerrit.libreoffice.org/49225 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/inc/docufld.hxx')
-rw-r--r--sw/inc/docufld.hxx33
1 files changed, 17 insertions, 16 deletions
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx
index bcd44403e1ef..3f1f6b7c494c 100644
--- a/sw/inc/docufld.hxx
+++ b/sw/inc/docufld.hxx
@@ -277,28 +277,28 @@ public:
class SwHiddenTextFieldType : public SwFieldType
{
- bool bHidden;
+ bool m_bHidden;
public:
SwHiddenTextFieldType(bool bSetHidden = true);
virtual SwFieldType* Copy() const override;
void SetHiddenFlag( bool bSetHidden );
- bool GetHiddenFlag() const { return bHidden; }
+ bool GetHiddenFlag() const { return m_bHidden; }
};
class SW_DLLPUBLIC SwHiddenTextField : public SwField
{
- OUString aTRUEText; ///< Text if condition true.
- OUString aFALSEText; ///< If condition false.
- OUString aContent; ///< Evaluated DB-text.
+ OUString m_aTRUEText; ///< Text if condition true.
+ OUString m_aFALSEText; ///< If condition false.
+ OUString m_aContent; ///< Evaluated DB-text.
- OUString aCond; ///< Condition.
- sal_uInt16 nSubType;
+ OUString m_aCond; ///< Condition.
+ sal_uInt16 m_nSubType;
- bool bCanToggle : 1; ///< Can field be toggled alone?
- bool bIsHidden : 1; ///< Is it not visible?
- bool bValid : 1; ///< Is DB-field evaluated?
+ bool m_bCanToggle : 1; ///< Can field be toggled alone?
+ bool m_bIsHidden : 1; ///< Is it not visible?
+ bool m_bValid : 1; ///< Is DB-field evaluated?
virtual OUString Expand() const override;
virtual SwField* Copy() const override;
@@ -321,7 +321,7 @@ public:
void Evaluate(SwDoc*);
- void SetValue(bool bHidden) { bIsHidden = bHidden; }
+ void SetValue(bool bHidden) { m_bIsHidden = bHidden; }
static OUString GetColumnName(const OUString& rName);
static OUString GetDBName(const OUString& rName, SwDoc *pDoc);
@@ -355,8 +355,8 @@ public:
class SwHiddenParaField : public SwField
{
- OUString aCond;
- bool bIsHidden:1;
+ OUString m_aCond;
+ bool m_bIsHidden;
public:
/// Direct input, delete old value.
SwHiddenParaField(SwHiddenParaFieldType*, const OUString& rCond);
@@ -364,8 +364,8 @@ public:
virtual OUString Expand() const override;
virtual SwField* Copy() const override;
- void SetHidden(bool bHidden) { bIsHidden = bHidden; }
- bool IsHidden() const { return bIsHidden; }
+ void SetHidden(bool bHidden) { m_bIsHidden = bHidden; }
+ bool IsHidden() const { return m_bIsHidden; }
/// Query, set condition.
virtual OUString GetPar1() const override;
@@ -643,7 +643,8 @@ public:
class SwJumpEditField : public SwField
{
- OUString sText, sHelp;
+ OUString m_sText;
+ OUString m_sHelp;
public:
SwJumpEditField( SwJumpEditFieldType*, sal_uInt32 nFormat,
const OUString& sText, const OUString& sHelp );