summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-03 21:16:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-03 21:16:46 +0200
commitb99638665a0f286b29a2cb8827f0ea80bebd4705 (patch)
tree772c80e2457b6af24aec6c0288add7e8d05f518b /idl
parent8b7ec376c38886ed26520034db35ce094b94c114 (diff)
-Werror,-Wunused-private-field
Change-Id: Ifc3cbc210da3bc342cd17a70284ce88ad22455fd
Diffstat (limited to 'idl')
-rw-r--r--idl/inc/module.hxx4
-rw-r--r--idl/source/objects/module.cxx5
-rw-r--r--idl/source/prj/database.cxx2
3 files changed, 4 insertions, 7 deletions
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