From 184a00b96235f6432294ded63ce4a4a318effdb5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 9 Jun 2014 10:09:42 +0200 Subject: loplugin: inlinesimplememberfunctions Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b --- sc/source/ui/sidebar/AlignmentPropertyPanel.cxx | 4 ---- sc/source/ui/sidebar/AlignmentPropertyPanel.hxx | 2 +- sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx | 4 ---- sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx | 2 +- sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx | 4 ---- sc/source/ui/sidebar/NumberFormatPropertyPanel.hxx | 2 +- 6 files changed, 3 insertions(+), 15 deletions(-) (limited to 'sc/source/ui/sidebar') diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx index bdc61d7d7371..5545c03d1131 100644 --- a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx +++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx @@ -372,10 +372,6 @@ void AlignmentPropertyPanel::NotifyItemUpdate( } } -SfxBindings* AlignmentPropertyPanel::GetBindings() -{ - return mpBindings; -} void AlignmentPropertyPanel::FormatDegrees(double& dTmp) { diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx index 8552e25b8615..c67e17f047e5 100644 --- a/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx +++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx @@ -56,7 +56,7 @@ public: const SfxPoolItem* pState, const bool bIsEnabled) SAL_OVERRIDE; - SfxBindings* GetBindings(); + SfxBindings* GetBindings() { return mpBindings;} private: //ui controls diff --git a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx index 0b244106622e..d6c091448a80 100644 --- a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx +++ b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx @@ -656,10 +656,6 @@ void CellAppearancePropertyPanel::NotifyItemUpdate( } } -SfxBindings* CellAppearancePropertyPanel::GetBindings() -{ - return mpBindings; -} void CellAppearancePropertyPanel::SetStyleIcon() { diff --git a/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx b/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx index 028d067eb33f..4224e39f683b 100644 --- a/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx +++ b/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx @@ -65,7 +65,7 @@ public: const SfxPoolItem* pState, const bool bIsEnabled) SAL_OVERRIDE; - SfxBindings* GetBindings(); + SfxBindings* GetBindings() { return mpBindings;} private: //ui controls diff --git a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx index 145beb9e0ee2..6fda69ac8b7d 100644 --- a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx +++ b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx @@ -316,10 +316,6 @@ void NumberFormatPropertyPanel::NotifyItemUpdate( } } -SfxBindings* NumberFormatPropertyPanel::GetBindings() -{ - return mpBindings; -} }} // end of namespace ::sc::sidebar diff --git a/sc/source/ui/sidebar/NumberFormatPropertyPanel.hxx b/sc/source/ui/sidebar/NumberFormatPropertyPanel.hxx index 69f1cbc94270..4a0dc7ca7437 100644 --- a/sc/source/ui/sidebar/NumberFormatPropertyPanel.hxx +++ b/sc/source/ui/sidebar/NumberFormatPropertyPanel.hxx @@ -54,7 +54,7 @@ public: const SfxPoolItem* pState, const bool bIsEnabled) SAL_OVERRIDE; - SfxBindings* GetBindings(); + SfxBindings* GetBindings() { return mpBindings;} private: //ui controls -- cgit