From dbd20b5c793cab388f01b7172df91429b6324418 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 26 Apr 2017 12:36:19 +0200 Subject: loplugin:unusedmethods Change-Id: If2e1241bbe8a3d17859e3ca076b0f55f25c48ea5 Reviewed-on: https://gerrit.libreoffice.org/36983 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- rsc/inc/rscdb.hxx | 1 - rsc/source/parser/rscibas.cxx | 10 ---------- 2 files changed, 11 deletions(-) (limited to 'rsc') diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx index 0fbe8064fc9d..9381d16b2ee8 100644 --- a/rsc/inc/rscdb.hxx +++ b/rsc/inc/rscdb.hxx @@ -78,7 +78,6 @@ class RscTypCont void Init(); // initializes classes and tables void SETCONST( RscEnum *, const char *, sal_uInt32 ); - void SETCONST( RscEnum *, Atom, sal_uInt32 ); RscEnum * InitFieldUnitsType(); RscTupel * InitStringLongTupel(); static RscCont * InitStringLongTupelList( RscTupel * pStringLongTupel ); diff --git a/rsc/source/parser/rscibas.cxx b/rsc/source/parser/rscibas.cxx index 6fd5070eae33..4ad3c6b522b0 100644 --- a/rsc/source/parser/rscibas.cxx +++ b/rsc/source/parser/rscibas.cxx @@ -53,16 +53,6 @@ void RscTypCont::SETCONST( RscEnum * pClass, const char * szString, sal_uInt32 n CONSTNAME, nVal ), nVal ); } -void RscTypCont::SETCONST( RscEnum * pClass, Atom nName, sal_uInt32 nVal ) -{ -#if OSL_DEBUG_LEVEL > 2 - fprintf( stderr, "setconst hash: %u\n", (unsigned int)nName ); -#endif - pClass->SetConstant( aNmTb.Put( nName, - CONSTNAME, nVal ), nVal ); -} - - typedef std::unordered_map< OString, sal_uInt32, OStringHash > langmap; static langmap ULong_Iso_map; -- cgit