diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-11 10:46:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-15 07:56:12 +0200 |
commit | fb1d3b580763a333bbbfe115d09e1b5cd8849675 (patch) | |
tree | 93cf0598c86ba188f69ab30425ffea856ea9886b /sc/inc/editutil.hxx | |
parent | 40bc840da261fcc5652e5278dc2566b61f990884 (diff) |
loplugin:constfields in sc
Change-Id: If326175d571d15752efd1b63df45b2bc785f7541
Reviewed-on: https://gerrit.libreoffice.org/61653
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/editutil.hxx')
-rw-r--r-- | sc/inc/editutil.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sc/inc/editutil.hxx b/sc/inc/editutil.hxx index a446b5cb385c..8d4a8a9fc282 100644 --- a/sc/inc/editutil.hxx +++ b/sc/inc/editutil.hxx @@ -37,14 +37,14 @@ class ScEditEngineDefaulter; class ScEditUtil { ScDocument* pDoc; - SCCOL nCol; - SCROW nRow; - SCTAB nTab; - Point aScrPos; + SCCOL const nCol; + SCROW const nRow; + SCTAB const nTab; + Point const aScrPos; VclPtr<OutputDevice> pDev; // MapMode has to be set - double nPPTX; - double nPPTY; - Fraction aZoomX; + double const nPPTX; + double const nPPTY; + Fraction const aZoomX; Fraction aZoomY; public: @@ -105,9 +105,9 @@ public: class ScEnginePoolHelper { protected: - SfxItemPool* pEnginePool; + SfxItemPool* const pEnginePool; SfxItemSet* pDefaults; - bool bDeleteEnginePool; + bool const bDeleteEnginePool; bool bDeleteDefaults; ScEnginePoolHelper( SfxItemPool* pEnginePool, bool bDeleteEnginePool ); @@ -201,7 +201,7 @@ struct ScHeaderFieldData class SC_DLLPUBLIC ScFieldEditEngine : public ScEditEngineDefaulter { private: - ScDocument* mpDoc; + ScDocument* const mpDoc; bool bExecuteURL; public: |