summaryrefslogtreecommitdiff
path: root/scaddins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-26 10:18:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-27 09:36:53 +0100
commitaa753f01ba4631614bb88ee7d3a3e6b222208b3e (patch)
treec8b168e8e0619c387d30f206848ec30ca7238a00 /scaddins
parent2ea2860ba56231d989c5e1b8f87392921bc2a8db (diff)
-Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
Diffstat (limited to 'scaddins')
-rw-r--r--scaddins/source/datefunc/datefunc.cxx1
-rw-r--r--scaddins/source/pricing/pricing.cxx2
2 files changed, 0 insertions, 3 deletions
diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx
index 8ec1bab06428..378db18cb192 100644
--- a/scaddins/source/datefunc/datefunc.cxx
+++ b/scaddins/source/datefunc/datefunc.cxx
@@ -93,7 +93,6 @@ ScaResId::ScaResId( sal_uInt16 nId, ResMgr& rResMgr ) :
//------------------------------------------------------------------
#define UNIQUE sal_False // function name does not exist in Calc
-#define DOUBLE sal_True // function name exists in Calc
#define STDPAR sal_False // all parameters are described
#define INTPAR sal_True // first parameter is internal
diff --git a/scaddins/source/pricing/pricing.cxx b/scaddins/source/pricing/pricing.cxx
index 8d6bf00e81f0..2d7a8c8ca7f8 100644
--- a/scaddins/source/pricing/pricing.cxx
+++ b/scaddins/source/pricing/pricing.cxx
@@ -100,10 +100,8 @@ ScaResId::ScaResId( sal_uInt16 nId, ResMgr& rResMgr ) :
//------------------------------------------------------------------
#define UNIQUE sal_False // function name does not exist in Calc
-#define DOUBLE sal_True // function name exists in Calc
#define STDPAR sal_False // all parameters are described
-#define INTPAR sal_True // first parameter is internal
#define FUNCDATA( FuncName, ParamCount, Category, Double, IntPar ) \
{ "get" #FuncName, PRICING_FUNCNAME_##FuncName, PRICING_FUNCDESC_##FuncName, PRICING_DEFFUNCNAME_##FuncName, ParamCount, Category, Double, IntPar }