diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-06-28 10:23:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-28 14:20:44 +0200 |
commit | 594331cc811fb9a684b5f1c871b679444b8cd51d (patch) | |
tree | 56a26754e766bf6a8b0dc67bbe9e3597d9b8fd2f /desktop/source | |
parent | 8a6ed98b00cb91dbe5b807051715858a2dc90883 (diff) |
remove default-able copy ctors and copy operators
The implicit defined ctors and operators will copy all members
(and bases).
Since C++11 implicit copy is depreciated if there is a non-default
dtor, keep such copies.
This commit includes only types that had either copy ctor or
copy operator and were found by cppcheck.
Change-Id: I93ee687fb3b3c5884f475a2c6054955cdde57ed7
Reviewed-on: https://gerrit.libreoffice.org/39351
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/migration/migration_impl.hxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/desktop/source/migration/migration_impl.hxx b/desktop/source/migration/migration_impl.hxx index 03a99349283f..7da83d96396f 100644 --- a/desktop/source/migration/migration_impl.hxx +++ b/desktop/source/migration/migration_impl.hxx @@ -108,16 +108,6 @@ struct MigrationItem m_xPopupMenu = xPopupMenu; } - MigrationItem& operator=(const MigrationItem& aMigrationItem) - { - m_sParentNodeName = aMigrationItem.m_sParentNodeName; - m_sPrevSibling = aMigrationItem.m_sPrevSibling; - m_sCommandURL = aMigrationItem.m_sCommandURL; - m_xPopupMenu = aMigrationItem.m_xPopupMenu; - - return *this; - } - bool operator==(const MigrationItem& aMigrationItem) { return |