summaryrefslogtreecommitdiffstats
path: root/autodoc/inc
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 /autodoc/inc
parentFix Possible inefficient checking for 'aChrSetArr' emptiness (diff)
downloadcore-7c704c78d3c652504c064b4ac7af55a2c1ee49bb.tar.gz
core-7c704c78d3c652504c064b4ac7af55a2c1ee49bb.zip
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 'autodoc/inc')
-rw-r--r--autodoc/inc/ary/idl/i_ce2s.hxx3
-rw-r--r--autodoc/inc/ary_i/d_token.hxx6
2 files changed, 3 insertions, 6 deletions
diff --git a/autodoc/inc/ary/idl/i_ce2s.hxx b/autodoc/inc/ary/idl/i_ce2s.hxx
index 09774d36e09f..87c9c411ab65 100644
--- a/autodoc/inc/ary/idl/i_ce2s.hxx
+++ b/autodoc/inc/ary/idl/i_ce2s.hxx
@@ -54,8 +54,7 @@ class Ce_2s
Ce_2s() {}
virtual ~Ce_2s();
- static DYN Ce_2s * Create_(
- ClassId i_nCeClass );
+ static DYN Ce_2s * Create_();
// OPERATIONS
void Add_Link2DescriptionInManual(
const String & i_link,
diff --git a/autodoc/inc/ary_i/d_token.hxx b/autodoc/inc/ary_i/d_token.hxx
index dd1133658086..7247de6e9038 100644
--- a/autodoc/inc/ary_i/d_token.hxx
+++ b/autodoc/inc/ary_i/d_token.hxx
@@ -116,8 +116,7 @@ class DT_MLTag : public DT_Dsapi
class DT_MupType : public DT_MLTag
{
public:
- explicit DT_MupType( /// Constructor for End-Tag
- bool ) /// Must be there, but is not evaluated.
+ explicit DT_MupType() /// Constructor for End-Tag
: bIsBegin(false) {}
explicit DT_MupType( /// Constructor for Begin-Tag
const String & i_sScope )
@@ -138,8 +137,7 @@ class DT_MupType : public DT_MLTag
class DT_MupMember : public DT_MLTag
{
public:
- explicit DT_MupMember( /// Constructor for End-Tag
- bool ) /// Must be there, but is not evaluated.
+ explicit DT_MupMember() /// Constructor for End-Tag
: bIsBegin(false) {}
DT_MupMember( /// Constructor for Begin-Tag
const String & i_sScope )