Commit 23718718 authored by ElenaSubbotina's avatar ElenaSubbotina

fix bug #33449

parent 3c73f692
......@@ -93,8 +93,14 @@ std::wstring mediaitems::create_file_name(const std::wstring & uri, RelsType typ
std::wstring sExt;
std::wstring f_name = odf_packet_ + FILE_SEPARATOR_STR + uri;
sExt = detectImageFileExtension(f_name); //4EA0AA6E-479D-4002-A6AA-6D6C88EC6D65.odt - image - "opentbs_added_1.phpxvkeg" = png
if (type == typeImage)
{
sExt = detectImageFileExtension(f_name); //4EA0AA6E-479D-4002-A6AA-6D6C88EC6D65.odt - image - "opentbs_added_1.phpxvkeg" = png
}
else
{
}
if (sExt.empty())
{
int n = uri.find(L"ObjectReplacements");
......
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