Changeset 997


Ignore:
Timestamp:
Apr 25, 2014, 6:14:22 PM (11 years ago)
Author:
s10k
Message:

XmlTools: fixed bug http://www.bugs.oni2.net/ticket/71

Location:
XmlTools2/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XmlTools2/trunk/readme.txt

    r973 r997  
    11Readme.txt
    22~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    3 XmlTools v2.0a
     3XmlTools v2.0b
    44~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    55
     
    6262Change Log:
    6363----------------------------------
     642.0b, 25-04-2014
     65-Minor code fixes (use of singleton pattern)
     66-Fixed segmentation fault when providing a non-existing element name in patch files operations
     67----------------------------------
    64682.0a, 02-03-2014
    6569-Added multithreading support for @CUSTOM_CODE (performance may increase over 3 times in a quadcore)
  • XmlTools2/trunk/xmlpatch.cpp

    r980 r997  
    7777        }
    7878
    79         if(nodesToInsertion[0].type()==pugi::node_null){
     79        if(nodesToInsertion.isEmpty() || nodesToInsertion[0].type()==pugi::node_null){
    8080
    8181            QString errMessage;
     
    138138        }
    139139
    140         if(nodesToDeletion[0].type()==pugi::node_null){
     140        if(nodesToDeletion.isEmpty() || nodesToDeletion[0].type()==pugi::node_null){
    141141
    142142            QString errMessage;
Note: See TracChangeset for help on using the changeset viewer.