Kaydet (Commit) 22935ed0 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-fsanitize=function

...calling getOutlineNumberingLevels_en_US
(workdir/CustomTarget/i18npool/localedata/localedata_en_US.cxx)

Change-Id: Icf22a29ffa7c6309a5e10f9d9d7bd60f8e8a51b1
üst f3f2a4fc
......@@ -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] );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment