summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/dlg/sqlmessage.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-07-20 13:06:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-07-20 14:26:54 +0100
commit75938aff3848edb9fc705a70d79e9221b2c05c3a (patch)
treecfc18316289dd6bba97c411680860ee8f65af80b /dbaccess/source/ui/dlg/sqlmessage.cxx
parentediteng: need to prevent MSVC from generating SvxRTFParser copy too (diff)
downloadcore-75938aff3848edb9fc705a70d79e9221b2c05c3a.tar.gz
core-75938aff3848edb9fc705a70d79e9221b2c05c3a.zip
cppcheck: noExplicitConstructor
Change-Id: I45f2d96c7bd558405d0b5dfea3beb97ad720a82b
Diffstat (limited to 'dbaccess/source/ui/dlg/sqlmessage.cxx')
-rw-r--r--dbaccess/source/ui/dlg/sqlmessage.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/dlg/sqlmessage.cxx b/dbaccess/source/ui/dlg/sqlmessage.cxx
index 8218b58b3fe1..8fd564ba9e3a 100644
--- a/dbaccess/source/ui/dlg/sqlmessage.cxx
+++ b/dbaccess/source/ui/dlg/sqlmessage.cxx
@@ -79,7 +79,7 @@ namespace
mutable Image m_defaultImage;
public:
- ImageProvider( sal_uInt16 _defaultImageID )
+ explicit ImageProvider( sal_uInt16 _defaultImageID )
:m_defaultImageID( _defaultImageID )
{
}
@@ -97,7 +97,7 @@ namespace
private:
OUString m_label;
public:
- LabelProvider( sal_uInt16 _labelResourceID )
+ explicit LabelProvider( sal_uInt16 _labelResourceID )
:m_label( ModuleRes( _labelResourceID ) )
{
}
@@ -191,7 +191,7 @@ namespace
OUString sErrorCode;
ExceptionDisplayInfo() : eType( SQLExceptionInfo::UNDEFINED ), bSubEntry( false ) { }
- ExceptionDisplayInfo( SQLExceptionInfo::TYPE _eType ) : eType( _eType ), bSubEntry( false ) { }
+ explicit ExceptionDisplayInfo( SQLExceptionInfo::TYPE _eType ) : eType( _eType ), bSubEntry( false ) { }
};
static bool lcl_hasDetails( const ExceptionDisplayInfo& _displayInfo )
@@ -410,7 +410,7 @@ struct SQLMessageBox_Impl
{
ExceptionDisplayChain aDisplayInfo;
- SQLMessageBox_Impl( const SQLExceptionInfo& _rExceptionInfo )
+ explicit SQLMessageBox_Impl( const SQLExceptionInfo& _rExceptionInfo )
{
// transform the exception chain to a form more suitable for displaying it here
ProviderFactory aProviderFactory;