summaryrefslogtreecommitdiff
path: root/unodevtools/source/skeletonmaker/javacompskeleton.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unodevtools/source/skeletonmaker/javacompskeleton.cxx')
-rw-r--r--unodevtools/source/skeletonmaker/javacompskeleton.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/unodevtools/source/skeletonmaker/javacompskeleton.cxx b/unodevtools/source/skeletonmaker/javacompskeleton.cxx
index 86ba7051033a..7306b12d674a 100644
--- a/unodevtools/source/skeletonmaker/javacompskeleton.cxx
+++ b/unodevtools/source/skeletonmaker/javacompskeleton.cxx
@@ -402,6 +402,7 @@ void generateXCompatibilityNamesBodies(std::ostream& o)
"toString(\n xNameAccess.getByName(sLocale));\n\n"
" com.sun.star.lang.Locale aLocale = \n"
" new com.sun.star.lang.Locale();\n\n"
+ /* FIXME-BCP47: this will break. */
" String tokens[] = sLocale.split(\"-\");\n"
" int nToken = tokens.length;\n"
" if (nToken >= 1) aLocale.Language = tokens[0];\n"