From db50f2f094648c9e8fa08eb7e0723003c6ac06e5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 15 Oct 2018 10:14:15 +0200 Subject: 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 --- basic/source/sbx/sbxarray.cxx | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'basic/source') 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 ) -- cgit