summaryrefslogtreecommitdiff
path: root/xmloff/source/transform/Oasis2OOo.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 /xmloff/source/transform/Oasis2OOo.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 'xmloff/source/transform/Oasis2OOo.cxx')
-rw-r--r--xmloff/source/transform/Oasis2OOo.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/transform/Oasis2OOo.cxx b/xmloff/source/transform/Oasis2OOo.cxx
index 333b5d174b03..628b223fd25f 100644
--- a/xmloff/source/transform/Oasis2OOo.cxx
+++ b/xmloff/source/transform/Oasis2OOo.cxx
@@ -1422,7 +1422,7 @@ void XMLTabStopOASISTContext_Impl::StartElement(
XML_NAMESPACE_STYLE,
::xmloff::token::GetXMLToken( XML_LEADER_CHAR ) ) );
pMutableAttrList->AddAttribute( aNewAttrQName,
- OUString::valueOf( cStyleLeaderChar ) );
+ OUString( cStyleLeaderChar ) );
}
}
else
@@ -1521,7 +1521,7 @@ void XMLConfigItemTContext_Impl::Characters( const OUString& rChars )
else if (m_bIsCursorY && nPos > 31999)
nPos = 31999;
- sChars = OUString::valueOf(nPos);
+ sChars = OUString::number(nPos);
}
XMLTransformerContext::Characters( sChars );