summaryrefslogtreecommitdiff
path: root/xmloff/source/xforms/xformsexport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/xforms/xformsexport.cxx')
-rw-r--r--xmloff/source/xforms/xformsexport.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/xmloff/source/xforms/xformsexport.cxx b/xmloff/source/xforms/xformsexport.cxx
index 84adcb6f59c8..35b10383f6d4 100644
--- a/xmloff/source/xforms/xformsexport.cxx
+++ b/xmloff/source/xforms/xformsexport.cxx
@@ -269,11 +269,8 @@ void exportXFormsBinding( SvXMLExport& rExport,
if( sName.isEmpty() )
{
// if we don't have a name yet, generate one on the fly
- OUStringBuffer aBuffer;
- aBuffer.append( "bind_" );
sal_Int64 nId = reinterpret_cast<sal_uInt64>( xBinding.get() );
- aBuffer.append( nId , 16 );
- sName = aBuffer.makeStringAndClear();
+ sName = "bind_" + OUString::number( nId , 16 );
xBinding->setPropertyValue( "BindingID", makeAny(sName));
}
}