Ignore:
Timestamp:
2004-11-29T15:43:11+13:00 (19 years ago)
Author:
kjdon
Message:

Added the changes from Emanuel Dejanu (Simple Words) - mostly efficiency changes. For example, changing i++ to ++i, delete xxx to delete []xxx, some stuff to do with UCArrays...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/indexers/mgpp/text/TextEl.cpp

    r3365 r8692  
    7979
    8080static void ToggleParaTag (TextEl &el, bool &compatInPara) {
    81   SetCStr (el.tagName, "Paragraph");
     81  SetCStr (el.tagName, "Paragraph", 9);
    8282  el.text.erase (el.text.begin(), el.text.end());
    8383  if (compatInPara) {
     
    9090static void SetRecTag (TextEl &el, TextElType elType) {
    9191  el.elType = elType;
    92   SetCStr (el.tagName, "Document");
     92  SetCStr (el.tagName, "Document", 8);
    9393  el.text.erase (el.text.begin(), el.text.end());
    9494  if (elType == CloseTagE)
Note: See TracChangeset for help on using the changeset viewer.