diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-13 15:46:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-13 15:41:42 +0100 |
commit | 17e712ccc8fa93d57672916e3c8adaa8febc9f8c (patch) | |
tree | d62b91c405110bed4b90e93f8cf8237697dceec8 /sw/inc/tox.hxx | |
parent | 37dc48300cc39e98c398737453e72836618ca2ac (diff) |
Revert "loplugin:constfields in sw"
This reverts commit 4969f4c0d3e2581aaa8a5b5a5769840fa6b6f8ea.
Change-Id: I527e9366b05e8a20633720e334395b285991c524
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90473
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/tox.hxx')
-rw-r--r-- | sw/inc/tox.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/tox.hxx b/sw/inc/tox.hxx index b6cfb3298360..eed9e670aeae 100644 --- a/sw/inc/tox.hxx +++ b/sw/inc/tox.hxx @@ -158,8 +158,8 @@ public: inline TOXTypes GetType() const; private: - OUString const m_aName; - TOXTypes const m_eType; + OUString m_aName; + TOXTypes m_eType; // @@@ public copy ctor, but no copy assignment? SwTOXType & operator= (const SwTOXType &) = delete; @@ -236,7 +236,7 @@ struct SW_DLLPUBLIC SwFormToken struct SwFormTokenEqualToFormTokenType { - FormTokenType const eType; + FormTokenType eType; SwFormTokenEqualToFormTokenType(FormTokenType _eType) : eType(_eType) {} bool operator()(const SwFormToken & rToken) |