diff --git a/PROMS/Volian.Print.Library/PromsPrinter.cs b/PROMS/Volian.Print.Library/PromsPrinter.cs index 443c9f41..966052f1 100644 --- a/PROMS/Volian.Print.Library/PromsPrinter.cs +++ b/PROMS/Volian.Print.Library/PromsPrinter.cs @@ -1964,6 +1964,7 @@ namespace Volian.Print.Library /// Multiplier private void NewSupInfoFixParts(vlnPrintObject po, float scaler) { + if (po.IParagraph == null) return; // B2017-132 check for NULL reference (happend printing Bryon SAMGS with sup info pages) // Adjust the font size by the multiplier foreach (Chunk chk in po.IParagraph.Chunks) chk.Font.Size = scaler * chk.Font.Size;