summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorMichael Brauer <mib@openoffice.org>2001-10-23 10:54:22 +0000
committerMichael Brauer <mib@openoffice.org>2001-10-23 10:54:22 +0000
commit3d27b94e0d83787a164fb8d5d1954625689ef643 (patch)
tree4953d303d2326e2a8fe265f8d0f519cca5b15f6e /xmloff/source
parent7e7c787fa64a1ad1967e93675107d2ad63f9fe2c (diff)
#93444#: return namespace url from cache (corrupted alien attributes)
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/core/nmspmap.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/core/nmspmap.cxx b/xmloff/source/core/nmspmap.cxx
index 8e4771c5a98a..ee0996ada019 100644
--- a/xmloff/source/core/nmspmap.cxx
+++ b/xmloff/source/core/nmspmap.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: nmspmap.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: mtg $ $Date: 2001-09-24 13:59:52 $
+ * last change: $Author: mib $ $Date: 2001-10-23 11:54:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -296,12 +296,12 @@ sal_uInt16 SvXMLNamespaceMap::_GetKeyByAttrName( const OUString& rAttrName,
*pPrefix = rEntry.sPrefix;
if ( pLocalName )
*pLocalName = rEntry.sName;
+ nKey = rEntry.nKey;
if ( pNamespace )
{
NameSpaceMap::const_iterator aMapIter = aNameMap.find (nKey);
*pNamespace = aMapIter != aNameMap.end() ? (*aMapIter).second->sName : sEmpty;
}
- nKey = rEntry.nKey;
}
else
{