Commit 62e11321 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

emf/wmf filter bug

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57345 954022d7-b5bf-4e40-9824-e11837661b57
parent 743ddb42
...@@ -1778,11 +1778,11 @@ function BinaryPPTYLoader() ...@@ -1778,11 +1778,11 @@ function BinaryPPTYLoader()
// TEST version --------------- // TEST version ---------------
var _s = uni_fill.fill.RasterImageId; var _s = uni_fill.fill.RasterImageId;
var indS = _s.indexOf("emf"); var indS = _s.lastIndexOf("emf");
if (indS == -1) if (indS == -1)
indS = _s.indexOf("wmf"); indS = _s.lastIndexOf("wmf");
if (indS != -1) if (indS != -1 && (indS == (_s.length - 3)))
{ {
_s = _s.substring(0, indS); _s = _s.substring(0, indS);
_s += "svg"; _s += "svg";
......
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