Commit a161fae8a04daf1127e17181890a8f91c41db750

Authored by kirk-sayre-work
1 parent 4188b3d1

Set no_xlm flag when parsing subfiles.

Showing 1 changed file with 1 additions and 0 deletions
oletools/olevba.py
... ... @@ -3049,6 +3049,7 @@ class VBA_Parser(object):
3049 3049 # if OpenXML/PPT, check all the OLE subfiles:
3050 3050 if self.ole_file is None:
3051 3051 for ole_subfile in self.ole_subfiles:
  3052 + ole_subfile.no_xlm = self.no_xlm
3052 3053 if ole_subfile.detect_vba_macros():
3053 3054 self.contains_macros = True
3054 3055 return True
... ...