B2022-149: Crash on print of STP procedure that has addendum
This commit is contained in:
parent
d3c015d382
commit
88315010af
@ -1948,7 +1948,8 @@ i = 0;
|
||||
if (myMsg != null && myMsg != string.Empty)stitle = stitle + myMsg;
|
||||
}
|
||||
// B2021-119: large titles on Landscape Word Attachments are printing on 2 lines.
|
||||
int? stl = (int)section.ActiveFormat.PlantFormat.FormatData.SectData.SectionNumberAndTitleLength;
|
||||
// B2022-149: crash on cast if null
|
||||
int? stl = (int?)section.ActiveFormat.PlantFormat.FormatData.SectData.SectionNumberAndTitleLength;
|
||||
if (section.MyDocStyle.LandscapePageList && section.ActiveFormat.PlantFormat.FormatData.SectData.SectNumAndTlLenLand != null)
|
||||
stl = section.ActiveFormat.PlantFormat.FormatData.SectData.SectNumAndTlLenLand;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user