浏览代码

* Fix AV

git-svn-id: trunk@41591 -
michael 6 年之前
父节点
当前提交
ae5e97962f
共有 1 个文件被更改,包括 2 次插入4 次删除
  1. 2 4
      packages/fcl-pdf/src/fppdf.pp

+ 2 - 4
packages/fcl-pdf/src/fppdf.pp

@@ -2857,13 +2857,11 @@ begin
   if Length(FStreamed)=0 then
     begin
     if Collection.Owner is TPDFDocument then
-      begin
-      Opts:=TPDFDocument(Collection.Owner).ImageStreamOptions;
-      end
+      Opts:=TPDFDocument(Collection.Owner).ImageStreamOptions
     else
       Opts:=[isoCompressed,isoTransparent];
+    CreateStreamedData(Opts);
     end;
-  CreateStreamedData(Opts);
   Result:=FStreamed;
 end;