summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/undobase.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-11 10:46:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-15 07:56:12 +0200
commitfb1d3b580763a333bbbfe115d09e1b5cd8849675 (patch)
tree93cf0598c86ba188f69ab30425ffea856ea9886b /sc/source/ui/inc/undobase.hxx
parent40bc840da261fcc5652e5278dc2566b61f990884 (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/source/ui/inc/undobase.hxx')
-rw-r--r--sc/source/ui/inc/undobase.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/inc/undobase.hxx b/sc/source/ui/inc/undobase.hxx
index 1c2c707f1010..0057d549bfa4 100644
--- a/sc/source/ui/inc/undobase.hxx
+++ b/sc/source/ui/inc/undobase.hxx
@@ -89,7 +89,7 @@ public:
protected:
ScRange aBlockRange;
std::unique_ptr<SdrUndoAction> pDrawUndo;
- ScBlockUndoMode eMode;
+ ScBlockUndoMode const eMode;
void BeginUndo();
void EndUndo();
@@ -124,7 +124,7 @@ class ScDBFuncUndo: public ScSimpleUndo
{
protected:
std::unique_ptr<ScDBData> pAutoDBRange;
- ScRange aOriginalRange;
+ ScRange const aOriginalRange;
public:
ScDBFuncUndo( ScDocShell* pDocSh, const ScRange& rOriginal );
@@ -150,7 +150,7 @@ protected:
std::unique_ptr<SdrUndoAction> pDrawUndo;
ScDocumentUniquePtr pRefUndoDoc;
std::unique_ptr<ScRefUndoData> pRefUndoData;
- ScMoveUndoMode eMode;
+ ScMoveUndoMode const eMode;
void BeginUndo();
void EndUndo();