Commit cf2159cd authored by ElenaSubbotina's avatar ElenaSubbotina

Merge commit '50f47cae' into develop

parents 8df6286e 50f47cae
......@@ -324,9 +324,11 @@ namespace OOX
{
if (sExtension.empty()) return;
if (m_mapDefaults.find (sExtension) == m_mapDefaults.end())
std::wstring sExt = XmlUtils::GetLower(sExtension);
if (m_mapDefaults.find (sExt) == m_mapDefaults.end())
{
m_mapDefaults [sExtension] = ContentTypes::CDefault( sExtension );
m_mapDefaults [sExt] = ContentTypes::CDefault( sExt );
}
}
private:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment