summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-03 13:23:09 +0200
committerNoel Grandin <noel@peralex.com>2016-02-03 15:06:44 +0200
commitd9e362e4516a5df77f3edd12d57ce224a0a4979d (patch)
treeabb20af4d47cc44b9a21dc285187c5d9226a7010 /idl
parent60d6cb4faaffeef7e4660b2077c7d41a6865b761 (diff)
remove unused HasCoreId from SDI files
Change-Id: I4aca4b8a79ce92d64ce004ccdb7e9a0f408dc768
Diffstat (limited to 'idl')
-rw-r--r--idl/inc/globals.hxx2
-rw-r--r--idl/inc/slot.hxx2
-rw-r--r--idl/source/objects/slot.cxx8
-rw-r--r--idl/source/prj/command.cxx1
-rw-r--r--idl/source/prj/globals.cxx1
5 files changed, 0 insertions, 14 deletions
diff --git a/idl/inc/globals.hxx b/idl/inc/globals.hxx
index b74824494528..ab12cb72b904 100644
--- a/idl/inc/globals.hxx
+++ b/idl/inc/globals.hxx
@@ -43,7 +43,6 @@ struct SvGlobalHashNames
SvStringHashEntryRef MM_Get;
SvStringHashEntryRef MM_Set;
SvStringHashEntryRef MM_SlotId;
- SvStringHashEntryRef MM_HasCoreId;
SvStringHashEntryRef MM_Cachable;
SvStringHashEntryRef MM_Volatile;
SvStringHashEntryRef MM_Toggle;
@@ -148,7 +147,6 @@ HASH_INLINE(shell)
HASH_INLINE(Get)
HASH_INLINE(Set)
HASH_INLINE(SlotId)
-HASH_INLINE(HasCoreId)
HASH_INLINE(Cachable)
HASH_INLINE(Volatile)
HASH_INLINE(Toggle)
diff --git a/idl/inc/slot.hxx b/idl/inc/slot.hxx
index 8ed5d398d2bf..165388bbfc7f 100644
--- a/idl/inc/slot.hxx
+++ b/idl/inc/slot.hxx
@@ -28,7 +28,6 @@ class SvMetaSlot : public SvMetaAttribute
SvMetaTypeRef aSlotType;
SvMetaAttributeRef aMethod;
SvIdentifier aGroupId;
- SvBOOL aHasCoreId;
SvIdentifier aConfigId;
SvIdentifier aExecMethod;
SvIdentifier aStateMethod;
@@ -158,7 +157,6 @@ public:
SvMetaAttribute * GetMethod() const;
SvMetaType * GetSlotType() const;
- bool GetHasCoreId() const;
const OString& GetGroupId() const;
const OString& GetConfigId() const;
const OString& GetExecMethod() const;
diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx
index 987601683c70..9f0e03677de6 100644
--- a/idl/source/objects/slot.cxx
+++ b/idl/source/objects/slot.cxx
@@ -98,11 +98,6 @@ SvMetaAttribute * SvMetaSlot::GetMethod() const
if( aMethod.Is() || !GetRef() ) return aMethod;
return static_cast<SvMetaSlot *>(GetRef())->GetMethod();
}
-bool SvMetaSlot::GetHasCoreId() const
-{
- if( aHasCoreId.IsSet() || !GetRef() ) return aHasCoreId;
- return static_cast<SvMetaSlot *>(GetRef())->GetHasCoreId();
-}
const OString& SvMetaSlot::GetGroupId() const
{
if( !aGroupId.getString().isEmpty() || !GetRef() ) return aGroupId.getString();
@@ -281,7 +276,6 @@ void SvMetaSlot::ReadAttributesSvIdl( SvIdlDataBase & rBase,
bool bOk = false;
bOk |= aDefault.ReadSvIdl( SvHash_Default(), rInStm );
bOk |= aPseudoSlots.ReadSvIdl( SvHash_PseudoSlots(), rInStm );
- bOk |= aHasCoreId.ReadSvIdl( SvHash_HasCoreId(), rInStm );
bOk |= aGroupId.ReadSvIdl( SvHash_GroupId(), rInStm );
bOk |= aExecMethod.ReadSvIdl( SvHash_ExecMethod(), rInStm );
bOk |= aStateMethod.ReadSvIdl( SvHash_StateMethod(), rInStm );
@@ -832,8 +826,6 @@ void SvMetaSlot::WriteSlot( const OString& rShellName, sal_uInt16 nCount,
WriteTab( rOutStm, 4 );
// write flags
- if( GetHasCoreId() )
- rOutStm.WriteCharPtr( MakeSlotName( SvHash_HasCoreId() ).getStr() ).WriteChar( '|' );
if( GetCachable() )
rOutStm.WriteCharPtr( MakeSlotName( SvHash_Cachable() ).getStr() ).WriteChar( '|' );
if( GetVolatile() )
diff --git a/idl/source/prj/command.cxx b/idl/source/prj/command.cxx
index 1ccade471ffb..b1c87083f697 100644
--- a/idl/source/prj/command.cxx
+++ b/idl/source/prj/command.cxx
@@ -84,7 +84,6 @@ char const * SyntaxStrings[] = {
"\t\tFastCall",
"\t\tGet, Set",
"\t\tGroupId = Identifier",
-"\t\tHasCoreId",
"\t\tHasDialog",
"\t\tIsCollection",
"\t\tImageRotation",
diff --git a/idl/source/prj/globals.cxx b/idl/source/prj/globals.cxx
index 68dba1caf27f..6665fcc3c0e7 100644
--- a/idl/source/prj/globals.cxx
+++ b/idl/source/prj/globals.cxx
@@ -71,7 +71,6 @@ SvGlobalHashNames::SvGlobalHashNames()
, MM_Get( INS( "Get" ) )
, MM_Set( INS( "Set" ) )
, MM_SlotId( INS( "SlotId" ) )
- , MM_HasCoreId( INS( "HasCoreId" ) )
, MM_Cachable( INS( "Cachable" ) )
, MM_Toggle( INS( "Toggle" ) )
, MM_AutoUpdate( INS( "AutoUpdate" ) )