Commit 50f47cae authored by ElenaSubbotina's avatar ElenaSubbotina

fix write video/audio in oox

parent e947c91a
...@@ -324,9 +324,11 @@ namespace OOX ...@@ -324,9 +324,11 @@ namespace OOX
{ {
if (sExtension.empty()) return; 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: 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