summaryrefslogtreecommitdiff
path: root/sw/inc/expfld.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-01 09:08:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-03 11:56:43 +0200
commit4969f4c0d3e2581aaa8a5b5a5769840fa6b6f8ea (patch)
treeeb42ab5be5d8c5ca3d23b686a8781c28822381b4 /sw/inc/expfld.hxx
parentd5cc52fec12e3c8d1c3561f172d3e1c5434290b3 (diff)
loplugin:constfields in sw
Change-Id: I1eb6583bb9ec815bc0564b0d7c676f5b1fb9045f Reviewed-on: https://gerrit.libreoffice.org/61177 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/expfld.hxx')
-rw-r--r--sw/inc/expfld.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/expfld.hxx b/sw/inc/expfld.hxx
index 3081423d3627..025ff802190f 100644
--- a/sw/inc/expfld.hxx
+++ b/sw/inc/expfld.hxx
@@ -45,7 +45,7 @@ OUString ReplacePoint(const OUString& sTmpName, bool bWithCommandType = false);
struct SeqFieldLstElem
{
OUString sDlgEntry;
- sal_uInt16 nSeqNo;
+ sal_uInt16 const nSeqNo;
SeqFieldLstElem( const OUString& rStr, sal_uInt16 nNo )
: sDlgEntry( rStr ), nSeqNo( nNo )
@@ -144,7 +144,7 @@ class SwSetExpField;
class SW_DLLPUBLIC SwSetExpFieldType : public SwValueFieldType
{
- OUString m_sName;
+ OUString const m_sName;
const SwNode* m_pOutlChgNd;
OUString m_sDelim;
sal_uInt16 m_nType;
@@ -278,7 +278,7 @@ inline bool SwSetExpField::IsSequenceField() const
class SwInputFieldType : public SwFieldType
{
- SwDoc* mpDoc;
+ SwDoc* const mpDoc;
public:
SwInputFieldType( SwDoc* pDoc );
@@ -294,7 +294,7 @@ class SW_DLLPUBLIC SwInputField : public SwField
OUString maHelp;
OUString maToolTip;
sal_uInt16 mnSubType;
- bool mbIsFormField;
+ bool const mbIsFormField;
SwFormatField* mpFormatField; // attribute to which the <SwInputField> belongs to