summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-03 16:36:01 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-02-04 11:39:51 +0000
commit228a5704b3ca1addd7aa5de7a04865df4dc5b091 (patch)
tree2b40962339c6162ee8a8a61c7c5eb6ad41c82a26 /idl
parent5ec98c76986c1fe004fe10b1a003618d74a2c5d3 (diff)
remove unused HasDialog from SDI files
Change-Id: I26f2cef48fcc7a6c4a6b93668b836879254f3eb0 Reviewed-on: https://gerrit.libreoffice.org/22098 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
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 8a82aee5c969..033a044cfdaa 100644
--- a/idl/inc/globals.hxx
+++ b/idl/inc/globals.hxx
@@ -79,7 +79,6 @@ struct SvGlobalHashNames
SvStringHashEntryRef MM_ExecMethod;
SvStringHashEntryRef MM_StateMethod;
SvStringHashEntryRef MM_GroupId;
- SvStringHashEntryRef MM_HasDialog;
SvStringHashEntryRef MM_TypeLibFile;
SvStringHashEntryRef MM_Export;
SvStringHashEntryRef MM_Automation;
@@ -179,7 +178,6 @@ HASH_INLINE(StateMethod)
HASH_INLINE(GroupId)
HASH_INLINE(float)
HASH_INLINE(double)
-HASH_INLINE(HasDialog)
HASH_INLINE(TypeLibFile)
HASH_INLINE(Export)
HASH_INLINE(Automation)
diff --git a/idl/inc/slot.hxx b/idl/inc/slot.hxx
index 6f12fcf68c19..25a7415a399e 100644
--- a/idl/inc/slot.hxx
+++ b/idl/inc/slot.hxx
@@ -48,7 +48,6 @@ class SvMetaSlot : public SvMetaAttribute
SvBOOL aNoRecord;
SvBOOL aRecordAbsolute;
- SvBOOL aHasDialog;
SvBOOL aMenuConfig;
SvBOOL aToolBoxConfig;
SvBOOL aStatusBarConfig;
@@ -158,7 +157,6 @@ public:
bool GetNoRecord() const;
bool GetRecordAbsolute() const;
- bool GetHasDialog() const;
const OString& GetPseudoPrefix() const;
const OString& GetUnoName() const;
bool GetMenuConfig() const;
diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx
index fbb560fa6ba8..0f03eafc86d0 100644
--- a/idl/source/objects/slot.cxx
+++ b/idl/source/objects/slot.cxx
@@ -191,11 +191,6 @@ bool SvMetaSlot::GetRecordAbsolute() const
return aRecordAbsolute;
return static_cast<SvMetaSlot *>(GetRef())->GetRecordAbsolute();
}
-bool SvMetaSlot::GetHasDialog() const
-{
- if( aHasDialog.IsSet() || !GetRef() ) return aHasDialog;
- return static_cast<SvMetaSlot *>(GetRef())->GetHasDialog();
-}
const OString& SvMetaSlot::GetPseudoPrefix() const
{
if( !aPseudoPrefix.getString().isEmpty() || !GetRef() ) return aPseudoPrefix.getString();
@@ -298,7 +293,6 @@ void SvMetaSlot::ReadAttributesSvIdl( SvIdlDataBase & rBase,
if( aNoRecord.ReadSvIdl( SvHash_NoRecord(), rInStm ) )
SetNoRecord( aNoRecord ), bOk = true;
- bOk |= aHasDialog.ReadSvIdl( SvHash_HasDialog(), rInStm );
bOk |= aPseudoPrefix.ReadSvIdl( SvHash_PseudoPrefix(), rInStm );
bOk |= aMenuConfig.ReadSvIdl( SvHash_MenuConfig(), rInStm );
bOk |= aToolBoxConfig.ReadSvIdl( SvHash_ToolBoxConfig(), rInStm );
@@ -822,8 +816,6 @@ void SvMetaSlot::WriteSlot( const OString& rShellName, sal_uInt16 nCount,
rOutStm.WriteCharPtr( MakeSlotName( SvHash_NoRecord() ).getStr() ).WriteChar( '|' );
if( GetRecordAbsolute() )
rOutStm.WriteCharPtr( MakeSlotName( SvHash_RecordAbsolute() ).getStr() ).WriteChar( '|' );
- if( GetHasDialog() )
- rOutStm.WriteCharPtr( MakeSlotName( SvHash_HasDialog() ).getStr() ).WriteChar( '|' );
if( GetMenuConfig() )
rOutStm.WriteCharPtr( MakeSlotName( SvHash_MenuConfig() ).getStr() ).WriteChar( '|' );
if( GetToolBoxConfig() )
diff --git a/idl/source/prj/command.cxx b/idl/source/prj/command.cxx
index 6e6afd3c8711..fa74f42636f1 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\tHasDialog",
"\t\tIsCollection",
"\t\tImageRotation",
"\t\tImageReflection",
diff --git a/idl/source/prj/globals.cxx b/idl/source/prj/globals.cxx
index b8357d8c5c0c..634212f3459d 100644
--- a/idl/source/prj/globals.cxx
+++ b/idl/source/prj/globals.cxx
@@ -106,7 +106,6 @@ SvGlobalHashNames::SvGlobalHashNames()
A_ENTRY(ExecMethod)
A_ENTRY(StateMethod)
A_ENTRY(GroupId)
- A_ENTRY(HasDialog)
A_ENTRY(TypeLibFile)
A_ENTRY(Export)
A_ENTRY(Automation)