diff options
author | Noel Grandin <noel@peralex.com> | 2013-12-13 10:54:12 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-12-17 11:49:04 +0200 |
commit | 909b27df488f3c84ab8e5be9a7513a83b7c4b0c1 (patch) | |
tree | 2d17bbce7f9fa40fca140696648ec136a12f63d1 /starmath | |
parent | 08fe82e59cbc598d2683d72877653316c1e41962 (diff) |
remove unnecessary double calls to OUString constructor
Change-Id: Ib2690e3ec9987b97363687b61fe8ddae4ace9058
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/cfgitem.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx index 57886b7e7611..a381af91b40e 100644 --- a/starmath/source/cfgitem.cxx +++ b/starmath/source/cfgitem.cxx @@ -444,7 +444,7 @@ void SmMathConfig::ReadSymbol( SmSym &rSymbol, Sequence< OUString > aNames = lcl_GetSymbolPropertyNames(); sal_Int32 nProps = aNames.getLength(); - OUString aDelim( OUString( (sal_Unicode) '/' ) ); + OUString aDelim( "/" ); OUString *pName = aNames.getArray(); for (sal_Int32 i = 0; i < nProps; ++i) { @@ -580,7 +580,7 @@ void SmMathConfig::SetSymbols( const std::vector< SmSym > &rNewSymbols ) PropertyValue *pValues = aValues.getArray(); PropertyValue *pVal = pValues; - OUString aDelim( OUString( (sal_Unicode) '/' ) ); + OUString aDelim( "/" ); std::vector< SmSym >::const_iterator aIt( rNewSymbols.begin() ); std::vector< SmSym >::const_iterator aEnd( rNewSymbols.end() ); while (aIt != aEnd) @@ -670,7 +670,7 @@ void SmMathConfig::ReadFontFormat( SmFontFormat &rFontFormat, Sequence< OUString > aNames = lcl_GetFontPropertyNames(); sal_Int32 nProps = aNames.getLength(); - OUString aDelim( OUString( (sal_Unicode) '/' ) ); + OUString aDelim( "/" ); OUString *pName = aNames.getArray(); for (sal_Int32 i = 0; i < nProps; ++i) { @@ -746,7 +746,7 @@ void SmMathConfig::SaveFontFormatList() PropertyValue *pValues = aValues.getArray(); PropertyValue *pVal = pValues; - OUString aDelim( OUString( (sal_Unicode) '/' ) ); + OUString aDelim( "/" ); for (size_t i = 0; i < nCount; ++i) { OUString aFntFmtId( rFntFmtList.GetFontFormatId( i ) ); |