summaryrefslogtreecommitdiff
path: root/idl/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-08 16:47:42 +0200
committerNoel Grandin <noel@peralex.com>2016-03-09 10:07:47 +0200
commited4375c6d834e68a3f7c7dfb39a6ae0755da4785 (patch)
tree8fbdb037ee9273a636e1cdd1560da24f3e7a5921 /idl/source
parent1dc23829b9a38d4c6be4a0649dee28a5693ac87a (diff)
loplugin:constantparam in idl
Change-Id: Icb5e64f17d9472320a79363b1e926e2b4ab05273
Diffstat (limited to 'idl/source')
-rw-r--r--idl/source/prj/command.cxx2
-rw-r--r--idl/source/prj/parser.cxx4
2 files changed, 3 insertions, 3 deletions
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 );
}