From b99638665a0f286b29a2cb8827f0ea80bebd4705 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 3 Aug 2015 21:16:46 +0200 Subject: -Werror,-Wunused-private-field Change-Id: Ifc3cbc210da3bc342cd17a70284ce88ad22455fd --- idl/inc/module.hxx | 4 +--- idl/source/objects/module.cxx | 5 ++--- idl/source/prj/database.cxx | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) (limited to 'idl') diff --git a/idl/inc/module.hxx b/idl/inc/module.hxx index c8d1c40afc8a..4cb379882196 100644 --- a/idl/inc/module.hxx +++ b/idl/inc/module.hxx @@ -38,7 +38,6 @@ class SvMetaModule : public SvMetaExtern SvMetaTypeMemberList aTypeList; SvMetaAttributeMemberList aAttrList; // browser - OUString aIdlFileName; SvString aHelpFileName; SvString aSlotIdFile; SvString aTypeLibFile; @@ -57,8 +56,7 @@ public: virtual bool SetName( const OString& rName, SvIdlDataBase * = NULL ) SAL_OVERRIDE; - SvMetaModule( const OUString & rIdlFileName, - bool bImported ); + SvMetaModule( bool bImported ); bool FillNextName( SvGlobalName * ); bool IsImported() const { return bImported; } diff --git a/idl/source/objects/module.cxx b/idl/source/objects/module.cxx index 6bd316c73cc5..573fc6ddac27 100644 --- a/idl/source/objects/module.cxx +++ b/idl/source/objects/module.cxx @@ -29,9 +29,8 @@ TYPEINIT1( SvMetaModule, SvMetaExtern ); -SvMetaModule::SvMetaModule( const OUString & rIdlFileName, bool bImp ) - : aIdlFileName( rIdlFileName ) - , bImported( bImp ), bIsModified( false ) +SvMetaModule::SvMetaModule( bool bImp ) + : bImported( bImp ), bIsModified( false ) { } diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx index 0aba11745589..6030afd9e5ce 100644 --- a/idl/source/prj/database.cxx +++ b/idl/source/prj/database.cxx @@ -587,7 +587,7 @@ bool SvIdlWorkingBase::ReadSvIdl( SvTokenStream & rInStm, bool bImported, const // only one import at the very beginning if( pTok->Is( SvHash_module() ) ) { - SvMetaModuleRef aModule = new SvMetaModule( rInStm.GetFileName(), bImported ); + SvMetaModuleRef aModule = new SvMetaModule( bImported ); if( aModule->ReadSvIdl( *this, rInStm ) ) GetModuleList().push_back( aModule ); else -- cgit