[sword-cvs] sword/src/modules/comments swcom.cpp,1.10,1.11

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


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

Modified Files:
	swcom.cpp 
Log Message:
WINCE fixes

Index: swcom.cpp
===================================================================
RCS file: /cvs/core/sword/src/modules/comments/swcom.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- swcom.cpp	1 Oct 2002 19:52:40 -0000	1.10
+++ swcom.cpp	16 Jan 2004 03:42:41 -0000	1.11
@@ -33,10 +33,10 @@
 
 long SWCom::Index() const {
 	VerseKey *key = 0;
-	try {
+	SWTRY {
 		key = SWDYNAMIC_CAST(VerseKey, this->key);
 	}
-	catch ( ... ) {}
+	SWCATCH ( ... ) {}
 	if (!key)
 		key = new VerseKey(this->key);
 
@@ -50,10 +50,10 @@
 
 long SWCom::Index(long iindex) {
 	VerseKey *key = 0;
-	try {
+	SWTRY {
 		key = SWDYNAMIC_CAST(VerseKey, this->key);
 	}
-	catch ( ... ) {}
+	SWCATCH ( ... ) {}
 	if (!key)
 		key = new VerseKey(this->key);