Hi,

continued to remove commented code lines.

As usual under LGPLv3+ / MPL

Christina
>From 2ca303ccbbdd5f0e0266e4437ffbe61d67e0daab Mon Sep 17 00:00:00 2001
From: Christina Rossmanith <[email protected]>
Date: Thu, 24 Feb 2011 13:35:37 +0100
Subject: [PATCH] removed commented code

---
 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

_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to