From 4d5dc3421002fed36af8ef59aad85568b43d233d Mon Sep 17 00:00:00 2001 From: Rich Date: Wed, 29 Mar 2017 18:05:12 +0000 Subject: [PATCH] When a deleted RO is found in an MSWord section for example, the RO had been replaced with the text RO Not Found. If there were mutiple ROs the specific one with the issue could not be found. Now the token will be replaced with RO (SP-C.123) Not Found. This will make it easier to fix problems when they occur. --- PROMS/VEPROMS.CSLA.Library/Extension/DocumentExt.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/DocumentExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/DocumentExt.cs index a4219714..ee4db539 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/DocumentExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/DocumentExt.cs @@ -1386,7 +1386,8 @@ namespace VEPROMS.CSLA.Library { if (roValue == null) { - sel.Text = "RO Not Found"; + string orgtext = sel.Text; + sel.Text = string.Format("RO ({0}) Not Found",orgtext.Replace("<","").Replace(">","")); sel.Font.Color = LBWdColor.wdColorRed; } else