summaryrefslogtreecommitdiff
path: root/basic/source/basmgr
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-01 21:04:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-02 08:57:56 +0100
commit8e22cd40ec9f7d97bde49dd4c8593fc5bfb52e29 (patch)
tree9ba83232a259a1e895fc0ed5d2820d260ab38bd2 /basic/source/basmgr
parent29177c9e05717fca77be6877843945f6e4d9633a (diff)
cppcheck: noExplicitConstructor
Change-Id: I8ae8623252546ca94f65fc04b331dd9cafa4fc92
Diffstat (limited to 'basic/source/basmgr')
-rw-r--r--basic/source/basmgr/basmgr.cxx8
-rw-r--r--basic/source/basmgr/vbahelper.cxx2
2 files changed, 5 insertions, 5 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx
index b00cbab0fc3f..c7a847654f7c 100644
--- a/basic/source/basmgr/basmgr.cxx
+++ b/basic/source/basmgr/basmgr.cxx
@@ -1794,7 +1794,7 @@ class ModuleContainer_Impl : public NameContainerHelper
StarBASIC* mpLib;
public:
- ModuleContainer_Impl( StarBASIC* pLib )
+ explicit ModuleContainer_Impl( StarBASIC* pLib )
:mpLib( pLib ) {}
// Methods XElementAccess
@@ -1945,7 +1945,7 @@ class DialogContainer_Impl : public NameContainerHelper
StarBASIC* mpLib;
public:
- DialogContainer_Impl( StarBASIC* pLib )
+ explicit DialogContainer_Impl( StarBASIC* pLib )
:mpLib( pLib ) {}
// Methods XElementAccess
@@ -2102,7 +2102,7 @@ class LibraryContainer_Impl : public NameContainerHelper
BasicManager* mpMgr;
public:
- LibraryContainer_Impl( BasicManager* pMgr )
+ explicit LibraryContainer_Impl( BasicManager* pMgr )
:mpMgr( pMgr ) {}
// Methods XElementAccess
@@ -2251,7 +2251,7 @@ class StarBasicAccess_Impl : public StarBasicAccessHelper
uno::Reference< container::XNameContainer > mxLibContainer;
public:
- StarBasicAccess_Impl( BasicManager* pMgr )
+ explicit StarBasicAccess_Impl( BasicManager* pMgr )
:mpMgr( pMgr ) {}
public:
diff --git a/basic/source/basmgr/vbahelper.cxx b/basic/source/basmgr/vbahelper.cxx
index dbd82c8aa44c..c61b0e9097ae 100644
--- a/basic/source/basmgr/vbahelper.cxx
+++ b/basic/source/basmgr/vbahelper.cxx
@@ -55,7 +55,7 @@ uno::Reference< frame::XModuleManager2 > lclCreateModuleManager()
class DocumentsEnumeration : public ::cppu::WeakImplHelper1< container::XEnumeration >
{
public:
- DocumentsEnumeration( const uno::Reference< frame::XModel >& rxModel );
+ explicit DocumentsEnumeration( const uno::Reference< frame::XModel >& rxModel );
virtual sal_Bool SAL_CALL hasMoreElements() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual uno::Any SAL_CALL nextElement() throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception) SAL_OVERRIDE;
private: