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 /include/basic | |
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 'include/basic')
-rw-r--r-- | include/basic/sbx.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/basic/sbx.hxx b/include/basic/sbx.hxx index 26cfa3b4d05d..73f233e6b6b7 100644 --- a/include/basic/sbx.hxx +++ b/include/basic/sbx.hxx @@ -122,7 +122,7 @@ protected: public: SBX_DECL_PERSIST_NODATA(SBXID_ARRAY,1); SbxArray( SbxDataType=SbxVARIANT ); - SbxArray( const SbxArray& ); + SbxArray( const SbxArray& ) = delete; SbxArray& operator=( const SbxArray& ); virtual void Clear() override; sal_uInt16 Count() const; @@ -167,7 +167,7 @@ protected: public: SBX_DECL_PERSIST_NODATA(SBXID_DIMARRAY,1); SbxDimArray( SbxDataType=SbxVARIANT ); - SbxDimArray( const SbxDimArray& ); + SbxDimArray( const SbxDimArray& ) = delete; SbxDimArray& operator=( const SbxDimArray& ); virtual void Clear() override; using SbxArray::GetRef; |