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 /formula | |
parent | 534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff) |
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/core/api/vectortoken.cxx | 4 | ||||
-rw-r--r-- | formula/source/ui/dlg/parawin.cxx | 4 | ||||
-rw-r--r-- | formula/source/ui/dlg/parawin.hxx | 2 | ||||
-rw-r--r-- | formula/source/ui/dlg/structpg.cxx | 4 | ||||
-rw-r--r-- | formula/source/ui/dlg/structpg.hxx | 2 |
5 files changed, 2 insertions, 14 deletions
diff --git a/formula/source/core/api/vectortoken.cxx b/formula/source/core/api/vectortoken.cxx index c1ff94c82146..4cf764faf9e2 100644 --- a/formula/source/core/api/vectortoken.cxx +++ b/formula/source/core/api/vectortoken.cxx @@ -36,10 +36,6 @@ VectorRefArray::VectorRefArray( const double* pNumArray, rtl_uString** pStrArray mpStringArray(pStrArray), mbValid(true) {} -bool VectorRefArray::isValid() const -{ - return mbValid; -} SingleVectorRefToken::SingleVectorRefToken( const VectorRefArray& rArray, size_t nReqLength, size_t nArrayLength ) : FormulaToken(svSingleVectorRef, ocPush), maArray(rArray), mnRequestedLength(nReqLength), mnArrayLength(nArrayLength) {} diff --git a/formula/source/ui/dlg/parawin.cxx b/formula/source/ui/dlg/parawin.cxx index 68939ba17aba..bb0ee20786fb 100644 --- a/formula/source/ui/dlg/parawin.cxx +++ b/formula/source/ui/dlg/parawin.cxx @@ -217,10 +217,6 @@ ParaWin::~ParaWin() aBtnFx4.SetGetFocusHdl( aEmptyLink ); } -sal_uInt16 ParaWin::GetActiveLine() -{ - return nActiveLine; -} void ParaWin::SetActiveLine(sal_uInt16 no) { diff --git a/formula/source/ui/dlg/parawin.hxx b/formula/source/ui/dlg/parawin.hxx index 70858e3fa9d0..3b2df6bcb7c9 100644 --- a/formula/source/ui/dlg/parawin.hxx +++ b/formula/source/ui/dlg/parawin.hxx @@ -135,7 +135,7 @@ public: bool IsRefMode() {return bRefMode;} void SetRefMode(bool bFlag) {bRefMode=bFlag;} - sal_uInt16 GetActiveLine(); + sal_uInt16 GetActiveLine() { return nActiveLine;} void SetActiveLine(sal_uInt16 no); RefEdit* GetActiveEdit(); OUString GetActiveArgName(); diff --git a/formula/source/ui/dlg/structpg.cxx b/formula/source/ui/dlg/structpg.cxx index d3e02709612b..3171fe36a49b 100644 --- a/formula/source/ui/dlg/structpg.cxx +++ b/formula/source/ui/dlg/structpg.cxx @@ -58,10 +58,6 @@ void StructListBox::SetActiveFlag(bool bFlag) bActiveFlag=bFlag; } -bool StructListBox::GetActiveFlag() -{ - return bActiveFlag; -} void StructListBox::MouseButtonDown( const MouseEvent& rMEvt ) { diff --git a/formula/source/ui/dlg/structpg.hxx b/formula/source/ui/dlg/structpg.hxx index 85829ae00e4c..f5086983fd34 100644 --- a/formula/source/ui/dlg/structpg.hxx +++ b/formula/source/ui/dlg/structpg.hxx @@ -59,7 +59,7 @@ public: IFormulaToken* pToken = NULL ); void SetActiveFlag(bool bFlag=true); - bool GetActiveFlag(); + bool GetActiveFlag() { return bActiveFlag;} void GetFocus() SAL_OVERRIDE; void LoseFocus() SAL_OVERRIDE; }; |