diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-27 21:03:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-27 21:05:19 +0100 |
commit | 5c26f79467e4c5f920b77a058aa079654c322c25 (patch) | |
tree | ecc9d24bb4e0f583baceeb95b877ba9423ac1f06 /sd | |
parent | b3cc2c6d234156e7d5be2c3f2cacd20ab44ce94f (diff) |
cppcheck: noExplicitConstructor
Change-Id: Ibb94d40706fced3c1c053fd58ef4e2af2d849587
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/drviewsa.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/viewshel.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/drviewsa.cxx b/sd/source/ui/view/drviewsa.cxx index e2ff2092d92c..fc23539806fb 100644 --- a/sd/source/ui/view/drviewsa.cxx +++ b/sd/source/ui/view/drviewsa.cxx @@ -89,7 +89,7 @@ private: public: - ScannerEventListener( DrawViewShell* pParent ) : mpParent( pParent ) {}; + explicit ScannerEventListener( DrawViewShell* pParent ) : mpParent( pParent ) {} virtual ~ScannerEventListener(); // XEventListener diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx index c060272f5e4d..a582896c6d09 100644 --- a/sd/source/ui/view/viewshel.cxx +++ b/sd/source/ui/view/viewshel.cxx @@ -93,7 +93,7 @@ class ViewShellObjectBarFactory : public ::sd::ShellFactory<SfxShell> { public: - ViewShellObjectBarFactory (::sd::ViewShell& rViewShell); + explicit ViewShellObjectBarFactory (::sd::ViewShell& rViewShell); virtual ~ViewShellObjectBarFactory(); virtual SfxShell* CreateShell ( ::sd::ShellId nId, |