summaryrefslogtreecommitdiff
path: root/cui
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 /cui
parentec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff)
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/cuicharmap.cxx4
-rw-r--r--cui/source/inc/cuicharmap.hxx2
-rw-r--r--cui/source/inc/radiobtnbox.hxx2
-rw-r--r--cui/source/options/cfgchart.cxx8
-rw-r--r--cui/source/options/cfgchart.hxx4
-rw-r--r--cui/source/options/radiobtnbox.cxx4
6 files changed, 4 insertions, 20 deletions
diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx
index eaa041eca53e..f23c8e1082dc 100644
--- a/cui/source/dialogs/cuicharmap.cxx
+++ b/cui/source/dialogs/cuicharmap.cxx
@@ -112,10 +112,6 @@ SvxCharacterMap::~SvxCharacterMap()
-const Font& SvxCharacterMap::GetCharFont() const
-{
- return aFont;
-}
diff --git a/cui/source/inc/cuicharmap.hxx b/cui/source/inc/cuicharmap.hxx
index 09211e8b4db3..8af1b917362e 100644
--- a/cui/source/inc/cuicharmap.hxx
+++ b/cui/source/inc/cuicharmap.hxx
@@ -102,7 +102,7 @@ public:
void DisableFontSelection();
- const Font& GetCharFont() const;
+ const Font& GetCharFont() const { return aFont;}
void SetCharFont( const Font& rFont );
void SetChar( sal_UCS4 );
diff --git a/cui/source/inc/radiobtnbox.hxx b/cui/source/inc/radiobtnbox.hxx
index ad81283bf4a7..1688bcd43905 100644
--- a/cui/source/inc/radiobtnbox.hxx
+++ b/cui/source/inc/radiobtnbox.hxx
@@ -43,7 +43,7 @@ public:
void HandleEntryChecked( SvTreeListEntry* _pEntry );
- const Point& GetCurMousePoint() const;
+ const Point& GetCurMousePoint() const { return m_aCurMousePoint;}
long GetControlColumnWidth() const;
};
diff --git a/cui/source/options/cfgchart.cxx b/cui/source/options/cfgchart.cxx
index 8e755a47737b..8c10a9e0e4be 100644
--- a/cui/source/options/cfgchart.cxx
+++ b/cui/source/options/cfgchart.cxx
@@ -313,15 +313,7 @@ void SvxChartColorTableItem::SetOptions( SvxChartOptions* pOpts ) const
}
-SvxChartColorTable & SvxChartColorTableItem::GetColorList()
-{
- return m_aColorTable;
-}
-const SvxChartColorTable & SvxChartColorTableItem::GetColorList() const
-{
- return m_aColorTable;
-}
void SvxChartColorTableItem::ReplaceColorByIndex( size_t _nIndex, const XColorEntry & _rEntry )
{
diff --git a/cui/source/options/cfgchart.hxx b/cui/source/options/cfgchart.hxx
index 0a0ad216304d..fdfc06f675ba 100644
--- a/cui/source/options/cfgchart.hxx
+++ b/cui/source/options/cfgchart.hxx
@@ -97,8 +97,8 @@ public:
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
void SetOptions( SvxChartOptions* pOpts ) const;
- const SvxChartColorTable & GetColorList() const ;
- SvxChartColorTable & GetColorList();
+ const SvxChartColorTable & GetColorList() const { return m_aColorTable;}
+ SvxChartColorTable & GetColorList() { return m_aColorTable;}
void ReplaceColorByIndex( size_t _nIndex, const XColorEntry & _rEntry );
private:
diff --git a/cui/source/options/radiobtnbox.cxx b/cui/source/options/radiobtnbox.cxx
index fd7de8f3d505..7830cbe024f2 100644
--- a/cui/source/options/radiobtnbox.cxx
+++ b/cui/source/options/radiobtnbox.cxx
@@ -84,10 +84,6 @@ void SvxRadioButtonListBox::HandleEntryChecked( SvTreeListEntry* _pEntry )
SetCheckButtonState( _pEntry, SV_BUTTON_CHECKED );
}
-const Point& SvxRadioButtonListBox::GetCurMousePoint() const
-{
- return m_aCurMousePoint;
-}
long SvxRadioButtonListBox::GetControlColumnWidth() const
{