diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-08-21 15:07:31 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-08-21 15:10:35 +0200 |
commit | 64b993e046f23baaacaff1572b7d2a816588b5ef (patch) | |
tree | 237dce36a1d4787d168a0520839f6aab22500487 /editeng | |
parent | 75f41baab6ce75786a91fe461835ee16a23ec18e (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 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit4.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index 72b4c83a3e19..50e18065f74d 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -985,12 +985,12 @@ void ImpEditEngine::WriteItemAsRTF( const SfxPoolItem& rItem, SvStream& rOutput, // SWG: if ( nEsc ) { - rOutput << "{\\*\\updnprop" << OString::valueOf( - static_cast<sal_Int32>(nProp100)).getStr() << '}'; + rOutput << "{\\*\\updnprop" << OString::number( + nProp100).getStr() << '}'; } long nUpDown = nFontHeight * std::abs( nEsc ) / 100; - OString aUpDown = OString::valueOf( - static_cast<sal_Int32>(nUpDown)); + OString aUpDown = OString::number( + nUpDown); if ( nEsc < 0 ) rOutput << OOO_STRING_SVTOOLS_RTF_DN << aUpDown.getStr(); else if ( nEsc > 0 ) |