From 3f1a58884eba6a7cee5a208e0f3de768d1377398 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Wed, 10 Jul 2013 21:47:40 +0200 Subject: added FIXME-BCP47 comments Change-Id: I9e47a22f8a061461bfb0f21e74ae001e719f04b6 --- scripting/source/stringresource/stringresource.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) 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, -- cgit