diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-11 16:35:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-12 07:31:50 +0100 |
commit | 9d4c36d7914e2746a751a56de01063c9159f0f99 (patch) | |
tree | dc1723268647e1600db2ccaae5400ad0e72524fe /sc/inc/dptabres.hxx | |
parent | 31bf558349d9ab2634e9a866edf79bc115d649ce (diff) |
Revert "loplugin:constfields in sc"
This reverts commit fb1d3b580763a333bbbfe115d09e1b5cd8849675.
Now that we know that making fields has negative side effects
like disabling assignment operator generation.
Change-Id: Ib48334ffbeb2c768896dd8ced6818aa0b9910b0b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90333
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/dptabres.hxx')
-rw-r--r-- | sc/inc/dptabres.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/inc/dptabres.hxx b/sc/inc/dptabres.hxx index 13eeb5fc5135..cdeb14779b43 100644 --- a/sc/inc/dptabres.hxx +++ b/sc/inc/dptabres.hxx @@ -58,8 +58,8 @@ class ScDPInitState public: struct Member { - long const mnSrcIndex; - SCROW const mnNameIndex; + long mnSrcIndex; + SCROW mnNameIndex; Member(long nSrcIndex, SCROW nNameIndex); }; @@ -123,8 +123,8 @@ public: void RemoveRowIndex(); private: - ScDPResultMember* const pColResRoot; - ScDPResultMember* const pRowResRoot; + ScDPResultMember* pColResRoot; + ScDPResultMember* pRowResRoot; mutable IndexArray maColVisible; mutable IndexArray maColSorted; @@ -135,7 +135,7 @@ private: struct ScDPRelativePos { long nBasePos; // simple count, without sort order applied - long const nDirection; + long nDirection; ScDPRelativePos( long nBase, long nDir ); }; @@ -247,7 +247,7 @@ private: const ::std::vector<ScDPDimension*>& mppDim; const ::std::vector<ScDPLevel*>& mppLev; - bool const mbRow:1; + bool mbRow:1; bool mbInitChild:1; bool mbAllChildren:1; public: @@ -330,11 +330,11 @@ class ScDPResultMember { private: const ScDPResultData* pResultData; - ScDPParentDimData const aParentDimData; + ScDPParentDimData aParentDimData; std::unique_ptr<ScDPResultDimension> pChildDimension; std::unique_ptr<ScDPDataMember> pDataRoot; bool bHasElements:1; - bool const bForceSubTotal:1; + bool bForceSubTotal:1; bool bHasHiddenDetails:1; bool bInitialized:1; bool bAutoHidden:1; |