diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-01-07 09:26:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-01-07 19:27:28 +0000 |
commit | c9be2744d8ebe673d9cd4b0b7b680565bc544329 (patch) | |
tree | 23fd666cfefe4dc9e70d557e9890fe02b87b6d80 /embeddedobj/source | |
parent | 7994b77819a5de7a6da46ab01386883559e7a7d1 (diff) |
cppcheck: noExplicitConstructor
Change-Id: Ifdcb1cc12645d6cdba81d16f94f0268696187cde
Reviewed-on: https://gerrit.libreoffice.org/21201
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'embeddedobj/source')
-rw-r--r-- | embeddedobj/source/msole/olewrapclient.hxx | 2 | ||||
-rw-r--r-- | embeddedobj/source/msole/xdialogcreator.hxx | 2 | ||||
-rw-r--r-- | embeddedobj/source/msole/xolefactory.hxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/embeddedobj/source/msole/olewrapclient.hxx b/embeddedobj/source/msole/olewrapclient.hxx index f5cc8dcc34c5..8064f79d8025 100644 --- a/embeddedobj/source/msole/olewrapclient.hxx +++ b/embeddedobj/source/msole/olewrapclient.hxx @@ -32,7 +32,7 @@ class OleWrapperClientSite : public IOleClientSite OleComponent* m_pOleComp; public: - OleWrapperClientSite( OleComponent* pOleComp ); + explicit OleWrapperClientSite(OleComponent* pOleComp); virtual ~OleWrapperClientSite(); void disconnectOleComponent(); diff --git a/embeddedobj/source/msole/xdialogcreator.hxx b/embeddedobj/source/msole/xdialogcreator.hxx index e428aea59620..c047273b3e7b 100644 --- a/embeddedobj/source/msole/xdialogcreator.hxx +++ b/embeddedobj/source/msole/xdialogcreator.hxx @@ -35,7 +35,7 @@ class MSOLEDialogObjectCreator : public ::cppu::WeakImplHelper< css::uno::Reference< css::lang::XMultiServiceFactory > m_xFactory; public: - MSOLEDialogObjectCreator( + explicit MSOLEDialogObjectCreator( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory ) : m_xFactory( xFactory ) { diff --git a/embeddedobj/source/msole/xolefactory.hxx b/embeddedobj/source/msole/xolefactory.hxx index 500be34d1db3..cbc22773b32a 100644 --- a/embeddedobj/source/msole/xolefactory.hxx +++ b/embeddedobj/source/msole/xolefactory.hxx @@ -35,7 +35,7 @@ class OleEmbeddedObjectFactory : public ::cppu::WeakImplHelper< css::uno::Reference< css::lang::XMultiServiceFactory > m_xFactory; public: - OleEmbeddedObjectFactory( + explicit OleEmbeddedObjectFactory( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory ) : m_xFactory( xFactory ) { |