diff --git a/PROMS/DataLoader/RefObjs.cs b/PROMS/DataLoader/RefObjs.cs index c98f93db..b64ce1e9 100644 --- a/PROMS/DataLoader/RefObjs.cs +++ b/PROMS/DataLoader/RefObjs.cs @@ -73,16 +73,9 @@ namespace DataLoader RoUsage ro = RoUsage.MakeRoUsage(content, ROID, null, DateTime.Now, "Migration", rodb); try { - //string rov = rofstinfo.ROFSTLookup.GetRoValue(ROID.ToUpper()); ROFSTLookup.rochild myro = rofstinfo.ROFSTLookup.GetRoChild12(ROID.ToUpper()); rotype = Math.Max(rotype, myro.type); - //jsj string rov = TextConvert.ConvertText(rofstinfo.ROFSTLookup.GetRoValue(ROID.Substring(0, 12).ToUpper())); - //string results = string.Format(@"{0}{1}\v #Link:ReferencedObject:{2} {3} {4}\v0", - // '\x15', rofstinfo.ROFSTLookup.GetRoValue(ROID.Substring(0, 12).ToUpper()), ro.ROUsageID, ROID, rodb.RODbID); - - // TODO: NEED TO PASS IN ConvertCaret FORMAT FLAG - string roval = TextConvert.ConvertDOSSuperAndSubScripts(rofstinfo.ROFSTLookup.GetRoValue(ROID.ToUpper())); - roval = TextConvert.ReplaceUnicode(roval, conv_caret); + string roval = rofstinfo.ROFSTLookup.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'));