From 22935ed0a47bfc143303a8084cefd35eae94e6a9 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 7 Jul 2015 14:25:14 +0200 Subject: -fsanitize=function ...calling getOutlineNumberingLevels_en_US (workdir/CustomTarget/i18npool/localedata/localedata_en_US.cxx) Change-Id: Icf22a29ffa7c6309a5e10f9d9d7bd60f8e8a51b1 --- i18npool/source/localedata/localedata.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx index a62fe94d0f30..19b302a66355 100644 --- a/i18npool/source/localedata/localedata.cxx +++ b/i18npool/source/localedata/localedata.cxx @@ -36,7 +36,7 @@ using namespace com::sun::star; typedef sal_Unicode** (SAL_CALL * MyFunc_Type)( sal_Int16&); typedef sal_Unicode*** (SAL_CALL * MyFunc_Type2)( sal_Int16&, sal_Int16& ); -typedef sal_Unicode**** (SAL_CALL * MyFunc_Type3)( sal_Int16&, sal_Int16&, sal_Int16& ); +typedef sal_Unicode const **** (SAL_CALL * MyFunc_Type3)( sal_Int16&, sal_Int16&, sal_Int16& ); typedef sal_Unicode const * const * (SAL_CALL * MyFunc_FormatCode)( sal_Int16&, sal_Unicode const *&, sal_Unicode const *& ); #ifndef DISABLE_DYNLOADING @@ -1381,22 +1381,22 @@ LocaleDataImpl::getOutlineNumberingLevels( const lang::Locale& rLocale ) throw(R sal_Int16 nStyles; sal_Int16 nLevels; sal_Int16 nAttributes; - sal_Unicode**** p0 = func( nStyles, nLevels, nAttributes ); + sal_Unicode const **** p0 = func( nStyles, nLevels, nAttributes ); Sequence< Reference > aRet( nStyles ); OUString aEmptyStr; - sal_Unicode**** pStyle = p0; + sal_Unicode const **** pStyle = p0; for( i=0; i