diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-07-20 13:06:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-07-20 14:26:54 +0100 |
commit | 75938aff3848edb9fc705a70d79e9221b2c05c3a (patch) | |
tree | cfc18316289dd6bba97c411680860ee8f65af80b /dbaccess/source/ui/dlg/sqlmessage.cxx | |
parent | ba9e005e71dbe71319d2ee5ab46495c26044454b (diff) |
cppcheck: noExplicitConstructor
Change-Id: I45f2d96c7bd558405d0b5dfea3beb97ad720a82b
Diffstat (limited to 'dbaccess/source/ui/dlg/sqlmessage.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/sqlmessage.cxx | 8 |
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; |