Kaydet (Commit) 36c4fd5c authored tarafından Miklos Vajna's avatar Miklos Vajna

svl: the compiler can generate the same SfxGrabBagItem copy ctor itself

Change-Id: I54f94e8ec710ca117ecdf33ebe97a0e5f07c59ec
Reviewed-on: https://gerrit.libreoffice.org/30283Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst 1276e951
...@@ -25,7 +25,6 @@ public: ...@@ -25,7 +25,6 @@ public:
SfxGrabBagItem(); SfxGrabBagItem();
SfxGrabBagItem(sal_uInt16 nWhich); SfxGrabBagItem(sal_uInt16 nWhich);
SfxGrabBagItem(const SfxGrabBagItem& rItem);
virtual ~SfxGrabBagItem() override; virtual ~SfxGrabBagItem() override;
const std::map<OUString, css::uno::Any>& GetGrabBag() const const std::map<OUString, css::uno::Any>& GetGrabBag() const
......
...@@ -15,9 +15,7 @@ SmWordExportBase::SmWordExportBase(const SmNode* pIn) ...@@ -15,9 +15,7 @@ SmWordExportBase::SmWordExportBase(const SmNode* pIn)
{ {
} }
SmWordExportBase::~SmWordExportBase() SmWordExportBase::~SmWordExportBase() = default;
{
}
void SmWordExportBase::HandleNode(const SmNode* pNode, int nLevel) void SmWordExportBase::HandleNode(const SmNode* pNode, int nLevel)
{ {
......
...@@ -17,25 +17,14 @@ ...@@ -17,25 +17,14 @@
using namespace com::sun::star; using namespace com::sun::star;
SfxGrabBagItem::SfxGrabBagItem() SfxGrabBagItem::SfxGrabBagItem() = default;
{
}
SfxGrabBagItem::SfxGrabBagItem(sal_uInt16 nWhich) : SfxGrabBagItem::SfxGrabBagItem(sal_uInt16 nWhich) :
SfxPoolItem(nWhich) SfxPoolItem(nWhich)
{ {
} }
SfxGrabBagItem::SfxGrabBagItem(const SfxGrabBagItem& rItem) : SfxGrabBagItem::~SfxGrabBagItem() = default;
SfxPoolItem(rItem),
m_aMap(rItem.m_aMap)
{
}
SfxGrabBagItem::~SfxGrabBagItem()
{
}
bool SfxGrabBagItem::operator==(const SfxPoolItem& rItem) const bool SfxGrabBagItem::operator==(const SfxPoolItem& rItem) const
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment