B2025-062 Fixed a null reference bug in the printing of Vogtle Units 3 & 4 AOP-204 #655

Merged
mschill merged 1 commits from B2025-062_Vogtle_AOP_Null_Ref into Development 2025-11-14 11:38:26 -05:00
Showing only changes of commit 875a8f101a - Show all commits

View File

@@ -1858,7 +1858,7 @@ namespace Volian.Print.Library
// B2025-060 no section continue message if previous was not in same section or sub-section // B2025-060 no section continue message if previous was not in same section or sub-section
// fixes Vogtle units 3&4 3-AOP-116 Attachments 2 & 3 // fixes Vogtle units 3&4 3-AOP-116 Attachments 2 & 3
if ((!MyItemInfo.IsSection || MyItemInfo.IsSubsection) && if ((!MyItemInfo.IsSection || MyItemInfo.IsSubsection) &&
(MyItemInfo.ActiveSection == MyItemInfo.MyPrevious.ActiveSection) && (MyItemInfo.MyPrevious != null && MyItemInfo.ActiveSection == MyItemInfo.MyPrevious.ActiveSection) &&
MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.ContinueSectionHeader && MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.ContinueSectionHeader &&
(!MyItemInfo.IsSection || (MyItemInfo.IsSeparateSubsection || MyItemInfo.ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvert))) (!MyItemInfo.IsSection || (MyItemInfo.IsSeparateSubsection || MyItemInfo.ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvert)))
{ {