Added parameter (empty string) to function used in this file part of bug fix B2017-060

This commit is contained in:
John Jenko 2017-03-24 14:27:55 +00:00
parent 0ee5f8d1c9
commit 95d7cbbf98

View File

@ -176,7 +176,7 @@ namespace DataLoader
switch (frmMain.MySettings.WhatROsToConvert) switch (frmMain.MySettings.WhatROsToConvert)
{ {
case ROUpdateMode.None: case ROUpdateMode.None:
oldval = ctmp.FixContentText(ru, myValue, myType, myRoFst, fileNameOnly); oldval = ctmp.FixContentText(ru, myValue, myType, myRoFst, fileNameOnly,"");
if(myValue == "?" && frmMain.MySettings.AnnotateWhenShowingMissingRO) if(myValue == "?" && frmMain.MySettings.AnnotateWhenShowingMissingRO)
Annotation.MakeAnnotation(ctmp.ContentItems[0].MyItem, VolianCommentType, "", string.Format("RO value ({0}) missing", ItemInfo.ConvertToDisplayText(oldval)), null); Annotation.MakeAnnotation(ctmp.ContentItems[0].MyItem, VolianCommentType, "", string.Format("RO value ({0}) missing", ItemInfo.ConvertToDisplayText(oldval)), null);
else if (ctmp.Text != textB4 && frmMain.MySettings.AnnotateWhenShowingDifferentRO) else if (ctmp.Text != textB4 && frmMain.MySettings.AnnotateWhenShowingDifferentRO)
@ -196,7 +196,7 @@ namespace DataLoader
} }
else else
{ {
oldval = ctmp.FixContentText(ru, myValue, myType, myRoFst, fileNameOnly); oldval = ctmp.FixContentText(ru, myValue, myType, myRoFst, fileNameOnly,"");
if (ctmp.Text != textB4 && frmMain.MySettings.AnnotateWhenShowingDifferentRO) if (ctmp.Text != textB4 && frmMain.MySettings.AnnotateWhenShowingDifferentRO)
Annotation.MakeAnnotation(ctmp.ContentItems[0].MyItem, VolianCommentType, "", string.Format("Old RO value ({0}) different than new RO value({1})" + sameMsg, ItemInfo.ConvertToDisplayText(oldval), ItemInfo.ConvertToDisplayText(myValue)), null); Annotation.MakeAnnotation(ctmp.ContentItems[0].MyItem, VolianCommentType, "", string.Format("Old RO value ({0}) different than new RO value({1})" + sameMsg, ItemInfo.ConvertToDisplayText(oldval), ItemInfo.ConvertToDisplayText(myValue)), null);
} }