From 7312100a513a4e5098cf641afcc29dd33d1ef4b2 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 20 Jul 2010 14:24:45 +0000 Subject: [PATCH] --- PROMS/Volian.Print.Library/PromsPrinter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;