diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-20 14:23:53 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-21 06:52:35 +0000 |
commit | d69d4f7174ffae502c4aa9cc69786c897662dddc (patch) | |
tree | 3de4099cd9d62e922834d9a3eec531a417d341cf /scaddins | |
parent | 564805d6f825a7889e039c3f95a638fa7c00b4f4 (diff) |
loplugin:unusedmethods reportdesign,scaddins
Change-Id: I3e2ccdbc0dd97f276a96eae5c041c09e69cede91
Reviewed-on: https://gerrit.libreoffice.org/17235
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'scaddins')
-rw-r--r-- | scaddins/source/analysis/analysishelper.hxx | 11 | ||||
-rw-r--r-- | scaddins/source/datefunc/datefunc.hxx | 11 | ||||
-rw-r--r-- | scaddins/source/pricing/pricing.hxx | 11 |
3 files changed, 6 insertions, 27 deletions
diff --git a/scaddins/source/analysis/analysishelper.hxx b/scaddins/source/analysis/analysishelper.hxx index 1f94bb41f142..d82af307a9c5 100644 --- a/scaddins/source/analysis/analysishelper.hxx +++ b/scaddins/source/analysis/analysishelper.hxx @@ -190,11 +190,10 @@ public: inline sal_uInt16 GetUINameID() const; inline sal_uInt16 GetDescrID() const; - inline bool IsDouble() const; - inline bool HasIntParam() const; + inline bool IsDouble() const; sal_uInt16 GetStrIndex( sal_uInt16 nParamNum ) const; - inline bool Is( const OUString& rCompareTo ) const; + inline bool Is( const OUString& rCompareTo ) const; inline const std::vector<OUString> & GetCompNameList() const; @@ -572,12 +571,6 @@ inline bool FuncData::IsDouble() const } -inline bool FuncData::HasIntParam() const -{ - return bWithOpt; -} - - inline bool FuncData::Is( const OUString& r ) const { return aIntName == r; diff --git a/scaddins/source/datefunc/datefunc.hxx b/scaddins/source/datefunc/datefunc.hxx index 333ed402932f..9922bdfa1d11 100644 --- a/scaddins/source/datefunc/datefunc.hxx +++ b/scaddins/source/datefunc/datefunc.hxx @@ -92,7 +92,6 @@ public: inline OUString* Next(); using ScaList::Append; - inline void Append( OUString* pNew ); inline void Append( const OUString& rNew ); }; @@ -112,11 +111,6 @@ inline OUString* ScaStringList::Next() return static_cast< OUString* >( ScaList::Next() ); } -inline void ScaStringList::Append( OUString* pNew ) -{ - ScaList::Append( pNew ); -} - inline void ScaStringList::Append( const OUString& rNew ) { ScaList::Append( new OUString( rNew ) ); @@ -232,11 +226,10 @@ public: inline sal_uInt16 GetUINameID() const { return nUINameID; } inline sal_uInt16 GetDescrID() const { return nDescrID; } inline ScaCategory GetCategory() const { return eCat; } - inline bool IsDouble() const { return bDouble; } - inline bool HasIntParam() const { return bWithOpt; } + inline bool IsDouble() const { return bDouble; } sal_uInt16 GetStrIndex( sal_uInt16 nParam ) const; - inline bool Is( const OUString& rCompare ) const + inline bool Is( const OUString& rCompare ) const { return aIntName == rCompare; } inline const ScaStringList& GetCompNameList() const { return aCompList; } diff --git a/scaddins/source/pricing/pricing.hxx b/scaddins/source/pricing/pricing.hxx index 0acf09a1f940..21a3c4984563 100644 --- a/scaddins/source/pricing/pricing.hxx +++ b/scaddins/source/pricing/pricing.hxx @@ -104,7 +104,6 @@ public: inline OUString* Next(); using ScaList::Append; - inline void Append( OUString* pNew ); inline void Append( const OUString& rNew ); }; @@ -124,11 +123,6 @@ inline OUString* ScaStringList::Next() return static_cast< OUString* >( ScaList::Next() ); } -inline void ScaStringList::Append( OUString* pNew ) -{ - ScaList::Append( pNew ); -} - inline void ScaStringList::Append( const OUString& rNew ) { ScaList::Append( new OUString( rNew ) ); @@ -244,11 +238,10 @@ public: inline sal_uInt16 GetUINameID() const { return nUINameID; } inline sal_uInt16 GetDescrID() const { return nDescrID; } inline ScaCategory GetCategory() const { return eCat; } - inline bool IsDouble() const { return bDouble; } - inline bool HasIntParam() const { return bWithOpt; } + inline bool IsDouble() const { return bDouble; } sal_uInt16 GetStrIndex( sal_uInt16 nParam ) const; - inline bool Is( const OUString& rCompare ) const + inline bool Is( const OUString& rCompare ) const { return aIntName == rCompare; } inline const ScaStringList& GetCompNameList() const { return aCompList; } |