diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-08 16:47:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-09 10:07:47 +0200 |
commit | ed4375c6d834e68a3f7c7dfb39a6ae0755da4785 (patch) | |
tree | 8fbdb037ee9273a636e1cdd1560da24f3e7a5921 /idl | |
parent | 1dc23829b9a38d4c6be4a0649dee28a5693ac87a (diff) |
loplugin:constantparam in idl
Change-Id: Icb5e64f17d9472320a79363b1e926e2b4ab05273
Diffstat (limited to 'idl')
-rw-r--r-- | idl/inc/parser.hxx | 2 | ||||
-rw-r--r-- | idl/source/prj/command.cxx | 2 | ||||
-rw-r--r-- | 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 <globals.hxx> #include <osl/file.hxx> -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<SvMetaModule> aModule = new SvMetaModule( bImported ); + tools::SvRef<SvMetaModule> aModule = new SvMetaModule( false/*bImported*/ ); ReadModuleHeader(*aModule); rBase.GetModuleList().push_back( aModule ); } |