diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2017-10-18 17:22:02 +0900 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-10-20 07:56:44 +0200 |
commit | 44f54bf392375b789e3e3c3e868c9426d6cd4e41 (patch) | |
tree | 6b8f78a49f23cc4a53f9cb006c78ab61cc2eb767 /svtools | |
parent | c16804de78b1cf1ad906eaacbcc7c51d35218d8a (diff) |
svtools: SvTreeListEntry's copy ctor is unnecessary
Change-Id: Idce8773d96e30dacfc9ce13fdb9b399c2a8bf341
Reviewed-on: https://gerrit.libreoffice.org/43485
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/treelistentry.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/svtools/source/contnr/treelistentry.cxx b/svtools/source/contnr/treelistentry.cxx index 72436e9f5fa6..aab1f37597c2 100644 --- a/svtools/source/contnr/treelistentry.cxx +++ b/svtools/source/contnr/treelistentry.cxx @@ -20,7 +20,6 @@ #include <memory> #include <svtools/treelistentry.hxx> #include <svtools/treelist.hxx> -#include <o3tl/make_unique.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> @@ -60,18 +59,6 @@ SvTreeListEntry::SvTreeListEntry() { } -SvTreeListEntry::SvTreeListEntry(const SvTreeListEntry& r) - : pParent(nullptr) - , nAbsPos(r.nAbsPos) - , nListPos(r.nListPos & 0x7FFFFFFF) - , pUserData(r.pUserData) - , nEntryFlags(r.nEntryFlags) - , maBackColor(Application::GetSettings().GetStyleSettings().GetWindowColor()) -{ - for (auto const& it : r.m_Children) - m_Children.push_back(o3tl::make_unique<SvTreeListEntry>(*it)); -} - SvTreeListEntry::~SvTreeListEntry() { #ifdef DBG_UTIL |