[sword-svn] r2465 - in trunk/bindings: corba/omniorbcpp corba/orbitcpp java-jni/jni
scribe at crosswire.org
scribe at crosswire.org
Wed Oct 21 00:39:32 MST 2009
Author: scribe
Date: 2009-10-21 00:39:32 -0700 (Wed, 21 Oct 2009)
New Revision: 2465
Modified:
trunk/bindings/corba/omniorbcpp/swordorb-impl.cpp
trunk/bindings/corba/orbitcpp/swordorb-impl.cpp
trunk/bindings/java-jni/jni/swordstub.cpp
Log:
updated to fix some small bugs
Modified: trunk/bindings/corba/omniorbcpp/swordorb-impl.cpp
===================================================================
--- trunk/bindings/corba/omniorbcpp/swordorb-impl.cpp 2009-10-14 22:15:39 UTC (rev 2464)
+++ trunk/bindings/corba/omniorbcpp/swordorb-impl.cpp 2009-10-21 07:39:32 UTC (rev 2465)
@@ -247,9 +247,7 @@
num = "";
num.appendFormatted("%d", vkey->getVerseMax());
(*retVal)[5] = CORBA::string_dup(num.c_str());
- num = "";
- num.appendFormatted("%d", vkey->getBookName());
- (*retVal)[6] = CORBA::string_dup(num.c_str());
+ (*retVal)[6] = CORBA::string_dup(vkey->getBookName());
}
else {
TreeKeyIdx *tkey = SWDYNAMIC_CAST(TreeKeyIdx, key);
Modified: trunk/bindings/corba/orbitcpp/swordorb-impl.cpp
===================================================================
--- trunk/bindings/corba/orbitcpp/swordorb-impl.cpp 2009-10-14 22:15:39 UTC (rev 2464)
+++ trunk/bindings/corba/orbitcpp/swordorb-impl.cpp 2009-10-21 07:39:32 UTC (rev 2465)
@@ -330,9 +330,7 @@
num = "";
num.appendFormatted("%d", vkey->getVerseMax());
(*retVal)[5] = CORBA::string_dup(num.c_str());
- num = "";
- num.appendFormatted("%d", vkey->getBookName());
- (*retVal)[6] = CORBA::string_dup(num.c_str());
+ (*retVal)[6] = CORBA::string_dup(vkey->getBookName());
}
else {
TreeKeyIdx *tkey = SWDYNAMIC_CAST(TreeKeyIdx, key);
Modified: trunk/bindings/java-jni/jni/swordstub.cpp
===================================================================
--- trunk/bindings/java-jni/jni/swordstub.cpp 2009-10-14 22:15:39 UTC (rev 2464)
+++ trunk/bindings/java-jni/jni/swordstub.cpp 2009-10-21 07:39:32 UTC (rev 2465)
@@ -639,9 +639,7 @@
num = "";
num.appendFormatted("%d", vkey->getVerseMax());
env->SetObjectArrayElement(ret, 5, env->NewStringUTF(num.c_str()));
- num = "";
- num.appendFormatted("%d", vkey->getBookName());
- env->SetObjectArrayElement(ret, 6, env->NewStringUTF(num.c_str()));
+ env->SetObjectArrayElement(ret, 6, env->NewStringUTF(vkey->getBookName()));
}
else {
TreeKeyIdx *tkey = SWDYNAMIC_CAST(TreeKeyIdx, key);
More information about the sword-cvs
mailing list