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 /sc/source/ui/inc/docsh.hxx | |
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 'sc/source/ui/inc/docsh.hxx')
-rw-r--r-- | sc/source/ui/inc/docsh.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index c31eacb566b9..032585f8d7c7 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -176,7 +176,7 @@ private: static void InitInterface_Impl(); public: - explicit ScDocShell( const ScDocShell& rDocShell ); + explicit ScDocShell( const ScDocShell& rDocShell ) = delete; explicit ScDocShell( const SfxModelFlags i_nSfxCreationFlags = SfxModelFlags::EMBEDDED_OBJECT ); virtual ~ScDocShell() override; |