diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-10-26 09:06:51 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-10-26 11:21:04 +0000 |
commit | 36c4fd5c3310029e00cb6479962623f5fd2d8cd6 (patch) | |
tree | 62022bf1304c846c5ff7e5018ff07c332f11f993 /svl | |
parent | 1276e95193a714391c78120aadb0d347432eb35f (diff) |
svl: the compiler can generate the same SfxGrabBagItem copy ctor itself
Change-Id: I54f94e8ec710ca117ecdf33ebe97a0e5f07c59ec
Reviewed-on: https://gerrit.libreoffice.org/30283
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/grabbagitem.cxx | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/svl/source/items/grabbagitem.cxx b/svl/source/items/grabbagitem.cxx index 30f583e3f045..082c42207d9f 100644 --- a/svl/source/items/grabbagitem.cxx +++ b/svl/source/items/grabbagitem.cxx @@ -17,25 +17,14 @@ using namespace com::sun::star; -SfxGrabBagItem::SfxGrabBagItem() -{ -} +SfxGrabBagItem::SfxGrabBagItem() = default; SfxGrabBagItem::SfxGrabBagItem(sal_uInt16 nWhich) : SfxPoolItem(nWhich) { } -SfxGrabBagItem::SfxGrabBagItem(const SfxGrabBagItem& rItem) : - SfxPoolItem(rItem), - m_aMap(rItem.m_aMap) -{ -} - -SfxGrabBagItem::~SfxGrabBagItem() -{ -} - +SfxGrabBagItem::~SfxGrabBagItem() = default; bool SfxGrabBagItem::operator==(const SfxPoolItem& rItem) const { |