diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-10 09:29:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-11 08:19:00 +0200 |
commit | 27463197176fd7f68cbdeed790621dad6b4c63d3 (patch) | |
tree | c9fe64f7b6d5e30e05f4ff18b5fdf71a05a4ab0a /sc | |
parent | b40e57f403b3d4ccb90f3b76caf8d537b61826dc (diff) |
clang-tidy bugprone-copy-constructor-init
Change-Id: Idd435b3a4d081f6d3af26ff8add69ad4af50db57
warning: calling a base constructor other than the copy constructor
Reviewed-on: https://gerrit.libreoffice.org/60239
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/rangelst.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/rangelst.cxx b/sc/source/core/tool/rangelst.cxx index b20efcf1952b..0b3c832ee492 100644 --- a/sc/source/core/tool/rangelst.cxx +++ b/sc/source/core/tool/rangelst.cxx @@ -1001,7 +1001,7 @@ ScRange* ScRangeList::Find( const ScAddress& rAdr ) ScRangeList::ScRangeList() : mnMaxRowUsed(-1) {} ScRangeList::ScRangeList( const ScRangeList& rList ) : - SvRefBase(), + SvRefBase(rList), maRanges(rList.maRanges), mnMaxRowUsed(rList.mnMaxRowUsed) { diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 5d2c650d062c..1b86afbc8496 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -2805,7 +2805,7 @@ ScDocument* ScDocShell::GetClipDoc() } ScDocShell::ScDocShell( const ScDocShell& rShell ) : - SvRefBase(), + SvRefBase(rShell), SotObject(), SfxObjectShell( rShell.GetCreateMode() ), SfxListener(), |