From 5ea91ed27342766f2b6103ddb64f07e35af54e50 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 30 Jul 2018 14:02:58 +0200 Subject: svl: turn on clang-format for grabbagitem I (tried to) keep these files consistent manually in the past, switching to clang-format makes sure that the recent problem with introducing inconsistencies in these files doesn't happen again. Change-Id: I94e7f846c0d3361082d74a2883486c9aa67ed362 Reviewed-on: https://gerrit.libreoffice.org/58322 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- include/svl/grabbagitem.hxx | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) (limited to 'include') diff --git a/include/svl/grabbagitem.hxx b/include/svl/grabbagitem.hxx index d938d526f710..4fcd9159a8e6 100644 --- a/include/svl/grabbagitem.hxx +++ b/include/svl/grabbagitem.hxx @@ -22,25 +22,18 @@ private: std::map m_aMap; public: - SfxGrabBagItem(); SfxGrabBagItem(sal_uInt16 nWhich); ~SfxGrabBagItem() override; - SfxGrabBagItem(SfxGrabBagItem const &) = default; - SfxGrabBagItem(SfxGrabBagItem &&) = default; - SfxGrabBagItem & operator =(SfxGrabBagItem const &) = default; - SfxGrabBagItem & operator =(SfxGrabBagItem &&) = default; + SfxGrabBagItem(SfxGrabBagItem const&) = default; + SfxGrabBagItem(SfxGrabBagItem&&) = default; + SfxGrabBagItem& operator=(SfxGrabBagItem const&) = default; + SfxGrabBagItem& operator=(SfxGrabBagItem&&) = default; - const std::map& GetGrabBag() const - { - return m_aMap; - } + const std::map& GetGrabBag() const { return m_aMap; } - std::map& GetGrabBag() - { - return m_aMap; - } + std::map& GetGrabBag() { return m_aMap; } bool operator==(const SfxPoolItem& rItem) const override; SfxPoolItem* Clone(SfxItemPool* pPool = nullptr) const override; -- cgit