Kaydet (Commit) b9963866 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-private-field

Change-Id: Ifc3cbc210da3bc342cd17a70284ce88ad22455fd
üst 8b7ec376
......@@ -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; }
......
......@@ -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 )
{
}
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment