diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-26 21:24:07 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-26 21:24:29 +0200 |
commit | 43c00bc48978a2c148d6f0622f40d3b40a93eb6c (patch) | |
tree | d0b308203578d3b99cd31aa9136978e50edb14b1 /i18npool | |
parent | a7e273755095e4b97c05a63ab39aa09f8aa755a4 (diff) |
Clean up aEmptyStr
Change-Id: I5befe9deac917a28e80ed193b67ff29b5ba35149
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/localedata/localedata.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx index 453df39c4151..6a6eafdf9fdd 100644 --- a/i18npool/source/localedata/localedata.cxx +++ b/i18npool/source/localedata/localedata.cxx @@ -1385,8 +1385,6 @@ LocaleDataImpl::getOutlineNumberingLevels( const lang::Locale& rLocale ) throw(R Sequence< Reference<container::XIndexAccess> > aRet( nStyles ); - OUString aEmptyStr; - sal_Unicode const **** pStyle = p0; for( i=0; i<nStyles; i++ ) { @@ -1419,16 +1417,16 @@ LocaleDataImpl::getOutlineNumberingLevels( const lang::Locale& rLocale ) throw(R } } } - level[j].sPrefix = aEmptyStr; + level[j].sPrefix.clear(); level[j].nNumType = 0; - level[j].sSuffix = aEmptyStr; + level[j].sSuffix.clear(); level[j].cBulletChar = 0; - level[j].sBulletFontName = aEmptyStr; + level[j].sBulletFontName.clear(); level[j].nParentNumbering = 0; level[j].nLeftMargin = 0; level[j].nSymbolTextDistance = 0; level[j].nFirstLineOffset = 0; - level[j].sTransliteration = aEmptyStr; + level[j].sTransliteration.clear(); level[j].nNatNum = 0; aRet[i] = new OutlineNumbering( level, nLevels ); } |