[sword-cvs] sword/utilities/diatheke osiscgi.cpp,1.1,1.2

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


Update of /cvs/core/sword/utilities/diatheke
In directory www:/tmp/cvs-serv22315/utilities/diatheke

Modified Files:
	osiscgi.cpp 
Log Message:
WINCE fixes

Index: osiscgi.cpp
===================================================================
RCS file: /cvs/core/sword/utilities/diatheke/osiscgi.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- osiscgi.cpp	22 Oct 2003 03:12:12 -0000	1.1
+++ osiscgi.cpp	16 Jan 2004 03:42:42 -0000	1.2
@@ -158,10 +158,10 @@
 						SWBuf footnoteNumber = tag.getAttribute("swordFootnote");
 						VerseKey *vkey;
 						// see if we have a VerseKey * or descendant
-						try {
+						SWTRY {
 							vkey = SWDYNAMIC_CAST(VerseKey, u->key);
 						}
-						catch ( ... ) {	}
+						SWCATCH ( ... ) {	}
 						if (vkey) {
 							char ch = ((tag.getAttribute("type") && (!strcmp(tag.getAttribute("type"), "crossReference"))) ? 'x':'n');
 							buf.appendFormatted("<a href=\"noteID=%s.%c.%s\"><small><sup>*%c</sup></small></a> ", vkey->getText(), ch, footnoteNumber.c_str(), ch);