Modified how ROFSTLookup object is obtained
This commit is contained in:
@@ -73,9 +73,10 @@ namespace DataLoader
|
||||
RoUsage ro = RoUsage.MakeRoUsage(content, ROID, null, DateTime.Now, "Migration", rodb);
|
||||
try
|
||||
{
|
||||
ROFSTLookup.rochild myro = rofstinfo.ROFSTLookup.GetRoChild12(ROID.ToUpper());
|
||||
ROFSTLookup mylookup = rofstinfo.GetROFSTLookup(DocVersionInfo.Get(docver.VersionID));
|
||||
ROFSTLookup.rochild myro = mylookup.GetRoChild12(ROID.ToUpper());
|
||||
rotype = Math.Max(rotype, myro.type);
|
||||
string roval = rofstinfo.ROFSTLookup.GetTranslatedRoValue(ROID.ToUpper(), conv_caret);
|
||||
string roval = mylookup.GetTranslatedRoValue(ROID.ToUpper(), conv_caret);
|
||||
if (textm[tok] == '\x3a6' && roval.IndexOf('\n')>-1) // figure - just get image name
|
||||
{
|
||||
roval = roval.Substring(0, roval.IndexOf('\n'));
|
||||
|
Reference in New Issue
Block a user