diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-05-27 10:42:54 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-05-27 10:42:54 +0000 |
commit | 3eaac187a6b1ee0322823aac8e34f9e4c3cd0813 (patch) | |
tree | dd261be0ae52c1657d9c78ef02a0382fa89ac7e8 /configmgr | |
parent | 1cf6df32ed29307aad3ac862a8750b2997552cf4 (diff) |
INTEGRATION: CWS configxml01 (1.7.8); FILE MERGED
2003/05/16 15:39:35 jb 1.7.8.1: #109668# Rename oor:node -> oor:component-data ; accept old format for reading
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/xml/elementparser.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/configmgr/source/xml/elementparser.cxx b/configmgr/source/xml/elementparser.cxx index 842925084498..63e56e53159f 100644 --- a/configmgr/source/xml/elementparser.cxx +++ b/configmgr/source/xml/elementparser.cxx @@ -2,9 +2,9 @@ * * $RCSfile: elementparser.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: rt $ $Date: 2003-04-17 13:34:28 $ + * last change: $Author: vg $ $Date: 2003-05-27 11:42:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -177,6 +177,13 @@ ElementType::Enum ElementParser::getNodeType(OUString const& _sElementName, SaxA else if (_sElementName.equals(TAG_USES)) eResult = ElementType::uses; + // #109668# maintain support for old tag on load + else if (_sElementName.equals(DEPRECATED_TAG_LAYER)) + { + OSL_TRACE("Layer starts with invalid root tag \"oor:node\". Use \"oor:component-data\" instead."); + eResult = ElementType::layer; + } + else eResult = ElementType::other; |