From 35fd0cf311d0ab6e647ef8a244f350d8a690e734 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 13 Sep 2015 21:13:25 +0100 Subject: cppcheck: noExplicitConstructor Change-Id: I39194062ba68c4cb1ccc9b93c629f005ccd02497 --- sfx2/source/dialog/backingcomp.cxx | 2 +- sfx2/source/dialog/backingwindow.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/dialog/backingcomp.cxx b/sfx2/source/dialog/backingcomp.cxx index ca8639422c04..5ce6b62168ca 100644 --- a/sfx2/source/dialog/backingcomp.cxx +++ b/sfx2/source/dialog/backingcomp.cxx @@ -98,7 +98,7 @@ private: public: - BackingComp( const css::uno::Reference< css::uno::XComponentContext >& xContext ); + explicit BackingComp(const css::uno::Reference< css::uno::XComponentContext >& xContext); virtual ~BackingComp( ); // XInterface diff --git a/sfx2/source/dialog/backingwindow.hxx b/sfx2/source/dialog/backingwindow.hxx index ad63152ab4e8..6a42becc4e35 100644 --- a/sfx2/source/dialog/backingwindow.hxx +++ b/sfx2/source/dialog/backingwindow.hxx @@ -116,7 +116,7 @@ class BackingWindow : public vcl::Window, public VclBuilderContainer void initializeLocalView(); public: - BackingWindow(vcl::Window* pParent); + explicit BackingWindow(vcl::Window* pParent); virtual ~BackingWindow(); virtual void dispose() SAL_OVERRIDE; -- cgit