summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-07-30 14:02:58 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-07-30 16:25:37 +0200
commit5ea91ed27342766f2b6103ddb64f07e35af54e50 (patch)
treec27be0c50963334b99b949e9b827ccebd9294a78 /include
parentce3e03bd87b9091485931d7621472a3113b41a9e (diff)
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 <vmiklos@collabora.co.uk> Tested-by: Jenkins
Diffstat (limited to 'include')
-rw-r--r--include/svl/grabbagitem.hxx19
1 files changed, 6 insertions, 13 deletions
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<OUString, css::uno::Any> 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<OUString, css::uno::Any>& GetGrabBag() const
- {
- return m_aMap;
- }
+ const std::map<OUString, css::uno::Any>& GetGrabBag() const { return m_aMap; }
- std::map<OUString, css::uno::Any>& GetGrabBag()
- {
- return m_aMap;
- }
+ std::map<OUString, css::uno::Any>& GetGrabBag() { return m_aMap; }
bool operator==(const SfxPoolItem& rItem) const override;
SfxPoolItem* Clone(SfxItemPool* pPool = nullptr) const override;