summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/ToolBarManager.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-10-18 20:56:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-10-18 21:23:15 +0100
commite08b49fa663ea50c4e712618bc1059249b7d35ba (patch)
treea70acf085a626958e5f8f5f1dc2795e4366464b8 /sd/source/ui/view/ToolBarManager.cxx
parent476bef70f1d9fd58b29a1f6fb95e54567b031acf (diff)
cppcheck: noExplicitConstructor
Change-Id: I187273e39759b3a3ef45b047f8cc36829a7f0b10
Diffstat (limited to 'sd/source/ui/view/ToolBarManager.cxx')
-rw-r--r--sd/source/ui/view/ToolBarManager.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/ToolBarManager.cxx b/sd/source/ui/view/ToolBarManager.cxx
index 57ad96d3a59c..8058cff1de90 100644
--- a/sd/source/ui/view/ToolBarManager.cxx
+++ b/sd/source/ui/view/ToolBarManager.cxx
@@ -59,7 +59,7 @@ class ToolBarRules;
class LayouterLock
{
public:
- LayouterLock (const Reference<frame::XLayoutManager>& rxLayouter);
+ explicit LayouterLock (const Reference<frame::XLayoutManager>& rxLayouter);
~LayouterLock();
private:
Reference<frame::XLayoutManager> mxLayouter;
@@ -282,7 +282,7 @@ public:
class UpdateLockImplementation
{
public:
- UpdateLockImplementation (Implementation& rImplementation)
+ explicit UpdateLockImplementation (Implementation& rImplementation)
: mrImplementation(rImplementation) { mrImplementation.LockUpdate(); }
~UpdateLockImplementation() { mrImplementation.UnlockUpdate(); }
private: