summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ext
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-07-20 10:07:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-07-20 10:28:30 +0100
commitff3a3bfd4bbd2fdabea887e1739faacd79aefa64 (patch)
tree80b8c99e96363118634415da449021ce596b4c1c /dbaccess/source/ext
parentfix linux buildbot (diff)
downloadcore-ff3a3bfd4bbd2fdabea887e1739faacd79aefa64.tar.gz
core-ff3a3bfd4bbd2fdabea887e1739faacd79aefa64.zip
cppcheck: noExplicitConstructor
Change-Id: Ib9373a5a75eea998a86156ff742e7950369ddc88
Diffstat (limited to 'dbaccess/source/ext')
-rw-r--r--dbaccess/source/ext/macromigration/macromigrationwizard.cxx2
-rw-r--r--dbaccess/source/ext/macromigration/migrationengine.cxx8
-rw-r--r--dbaccess/source/ext/macromigration/migrationerror.hxx2
-rw-r--r--dbaccess/source/ext/macromigration/progressmixer.cxx4
-rw-r--r--dbaccess/source/ext/macromigration/progressmixer.hxx2
-rw-r--r--dbaccess/source/ext/macromigration/rangeprogressbar.hxx2
6 files changed, 10 insertions, 10 deletions
diff --git a/dbaccess/source/ext/macromigration/macromigrationwizard.cxx b/dbaccess/source/ext/macromigration/macromigrationwizard.cxx
index 740a337aeca8..a8c3018c2202 100644
--- a/dbaccess/source/ext/macromigration/macromigrationwizard.cxx
+++ b/dbaccess/source/ext/macromigration/macromigrationwizard.cxx
@@ -60,7 +60,7 @@ namespace dbmm
,public MacroMigrationModuleClient
{
public:
- MacroMigrationDialogService( const Reference< XComponentContext >& _rxContext );
+ explicit MacroMigrationDialogService( const Reference< XComponentContext >& _rxContext );
// XTypeProvider
virtual Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/dbaccess/source/ext/macromigration/migrationengine.cxx b/dbaccess/source/ext/macromigration/migrationengine.cxx
index ae23ee3a7343..bbd828749693 100644
--- a/dbaccess/source/ext/macromigration/migrationengine.cxx
+++ b/dbaccess/source/ext/macromigration/migrationengine.cxx
@@ -430,7 +430,7 @@ namespace dbmm
class DrawPageIterator
{
public:
- DrawPageIterator( const Reference< XModel >& _rxDocument )
+ explicit DrawPageIterator( const Reference< XModel >& _rxDocument )
:m_xDocument( _rxDocument )
,m_nPageCount( 0 )
,m_nCurrentPage( 0 )
@@ -518,7 +518,7 @@ namespace dbmm
class FormComponentIterator
{
public:
- FormComponentIterator( const Reference< XIndexAccess >& _rxContainer )
+ explicit FormComponentIterator( const Reference< XIndexAccess >& _rxContainer )
:m_xContainer( _rxContainer )
,m_xEventManager( _rxContainer, UNO_QUERY_THROW )
,m_nElementCount( _rxContainer->getCount() )
@@ -557,7 +557,7 @@ namespace dbmm
class ScriptsStorage
{
public:
- ScriptsStorage( MigrationLog& _rLogger );
+ explicit ScriptsStorage( MigrationLog& _rLogger );
ScriptsStorage( const Reference< XModel >& _rxDocument, MigrationLog& _rLogger );
~ScriptsStorage();
@@ -770,7 +770,7 @@ namespace dbmm
class PhaseGuard
{
public:
- PhaseGuard( ProgressMixer& _rMixer )
+ explicit PhaseGuard( ProgressMixer& _rMixer )
:m_rMixer( _rMixer )
{
}
diff --git a/dbaccess/source/ext/macromigration/migrationerror.hxx b/dbaccess/source/ext/macromigration/migrationerror.hxx
index e5067ec82599..2cf145425b47 100644
--- a/dbaccess/source/ext/macromigration/migrationerror.hxx
+++ b/dbaccess/source/ext/macromigration/migrationerror.hxx
@@ -65,7 +65,7 @@ namespace dbmm
::std::vector< OUString > aErrorDetails;
const ::com::sun::star::uno::Any aCaughtException;
- MigrationError(
+ explicit MigrationError(
const MigrationErrorType _eType )
:eType( _eType )
{
diff --git a/dbaccess/source/ext/macromigration/progressmixer.cxx b/dbaccess/source/ext/macromigration/progressmixer.cxx
index d75da510282d..40030feca0e6 100644
--- a/dbaccess/source/ext/macromigration/progressmixer.cxx
+++ b/dbaccess/source/ext/macromigration/progressmixer.cxx
@@ -49,7 +49,7 @@ namespace dbmm
{
}
- PhaseData( const PhaseWeight _nWeight )
+ explicit PhaseData( const PhaseWeight _nWeight )
:nWeight( _nWeight )
,nRange(100)
,nGlobalStart(0)
@@ -69,7 +69,7 @@ namespace dbmm
double nOverallStretch;
IProgressConsumer& rConsumer;
- ProgressMixer_Data( IProgressConsumer& _rConsumer )
+ explicit ProgressMixer_Data( IProgressConsumer& _rConsumer )
:aPhases()
,pCurrentPhase( aPhases.end() )
,nWeightSum( 0 )
diff --git a/dbaccess/source/ext/macromigration/progressmixer.hxx b/dbaccess/source/ext/macromigration/progressmixer.hxx
index d20b633431d7..2b2b97ccc1a2 100644
--- a/dbaccess/source/ext/macromigration/progressmixer.hxx
+++ b/dbaccess/source/ext/macromigration/progressmixer.hxx
@@ -50,7 +50,7 @@ namespace dbmm
class ProgressMixer
{
public:
- ProgressMixer( IProgressConsumer& _rConsumer );
+ explicit ProgressMixer( IProgressConsumer& _rConsumer );
~ProgressMixer();
/** registers a phase of the process, which has the given weight
diff --git a/dbaccess/source/ext/macromigration/rangeprogressbar.hxx b/dbaccess/source/ext/macromigration/rangeprogressbar.hxx
index 7b5a1a0e1282..d0039eb87e2b 100644
--- a/dbaccess/source/ext/macromigration/rangeprogressbar.hxx
+++ b/dbaccess/source/ext/macromigration/rangeprogressbar.hxx
@@ -31,7 +31,7 @@ namespace dbmm
class RangeProgressBar
{
public:
- RangeProgressBar(ProgressBar *pBar = NULL)
+ explicit RangeProgressBar(ProgressBar *pBar = NULL)
: m_pBar(pBar)
, m_nRange(0)
{