From 71403558cbffb6c1ce1c4993a177bf3364941e22 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 27 Mar 2017 13:10:22 +0200 Subject: remove PseudoSlot support from idl compiler Since we have removed the last usage with commit 12c6caa84a61f23df996a0396432fa4b8d5c4785 "Kill remaining PseudoSlots usage" And remove corresponding support from the list-dispatch-commands script. Also remove the now unused SFX_NEW_SLOT_ENUM macro Change-Id: Id07c431de4404acf61a8bdd3507e390e5249879a Reviewed-on: https://gerrit.libreoffice.org/35754 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- idl/source/prj/command.cxx | 2 -- idl/source/prj/globals.cxx | 2 -- idl/source/prj/parser.cxx | 2 -- 3 files changed, 6 deletions(-) (limited to 'idl/source/prj') diff --git a/idl/source/prj/command.cxx b/idl/source/prj/command.cxx index 02a3661b8155..4c83b588d67c 100644 --- a/idl/source/prj/command.cxx +++ b/idl/source/prj/command.cxx @@ -83,8 +83,6 @@ char const * const SyntaxStrings[] = { "\t\tFastCall", "\t\tGet, Set", "\t\tGroupId = Identifier", -"\t\tPseudoPrefix = Identifier", -"\t\tPseudoSlots", "\t\tReadOnlyDoc*", "\t\tRecordPerSet*, RecordPerItem, NoRecord", "\t\tRecordAbsolute", diff --git a/idl/source/prj/globals.cxx b/idl/source/prj/globals.cxx index 483c41dd4191..57b27b1c85e5 100644 --- a/idl/source/prj/globals.cxx +++ b/idl/source/prj/globals.cxx @@ -74,7 +74,6 @@ SvGlobalHashNames::SvGlobalHashNames() A_ENTRY(float) A_ENTRY(double) A_ENTRY(item) - A_ENTRY(PseudoSlots) A_ENTRY(import) A_ENTRY(SlotIdFile) A_ENTRY(include) @@ -82,7 +81,6 @@ SvGlobalHashNames::SvGlobalHashNames() A_ENTRY(StateMethod) A_ENTRY(GroupId) A_ENTRY(Export) - A_ENTRY(PseudoPrefix) A_ENTRY(define) A_ENTRY(MenuConfig) A_ENTRY(ToolBoxConfig) diff --git a/idl/source/prj/parser.cxx b/idl/source/prj/parser.cxx index 2172fb87b029..d7d134723cf4 100644 --- a/idl/source/prj/parser.cxx +++ b/idl/source/prj/parser.cxx @@ -382,7 +382,6 @@ bool SvIdlParser::ReadSlot(SvMetaSlot& rSlot) void SvIdlParser::ReadSlotAttribute( SvMetaSlot& rSlot ) { bool bOk = false; - bOk |= ReadIfBoolAttribute(rSlot.aPseudoSlots, SvHash_PseudoSlots() ); bOk |= ReadIfIdAttribute(rSlot.aGroupId, SvHash_GroupId() ); bOk |= ReadIfIdAttribute(rSlot.aExecMethod, SvHash_ExecMethod() ); bOk |= ReadIfIdAttribute(rSlot.aStateMethod, SvHash_StateMethod() ); @@ -417,7 +416,6 @@ void SvIdlParser::ReadSlotAttribute( SvMetaSlot& rSlot ) bOk = true; } - bOk |= ReadIfIdAttribute(rSlot.aPseudoPrefix, SvHash_PseudoPrefix() ); bOk |= ReadIfBoolAttribute(rSlot.aMenuConfig, SvHash_MenuConfig() ); bOk |= ReadIfBoolAttribute(rSlot.aToolBoxConfig, SvHash_ToolBoxConfig() ); bOk |= ReadIfBoolAttribute(rSlot.aAccelConfig, SvHash_AccelConfig() ); -- cgit