diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-07-25 10:27:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-07-27 11:02:28 +0100 |
commit | 93f9a32cdf720ee76f56f987a1ded2fd89145659 (patch) | |
tree | aec5db5970a272b0d60244c46e6c3939201159c3 /sc | |
parent | 80ee8f832f8247f9189270121fc4b3fe64a9be71 (diff) |
cppcheck: noExplicitConstructor
Change-Id: Id0a6cd461b2ba56e3b9b944514f3b0d0eb75cc44
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/undo/undobase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/undo/undobase.cxx b/sc/source/ui/undo/undobase.cxx index 63e201d3754e..eefce30f3ff1 100644 --- a/sc/source/ui/undo/undobase.cxx +++ b/sc/source/ui/undo/undobase.cxx @@ -104,7 +104,7 @@ namespace ScDocument& m_rDoc; bool m_bUndoEnabled; public: - DisableUndoGuard(ScDocShell *pDocShell) + explicit DisableUndoGuard(ScDocShell *pDocShell) : m_rDoc(pDocShell->GetDocument()) , m_bUndoEnabled(m_rDoc.IsUndoEnabled()) { |