summaryrefslogtreecommitdiff
path: root/framework/source/fwe/helper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-29 19:27:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-12-29 19:46:23 +0000
commitbea8a7ad63e6e00c757909702f0439b2ffd3b48a (patch)
tree423bc1b62e0aedcb308ec26214ece158ae3fe76a /framework/source/fwe/helper
parent79a1ba61e4753758f66ba25b128aeff96ea716c9 (diff)
cppcheck: noExplicitConstructor
Change-Id: Ib43e53d5b6c9c130adb765ac9b769f58060ac640
Diffstat (limited to 'framework/source/fwe/helper')
-rw-r--r--framework/source/fwe/helper/documentundoguard.cxx2
-rw-r--r--framework/source/fwe/helper/undomanagerhelper.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/fwe/helper/documentundoguard.cxx b/framework/source/fwe/helper/documentundoguard.cxx
index bd29d5d0932a..c65d94bf4caa 100644
--- a/framework/source/fwe/helper/documentundoguard.cxx
+++ b/framework/source/fwe/helper/documentundoguard.cxx
@@ -51,7 +51,7 @@ namespace framework
class UndoManagerContextListener : public UndoManagerContextListener_Base
{
public:
- UndoManagerContextListener( const Reference< XUndoManager >& i_undoManager )
+ explicit UndoManagerContextListener( const Reference< XUndoManager >& i_undoManager )
:m_xUndoManager( i_undoManager )
,m_nRelativeContextDepth( 0 )
,m_documentDisposed( false )
diff --git a/framework/source/fwe/helper/undomanagerhelper.cxx b/framework/source/fwe/helper/undomanagerhelper.cxx
index 91a7e44ba4da..952b17f21563 100644
--- a/framework/source/fwe/helper/undomanagerhelper.cxx
+++ b/framework/source/fwe/helper/undomanagerhelper.cxx
@@ -69,7 +69,7 @@ namespace framework
class UndoActionWrapper : public SfxUndoAction
{
public:
- UndoActionWrapper(
+ explicit UndoActionWrapper(
Reference< XUndoAction > const& i_undoAction
);
virtual ~UndoActionWrapper();
@@ -138,7 +138,7 @@ namespace framework
class UndoManagerRequest : public ::comphelper::AnyEvent
{
public:
- UndoManagerRequest( ::std::function<void ()> const& i_request )
+ explicit UndoManagerRequest( ::std::function<void ()> const& i_request )
:m_request( i_request )
,m_caughtException()
,m_finishCondition()
@@ -211,7 +211,7 @@ namespace framework
::osl::Mutex& getMutex() { return m_aMutex; }
public:
- UndoManagerHelper_Impl( IUndoManagerImplementation& i_undoManagerImpl )
+ explicit UndoManagerHelper_Impl( IUndoManagerImplementation& i_undoManagerImpl )
:m_aMutex()
,m_aQueueMutex()
,m_disposed( false )