[sword-cvs] sword/src/modules swmodule.cpp,1.52,1.53

sword@www.crosswire.org sword@www.crosswire.org
Thu, 15 Jan 2004 20:42:43 -0700


Update of /cvs/core/sword/src/modules
In directory www:/tmp/cvs-serv22315/src/modules

Modified Files:
	swmodule.cpp 
Log Message:
WINCE fixes

Index: swmodule.cpp
===================================================================
RCS file: /cvs/core/sword/src/modules/swmodule.cpp,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- swmodule.cpp	21 Dec 2003 10:42:01 -0000	1.52
+++ swmodule.cpp	16 Jan 2004 03:42:41 -0000	1.53
@@ -408,14 +408,10 @@
 	// 	VerseKey::NewIndex should be moved to Index and Index should be some
 	// 	VerseKey specific name
 	VerseKey *vkcheck = 0;
-#ifndef _WIN32_WCE
-	try {
-#endif
+	SWTRY {
 		vkcheck = SWDYNAMIC_CAST(VerseKey, key);
-#ifndef _WIN32_WCE
 	}
-	catch (...) {}
-#endif
+	SWCATCH (...) {}
 	// end MAJOR KLUDGE
 
 	*this = BOTTOM;