summaryrefslogtreecommitdiff
path: root/rsc/source/parser/rscicpx.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-01-21 15:21:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-01-21 15:21:16 +0100
commit7c704c78d3c652504c064b4ac7af55a2c1ee49bb (patch)
tree623358cf25839219ef4fd90eea4f3eaa55389a1f /rsc/source/parser/rscicpx.cxx
parent0d5167915b47df7c3e450614ea50d845ba959df3 (diff)
Removed some unused parameters; added SAL_UNUSED_PARAMETER.
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
Diffstat (limited to 'rsc/source/parser/rscicpx.cxx')
-rw-r--r--rsc/source/parser/rscicpx.cxx16
1 files changed, 5 insertions, 11 deletions
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx
index ad70349f17b0..ee50a73e44ce 100644
--- a/rsc/source/parser/rscicpx.cxx
+++ b/rsc/source/parser/rscicpx.cxx
@@ -192,7 +192,7 @@ RscTop * RscTypCont::InitClassImage( RscTop * pSuper, RscTop * pClassBitmap,
/*************************************************************************
|* RscTypCont::InitClassImageList()
*************************************************************************/
-RscTop * RscTypCont::InitClassImageList( RscTop * pSuper, RscTop * /*pClassBitmap*/,
+RscTop * RscTypCont::InitClassImageList( RscTop * pSuper,
RscTop * pClassColor, RscCont * pStrLst )
{
Atom nId;
@@ -1450,10 +1450,7 @@ RscTop * RscTypCont::InitClassMetricFormatter( RscTop * pSuper,
/*************************************************************************
|* RscTypCont::InitClassCurrencyFormatter()
*************************************************************************/
-RscTop * RscTypCont::InitClassCurrencyFormatter
-(
- RscTop * pSuper,
- RscEnum * /* pFieldUnits */)
+RscTop * RscTypCont::InitClassCurrencyFormatter(RscTop * pSuper)
{
Atom nId;
RscTop * pClassCurrency;
@@ -1802,8 +1799,7 @@ RscTop * RscTypCont::InitClassCurrencyBox
/*************************************************************************
|* RscTypCont::InitClassDateBox()
*************************************************************************/
-RscTop * RscTypCont::InitClassDateBox( RscTop * pSuper,
- RscTop * /*pClassDate*/ )
+RscTop * RscTypCont::InitClassDateBox( RscTop * pSuper )
{
Atom nId;
RscTop * pClassDateBox;
@@ -1823,8 +1819,7 @@ RscTop * RscTypCont::InitClassDateBox( RscTop * pSuper,
/*************************************************************************
|* RscTypCont::InitClassTimeBox()
*************************************************************************/
-RscTop * RscTypCont::InitClassTimeBox( RscTop * pSuper,
- RscTop * /*pClassTime*/ )
+RscTop * RscTypCont::InitClassTimeBox( RscTop * pSuper )
{
Atom nId;
RscTop * pClassTimeBox;
@@ -2187,8 +2182,7 @@ RscTop * RscTypCont::InitClassFloatingWindow( RscTop * pSuper,
/*************************************************************************
|* RscTypCont::InitClassTabControlItem()
*************************************************************************/
-RscTop * RscTypCont::InitClassTabControlItem( RscTop * pSuper,
- RscTop * /*pClassTabPage*/ )
+RscTop * RscTypCont::InitClassTabControlItem( RscTop * pSuper )
{
Atom nId;
RscTop * pClassTabControlItem;