B2022-141 Sometimes, the RoPrintCache dictionary was null. Added a NULL check and initialized the dictionary if needed.
This commit is contained in:
parent
d7fca3ec99
commit
928fe33d7f
@ -1389,6 +1389,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
|
|
||||||
string accPageKey = lookup.FormatAccPageKey(selText, ref accPageBase, ref accPageExt);
|
string accPageKey = lookup.FormatAccPageKey(selText, ref accPageBase, ref accPageExt);
|
||||||
|
|
||||||
|
if (RoPrintCache == null) // B2022-141 if RoPrintCache is null then ititialize it
|
||||||
|
MSWordToPDF.RoPrintCache = new Dictionary<string, ROFSTLookup.rochild>();
|
||||||
|
|
||||||
// Check if the Rochild is in the PrintCache (use base accPageID without specific extension)
|
// Check if the Rochild is in the PrintCache (use base accPageID without specific extension)
|
||||||
if (!RoPrintCache.ContainsKey(accPageBase))
|
if (!RoPrintCache.ContainsKey(accPageBase))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user