diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-06-16 13:10:35 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-06-16 13:10:35 +0000 |
commit | 460eda873629e3be4813b05397604edc48bc8621 (patch) | |
tree | 764e68b3c6f7a75746322433a6e78104297805e8 /configmgr | |
parent | 1c7a6bdc6c65b775972c694fe873a705adda3b78 (diff) |
INTEGRATION: CWS sb88 (1.15.10); FILE MERGED
2008/06/03 15:29:55 sb 1.15.10.1: #i89553 applied patch by cmc
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/xml/elementparser.cxx | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/configmgr/source/xml/elementparser.cxx b/configmgr/source/xml/elementparser.cxx index fdd4dd213820..685aabb1c246 100644 --- a/configmgr/source/xml/elementparser.cxx +++ b/configmgr/source/xml/elementparser.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: elementparser.cxx,v $ - * $Revision: 1.15 $ + * $Revision: 1.16 $ * * This file is part of OpenOffice.org. * @@ -578,16 +578,7 @@ bool ElementParser::maybeGetAttribute(SaxAttributeList const& xAttribs, OUString { return xAttribs.is() && impl_maybeGetAttribute(xAttribs, aAttributeName, rAttributeValue); } -// ----------------------------------------------------------------------------- -/// assigns an attribute value or an empty string if it doesn't exist -void ElementParser::alwaysGetAttribute(SaxAttributeList const& xAttribs, OUString const& aAttributeName, OUString& rAttributeValue) const -{ - if (xAttribs.is()) - rAttributeValue = xAttribs->getValueByName(aAttributeName); - else - rAttributeValue = OUString(); -} // ----------------------------------------------------------------------------- } // namespace } // namespace |