summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-08-09 21:37:38 +0200
committerEike Rathke <erack@redhat.com>2012-08-09 21:40:38 +0200
commitb844b3d6b17ad9e77615923bc5d024dd1769a80a (patch)
tree6891530dd25b7a7450e373924929d137d9a7db34 /i18npool
parentcfb0e026bc7ced94a986a8380171bf26b70dd193 (diff)
lt_tag_dump() only used to debug [-Werror=unused-function]
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/languagetag/languagetag.cxx4
-rw-r--r--i18npool/source/languagetag/simple-langtag.cxx1
2 files changed, 3 insertions, 2 deletions
diff --git a/i18npool/source/languagetag/languagetag.cxx b/i18npool/source/languagetag/languagetag.cxx
index d7c6b0f79f68..caaf0cc9418f 100644
--- a/i18npool/source/languagetag/languagetag.cxx
+++ b/i18npool/source/languagetag/languagetag.cxx
@@ -13,6 +13,8 @@
#include <rtl/bootstrap.hxx>
#include <osl/file.hxx>
+//#define erDEBUG
+
#if !defined(ANDROID) && !defined(IOS)
#include <liblangtag/langtag.h>
#else
@@ -24,8 +26,6 @@
#include "simple-langtag.cxx"
#endif
-//#define erDEBUG
-
using rtl::OUString;
using rtl::OString;
using rtl::OUStringBuffer;
diff --git a/i18npool/source/languagetag/simple-langtag.cxx b/i18npool/source/languagetag/simple-langtag.cxx
index 7fd735e04d22..d05ab4236a4b 100644
--- a/i18npool/source/languagetag/simple-langtag.cxx
+++ b/i18npool/source/languagetag/simple-langtag.cxx
@@ -397,6 +397,7 @@ static void lt_tag_dump(const lt_tag_t *tag)
fprintf( stderr, "SimpleLangtag region: %s\n", tag->maRegion.mpStr);
}
#endif
+
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */