diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-01 21:04:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-02 08:57:56 +0100 |
commit | 8e22cd40ec9f7d97bde49dd4c8593fc5bfb52e29 (patch) | |
tree | 9ba83232a259a1e895fc0ed5d2820d260ab38bd2 /basic/source/sbx | |
parent | 29177c9e05717fca77be6877843945f6e4d9633a (diff) |
cppcheck: noExplicitConstructor
Change-Id: I8ae8623252546ca94f65fc04b331dd9cafa4fc92
Diffstat (limited to 'basic/source/sbx')
-rw-r--r-- | basic/source/sbx/sbxdec.hxx | 2 | ||||
-rw-r--r-- | basic/source/sbx/sbxres.hxx | 2 | ||||
-rw-r--r-- | basic/source/sbx/sbxscan.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/sbx/sbxdec.hxx b/basic/source/sbx/sbxdec.hxx index a821c96f9011..1bed80e87f6b 100644 --- a/basic/source/sbx/sbxdec.hxx +++ b/basic/source/sbx/sbxdec.hxx @@ -53,7 +53,7 @@ class SbxDecimal public: SbxDecimal(); SbxDecimal( const SbxDecimal& rDec ); - SbxDecimal( const com::sun::star::bridge::oleautomation::Decimal& rAutomationDec ); + explicit SbxDecimal( const com::sun::star::bridge::oleautomation::Decimal& rAutomationDec ); ~SbxDecimal(); diff --git a/basic/source/sbx/sbxres.hxx b/basic/source/sbx/sbxres.hxx index c635dd20997d..aafb73d98119 100644 --- a/basic/source/sbx/sbxres.hxx +++ b/basic/source/sbx/sbxres.hxx @@ -48,7 +48,7 @@ class SbxRes : public OUString { public: - SbxRes( sal_uInt16 ); + explicit SbxRes( sal_uInt16 ); }; const char* GetSbxRes( sal_uInt16 ); diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx index 6ba986d97bab..8a520b4a450e 100644 --- a/basic/source/sbx/sbxscan.cxx +++ b/basic/source/sbx/sbxscan.cxx @@ -576,7 +576,7 @@ ResMgr* implGetResMgr() class SbxValueFormatResId : public ResId { public: - SbxValueFormatResId( sal_uInt16 nId ) + explicit SbxValueFormatResId( sal_uInt16 nId ) : ResId( nId, *implGetResMgr() ) {} }; |