Browse Source

* Fix wrong start index which appeared in loop optimization

git-svn-id: trunk@33255 -
michael 9 years ago
parent
commit
5fcc032b98
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-pdf/src/fppdf.pp

+ 1 - 1
packages/fcl-pdf/src/fppdf.pp

@@ -2716,7 +2716,7 @@ var
   p : TPDFObject;
   p : TPDFObject;
 begin
 begin
   Result:=-1;
   Result:=-1;
-  I:=0;
+  I:=1;
   While (Result=-1) and (I<FGlobalXRefs.Count) do
   While (Result=-1) and (I<FGlobalXRefs.Count) do
     begin
     begin
     p:=GetX(i).Dict.Elements[0].Value;
     p:=GetX(i).Dict.Elements[0].Value;