Refactoring scopes and new files

This commit is contained in:
Oleg Korshul
2022-07-25 19:32:38 +03:00
parent 31b326da5a
commit 469c077079
5 changed files with 124 additions and 18 deletions

View File

@ -62,8 +62,6 @@ int main(int argc, char *argv[])
oContent[0] = oParagraph;
oDocument.Call("InsertContent", oContent);
oScope.Close();
std::wstring sDstPath = sProcessDirectory + L"/result.docx";
oBuilder.SaveFile(OFFICESTUDIO_FILE_DOCUMENT_DOCX, sDstPath.c_str());
oBuilder.CloseFile();