summaryrefslogtreecommitdiff
path: root/idl/source/prj
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-23 09:44:28 +0200
committerNoel Grandin <noel@peralex.com>2016-03-23 10:19:43 +0200
commit5b79f5a4e5126a427c14c46e65b3a0b898024f60 (patch)
tree3202be5fd301b5bf526faf5a5ee05582be19c9bb /idl/source/prj
parent1e509513d95e810d44246e65fe3d1547772bc06b (diff)
loplugin:constantparam in idl
Change-Id: I2fa4c74c9709d3a8495341f00d974ba960c18deb
Diffstat (limited to 'idl/source/prj')
-rw-r--r--idl/source/prj/database.cxx3
-rw-r--r--idl/source/prj/parser.cxx2
2 files changed, 2 insertions, 3 deletions
diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx
index 4926b59869fa..d001ee4a4386 100644
--- a/idl/source/prj/database.cxx
+++ b/idl/source/prj/database.cxx
@@ -461,8 +461,7 @@ bool SvIdlWorkingBase::WriteSfx( SvStream & rOutStm )
for( n = 0; n < GetModuleList().size(); n++ )
{
SvMetaModule * pModule = GetModuleList()[n];
- if( !pModule->IsImported() )
- pModule->WriteSfx( *this, aTmpStm );
+ pModule->WriteSfx( *this, aTmpStm );
aTmpStm.Seek( 0 );
}
for( n = 0; n < aUsedTypes.size(); n++ )
diff --git a/idl/source/prj/parser.cxx b/idl/source/prj/parser.cxx
index c1a309679909..48e75741c90d 100644
--- a/idl/source/prj/parser.cxx
+++ b/idl/source/prj/parser.cxx
@@ -38,7 +38,7 @@ void SvIdlParser::ReadSvIdl( const OUString & rPath )
return;
Read( SvHash_module() );
- tools::SvRef<SvMetaModule> aModule = new SvMetaModule( false/*bImported*/ );
+ tools::SvRef<SvMetaModule> aModule = new SvMetaModule;
ReadModuleHeader(*aModule);
rBase.GetModuleList().push_back( aModule );
}