diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-01 09:08:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-03 11:56:43 +0200 |
commit | 4969f4c0d3e2581aaa8a5b5a5769840fa6b6f8ea (patch) | |
tree | eb42ab5be5d8c5ca3d23b686a8781c28822381b4 /sw/inc/docufld.hxx | |
parent | d5cc52fec12e3c8d1c3561f172d3e1c5434290b3 (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/docufld.hxx')
-rw-r--r-- | sw/inc/docufld.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx index 043e55d1e5c0..ead0f04620b4 100644 --- a/sw/inc/docufld.hxx +++ b/sw/inc/docufld.hxx @@ -376,7 +376,7 @@ public: class SwMacroFieldType : public SwFieldType { - SwDoc* m_pDoc; + SwDoc* const m_pDoc; public: SwMacroFieldType(SwDoc*); @@ -425,7 +425,7 @@ public: class SwPostItFieldType : public SwFieldType { private: - SwDoc* mpDoc; + SwDoc* const mpDoc; public: SwPostItFieldType(SwDoc* pDoc); @@ -668,7 +668,7 @@ public: class SwScriptFieldType : public SwFieldType { - SwDoc* m_pDoc; + SwDoc* const m_pDoc; public: SwScriptFieldType( SwDoc* pDoc ); |