summaryrefslogtreecommitdiff
path: root/svtools/source/hatchwindow/documentcloser.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-01 21:04:06 +0100
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-02-05 23:04:35 -0500
commit348bb85bc5043e4df9af823d98f7783426cad748 (patch)
tree7f8c25b6791156e42d46a4ce0ab37436d89da6cd /svtools/source/hatchwindow/documentcloser.cxx
parentfb6eb35c445be8a4ce590b74c790fedec623dcfb (diff)
cppcheck: noExplicitConstructor
Change-Id: I8ae8623252546ca94f65fc04b331dd9cafa4fc92 (cherry picked from commit 8e22cd40ec9f7d97bde49dd4c8593fc5bfb52e29)
Diffstat (limited to 'svtools/source/hatchwindow/documentcloser.cxx')
-rw-r--r--svtools/source/hatchwindow/documentcloser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/hatchwindow/documentcloser.cxx b/svtools/source/hatchwindow/documentcloser.cxx
index 82e2ae3135cb..e7260aba093b 100644
--- a/svtools/source/hatchwindow/documentcloser.cxx
+++ b/svtools/source/hatchwindow/documentcloser.cxx
@@ -54,7 +54,7 @@ class ODocumentCloser : public ::cppu::WeakImplHelper2< ::com::sun::star::lang::
bool m_bDisposed;
public:
- ODocumentCloser(const css::uno::Sequence< css::uno::Any >& aArguments);
+ explicit ODocumentCloser(const css::uno::Sequence< css::uno::Any >& aArguments);
virtual ~ODocumentCloser();
// XComponent
@@ -73,7 +73,7 @@ class MainThreadFrameCloserRequest
uno::Reference< frame::XFrame > m_xFrame;
public:
- MainThreadFrameCloserRequest( const uno::Reference< frame::XFrame >& xFrame )
+ explicit MainThreadFrameCloserRequest( const uno::Reference< frame::XFrame >& xFrame )
: m_xFrame( xFrame )
{}