Word Section Replace ROs Results in an error if there are not any ROs
This commit is contained in:
parent
62a6d747df
commit
e8ab373008
@ -798,7 +798,7 @@ namespace VEPROMS.CSLA.Library
|
||||
// force Print of MS Word Attachment to Final without revisions and comments
|
||||
myDoc.ActiveWindow.View.ShowRevisionsAndComments = false;
|
||||
myDoc.ActiveWindow.View.RevisionsView = LBWdRevisionsView.wdRevisionsViewFinal;
|
||||
int lastStart = sel.Start;
|
||||
int lastStart = sel == null ? 0 : sel.Start;
|
||||
while (sel != null)
|
||||
{
|
||||
if (statusChange != null) statusChange(VolianStatusType.Update, sel.Start, string.Format("{0} ROs Refreshed", ++roCount));
|
||||
|
Loading…
x
Reference in New Issue
Block a user