summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-06-29 13:53:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-06-29 17:34:00 +0200
commit74cd0d0b281f8df75612bfb600df2eae62c4d21d (patch)
treebbfb2e37d317ffad49267fe71fd270198fdb81e1 /i18npool
parent4c51f2e0dfdddfe0efb4218d2cd1deefd90b6eff (diff)
loplugin:unusedmethods
Change-Id: I95ab7581dec35b113cb657ce8e5ee27c89c73593 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153746 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/localedata/LocaleNode.hxx1
-rw-r--r--i18npool/source/localedata/filewriter.cxx5
2 files changed, 0 insertions, 6 deletions
diff --git a/i18npool/source/localedata/LocaleNode.hxx b/i18npool/source/localedata/LocaleNode.hxx
index e5d45f4cef42..495c696b4291 100644
--- a/i18npool/source/localedata/LocaleNode.hxx
+++ b/i18npool/source/localedata/LocaleNode.hxx
@@ -49,7 +49,6 @@ public:
void writeOUStringRefFunction2(const char *func, std::u16string_view useLocale) const;
void writeOUStringFunction3(const char *func, const char *style, const char* levels, const char* attr, const char *array) const;
void writeOUStringRefFunction3(const char *func, std::u16string_view useLocale) const;
- void writeIntParameter(const char* pAsciiStr, const sal_Int16 count, sal_Int16 val) const;
void writeOUStringLiteralIntParameter(const char* pAsciiStr, const sal_Int16 count, sal_Int16 val) const;
bool writeOUStringLiteralDefaultParameter(const char* pAsciiStr, std::u16string_view str, sal_Int16 count) const;
void writeOUStringLiteralParameter(const char* pAsciiStr, std::u16string_view aChars) const;
diff --git a/i18npool/source/localedata/filewriter.cxx b/i18npool/source/localedata/filewriter.cxx
index d9167ed1e950..5f0fabe66ab0 100644
--- a/i18npool/source/localedata/filewriter.cxx
+++ b/i18npool/source/localedata/filewriter.cxx
@@ -132,11 +132,6 @@ void OFileWriter::writeOUStringRefFunction3(const char *func, std::u16string_vie
fprintf(m_f, "\treturn %s%s(nStyles, nLevels, nAttributes);\n}\n", func, locale);
}
-void OFileWriter::writeIntParameter(const char* pAsciiStr, const sal_Int16 count, sal_Int16 val) const
-{
- fprintf(m_f, "static const sal_Unicode %s%d[] = {%d};\n", pAsciiStr, count, val);
-}
-
void OFileWriter::writeOUStringLiteralIntParameter(const char* pAsciiStr, const sal_Int16 count, sal_Int16 val) const
{
fprintf(m_f, "static constexpr OUStringLiteral %s%d = u\"\\x%x\";\n", pAsciiStr, count, val);