Compare commits

..

1 Commits

Author SHA1 Message Date
12ef2e6510 Fix bug 59462 2022-11-24 18:11:20 +03:00

View File

@ -54,9 +54,15 @@ bool CSVGTransformer::OpenFromFile(const std::wstring& file)
m_internal->m_oRender.SetWorkingDirectory(sDirectory);
m_internal->m_oStorage.SetWorkingDirectory(sDirectory);
if (0 == m_internal->m_oXmlParser.LoadFromFile(file, &m_internal->m_oStorage))
try
{
if (!m_internal->m_oXmlParser.LoadFromFile(file, &m_internal->m_oStorage))
return false;
}
catch(...)
{
return false;
}
return true;
}
bool CSVGTransformer::Load(const std::wstring& content)