diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-15 10:14:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-15 15:50:08 +0200 |
commit | db50f2f094648c9e8fa08eb7e0723003c6ac06e5 (patch) | |
tree | b89a57a521df3a91e436ac6b2dffed92717ebcb6 /basic/source | |
parent | 10fff25227db4d2161dcc3e498654f6bc499a5b2 (diff) |
clang-tidy bugprone-copy-constructor-init
message is "calling a base constructor other than the copy constructor"
these constructors are not in use, so just remove them
Change-Id: Ic8cede1eb153a6ae97fd1ca9c96ca8c1f43e3399
Reviewed-on: https://gerrit.libreoffice.org/61784
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/sbx/sbxarray.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/basic/source/sbx/sbxarray.cxx b/basic/source/sbx/sbxarray.cxx index 628c7dc918af..1e6f663824b0 100644 --- a/basic/source/sbx/sbxarray.cxx +++ b/basic/source/sbx/sbxarray.cxx @@ -44,14 +44,6 @@ SbxArray::SbxArray( SbxDataType t ) : SbxBase() SetFlag( SbxFlagBits::Fixed ); } -SbxArray::SbxArray( const SbxArray& rArray ) : - SvRefBase( rArray ), SbxBase() -{ - if( rArray.eType != SbxVARIANT ) - SetFlag( SbxFlagBits::Fixed ); - *this = rArray; -} - SbxArray& SbxArray::operator=( const SbxArray& rArray ) { if( &rArray != this ) @@ -465,12 +457,6 @@ SbxDimArray::SbxDimArray( SbxDataType t ) : SbxArray( t ), mbHasFixedSize( false { } -SbxDimArray::SbxDimArray( const SbxDimArray& rArray ) - : SvRefBase( rArray ), SbxArray( rArray.eType ) -{ - *this = rArray; -} - SbxDimArray& SbxDimArray::operator=( const SbxDimArray& rArray ) { if( &rArray != this ) |