diff options
Diffstat (limited to 'xmlscript/source/xmllib_imexp/xmllib_export.cxx')
-rw-r--r-- | xmlscript/source/xmllib_imexp/xmllib_export.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlscript/source/xmllib_imexp/xmllib_export.cxx b/xmlscript/source/xmllib_imexp/xmllib_export.cxx index b4b0721d4df0..a10df1535221 100644 --- a/xmlscript/source/xmllib_imexp/xmllib_export.cxx +++ b/xmlscript/source/xmllib_imexp/xmllib_export.cxx @@ -130,7 +130,7 @@ SAL_CALL exportLibrary( Reference< xml::sax::XAttributeList > xElementAttribs; xElementAttribs = static_cast< xml::sax::XAttributeList* >( pElement ); - pElement->addAttribute( OUString( XMLNS_LIBRARY_PREFIX ":name" ), + pElement->addAttribute( XMLNS_LIBRARY_PREFIX ":name", pElementNames[i] ); pLibElement->addSubElement( pElement ); |