Hi,
I've removed a little bit of commented code.
I assume comments like /*typeMap*/ in
Any SAL_CALL java_sql_CallableStatement::getObject( sal_Int32
columnIndex, const Reference< ::com::sun::star::container::XNameAccess
>& /*typeMap*/ ) throw(starsdbc::SQLException, RuntimeException)
are useful and shall not be removed.
Christina Rossmanith
>From 817222f3ac91e124e2cea018067e05618611eb00 Mon Sep 17 00:00:00 2001
From: Christina Rossmanith <chrrossman...@web.de>
Date: Thu, 24 Feb 2011 10:00:02 +0100
Subject: [PATCH] Removed commented code
---
.../source/drivers/jdbc/CallableStatement.cxx | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/connectivity/source/drivers/jdbc/CallableStatement.cxx b/connectivity/source/drivers/jdbc/CallableStatement.cxx
index 6d22347..910b643 100644
--- a/connectivity/source/drivers/jdbc/CallableStatement.cxx
+++ b/connectivity/source/drivers/jdbc/CallableStatement.cxx
@@ -164,9 +164,9 @@ Any SAL_CALL java_sql_CallableStatement::getObject( sal_Int32 columnIndex, const
SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!");
createStatement(t.pEnv);
static jmethodID mID(NULL);
- /*jobject out = */callObjectMethodWithIntArg(t.pEnv,"getObject","(I)Ljava/lang/Object;", mID, columnIndex);
+ callObjectMethodWithIntArg(t.pEnv,"getObject","(I)Ljava/lang/Object;", mID, columnIndex);
// WARNING: the caller becomes the owner of the returned pointer
- return Any(); //out==0 ? 0 : new java_lang_Object( t.pEnv, out );
+ return Any();
}
sal_Int16 SAL_CALL java_sql_CallableStatement::getShort( sal_Int32 columnIndex ) throw(starsdbc::SQLException, RuntimeException)
--
1.7.0.4
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice