[sword-cvs] sword/src/modules/texts swtext.cpp,1.12,1.13

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


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

Modified Files:
	swtext.cpp 
Log Message:
WINCE fixes

Index: swtext.cpp
===================================================================
RCS file: /cvs/core/sword/src/modules/texts/swtext.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- swtext.cpp	1 Oct 2002 19:52:40 -0000	1.12
+++ swtext.cpp	16 Jan 2004 03:42:42 -0000	1.13
@@ -43,10 +43,10 @@
 
 long SWText::Index() const {
 	VerseKey *key = 0;
-	try {
+	SWTRY {
 		key = SWDYNAMIC_CAST(VerseKey, this->key);
 	}
-	catch ( ... ) {}
+	SWCATCH ( ... ) {}
 	if (!key)
 		key = new VerseKey(this->key);
 
@@ -60,10 +60,10 @@
 
 long SWText::Index(long iindex) {
 	VerseKey *key = 0;
-	try {
+	SWTRY {
 		key = SWDYNAMIC_CAST(VerseKey, this->key);
 	}
-	catch ( ... ) {}
+	SWCATCH ( ... ) {}
 	if (!key)
 		key = new VerseKey(this->key);