diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-08-20 15:33:43 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-08-20 15:33:43 +0000 |
commit | 109dcf2541b5020834285f58e5db8a755f952a4b (patch) | |
tree | bd05a6f876efe44e4b473a13a76b8d65bfd6f0d9 /sc | |
parent | c7a3859693971bf7103bfb0d05d64712e724fa37 (diff) |
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')
-rw-r--r-- | sc/source/filter/xml/XMLTrackedChangesContext.cxx | 7 |
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); } |