summaryrefslogtreecommitdiff
path: root/forms/source/xforms/model_ui.cxx
diff options
context:
space:
mode:
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