diff --git a/PROMS/Volian.Print.Library/PromsPrinter.cs b/PROMS/Volian.Print.Library/PromsPrinter.cs index 18b2fb54..283b8a40 100644 --- a/PROMS/Volian.Print.Library/PromsPrinter.cs +++ b/PROMS/Volian.Print.Library/PromsPrinter.cs @@ -411,7 +411,7 @@ namespace Volian.Print.Library int docStyleIndex = ((int)sect.MyContent.Type) % 10000; DocStyle myDocStyle = sect.ActiveFormat.PlantFormat.DocStyles.DocStyleList[docStyleIndex]; PageStyle myPageStyle = myDocStyle.pagestyle; - ProcedureInfo proc = sect.ActiveParent as ProcedureInfo; + ProcedureInfo proc = sect.MyProcedure;//sect.ActiveParent as ProcedureInfo; DocVersionInfo dvi = proc.ActiveParent as DocVersionInfo; ROFstInfo rofst = dvi.DocVersionAssociations[0].MyROFst; ROFSTLookup lookup = rofst.ROFSTLookup;