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 | 2c5a3899afa5c0bdfc4d3fb77ec3fc6f5d8b3faa (patch) | |
tree | ed087fdcff3e10b2cfb113e3bab666322e25a150 /configmgr | |
parent | e27c87edeb566f11006b2f859c0974b8b30a4455 (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 adb3b989d1..4b69a56578 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 |