summaryrefslogtreecommitdiffstats
path: root/sc/source/filter/xml/XMLTrackedChangesContext.cxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-08-20 15:33:43 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-08-20 15:33:43 +0000
commit109dcf2541b5020834285f58e5db8a755f952a4b (patch)
treebd05a6f876efe44e4b473a13a76b8d65bfd6f0d9 /sc/source/filter/xml/XMLTrackedChangesContext.cxx
parentINTEGRATION: CWS calcodfrng (1.29.96); FILE MERGED (diff)
downloadcore-109dcf2541b5020834285f58e5db8a755f952a4b.tar.gz
core-109dcf2541b5020834285f58e5db8a755f952a4b.zip
INTEGRATION: CWS calcodfrng (1.27.136); FILE MERGED
2007/08/07 14:40:07 er 1.27.136.1: #i80033# ODF RNG: table:dependency instead of table:dependence
Diffstat (limited to 'sc/source/filter/xml/XMLTrackedChangesContext.cxx')
-rw-r--r--sc/source/filter/xml/XMLTrackedChangesContext.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sc/source/filter/xml/XMLTrackedChangesContext.cxx b/sc/source/filter/xml/XMLTrackedChangesContext.cxx
index ce433f4c553d..bb98b87d5b7f 100644
--- a/sc/source/filter/xml/XMLTrackedChangesContext.cxx
+++ b/sc/source/filter/xml/XMLTrackedChangesContext.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: XMLTrackedChangesContext.cxx,v $
*
- * $Revision: 1.27 $
+ * $Revision: 1.28 $
*
- * last change: $Author: vg $ $Date: 2007-02-27 12:48:43 $
+ * last change: $Author: ihi $ $Date: 2007-08-20 16:33:43 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -960,7 +960,8 @@ SvXMLImportContext *ScXMLDependingsContext::CreateChildContext( USHORT nPrefix,
if (nPrefix == XML_NAMESPACE_TABLE)
{
- if (IsXMLToken(rLocalName, XML_DEPENDENCE))
+ // #i80033# read both old (dependence) and new (dependency) elements
+ if (IsXMLToken(rLocalName, XML_DEPENDENCE) || IsXMLToken(rLocalName, XML_DEPENDENCY))
pContext = new ScXMLDependenceContext(GetScImport(), nPrefix, rLocalName, xAttrList, pChangeTrackingImportHelper);
}