summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undobase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/undo/undobase.cxx')
-rw-r--r--sc/source/ui/undo/undobase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/undo/undobase.cxx b/sc/source/ui/undo/undobase.cxx
index a138a097c48e..bc905ef89e63 100644
--- a/sc/source/ui/undo/undobase.cxx
+++ b/sc/source/ui/undo/undobase.cxx
@@ -103,7 +103,7 @@ namespace
{
private:
ScDocument& m_rDoc;
- bool m_bUndoEnabled;
+ bool const m_bUndoEnabled;
public:
explicit DisableUndoGuard(ScDocShell *pDocShell)
: m_rDoc(pDocShell->GetDocument())