summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-09 10:09:42 +0200
committerNoel Grandin <noel@peralex.com>2014-06-09 10:10:13 +0200
commit184a00b96235f6432294ded63ce4a4a318effdb5 (patch)
treee4ae0e00cb168fa43d280cfb51a50515258b5320 /cui
parent534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff)
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/cfg.cxx4
-rw-r--r--cui/source/dialogs/colorpicker.cxx12
-rw-r--r--cui/source/dialogs/thesdlg.cxx4
-rw-r--r--cui/source/inc/cfg.hxx2
-rw-r--r--cui/source/inc/thesdlg.hxx2
5 files changed, 4 insertions, 20 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 5a591ef3d164..36029954293f 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -2763,10 +2763,6 @@ IMPL_LINK( SvxMainMenuOrganizerDialog, MoveHdl, Button *, pButton )
return 0;
}
-SvxEntries* SvxMainMenuOrganizerDialog::GetEntries()
-{
- return pEntries;
-}
SvxConfigEntry* SvxMainMenuOrganizerDialog::GetSelectedEntry()
{
diff --git a/cui/source/dialogs/colorpicker.cxx b/cui/source/dialogs/colorpicker.cxx
index e7e98d900635..ab32c51e192a 100644
--- a/cui/source/dialogs/colorpicker.cxx
+++ b/cui/source/dialogs/colorpicker.cxx
@@ -311,8 +311,8 @@ public:
void Modify();
void SetValues( Color aColor, ColorMode eMode, double x, double y );
- double GetX();
- double GetY();
+ double GetX() { return mdX;}
+ double GetY() { return mdY;}
void KeyMove( int dx, int dy );
@@ -649,15 +649,7 @@ void ColorFieldControl::SetValues( Color aColor, ColorMode eMode, double x, doub
}
}
-double ColorFieldControl::GetX()
-{
- return mdX;
-}
-double ColorFieldControl::GetY()
-{
- return mdY;
-}
void ColorFieldControl::UpdatePosition()
{
diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx
index 3e4c0f851210..28f2134abc19 100644
--- a/cui/source/dialogs/thesdlg.cxx
+++ b/cui/source/dialogs/thesdlg.cxx
@@ -547,10 +547,6 @@ OUString SvxThesaurusDialog::GetWord()
return m_pReplaceEdit->GetText();
}
-sal_uInt16 SvxThesaurusDialog::GetLanguage() const
-{
- return nLookUpLanguage;
-}
void SvxThesaurusDialog::Apply()
{
diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx
index 839461762d89..d72f5db88b69 100644
--- a/cui/source/inc/cfg.hxx
+++ b/cui/source/inc/cfg.hxx
@@ -518,7 +518,7 @@ public:
virtual ~SvxMainMenuOrganizerDialog ();
- SvxEntries* GetEntries();
+ SvxEntries* GetEntries() { return pEntries;}
void SetEntries( SvxEntries* );
SvxConfigEntry* GetSelectedEntry();
};
diff --git a/cui/source/inc/thesdlg.hxx b/cui/source/inc/thesdlg.hxx
index b6efa28a67a4..4ab94e7c2bd6 100644
--- a/cui/source/inc/thesdlg.hxx
+++ b/cui/source/inc/thesdlg.hxx
@@ -166,7 +166,7 @@ public:
void SetWindowTitle( LanguageType nLanguage );
OUString GetWord();
- sal_uInt16 GetLanguage() const;
+ sal_uInt16 GetLanguage() const { return nLookUpLanguage;}
};
#endif