diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-27 15:26:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-27 21:24:20 +0200 |
commit | 8024118d5c9ac964e35e8c4163ca14a5cd78cc3d (patch) | |
tree | 8dd3ef5a8f61723fc3bf3e1d8c5f37a0204bc825 /basic/source | |
parent | 707ac13a3f700c8e4a7f08bdcd5d5321d0a28bc5 (diff) |
clang-tidy:readability-redundant-member-init
Change-Id: Ibeff6e5cbc20ab86b1e9cb96292acb340849ede3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121149
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 3 | ||||
-rw-r--r-- | basic/source/sbx/sbxarray.cxx | 2 | ||||
-rw-r--r-- | basic/source/sbx/sbxvalue.cxx | 4 | ||||
-rw-r--r-- | basic/source/sbx/sbxvar.cxx | 4 |
4 files changed, 6 insertions, 7 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 4131980848ba..c1753a67aca0 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -4196,8 +4196,7 @@ public: } ModuleInvocationProxy::ModuleInvocationProxy( std::u16string_view aPrefix, SbxObjectRef const & xScopeObj ) - : m_aMutex() - , m_aPrefix( OUString::Concat(aPrefix) + "_" ) + : m_aPrefix( OUString::Concat(aPrefix) + "_" ) , m_xScopeObj( xScopeObj ) , m_aListeners( m_aMutex ) { diff --git a/basic/source/sbx/sbxarray.cxx b/basic/source/sbx/sbxarray.cxx index a54845d1c7c8..d8f16f5891c1 100644 --- a/basic/source/sbx/sbxarray.cxx +++ b/basic/source/sbx/sbxarray.cxx @@ -35,7 +35,7 @@ struct SbxVarEntry // SbxArray -SbxArray::SbxArray( SbxDataType t ) : SbxBase() +SbxArray::SbxArray( SbxDataType t ) { eType = t; if( t != SbxVARIANT ) diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx index e67044def3f3..4d278191bc20 100644 --- a/basic/source/sbx/sbxvalue.cxx +++ b/basic/source/sbx/sbxvalue.cxx @@ -35,12 +35,12 @@ ///////////////////////////// constructors -SbxValue::SbxValue() : SbxBase() +SbxValue::SbxValue() { aData.eType = SbxEMPTY; } -SbxValue::SbxValue( SbxDataType t ) : SbxBase() +SbxValue::SbxValue( SbxDataType t ) { int n = t & 0x0FFF; diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx index b3a0e6db1ce8..5900c68b9073 100644 --- a/basic/source/sbx/sbxvar.cxx +++ b/basic/source/sbx/sbxvar.cxx @@ -36,7 +36,7 @@ using namespace com::sun::star::uno; // SbxVariable -SbxVariable::SbxVariable() : SbxValue() +SbxVariable::SbxVariable() { } @@ -539,7 +539,7 @@ bool SbxVariable::StoreData( SvStream& rStrm ) const // SbxInfo SbxInfo::SbxInfo() - : aHelpFile(), nHelpId(0) + : nHelpId(0) {} SbxInfo::SbxInfo( const OUString& r, sal_uInt32 n ) |