[Libreoffice-commits] core.git: idl/inc idl/source
Stephan Bergmann
sbergman at redhat.com
Mon Aug 3 12:17:12 PDT 2015
idl/inc/module.hxx | 4 +---
idl/source/objects/module.cxx | 5 ++---
idl/source/prj/database.cxx | 2 +-
3 files changed, 4 insertions(+), 7 deletions(-)
New commits:
commit b99638665a0f286b29a2cb8827f0ea80bebd4705
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Aug 3 21:16:46 2015 +0200
-Werror,-Wunused-private-field
Change-Id: Ifc3cbc210da3bc342cd17a70284ce88ad22455fd
diff --git a/idl/inc/module.hxx b/idl/inc/module.hxx
index c8d1c40..4cb3798 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 6bd316c..573fc6d 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 0aba117..6030afd 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
More information about the Libreoffice-commits
mailing list