[Libreoffice-commits] core.git: connectivity/source
Julien Nabet
serval2412 at yahoo.fr
Thu May 29 03:46:36 PDT 2014
connectivity/source/drivers/jdbc/tools.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 74393875bcad5890a9510c7e8fd8643f63e081c2
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Thu May 29 12:45:20 2014 +0200
To avoid some confusion for people like me :)
Thank you Lionel and Tor!
(see http://nabble.documentfoundation.org/Strange-part-in-connectivity-source-drivers-jdbc-tools-cxx-td4110680.html)
Change-Id: Ibbe68b8b3d12e4dfacf7f66bb3adbc2fd831d1a5
diff --git a/connectivity/source/drivers/jdbc/tools.cxx b/connectivity/source/drivers/jdbc/tools.cxx
index 8c52188..91ed303 100644
--- a/connectivity/source/drivers/jdbc/tools.cxx
+++ b/connectivity/source/drivers/jdbc/tools.cxx
@@ -111,6 +111,7 @@ java_util_Properties* connectivity::createStringPropertyArray(const Sequence< Pr
for(;pBegin != pEnd;++pBegin)
{
// this is a special property to find the jdbc driver
+ // FYI, OUString::compareToAscii() returns zero on equality, like strcmp()
if ( pBegin->Name.compareToAscii( "JavaDriverClass" )
&& pBegin->Name.compareToAscii( "JavaDriverClassPath" )
&& pBegin->Name.compareToAscii( "SystemProperties" )
More information about the Libreoffice-commits
mailing list