summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/text
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-12 14:06:28 +0200
committerNoel Grandin <noel@peralex.com>2014-06-17 10:55:17 +0200
commit3e82897353e576dc6e3fbf55371fda5a0c3415df (patch)
tree71c2f03128885000efae1852dccb504f8355c79e /svx/source/sidebar/text
parentec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff)
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'svx/source/sidebar/text')
-rw-r--r--svx/source/sidebar/text/TextPropertyPanel.cxx8
-rw-r--r--svx/source/sidebar/text/TextPropertyPanel.hxx4
2 files changed, 2 insertions, 10 deletions
diff --git a/svx/source/sidebar/text/TextPropertyPanel.cxx b/svx/source/sidebar/text/TextPropertyPanel.cxx
index 4486cfe35950..dbcc1eb0206c 100644
--- a/svx/source/sidebar/text/TextPropertyPanel.cxx
+++ b/svx/source/sidebar/text/TextPropertyPanel.cxx
@@ -82,10 +82,6 @@ TextPropertyPanel* TextPropertyPanel::Create (
rContext);
}
-::sfx2::sidebar::ControllerItem& TextPropertyPanel::GetSpaceController()
-{
- return maSpacingControl;
-}
TextPropertyPanel::TextPropertyPanel ( Window* pParent, const cssu::Reference<css::frame::XFrame>& rxFrame, SfxBindings* pBindings, const ::sfx2::sidebar::EnumContext& /*rContext*/ )
: PanelLayout(pParent, "SidebarTextPanel", "svx/ui/sidebartextpanel.ui", rxFrame),
@@ -298,10 +294,6 @@ void TextPropertyPanel::NotifyItemUpdate (
}
}
-Color& TextPropertyPanel::GetUnderlineColor()
-{
- return meUnderlineColor;
-}
} } // end of namespace svx::sidebar
diff --git a/svx/source/sidebar/text/TextPropertyPanel.hxx b/svx/source/sidebar/text/TextPropertyPanel.hxx
index a863e0848dc5..9bd78bc6a2d9 100644
--- a/svx/source/sidebar/text/TextPropertyPanel.hxx
+++ b/svx/source/sidebar/text/TextPropertyPanel.hxx
@@ -54,11 +54,11 @@ public:
virtual void DataChanged (const DataChangedEvent& rEvent) SAL_OVERRIDE;
- ::sfx2::sidebar::ControllerItem& GetSpaceController();
+ ::sfx2::sidebar::ControllerItem& GetSpaceController() { return maSpacingControl;}
long GetSelFontSize();
void EndSpacingPopupMode (void);
void EndUnderlinePopupMode (void);
- Color& GetUnderlineColor();
+ Color& GetUnderlineColor() { return meUnderlineColor;}
virtual void HandleContextChange (