summaryrefslogtreecommitdiff
path: root/sc/inc/editutil.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-03-11 16:35:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-12 07:31:50 +0100
commit9d4c36d7914e2746a751a56de01063c9159f0f99 (patch)
treedc1723268647e1600db2ccaae5400ad0e72524fe /sc/inc/editutil.hxx
parent31bf558349d9ab2634e9a866edf79bc115d649ce (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/editutil.hxx')
-rw-r--r--sc/inc/editutil.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sc/inc/editutil.hxx b/sc/inc/editutil.hxx
index f1da9fe2784b..95543f39f768 100644
--- a/sc/inc/editutil.hxx
+++ b/sc/inc/editutil.hxx
@@ -37,14 +37,14 @@ class ScEditEngineDefaulter;
class ScEditUtil
{
ScDocument* pDoc;
- SCCOL const nCol;
- SCROW const nRow;
- SCTAB const nTab;
- Point const aScrPos;
+ SCCOL nCol;
+ SCROW nRow;
+ SCTAB nTab;
+ Point aScrPos;
VclPtr<OutputDevice> pDev; // MapMode has to be set
- double const nPPTX;
- double const nPPTY;
- Fraction const aZoomX;
+ double nPPTX;
+ double nPPTY;
+ Fraction aZoomX;
Fraction aZoomY;
public:
@@ -104,9 +104,9 @@ public:
class ScEnginePoolHelper
{
protected:
- SfxItemPool* const pEnginePool;
+ SfxItemPool* pEnginePool;
SfxItemSet* pDefaults;
- bool const bDeleteEnginePool;
+ bool bDeleteEnginePool;
bool bDeleteDefaults;
ScEnginePoolHelper( SfxItemPool* pEnginePool, bool bDeleteEnginePool );
@@ -174,7 +174,7 @@ public:
class SC_DLLPUBLIC ScFieldEditEngine : public ScEditEngineDefaulter
{
private:
- ScDocument* const mpDoc;
+ ScDocument* mpDoc;
bool bExecuteURL;
public: