[sword-svn] r2967 - trunk/bindings/corba/omniorbcpp
scribe at crosswire.org
scribe at crosswire.org
Sun Aug 18 09:15:46 MST 2013
Author: scribe
Date: 2013-08-18 09:15:46 -0700 (Sun, 18 Aug 2013)
New Revision: 2967
Modified:
trunk/bindings/corba/omniorbcpp/swordorb-impl.cpp
Log:
updated to have proper const cast
Modified: trunk/bindings/corba/omniorbcpp/swordorb-impl.cpp
===================================================================
--- trunk/bindings/corba/omniorbcpp/swordorb-impl.cpp 2013-08-18 16:14:22 UTC (rev 2966)
+++ trunk/bindings/corba/omniorbcpp/swordorb-impl.cpp 2013-08-18 16:15:46 UTC (rev 2967)
@@ -330,19 +330,19 @@
}
char* swordorb_SWModule_i::getStripText(){
- return CORBA::string_dup(assureValidUTF8((char *)delegate->stripText()));
+ return CORBA::string_dup(assureValidUTF8((const char *)delegate->stripText()));
}
char* swordorb_SWModule_i::getRenderText(){
- return CORBA::string_dup(assureValidUTF8((char *)delegate->renderText()));
+ return CORBA::string_dup(assureValidUTF8((const char *)delegate->renderText()));
}
char* swordorb_SWModule_i::getRenderHeader(){
- return CORBA::string_dup(assureValidUTF8(((char *)(delegate->getRenderHeader() ? delegate->getRenderHeader():""))));
+ return CORBA::string_dup(assureValidUTF8(((const char *)(delegate->getRenderHeader() ? delegate->getRenderHeader():""))));
}
char* swordorb_SWModule_i::getRawEntry(){
- return CORBA::string_dup(assureValidUTF8((char *)delegate->getRawEntry()));
+ return CORBA::string_dup(assureValidUTF8((const char *)delegate->getRawEntry()));
}
void swordorb_SWModule_i::setRawEntry(const char* entryBuffer){
More information about the sword-cvs
mailing list