From 460eda873629e3be4813b05397604edc48bc8621 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm <rt@openoffice.org> Date: Mon, 16 Jun 2008 13:10:35 +0000 Subject: INTEGRATION: CWS sb88 (1.15.10); FILE MERGED 2008/06/03 15:29:55 sb 1.15.10.1: #i89553 applied patch by cmc --- configmgr/source/xml/elementparser.cxx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'configmgr') 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 -- cgit