diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-09 10:09:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-09 10:10:13 +0200 |
commit | 184a00b96235f6432294ded63ce4a4a318effdb5 (patch) | |
tree | e4ae0e00cb168fa43d280cfb51a50515258b5320 /fpicker | |
parent | 534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff) |
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/PlacesListBox.cxx | 6 | ||||
-rw-r--r-- | fpicker/source/office/PlacesListBox.hxx | 4 | ||||
-rw-r--r-- | fpicker/source/office/fpinteraction.cxx | 4 | ||||
-rw-r--r-- | fpicker/source/office/fpinteraction.hxx | 2 |
4 files changed, 3 insertions, 13 deletions
diff --git a/fpicker/source/office/PlacesListBox.cxx b/fpicker/source/office/PlacesListBox.cxx index c3b381888929..67430c56c595 100644 --- a/fpicker/source/office/PlacesListBox.cxx +++ b/fpicker/source/office/PlacesListBox.cxx @@ -99,9 +99,6 @@ void PlacesListBox::AppendPlace( PlacePtr pPlace ) } } -sal_Int32 PlacesListBox::GetNbEditablePlaces() { - return mnNbEditables; -} bool PlacesListBox::IsUpdated() { if(mbUpdated) { @@ -111,9 +108,6 @@ bool PlacesListBox::IsUpdated() { return false; } -const std::vector<PlacePtr>& PlacesListBox::GetPlaces() { - return maPlaces; -} void PlacesListBox::RemovePlace( sal_uInt16 nPos ) { diff --git a/fpicker/source/office/PlacesListBox.hxx b/fpicker/source/office/PlacesListBox.hxx index 51d300b53697..19a5963b3af7 100644 --- a/fpicker/source/office/PlacesListBox.hxx +++ b/fpicker/source/office/PlacesListBox.hxx @@ -54,9 +54,9 @@ class PlacesListBox : public Control void AppendPlace( PlacePtr pPlace ); void RemovePlace( sal_uInt16 nPos ); void RemoveSelectedPlace(); - sal_Int32 GetNbEditablePlaces(); + sal_Int32 GetNbEditablePlaces() { return mnNbEditables;} bool IsUpdated(); - const std::vector<PlacePtr>& GetPlaces(); + const std::vector<PlacePtr>& GetPlaces() { return maPlaces;} void SetAddHdl( const Link& rHdl ); void SetDelHdl( const Link& rHdl ); diff --git a/fpicker/source/office/fpinteraction.cxx b/fpicker/source/office/fpinteraction.cxx index 2f28c10e0915..e6b4e315af5f 100644 --- a/fpicker/source/office/fpinteraction.cxx +++ b/fpicker/source/office/fpinteraction.cxx @@ -115,10 +115,6 @@ namespace svt } - bool OFilePickerInteractionHandler::wasUsed() const - { - return m_bUsed; - } void OFilePickerInteractionHandler::resetUseState() diff --git a/fpicker/source/office/fpinteraction.hxx b/fpicker/source/office/fpinteraction.hxx index 9c9ef6052dbc..dd116f958421 100644 --- a/fpicker/source/office/fpinteraction.hxx +++ b/fpicker/source/office/fpinteraction.hxx @@ -61,7 +61,7 @@ namespace svt // some generic functions void enableInterceptions( EInterceptedInteractions eInterceptions ); - bool wasUsed () const; + bool wasUsed () const { return m_bUsed; } void resetUseState (); void forgetRequest (); |