Improve txt file writer

This commit is contained in:
ONLYOFFICE3033\nctde
2025-10-23 17:48:08 +03:00
parent 47e0a0c9e7
commit 9ccbb25acd
2 changed files with 54 additions and 13 deletions

View File

@ -102,9 +102,9 @@ _UINT32 CTxtXmlFile::txt_LoadFromFile(const std::wstring & sSrcFileName, const s
Txt2Docx::Converter converter( encoding);
converter.read(sSrcFileName);
converter.convert();
converter.write(pDocxWriter->get_document_writer().m_oContent);
}
// converter.convert();
converter.write(pDocxWriter->get_document_writer().m_oContent);
}
catch(...)
{
return AVS_FILEUTILS_ERROR_CONVERT;