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 ...@@ -38,7 +38,6 @@ class SvMetaModule : public SvMetaExtern
SvMetaTypeMemberList aTypeList; SvMetaTypeMemberList aTypeList;
SvMetaAttributeMemberList aAttrList; SvMetaAttributeMemberList aAttrList;
// browser // browser
OUString aIdlFileName;
SvString aHelpFileName; SvString aHelpFileName;
SvString aSlotIdFile; SvString aSlotIdFile;
SvString aTypeLibFile; SvString aTypeLibFile;
...@@ -57,8 +56,7 @@ public: ...@@ -57,8 +56,7 @@ public:
virtual bool SetName( const OString& rName, SvIdlDataBase * = NULL ) SAL_OVERRIDE; virtual bool SetName( const OString& rName, SvIdlDataBase * = NULL ) SAL_OVERRIDE;
SvMetaModule( const OUString & rIdlFileName, SvMetaModule( bool bImported );
bool bImported );
bool FillNextName( SvGlobalName * ); bool FillNextName( SvGlobalName * );
bool IsImported() const { return bImported; } bool IsImported() const { return bImported; }
......
...@@ -29,9 +29,8 @@ ...@@ -29,9 +29,8 @@
TYPEINIT1( SvMetaModule, SvMetaExtern ); TYPEINIT1( SvMetaModule, SvMetaExtern );
SvMetaModule::SvMetaModule( const OUString & rIdlFileName, bool bImp ) SvMetaModule::SvMetaModule( bool bImp )
: aIdlFileName( rIdlFileName ) : bImported( bImp ), bIsModified( false )
, bImported( bImp ), bIsModified( false )
{ {
} }
......
...@@ -587,7 +587,7 @@ bool SvIdlWorkingBase::ReadSvIdl( SvTokenStream & rInStm, bool bImported, const ...@@ -587,7 +587,7 @@ bool SvIdlWorkingBase::ReadSvIdl( SvTokenStream & rInStm, bool bImported, const
// only one import at the very beginning // only one import at the very beginning
if( pTok->Is( SvHash_module() ) ) if( pTok->Is( SvHash_module() ) )
{ {
SvMetaModuleRef aModule = new SvMetaModule( rInStm.GetFileName(), bImported ); SvMetaModuleRef aModule = new SvMetaModule( bImported );
if( aModule->ReadSvIdl( *this, rInStm ) ) if( aModule->ReadSvIdl( *this, rInStm ) )
GetModuleList().push_back( aModule ); GetModuleList().push_back( aModule );
else 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