Word Section Replace ROs Results in an error if there are not any ROs

This commit is contained in:
Rich 2015-02-27 15:13:59 +00:00
parent 62a6d747df
commit e8ab373008

View File

@ -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));