[PATCH] removed commented code
Christina Rossmanith
ChrRossmanith at web.de
Thu Feb 24 04:35:37 PST 2011
---
connectivity/source/drivers/jdbc/JConnection.cxx | 4 ++--
connectivity/source/drivers/jdbc/ResultSet.cxx | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/connectivity/source/drivers/jdbc/JConnection.cxx b/connectivity/source/drivers/jdbc/JConnection.cxx
index 452ecb0..9621b33 100644
--- a/connectivity/source/drivers/jdbc/JConnection.cxx
+++ b/connectivity/source/drivers/jdbc/JConnection.cxx
@@ -427,9 +427,9 @@ Reference< ::com::sun::star::container::XNameAccess > SAL_CALL java_sql_Connecti
SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!");
static jmethodID mID(NULL);
- /*jobject out = */callObjectMethod(t.pEnv,"getTypeMap","()Ljava/util/Map;", mID);
+ callObjectMethod(t.pEnv,"getTypeMap","()Ljava/util/Map;", mID);
// WARNING: the caller becomes the owner of the returned pointer
- return 0;// ? 0 : Map2XNameAccess( t.pEnv, out );
+ return 0;
}
// -------------------------------------------------------------------------
void SAL_CALL java_sql_Connection::setTypeMap( const Reference< ::com::sun::star::container::XNameAccess >& /*typeMap*/ ) throw(SQLException, RuntimeException)
diff --git a/connectivity/source/drivers/jdbc/ResultSet.cxx b/connectivity/source/drivers/jdbc/ResultSet.cxx
index 9ab7934..afb8647 100644
--- a/connectivity/source/drivers/jdbc/ResultSet.cxx
+++ b/connectivity/source/drivers/jdbc/ResultSet.cxx
@@ -893,7 +893,7 @@ void SAL_CALL java_sql_ResultSet::updateNumericObject( sal_Int32 columnIndex, co
}
else
pBigDecimal.reset(new java_math_BigDecimal(::comphelper::getString(x)));
- //obj = convertwchar_tToJavaString(t.pEnv,::comphelper::getString(x));
+
t.pEnv->CallVoidMethod( object, mID, columnIndex,pBigDecimal->getJavaObject(),scale);
ThrowLoggedSQLException( m_aLogger, t.pEnv, *this );
}
--
1.7.0.4
--------------000409010108070305030004--
More information about the LibreOffice
mailing list