summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-13 21:13:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-13 22:42:35 +0100
commit35fd0cf311d0ab6e647ef8a244f350d8a690e734 (patch)
tree2e27440530f16dc3d2261aff06c0570519a7a8ef /sfx2
parentd8160fa8343a395cff0116286dd24894b076c02b (diff)
cppcheck: noExplicitConstructor
Change-Id: I39194062ba68c4cb1ccc9b93c629f005ccd02497
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/backingcomp.cxx2
-rw-r--r--sfx2/source/dialog/backingwindow.hxx2
2 files changed, 2 insertions, 2 deletions
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;