summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-25 09:05:21 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-26 07:50:33 +0000
commit74713b34a36577f19eb3194246de73fa4f2bb741 (patch)
tree334f601b030923ab621a92bae3f512ff67c99374 /rsc
parent132f7b2a8cc986ee79c4124ed2bc368d6dfaa418 (diff)
loplugin:unusedmethods
Change-Id: Ib36bc0e87d00abb638cbfec511cd13b6179eabda Reviewed-on: https://gerrit.libreoffice.org/25431 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'rsc')
-rw-r--r--rsc/inc/rscdb.hxx1
-rw-r--r--rsc/inc/rscdef.hxx1
-rw-r--r--rsc/source/parser/rscicpx.cxx28
-rw-r--r--rsc/source/tools/rscdef.cxx7
4 files changed, 0 insertions, 37 deletions
diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx
index ba229faf55d4..1fbbb1850881 100644
--- a/rsc/inc/rscdb.hxx
+++ b/rsc/inc/rscdb.hxx
@@ -194,7 +194,6 @@ class RscTypCont
RscTop * InitClassFixedImage( RscTop * pSuper, RscTop * pClassImage );
RscTop * InitClassRadioButton( RscTop * pSuper );
RscTop * InitClassKeyCode( RscTop * pSuper, RscEnum * pKey );
- RscTop * InitClassAccel( RscTop * pSuper, RscTop * pClassAccelItem );
RscTop * InitClassMenuItem( RscTop * pSuper, RscTop * pClassBitmap );
RscTop * InitClassMenu( RscTop * pSuper, RscTop * pMenuItem );
diff --git a/rsc/inc/rscdef.hxx b/rsc/inc/rscdef.hxx
index c9ef7f40f4c0..874c03a0249c 100644
--- a/rsc/inc/rscdef.hxx
+++ b/rsc/inc/rscdef.hxx
@@ -145,7 +145,6 @@ public:
sal_uLong GetFileKey() const { return lFileKey; }
void Evaluate();
sal_Int32 GetNumber() const { return lId; }
- OString GetMacro();
};
typedef ::std::vector< RscDefine* > RscSubDefList;
diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx
index 4e0b2fcb6949..ae3b865b481a 100644
--- a/rsc/source/parser/rscicpx.cxx
+++ b/rsc/source/parser/rscicpx.cxx
@@ -643,34 +643,6 @@ RscTop * RscTypCont::InitClassKeyCode( RscTop * pSuper, RscEnum * pKey )
return pClassKeyCode;
}
-RscTop * RscTypCont::InitClassAccel( RscTop * pSuper, RscTop * pClassAccelItem )
-{
- Atom nId;
- RscTop * pClassAccel;
-
- // initialize class
- nId = pHS->getID( "Accelerator" );
- pClassAccel = new RscClass( nId, RSC_ACCEL, pSuper );
- pClassAccel->SetCallPar( *pStdPar1, *pStdPar2, *pStdParType );
- aNmTb.Put( nId, CLASSNAME, pClassAccel );
-
- // initialize variables
- nId = aNmTb.Put( "HelpText", VARNAME );
- pClassAccel->SetVariable( nId, &aLangString );
- {
- RscCont * pCont;
-
- aBaseLst.push_back(
- pCont = new RscCont( pHS->getID( "ContAcceleratorKey" ), RSC_NOTYPE )
- );
- pCont->SetTypeClass( pClassAccelItem );
- nId = aNmTb.Put( "ItemList", VARNAME );
- pClassAccel->SetVariable( nId, pCont );
- }
-
- return pClassAccel;
-}
-
RscTop * RscTypCont::InitClassMenuItem( RscTop * pSuper,
RscTop * pClassBitmap )
{
diff --git a/rsc/source/tools/rscdef.cxx b/rsc/source/tools/rscdef.cxx
index 820c3f0688f9..baf90d263740 100644
--- a/rsc/source/tools/rscdef.cxx
+++ b/rsc/source/tools/rscdef.cxx
@@ -173,13 +173,6 @@ RscDefine * RscDefine::Search( const char * pStr )
return static_cast<RscDefine *>(StringNode::Search( pStr ));
}
-OString RscDefine::GetMacro()
-{
- if( pExp )
- return pExp->GetMacro();
- return OString::number(lId);
-}
-
RscDefine * RscDefineList::New( sal_uLong lFileKey, const OString& rDefName,
sal_Int32 lDefId, size_t lPos )
{