[GME-commit] GMESRC/GME/Gme GMEApp.cpp,1.111,1.112

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Thu Apr 15 18:38:58 CDT 2004


Update of /var/lib/gme/GMESRC/GME/Gme
In directory braindrain:/tmp/cvs-serv6066

Modified Files:
	GMEApp.cpp 
Log Message:
Uncommented XSLT part.
Modified Files:
 	GMEApp.cpp 


CVS User: zolmol

Index: GMEApp.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Gme/GMEApp.cpp,v
retrieving revision 1.111
retrieving revision 1.112
diff -C2 -d -r1.111 -r1.112
*** GMEApp.cpp	8 Apr 2004 18:02:55 -0000	1.111
--- GMEApp.cpp	15 Apr 2004 22:38:51 -0000	1.112
***************
*** 1657,1665 ****
  		{
  			keep_on = false;
- 			if( 0) {
  			int answer = AfxMessageBox("Do you want to apply an XSLT script on the .xme file?",MB_YESNO | MB_ICONQUESTION);
  			if( answer == IDYES) 
  			{
! 				MSGTRY
  				{
  					CComObjPtr<IMgaXsltFileSel> xslt;
--- 1657,1664 ----
  		{
  			keep_on = false;
  			int answer = AfxMessageBox("Do you want to apply an XSLT script on the .xme file?",MB_YESNO | MB_ICONQUESTION);
  			if( answer == IDYES) 
  			{
! 				try
  				{
  					CComObjPtr<IMgaXsltFileSel> xslt;
***************
*** 1672,1680 ****
  					{
  						CopyTo( result, new_file_name);
  						keep_on = true;
  					}
  				} 
! 				MSGCATCH("Error during XSLT transformation",;)
! 			}
  			}
  		}
--- 1671,1682 ----
  					{
  						CopyTo( result, new_file_name);
+ 						AfxMessageBox("Continuing to Import XML...");
  						keep_on = true;
  					}
  				} 
! 				catch( ...)
! 				{ 
! 					keep_on = false;
! 				}
  			}
  		}



More information about the GME-commit mailing list