summaryrefslogtreecommitdiff
path: root/rsc/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-26 12:08:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-26 12:44:31 +0000
commit0d3e45608a5771b58ad2f7bea0989d635f25c47c (patch)
treeb231a0cd689f7ec358ac7a4305b4aeda47b4a8f9 /rsc/source
parenta324099538916eae7f7239d32fd98ec8018cbb72 (diff)
SfxSlotInfo is unused
Change-Id: I8d5438ca338868c77dcf489609a4e007cfe925fd Reviewed-on: https://gerrit.libreoffice.org/30290 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'rsc/source')
-rw-r--r--rsc/source/parser/rscicpx.cxx20
-rw-r--r--rsc/source/parser/rscinit.cxx4
-rw-r--r--rsc/source/res/rscclass.cxx10
-rw-r--r--rsc/source/res/rsctop.cxx11
4 files changed, 0 insertions, 45 deletions
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx
index 9cf0bea4dedd..857d4aa61291 100644
--- a/rsc/source/parser/rscicpx.cxx
+++ b/rsc/source/parser/rscicpx.cxx
@@ -364,24 +364,4 @@ RscTop * RscTypCont::InitClassMenu( RscTop * pSuper,
return pClassMenu;
}
-RscTop * RscTypCont::InitClassSfxSlotInfo( RscTop * pSuper )
-{
- Atom nId;
- RscTop * pClassSfxSlotInfo;
-
- // initialize class
- nId = pHS->getID( "SfxSlotInfo" );
- pClassSfxSlotInfo = new RscClass( nId, RSC_SFX_SLOT_INFO, pSuper );
- aNmTb.Put( nId, CLASSNAME, pClassSfxSlotInfo );
-
- nId = aNmTb.Put( "SlotName", VARNAME );
- pClassSfxSlotInfo->SetVariable( nId, &aLangString, nullptr, 0,
- SfxSlotInfo::SlotName );
- nId = aNmTb.Put( "HelpText", VARNAME );
- pClassSfxSlotInfo->SetVariable( nId, &aLangString, nullptr, 0,
- SfxSlotInfo::HelpText );
- return pClassSfxSlotInfo;
-}
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index 699cd5e08225..ee821630c0dd 100644
--- a/rsc/source/parser/rscinit.cxx
+++ b/rsc/source/parser/rscinit.cxx
@@ -167,10 +167,6 @@ void RscTypCont::Init()
pClassMenuItem->SetVariable( nId, pClassMenu, nullptr, VAR_SVDYNAMIC,
(sal_uInt32)RscMenuItem::Menu );
}
-{
- RscTop* pClassSfxSlotInfo = InitClassSfxSlotInfo( pClassMgr );
- pRoot->Insert( pClassSfxSlotInfo );
-}
aNmTb.SetSort();
}
diff --git a/rsc/source/res/rscclass.cxx b/rsc/source/res/rscclass.cxx
index e1faf7ec4f14..3b3d36bd6960 100644
--- a/rsc/source/res/rscclass.cxx
+++ b/rsc/source/res/rscclass.cxx
@@ -277,16 +277,6 @@ ERRTYPE RscClass::SetVariable( Atom nVarName,
return ERR_OK;
}
-ERRTYPE RscClass::SetVariable( Atom nVarName,
- RscTop * pClass,
- RSCINST * pDflt,
- RSCVAR nVarType,
- SfxSlotInfo nMask,
- Atom nDataBaseName)
-{
- return SetVariable(nVarName, pClass, pDflt, nVarType, (sal_uInt32)nMask, nDataBaseName);
-}
-
void RscClass::EnumVariables( void * pData, VarEnumCallbackProc pProc )
{
sal_uInt32 i;
diff --git a/rsc/source/res/rsctop.cxx b/rsc/source/res/rsctop.cxx
index 763e6ffcc085..6117bf9c1d62 100644
--- a/rsc/source/res/rsctop.cxx
+++ b/rsc/source/res/rsctop.cxx
@@ -102,17 +102,6 @@ ERRTYPE RscTop::SetVariable( Atom nVarName, RscTop * pClass,
return ERR_UNKNOWN_METHOD;
}
-ERRTYPE RscTop::SetVariable( Atom nVarName, RscTop * pClass,
- RSCINST * pDflt, RSCVAR nVarType, SfxSlotInfo nMask,
- Atom nDataBaseName )
-{
- if( pSuperClass )
- return pSuperClass->SetVariable( nVarName, pClass, pDflt,
- nVarType, nMask, nDataBaseName );
- else
- return ERR_UNKNOWN_METHOD;
-}
-
void RscTop::EnumVariables( void * pData, VarEnumCallbackProc pProc )
{
if( pSuperClass )