Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi Stephan,

On Thursday, 2013-03-28 18:28:30 +0100, Stephan Bergmann wrote:

--- a/configmgr/source/configurationprovider.cxx
+++ b/configmgr/source/configurationprovider.cxx
@@ -337,20 +339,10 @@ void Service::setLocale(css::lang::Locale const & eLocale)
-    if ( locale_ == "*" ) {
+    if ( locale_ == "*" ) {     /* FIXME-BCP47: WTF is this?!? */

A configuration provider can operate in one of two modes with
regards to localized properties.  It can either be set up to use a
specific locale, and return the best matching localized value for a
given localized property.  Or it can be set up (via "*") to treat
localized properties like sets, where each individual localized
value is accessible under the locale's name.

Oh my ... seeing
offapi/com/sun/star/configuration/AdministrationProvider.idl and
offapi/com/sun/star/configuration/*Access.idl we even exposed "*" to the
outer world and should regard it as "ugly nasty wrong but stable API"
... and comphelper/source/misc/configuration.cxx and
comphelper/source/misc/configurationhelper.cxx use it ... the torture
never stops..

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key ID: 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
For key transition see http://erack.de/key-transition-2013-01-10.txt.asc
Support the FSFE, care about Free Software! https://fsfe.org/support/?erack

Attachment: pgp9_wjJDo9i4.pgp
Description: PGP signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.