summaryrefslogtreecommitdiffstats
path: root/i18npool
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-07-07 14:25:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-07-07 14:25:40 +0200
commit22935ed0a47bfc143303a8084cefd35eae94e6a9 (patch)
tree5418f83e3cf9192e1d3a96347b537057f55cf539 /i18npool
parentvcl rendercontext: avoid CopyArea() in Window::ImplScroll() (diff)
downloadcore-22935ed0a47bfc143303a8084cefd35eae94e6a9.tar.gz
core-22935ed0a47bfc143303a8084cefd35eae94e6a9.zip
-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.cxx10
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] );