[poppler] poppler/qt4/src: poppler-page.cc,1.21,1.22

Albert Astals Cid aacid at kemper.freedesktop.org
Fri May 12 14:02:03 PDT 2006


Update of /cvs/poppler/poppler/qt4/src
In directory kemper:/tmp/cvs-serv29317/qt4/src

Modified Files:
	poppler-page.cc 
Log Message:
fixing compile problems for some people


Index: poppler-page.cc
===================================================================
RCS file: /cvs/poppler/poppler/qt4/src/poppler-page.cc,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- poppler-page.cc	12 May 2006 20:40:05 -0000	1.21
+++ poppler-page.cc	12 May 2006 21:02:01 -0000	1.22
@@ -335,12 +335,15 @@
         break;
 
         case actionLaunch:
+	{
           LinkLaunch * e = (LinkLaunch *)a;
           GooString * p = e->getParams();
           popplerLink = new LinkExecute( linkArea, e->getFileName()->getCString(), p ? p->getCString() : 0 );
+	}
         break;
 
         case actionNamed:
+	{
           const char * name = ((LinkNamed *)a)->getName()->getCString();
           if ( !strcmp( name, "NextPage" ) )
               popplerLink = new LinkAction( linkArea, LinkAction::PageNext );
@@ -373,10 +376,13 @@
           {
                 // TODO
           }
+	}
         break;
 
         case actionURI:
+	{
           popplerLink = new LinkBrowse( linkArea, ((LinkURI *)a)->getURI()->getCString() );
+	}
         break;
 
         case actionMovie:



More information about the poppler mailing list