[sword-svn] r2922 - in trunk: include src/modules

scribe at crosswire.org scribe at crosswire.org
Sun Jul 28 10:52:06 MST 2013


Author: scribe
Date: 2013-07-28 10:52:06 -0700 (Sun, 28 Jul 2013)
New Revision: 2922

Modified:
   trunk/include/swmodule.h
   trunk/src/modules/swmodule.cpp
Log:
made both renderText methods match return type


Modified: trunk/include/swmodule.h
===================================================================
--- trunk/include/swmodule.h	2013-07-28 17:21:44 UTC (rev 2921)
+++ trunk/include/swmodule.h	2013-07-28 17:52:06 UTC (rev 2922)
@@ -663,7 +663,7 @@
 	 * @param tmpKey key to use to grab text
 	 * @return this module's text at specified key location massaged by Render filters
 	 */
-	virtual const char *renderText(const SWKey *tmpKey);
+	SWBuf renderText(const SWKey *tmpKey);
 
 	/** Whether or not to only hit one entry when iterating encounters
 	 *	consecutive links when iterating

Modified: trunk/src/modules/swmodule.cpp
===================================================================
--- trunk/src/modules/swmodule.cpp	2013-07-28 17:21:44 UTC (rev 2921)
+++ trunk/src/modules/swmodule.cpp	2013-07-28 17:52:06 UTC (rev 2922)
@@ -866,7 +866,7 @@
  * RET: this module's text at current key location massaged by RenderFilers
  */
 
- const char *SWModule::renderText(const SWKey *tmpKey) {
+SWBuf SWModule::renderText(const SWKey *tmpKey) {
 	SWKey *saveKey;
 	const char *retVal;
 




More information about the sword-cvs mailing list