[sword-cvs] sword/src/modules/comments/hrefcom hrefcom.cpp,1.14,1.15

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


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

Modified Files:
	hrefcom.cpp 
Log Message:
WINCE fixes

Index: hrefcom.cpp
===================================================================
RCS file: /cvs/core/sword/src/modules/comments/hrefcom/hrefcom.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- hrefcom.cpp	27 Jun 2003 01:41:07 -0000	1.14
+++ hrefcom.cpp	16 Jan 2004 03:42:41 -0000	1.15
@@ -18,6 +18,7 @@
 #include <utilfuns.h>
 #include <rawverse.h>
 #include <hrefcom.h>
+#include <swbuf.h>
 
 SWORD_NAMESPACE_START
 
@@ -60,14 +61,10 @@
 	unsigned short size;
 	VerseKey *key = 0;
 
-#ifndef _WIN32_WCE
-	try {
-#endif
+	SWTRY {
 		key = SWDYNAMIC_CAST(VerseKey, this->key);
-#ifndef _WIN32_WCE
 	}
-	catch ( ... ) {}
-#endif
+	SWCATCH ( ... ) {}
 	if (!key)
 		key = new VerseKey(this->key);