Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


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 <ChrRossmanith@web.de>
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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.