[Libreoffice-commits] core.git: connectivity/source

Lionel Elie Mamane lionel at mamane.lu
Thu May 29 08:52:39 PDT 2014


 connectivity/source/drivers/jdbc/tools.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit db681394e02611872570feba07246bdb41c5bf2b
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Thu May 29 17:45:30 2014 +0200

    Update comment to reality... many properties now, not one.
    
    Change-Id: Icc81d3067969d1d61182865d36ecabec4e7f85b7
    Reviewed-on: https://gerrit.libreoffice.org/9551
    Reviewed-by: Lionel Elie Mamane <lionel at mamane.lu>
    Tested-by: Lionel Elie Mamane <lionel at mamane.lu>

diff --git a/connectivity/source/drivers/jdbc/tools.cxx b/connectivity/source/drivers/jdbc/tools.cxx
index 91ed303..0d9ae1e 100644
--- a/connectivity/source/drivers/jdbc/tools.cxx
+++ b/connectivity/source/drivers/jdbc/tools.cxx
@@ -110,7 +110,9 @@ java_util_Properties* connectivity::createStringPropertyArray(const Sequence< Pr
 
     for(;pBegin != pEnd;++pBegin)
     {
-        // this is a special property to find the jdbc driver
+        // these are properties used internally by LibreOffice,
+        // and should not be passed to the JDBC driver
+        // (which probably does not know anything about them anyway).
         // FYI, OUString::compareToAscii() returns zero on equality, like strcmp()
         if  (   pBegin->Name.compareToAscii( "JavaDriverClass" )
             &&  pBegin->Name.compareToAscii( "JavaDriverClassPath" )


More information about the Libreoffice-commits mailing list