[sword-cvs] sword/src/modules/comments/rawcom rawcom.cpp,1.34,1.35
sword@www.crosswire.org
sword@www.crosswire.org
Thu, 15 Jan 2004 20:42:44 -0700
Update of /cvs/core/sword/src/modules/comments/rawcom
In directory www:/tmp/cvs-serv22315/src/modules/comments/rawcom
Modified Files:
rawcom.cpp
Log Message:
WINCE fixes
Index: rawcom.cpp
===================================================================
RCS file: /cvs/core/sword/src/modules/comments/rawcom/rawcom.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- rawcom.cpp 12 Aug 2003 05:36:30 -0000 1.34
+++ rawcom.cpp 16 Jan 2004 03:42:41 -0000 1.35
@@ -124,10 +124,10 @@
const VerseKey *srckey = 0;
// see if we have a VerseKey * or decendant
- try {
+ SWTRY {
srckey = SWDYNAMIC_CAST(VerseKey, inkey);
}
- catch ( ... ) {}
+ SWCATCH ( ... ) {}
// if we don't have a VerseKey * decendant, create our own
if (!srckey)
srckey = new VerseKey(inkey);
@@ -156,21 +156,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) {