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/hints.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/hints.hxx')
-rw-r--r-- | sw/inc/hints.hxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sw/inc/hints.hxx b/sw/inc/hints.hxx index bb322c4c640a..9a79579c16ef 100644 --- a/sw/inc/hints.hxx +++ b/sw/inc/hints.hxx @@ -64,15 +64,15 @@ public: class SwFormatChg final : public SwMsgPoolItem { public: - SwFormat * const pChangedFormat; + SwFormat *pChangedFormat; SwFormatChg( SwFormat *pFormat ); }; class SwInsText final : public SwMsgPoolItem { public: - sal_Int32 const nPos; - sal_Int32 const nLen; + sal_Int32 nPos; + sal_Int32 nLen; SwInsText( sal_Int32 nP, sal_Int32 nL ); }; @@ -80,7 +80,7 @@ public: class SwDelChr final : public SwMsgPoolItem { public: - sal_Int32 const nPos; + sal_Int32 nPos; SwDelChr( sal_Int32 nP ); }; @@ -88,8 +88,8 @@ public: class SwDelText final : public SwMsgPoolItem { public: - sal_Int32 const nStart; - sal_Int32 const nLen; + sal_Int32 nStart; + sal_Int32 nLen; SwDelText( sal_Int32 nS, sal_Int32 nL ); }; @@ -112,8 +112,8 @@ public: class RedlineDelText final : public SfxHint { public: - sal_Int32 const nStart; - sal_Int32 const nLen; + sal_Int32 nStart; + sal_Int32 nLen; RedlineDelText(sal_Int32 nS, sal_Int32 nL); }; @@ -133,9 +133,9 @@ public: class SwUpdateAttr final : public SwMsgPoolItem { private: - sal_Int32 const m_nStart; - sal_Int32 const m_nEnd; - sal_uInt16 const m_nWhichAttr; + sal_Int32 m_nStart; + sal_Int32 m_nEnd; + sal_uInt16 m_nWhichAttr; std::vector<sal_uInt16> m_aWhichFmtAttrs; // attributes changed inside RES_TXTATR_AUTOFMT public: @@ -227,7 +227,7 @@ public: */ class SwAttrSetChg final : public SwMsgPoolItem { - bool const m_bDelSet; + bool m_bDelSet; SwAttrSet* m_pChgSet; ///< what has changed const SwAttrSet* m_pTheChgdSet; ///< is only used to compare public: @@ -254,7 +254,7 @@ public: class SwCondCollCondChg final : public SwMsgPoolItem { public: - SwFormat * const pChangedFormat; + SwFormat *pChangedFormat; SwCondCollCondChg( SwFormat *pFormat ); }; @@ -287,7 +287,7 @@ public: class SwStringMsgPoolItem final : public SwMsgPoolItem { - OUString const m_sStr; + OUString m_sStr; public: const OUString& GetString() const { return m_sStr; } |