From c26f644db80e10f755911d277aac0e1d42731d29 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 29 Nov 2017 15:51:58 +0200 Subject: loplugin:unusedmethods Change-Id: I9188f4579900d7eec375754aa94d21ac4e8456e2 Reviewed-on: https://gerrit.libreoffice.org/45504 Tested-by: Jenkins Reviewed-by: Noel Grandin --- i18npool/source/localedata/LocaleNode.cxx | 8 -------- i18npool/source/localedata/LocaleNode.hxx | 1 - 2 files changed, 9 deletions(-) (limited to 'i18npool') diff --git a/i18npool/source/localedata/LocaleNode.cxx b/i18npool/source/localedata/LocaleNode.cxx index 8e9d786a8d3a..611a8f926a3d 100644 --- a/i18npool/source/localedata/LocaleNode.cxx +++ b/i18npool/source/localedata/LocaleNode.cxx @@ -56,14 +56,6 @@ int LocaleNode::getError() const return err; } -void LocaleNode::print () const { - printf ("<"); - OUString str (aName); - for(sal_Int32 i = 0; i < str.getLength(); i++) - printf( "%c", str[i]); - printf (">\n"); -} - void LocaleNode::addChild ( LocaleNode * node) { children.emplace_back(node); node->parent = this; diff --git a/i18npool/source/localedata/LocaleNode.hxx b/i18npool/source/localedata/LocaleNode.hxx index bb059a197654..ae32d30e7eea 100644 --- a/i18npool/source/localedata/LocaleNode.hxx +++ b/i18npool/source/localedata/LocaleNode.hxx @@ -100,7 +100,6 @@ public: sal_Int32 getNumberOfChildren () const { return sal_Int32(children.size()); }; LocaleNode * getChildAt (sal_Int32 idx) const { return children[idx].get(); }; const LocaleNode * findNode ( const sal_Char *name) const; - void print () const; virtual ~LocaleNode(); void addChild ( LocaleNode * node); const LocaleNode* getRoot() const; -- cgit