mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Fix bug 60671
This commit is contained in:
@ -776,8 +776,15 @@ DWORD CConverter::ThreadProc()
|
||||
}
|
||||
o_xml_file.WriteStringUTF8(xml_params, true);
|
||||
o_xml_file.CloseFile();
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
// x2t cannot work with normalized paths in xml
|
||||
if(xml_params_file.find_first_of(L"\\?\\\\") != std::wstring::npos)
|
||||
xml_params_file.erase(0, 4);
|
||||
|
||||
#endif // WIN32
|
||||
|
||||
int exit_code = NSX2T::Convert(NSFile::GetDirectoryName(m_x2tPath), xml_params_file);
|
||||
|
||||
bool exist;
|
||||
|
||||
Reference in New Issue
Block a user