summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/cellkeytranslator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool/cellkeytranslator.cxx')
-rw-r--r--sc/source/core/tool/cellkeytranslator.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/core/tool/cellkeytranslator.cxx b/sc/source/core/tool/cellkeytranslator.cxx
index 5999204b83bb..5ad71ca4c833 100644
--- a/sc/source/core/tool/cellkeytranslator.cxx
+++ b/sc/source/core/tool/cellkeytranslator.cxx
@@ -32,6 +32,8 @@ using ::com::sun::star::uno::Sequence;
using namespace ::com::sun::star;
+namespace {
+
enum LocaleMatch
{
LOCALE_MATCH_NONE = 0,
@@ -41,6 +43,8 @@ enum LocaleMatch
LOCALE_MATCH_ALL
};
+}
+
static LocaleMatch lclLocaleCompare(const lang::Locale& rLocale1, const LanguageTag& rLanguageTag2)
{
LocaleMatch eMatchLevel = LOCALE_MATCH_NONE;