summaryrefslogtreecommitdiff
path: root/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/core/XMLEmbeddedObjectImportContext.cxx')
-rw-r--r--xmloff/source/core/XMLEmbeddedObjectImportContext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
index 36bb7e4d8e7e..c238bbf9de4b 100644
--- a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
+++ b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
@@ -260,7 +260,7 @@ void XMLEmbeddedObjectImportContext::StartElement(
sal_uInt16 nPos = rNamespaceMap.GetFirstKey();
while( USHRT_MAX != nPos )
{
- OUString aAttrName( rNamespaceMap.GetAttrNameByKey( nPos ) );
+ OUString aAttrName = "xmlns:" + rNamespaceMap.GetPrefixByKey( nPos );
if( xAttrList->getValueByName( aAttrName ).isEmpty() )
{
pAttrList->AddAttribute( aAttrName,