summaryrefslogtreecommitdiff
path: root/scaddins/source/datefunc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-20 14:23:53 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-21 06:52:35 +0000
commitd69d4f7174ffae502c4aa9cc69786c897662dddc (patch)
tree3de4099cd9d62e922834d9a3eec531a417d341cf /scaddins/source/datefunc
parent564805d6f825a7889e039c3f95a638fa7c00b4f4 (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/source/datefunc')
-rw-r--r--scaddins/source/datefunc/datefunc.hxx11
1 files changed, 2 insertions, 9 deletions
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; }