diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-07-07 14:25:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-07-07 14:25:40 +0200 |
commit | 22935ed0a47bfc143303a8084cefd35eae94e6a9 (patch) | |
tree | 5418f83e3cf9192e1d3a96347b537057f55cf539 /i18npool | |
parent | f3f2a4fc8565ca558d89cdf6377df7f9f8592616 (diff) |
-fsanitize=function
...calling getOutlineNumberingLevels_en_US
(workdir/CustomTarget/i18npool/localedata/localedata_en_US.cxx)
Change-Id: Icf22a29ffa7c6309a5e10f9d9d7bd60f8e8a51b1
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/localedata/localedata.cxx | 10 |
1 files 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<container::XIndexAccess> > aRet( nStyles ); OUString aEmptyStr; - sal_Unicode**** pStyle = p0; + sal_Unicode const **** pStyle = p0; for( i=0; i<nStyles; i++ ) { int j; OutlineNumberingLevel_Impl* level = new OutlineNumberingLevel_Impl[ nLevels+1 ]; - sal_Unicode*** pLevel = pStyle[i]; + sal_Unicode const *** pLevel = pStyle[i]; for( j = 0; j < nLevels; j++ ) { - sal_Unicode** pAttribute = pLevel[j]; + sal_Unicode const ** pAttribute = pLevel[j]; for( int k=0; k<nAttributes; k++ ) { OUString tmp( pAttribute[k] ); |