summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-25 15:09:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-28 08:32:56 +0200
commit3a36cf434fb4a967c9ea767cb7ac5f4da0502a0d (patch)
treeab1747ff3e977ad322cf05b68626879f2c68e6e0 /idl
parent74ccd02eda2d6325a27266fd935aba29b3d75020 (diff)
loplugin:checkunusedparams in configmgr and vcl
Change-Id: I7226d01f38e6edaf3868d7267d9b02dbdbc9e5ba Reviewed-on: https://gerrit.libreoffice.org/36975 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idl')
-rw-r--r--idl/inc/types.hxx2
-rw-r--r--idl/source/objects/types.cxx5
2 files changed, 3 insertions, 4 deletions
diff --git a/idl/inc/types.hxx b/idl/inc/types.hxx
index 5ecf4359d88a..8c2bc8b9cf33 100644
--- a/idl/inc/types.hxx
+++ b/idl/inc/types.hxx
@@ -58,7 +58,7 @@ class SvMetaType : public SvMetaReference
void WriteSfxItem( const OString& rItemName, SvIdlDataBase & rBase,
SvStream & rOutStm );
protected:
- bool ReadHeaderSvIdl( SvIdlDataBase &, SvTokenStream & rInStm );
+ bool ReadHeaderSvIdl( SvTokenStream & rInStm );
public:
SvMetaType();
SvMetaType( const OString& rTypeName );
diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx
index ed58c172f39c..f90145f7cd56 100644
--- a/idl/source/objects/types.cxx
+++ b/idl/source/objects/types.cxx
@@ -156,8 +156,7 @@ SvMetaType * SvMetaType::GetReturnType() const
return static_cast<SvMetaType *>(GetRef());
}
-bool SvMetaType::ReadHeaderSvIdl( SvIdlDataBase & ,
- SvTokenStream & rInStm )
+bool SvMetaType::ReadHeaderSvIdl( SvTokenStream & rInStm )
{
bool bOk = false;
sal_uInt32 nTokPos = rInStm.Tell();
@@ -181,7 +180,7 @@ bool SvMetaType::ReadHeaderSvIdl( SvIdlDataBase & ,
bool SvMetaType::ReadSvIdl( SvIdlDataBase & rBase,
SvTokenStream & rInStm )
{
- if( ReadHeaderSvIdl( rBase, rInStm ) )
+ if( ReadHeaderSvIdl( rInStm ) )
{
rBase.Write(OString('.'));
return SvMetaReference::ReadSvIdl( rBase, rInStm );