summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-07-10 21:47:40 +0200
committerEike Rathke <erack@redhat.com>2013-07-10 21:48:15 +0200
commit3f1a58884eba6a7cee5a208e0f3de768d1377398 (patch)
tree68b45a00ca43de75de30034bbcfa298df9b055f6 /scripting
parent61436eface0070ad2431bae1cf716d607c8a9a4f (diff)
added FIXME-BCP47 comments
Change-Id: I9e47a22f8a061461bfb0f21e74ae001e719f04b6
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/stringresource/stringresource.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx
index 8d8bade1601d..c5c8b91f9b7f 100644
--- a/scripting/source/stringresource/stringresource.cxx
+++ b/scripting/source/stringresource/stringresource.cxx
@@ -1691,6 +1691,10 @@ bool checkNamingSceme( const OUString& aName, const OUString& aNameBase,
{
bSuccess = true;
+ /* FIXME-BCP47: this uses '_' underscore character as separator and
+ * also appends Variant, which can't be blindly changed as it would
+ * violate the naming scheme in use. */
+
sal_Int32 iStart = nNameBaseLen + 1;
sal_Int32 iNext_ = aName.indexOf( '_', iStart );
if( iNext_ != -1 && iNext_ < nNameLen-1 )
@@ -1821,6 +1825,10 @@ bool StringResourcePersistenceImpl::implLoadLocale( LocaleItem* )
OUString implGetNameScemeForLocaleItem( const LocaleItem* pLocaleItem )
{
+ /* FIXME-BCP47: this uses '_' underscore character as separator and
+ * also appends Variant, which can't be blindly changed as it would
+ * violate the naming scheme in use. */
+
static OUString aUnder("_");
OSL_ENSURE( pLocaleItem,