summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-26 12:36:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-26 13:25:23 +0200
commitdbd20b5c793cab388f01b7172df91429b6324418 (patch)
treea7fe846272ae0250669f8b0cd7d107cf19ecd5a3 /rsc
parente6628f7a77b4707fb6ed8bf94282eebc0221e0e3 (diff)
loplugin:unusedmethods
Change-Id: If2e1241bbe8a3d17859e3ca076b0f55f25c48ea5 Reviewed-on: https://gerrit.libreoffice.org/36983 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'rsc')
-rw-r--r--rsc/inc/rscdb.hxx1
-rw-r--r--rsc/source/parser/rscibas.cxx10
2 files changed, 0 insertions, 11 deletions
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;