From ed4375c6d834e68a3f7c7dfb39a6ae0755da4785 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 8 Mar 2016 16:47:42 +0200 Subject: loplugin:constantparam in idl Change-Id: Icb5e64f17d9472320a79363b1e926e2b4ab05273 --- idl/inc/parser.hxx | 2 +- idl/source/prj/command.cxx | 2 +- idl/source/prj/parser.cxx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/idl/inc/parser.hxx b/idl/inc/parser.hxx index c24fdfb9f1b1..7f6186c0af13 100644 --- a/idl/inc/parser.hxx +++ b/idl/inc/parser.hxx @@ -37,7 +37,7 @@ class SvIdlParser SvTokenStream & rInStm; public: SvIdlParser( SvIdlDataBase& rBase_, SvTokenStream & rInStrm_) : rBase(rBase_), rInStm(rInStrm_) {} - void ReadSvIdl( bool bImported, const OUString & rPath ); + void ReadSvIdl( const OUString & rPath ); void ReadModuleHeader(SvMetaModule& rModule); void ReadModuleBody(SvMetaModule& rModule); void ReadModuleElement( SvMetaModule& rModule ); diff --git a/idl/source/prj/command.cxx b/idl/source/prj/command.cxx index c12c1e755523..66ab61cd3344 100644 --- a/idl/source/prj/command.cxx +++ b/idl/source/prj/command.cxx @@ -126,7 +126,7 @@ bool ReadIdl( SvIdlWorkingBase * pDataBase, const SvCommand & rCommand ) SvTokenStream aTokStm( aFileName ); try { SvIdlParser aParser(*pDataBase, aTokStm); - aParser.ReadSvIdl( false, rCommand.aPath ); + aParser.ReadSvIdl( rCommand.aPath ); } catch (const SvParseException& ex) { pDataBase->SetError(ex.aError); pDataBase->WriteError(aTokStm); diff --git a/idl/source/prj/parser.cxx b/idl/source/prj/parser.cxx index dc3340a214b8..c1a309679909 100644 --- a/idl/source/prj/parser.cxx +++ b/idl/source/prj/parser.cxx @@ -26,7 +26,7 @@ #include #include -void SvIdlParser::ReadSvIdl( bool bImported, const OUString & rPath ) +void SvIdlParser::ReadSvIdl( const OUString & rPath ) { rBase.SetPath(rPath); // only valid for this iteration SvToken& rTok = rInStm.GetToken(); @@ -38,7 +38,7 @@ void SvIdlParser::ReadSvIdl( bool bImported, const OUString & rPath ) return; Read( SvHash_module() ); - tools::SvRef aModule = new SvMetaModule( bImported ); + tools::SvRef aModule = new SvMetaModule( false/*bImported*/ ); ReadModuleHeader(*aModule); rBase.GetModuleList().push_back( aModule ); } -- cgit v1.2.3