@ -104,10 +104,10 @@ namespace KioSword {
if ( ! tag . isEmpty ( ) ) {
SWBuf type = tag . getAttribute ( " type " ) ;
SWBuf footnoteNumber = tag . getAttribute ( " swordFootnote " ) ;
VerseKey * vkey ;
const VerseKey * vkey ;
// see if we have a VerseKey * or descendant
try {
vkey = SWDYNAMIC_CAST ( VerseKey , u - > key ) ;
vkey = SWDYNAMIC_CAST ( const VerseKey , u - > key ) ;
}
catch ( . . . ) { }
if ( vkey ) {
@ -150,10 +150,10 @@ namespace KioSword {
// FIXME for Kio-Sword
else {
SWBuf footnoteNumber = u - > startTag . getAttribute ( " swordFootnote " ) ;
VerseKey * vkey ;
const VerseKey * vkey ;
// see if we have a VerseKey * or descendant
try {
vkey = SWDYNAMIC_CAST ( VerseKey , u - > key ) ;
vkey = SWDYNAMIC_CAST ( const VerseKey , u - > key ) ;
}
catch ( . . . ) { }
if ( vkey ) {