office-gobmx/i18npool
Julien Nabet b0bdc7c11c Regression from speed up startup time(e51b4fc8c2)
for getOutlineNumberingLevels

TB Jenkins_Linux_Ubsan
26316         [_RUN_____] SwDialogsTest::openAnyDialog
26317 NEXT    /i18npool/source/localedata/localedata.cxx:1330:33: runtime error: call to function getOutlineNumberingLevels_de_DE through pointer to incorrect function type ´const rtl::OUString ***(*)(short &, short &, short &)´
26318         /workdir/CustomTarget/i18npool/localedata/localedata_de_DE.cxx:1475: note: getOutlineNumberingLevels_de_DE defined here
26319             #0 0x7f5f948b75d8 in i18npool::LocaleDataImpl::getOutlineNumberingLevels(com::sun::lang::Locale const&) /i18npool/source/localedata/localedata.cxx:1330:33
26320             #1 0x7f5f948263ba in i18npool::DefaultNumberingProvider::getDefaultOutlineNumberings(com::sun::lang::Locale const&) /i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx:345:36
26321             #2 0x7f5f948264ee in non-virtual thunk to i18npool::DefaultNumberingProvider::getDefaultOutlineNumberings(com::sun::lang::Locale const&) /i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
26322             #3 0x7f5fc2d8e917 in svx::sidebar::OutlineTypeMgr::Init() /svx/source/sidebar/nbdtmg.cxx:585:35

Change-Id: Ic291f9badad2047980bff848e83bc56b8beaa723
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153235
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-06-18 19:00:45 +02:00
..
inc speed up startup time 2023-06-15 13:05:29 +02:00
qa/cppunit
source Regression from speed up startup time(e51b4fc8c2) 2023-06-18 19:00:45 +02:00
util
CppunitTest_i18npool_breakiterator.mk
CppunitTest_i18npool_calendar.mk
CppunitTest_i18npool_characterclassification.mk
CppunitTest_i18npool_defaultnumberingprovider.mk
CppunitTest_i18npool_indexentry.mk
CppunitTest_i18npool_ordinalsuffix.mk
CppunitTest_i18npool_textsearch.mk
CppunitTest_i18npool_transliteration.mk
CustomTarget_breakiterator.mk
CustomTarget_collator.mk
CustomTarget_indexentry.mk
CustomTarget_localedata.mk
CustomTarget_textconversion.mk
Executable_gencoll_rule.mk
Executable_genconv_dict.mk
Executable_gendict.mk
Executable_genindex_data.mk
Executable_saxparser.mk
IwyuFilter_i18npool.yaml
Library_collator_data.mk
Library_dict_ja.mk
Library_dict_zh.mk
Library_i18npool.mk
Library_i18nsearch.mk
Library_index_data.mk
Library_localedata_en.mk
Library_localedata_es.mk
Library_localedata_euro.mk
Library_localedata_others.mk
Library_textconv_dict.mk
Makefile
Module_i18npool.mk
Rdb_saxparser.mk
README.md

Internationalisation Pool (i18npool) Framework

Internationalisation pool (i18npool) framework ensures that the suite is adaptable to the requirements of different native languages, their local settings and customs, etc without source code modification. (Wow, that is such marketing-speak...)

Specifically for locale data documentation please see i18npool/source/localedata/data/locale.dtd

On iOS we put the largest data generated here, the dict_ja and dict_zh stuff, into separate files and not into code to keep the size of an app binary down. Temporary test code:

static bool beenhere = false;
if (!beenhere) {
    beenhere = true;
    uno::Reference< uno::XComponentContext > xComponentContext(::cppu::defaultBootstrap_InitialComponentContext());
    uno::Reference< lang::XMultiComponentFactory > xMultiComponentFactoryClient( xComponentContext->getServiceManager() );
    uno::Reference< uno::XInterface > xInterface =
        xMultiComponentFactoryClient->createInstanceWithContext( "com.sun.star.i18n.BreakIterator_ja", xComponentContext );
}

See Also

http://wiki.documentfoundation.org/Category:I18n