mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Refactoring scopes and new files
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user