[sword-cvs] sword/src/modules/comments/zcom zcom.cpp,1.29,1.30
sword@www.crosswire.org
sword@www.crosswire.org
Thu, 15 Jan 2004 20:42:44 -0700
Update of /cvs/core/sword/src/modules/comments/zcom
In directory www:/tmp/cvs-serv22315/src/modules/comments/zcom
Modified Files:
zcom.cpp
Log Message:
WINCE fixes
Index: zcom.cpp
===================================================================
RCS file: /cvs/core/sword/src/modules/comments/zcom/zcom.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- zcom.cpp 12 Aug 2003 05:36:30 -0000 1.29
+++ zcom.cpp 16 Jan 2004 03:42:41 -0000 1.30
@@ -114,10 +114,10 @@
const VerseKey *srckey = 0;
// see if we have a VerseKey * or decendant
- try {
+ SWTRY {
srckey = (const VerseKey *) SWDYNAMIC_CAST(VerseKey, inkey);
}
- catch ( ... ) {
+ SWCATCH ( ... ) {
}
// if we don't have a VerseKey * decendant, create our own
if (!srckey)
@@ -188,21 +188,21 @@
static VerseKey tmpVK;
VerseKey *key;
// see if we have a VerseKey * or decendant
- try {
+ SWTRY {
key = SWDYNAMIC_CAST(VerseKey, this->key);
}
- catch ( ... ) { }
+ SWCATCH ( ... ) { }
if (!key) {
ListKey *lkTest = 0;
- try {
+ SWTRY {
lkTest = SWDYNAMIC_CAST(ListKey, this->key);
}
- catch ( ... ) { }
+ SWCATCH ( ... ) { }
if (lkTest) {
- try {
+ SWTRY {
key = SWDYNAMIC_CAST(VerseKey, lkTest->GetElement());
}
- catch ( ... ) { }
+ SWCATCH ( ... ) { }
}
}
if (!key) {