summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-07-06 08:43:26 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-07-06 08:43:26 +0000
commit503e8096e628f5cecc4cb65ad3e4f21a81e0aead (patch)
tree53dd17c0d10e0f82f4b9bc0af2002c0f5c0a3d7a /xmloff
parent618233d72ce016cfde698e13cdeafd37e8b3d577 (diff)
INTEGRATION: CWS oj14 (1.96.8); FILE MERGED
2007/06/04 18:04:06 oj 1.96.8.2: RESYNC: (1.96-1.97); FILE MERGED 2006/12/19 14:00:59 oj 1.96.8.1: check prefix
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmlimp.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index 0950e612ed6b..29fdc138d178 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: xmlimp.cxx,v $
*
- * $Revision: 1.98 $
+ * $Revision: 1.99 $
*
- * last change: $Author: hr $ $Date: 2007-06-27 14:57:55 $
+ * last change: $Author: rt $ $Date: 2007-07-06 09:43:26 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -720,6 +720,8 @@ void SAL_CALL SvXMLImport::startElement( const OUString& rName,
pContext = (*mpContexts)[nCount - 1]->CreateChildContext( nPrefix,
aLocalName,
xAttrList );
+ DBG_ASSERT( pContext->GetPrefix() == nPrefix,
+ "SvXMLImport::startElement: created context has wrong prefix" );
}
else
{