VirtualBox

Changeset 49028 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Oct 10, 2013 12:55:06 PM (11 years ago)
Author:
vboxsync
Message:

iprt/cpp/xml: Fixed attribute lookup with namespace by doing the same way as for elements. Also renamed the two methods with namespace prefix and name in the 'logical' order so they can safely be changed to the order dictated C++ default parameter value handling (name first, then optionally ns-prefix), like the rest.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/zip/xarvfs.cpp

    r48868 r49028  
    19261926                    xml::ElementNode const *pTocElem  = NULL;
    19271927                    if (pRootElem && pRootElem->nameEquals("xar"))
    1928                         pTocElem = pRootElem ? pRootElem->findChildElement(NULL, "toc") : NULL;
     1928                        pTocElem = pRootElem ? pRootElem->findChildElement("toc") : NULL;
    19291929                    if (pTocElem)
    19301930                    {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette