Commit 6593230d authored by ElenaSubbotina's avatar ElenaSubbotina

.

parent e02c72b5
...@@ -1524,7 +1524,7 @@ namespace BinXlsxRW ...@@ -1524,7 +1524,7 @@ namespace BinXlsxRW
} }
smart_ptr<OOX::File> fileVbaProject = workbook.Get(OOX::FileTypes::VbaProject); smart_ptr<OOX::File> fileVbaProject = workbook.Get(OOX::FileTypes::VbaProject);
if (fileVbaProject.IsInit()) if (fileVbaProject.IsInit() && OOX::FileTypes::VbaProject == fileVbaProject->type())
{ {
nCurPos = m_oBcw.WriteItemStart(c_oSerWorkbookTypes::VbaProject); nCurPos = m_oBcw.WriteItemStart(c_oSerWorkbookTypes::VbaProject);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment