[poppler] poppler/PageTransition.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Thu Jan 14 00:43:45 PST 2010


 poppler/PageTransition.cc |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 1f80f874d8e132411816302465f04bc59d404d89
Author: Albert Astals Cid <aacid at kde.org>
Date:   Thu Jan 14 08:43:11 2010 +0000

    Fix Uncover and Fade to return correct values
    
    Bug 26034

diff --git a/poppler/PageTransition.cc b/poppler/PageTransition.cc
index 14b14fe..3fbd0de 100644
--- a/poppler/PageTransition.cc
+++ b/poppler/PageTransition.cc
@@ -1,5 +1,6 @@
 /* PageTransition.cc
  * Copyright (C) 2005, Net Integration Technologies, Inc.
+ * Copyright (C) 2010, Albert Astals Cid <aacid at kde.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -71,9 +72,9 @@ PageTransition::PageTransition (Object *trans) {
     else if (strcmp("Cover", s) == 0)
       type = transitionCover;
     else if (strcmp("Uncover", s) == 0)
-      type = transitionPush;
+      type = transitionUncover;
     else if (strcmp("Fade", s) == 0)
-      type = transitionCover;
+      type = transitionFade;
   }
   obj.free();
 


More information about the poppler mailing list