This commit is contained in:
2009-11-03 16:31:30 +00:00
parent 27cb94f418
commit afc16fb9f9
6 changed files with 102 additions and 48 deletions

View File

@@ -116,7 +116,6 @@ namespace DataLoader
}
else
itm = Item.MakeItem(FromItem, cont, Dts, Userid);
dicTrans_ItemDone[ProcNumber+"|"+trstpseq] = itm;
dicOldStepSequence[itm] = stpseq;
return itm;
@@ -200,7 +199,7 @@ namespace DataLoader
{
if ((ds.OldToNew & docstyle)>0) return (int)ds.Index;
}
return -1;
return 0;
}
private FormatInfo GetFormat(Item procitem, DocVersion docver)
{
@@ -258,6 +257,7 @@ namespace DataLoader
{
log.ErrorFormat("Error getting long section title {0}", ex.Message);
}
da.Dispose();
}
// For step sections, the long section title is stored on the section record
// (see above comment for accessory pages to see the difference)
@@ -442,7 +442,6 @@ namespace DataLoader
libDocid = dicLibDocRef[thekey];
}
}
Item secitem = AddSection(procitem, num, title, stype, dts, init, ci, step + sequence, fmt, libDocid, pth, FromItem, docver);
thesectid = secitem.ItemID;