summaryrefslogtreecommitdiff
path: root/starmath/source/cfgitem.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-08-21 15:07:31 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-08-21 15:10:35 +0200
commit64b993e046f23baaacaff1572b7d2a816588b5ef (patch)
tree237dce36a1d4787d168a0520839f6aab22500487 /starmath/source/cfgitem.cxx
parent75f41baab6ce75786a91fe461835ee16a23ec18e (diff)
finish deprecation of O(U)String::valueOf()
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
Diffstat (limited to 'starmath/source/cfgitem.cxx')
-rw-r--r--starmath/source/cfgitem.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx
index 979ee4319ddd..3d12fc927aac 100644
--- a/starmath/source/cfgitem.cxx
+++ b/starmath/source/cfgitem.cxx
@@ -385,7 +385,7 @@ const OUString SmFontFormatList::GetNewFontFormatId() const
sal_Int32 nCnt = GetCount();
for (sal_Int32 i = 1; i <= nCnt + 1; ++i)
{
- OUString aTmpId = aPrefix + OUString::valueOf(i);
+ OUString aTmpId = aPrefix + OUString::number(i);
if (!GetFontFormat(aTmpId))
return aTmpId;
}
@@ -444,7 +444,7 @@ void SmMathConfig::ReadSymbol( SmSym &rSymbol,
Sequence< OUString > aNames = lcl_GetSymbolPropertyNames();
sal_Int32 nProps = aNames.getLength();
- OUString aDelim( OUString::valueOf( (sal_Unicode) '/' ) );
+ OUString aDelim( OUString( (sal_Unicode) '/' ) );
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::valueOf( (sal_Unicode) '/' ) );
+ OUString aDelim( OUString( (sal_Unicode) '/' ) );
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::valueOf( (sal_Unicode) '/' ) );
+ OUString aDelim( OUString( (sal_Unicode) '/' ) );
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::valueOf( (sal_Unicode) '/' ) );
+ OUString aDelim( OUString( (sal_Unicode) '/' ) );
for (size_t i = 0; i < nCount; ++i)
{
String aFntFmtId( rFntFmtList.GetFontFormatId( i ) );