summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-29 15:51:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-30 07:21:54 +0100
commitc26f644db80e10f755911d277aac0e1d42731d29 (patch)
tree0e29bad26101cdfdebcd3d385e02154243564ffa /i18npool
parent5ecc8e79d84c985fc5835b941924541c135eeeec (diff)
loplugin:unusedmethods
Change-Id: I9188f4579900d7eec375754aa94d21ac4e8456e2 Reviewed-on: https://gerrit.libreoffice.org/45504 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/localedata/LocaleNode.cxx8
-rw-r--r--i18npool/source/localedata/LocaleNode.hxx1
2 files changed, 0 insertions, 9 deletions
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;