summaryrefslogtreecommitdiffstats
path: root/forms/source/xforms/model_ui.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 /forms/source/xforms/model_ui.cxx
parentwarn when rewriter should modify something involving a macro (diff)
downloadcore-64b993e046f23baaacaff1572b7d2a816588b5ef.tar.gz
core-64b993e046f23baaacaff1572b7d2a816588b5ef.zip
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 'forms/source/xforms/model_ui.cxx')
-rw-r--r--forms/source/xforms/model_ui.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/xforms/model_ui.cxx b/forms/source/xforms/model_ui.cxx
index e4b07df13691..281638e5a28e 100644
--- a/forms/source/xforms/model_ui.cxx
+++ b/forms/source/xforms/model_ui.cxx
@@ -598,7 +598,7 @@ Model::XNode_t Model::createAttribute( const XNode_t& xParent,
while( xElement->hasAttribute( sUniqueName ) )
{
nCount++;
- sUniqueName = sName + OUString::valueOf( nCount );
+ sUniqueName = sName + OUString::number( nCount );
}
// TODO: implement proper namespace handling