Ignore:
Timestamp:
2005-04-11T11:32:00+12:00 (19 years ago)
Author:
kjdon
Message:

added some x++ -> ++x changes submitted by Emanuel Dejanu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/formattools.cpp

    r9401 r9620  
    110110      } else return false;
    111111    }
    112     here ++;
     112    ++here;
    113113  }
    114114  return false;
     
    373373  text_t::const_iterator end = link.end();
    374374 
    375   here ++;
     375  ++here;
    376376  while (here != end) {
    377377    if (*here == '"') break;
    378378    href.push_back(*here);
    379     here ++;
     379    ++here;
    380380  }
    381381
     
    436436    text_tarray::const_iterator doc_data = relationdata.begin();
    437437    text_t document_collection = *doc_data;
    438     doc_data++; //increment to get next item in array (oid)
     438    ++doc_data; //increment to get next item in array (oid)
    439439    text_t document_OID = *doc_data;
    440440   
     
    461461    relation += "  (" + document_collection + ")<br>";
    462462   
    463     currDoc++;
     463    ++currDoc;
    464464      }
    465465    }
     
    495495    else if (inquotes) op.push_back (*here);
    496496    else com.push_back (*here);
    497     here ++;
     497    ++here;
    498498  }
    499499
     
    530530    else if (inquotes) op.push_back (*here);
    531531    else com.push_back (*here);
    532     here ++;
     532    ++here;
    533533  }
    534534
     
    565565    else if (inquotes) op.push_back (*here);
    566566    else com.push_back (*here);
    567     here ++;
     567    ++here;
    568568  }
    569569
     
    694694
    695695    if (*here == '\\') {
    696       here ++;
     696      ++here;
    697697      if (here != end) text.push_back (*here);
    698698
     
    722722      }
    723723      text_t meta;
    724       here ++;
     724      ++here;
    725725      while (*here != ']') {
    726726    if (here == end) return false;
    727727    meta.push_back (*here);
    728     here ++;
     728    ++here;
    729729      }
    730730      parse_meta (meta, formatlistptr, metadata, getParents);
     
    735735      text.push_back (*here);
    736736
    737     if (here != end) here ++;
     737    if (here != end) ++here;
    738738  }
    739739  if (!text.empty()) {
     
    757757  here = findchar (it, end, '{');
    758758  if (here == end) return false;
    759   else here ++;
     759  else ++here;
    760760
    761761  if (com == "If" || com == "if" || com == "IF") formatlistptr->command = comIf;
     
    838838        text_t meta = substr (beginbracket+1, endbracket);
    839839        parse_meta (meta, formatlistptr->decision.meta, metadata, getParents);
    840         commacount ++;
     840        ++commacount;
    841841        text.clear();
    842842      }
     
    855855        formatlistptr->decision.command = dText;
    856856        formatlistptr->decision.text = text;
    857         commacount ++;
     857        ++commacount;
    858858        text.clear();
    859859      }
     
    916916        {
    917917          if (*here == '}') break;
    918           commacount ++;
     918          ++commacount;
    919919        }
    920920    }
     
    923923    } else text.push_back(*here);
    924924   
    925     if (here != end) here ++;
     925    if (here != end) ++here;
    926926  }
    927927
     
    950950  const int end_i = metainfo.values.size()-1;
    951951   
    952   for (int i=start_i; i<=end_i; i++) {
     952  for (int i=start_i; i<=end_i; ++i) {
    953953    if (!first) tmp += meta.functionoptions;
    954954     
     
    10121012    else tmp += *here;
    10131013    first = false;
    1014     here ++;
     1014    ++here;
    10151015      }
    10161016      if (meta.metacommand & mCgiSafe) return cgi_safe (tmp);
     
    11461146      break;
    11471147    }
    1148     pos++;
     1148    ++pos;
    11491149  }
    11501150
     
    11591159      break;
    11601160    }
    1161     pos--;
     1161    --pos;
    11621162  }
    11631163
     
    11721172      break;
    11731173    }
    1174     pos--;
     1174    --pos;
    11751175  }
    11761176
     
    11881188      break;
    11891189    }
    1190     pos--;
     1190    --pos;
    11911191  }
    11921192
     
    12001200  extracted_str.clear();
    12011201
    1202   for (int pos=start_pos; pos<=end_pos; pos++) {
     1202  for (int pos=start_pos; pos<=end_pos; ++pos) {
    12031203    extracted_str.push_back(outstring[pos]);
    12041204  }
     
    12771277
    12781278  if ((potential_quote == '\'') || (potential_quote == '\"')) {
    1279     rhs_end--;
     1279    --rhs_end;
    12801280    rhs_start = rscan_for(outstring,rhs_end-1,potential_quote) +1;
    12811281    quoted = true;
     
    14311431  while (here != end) {
    14321432    if (*here == '[') return true;
    1433     here ++;
     1433    ++here;
    14341434  }
    14351435
Note: See TracChangeset for help on using the changeset viewer.