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@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
This commit is contained in:
@@ -110,7 +110,9 @@ java_util_Properties* connectivity::createStringPropertyArray(const Sequence< Pr
|
|||||||
|
|
||||||
for(;pBegin != pEnd;++pBegin)
|
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()
|
// FYI, OUString::compareToAscii() returns zero on equality, like strcmp()
|
||||||
if ( pBegin->Name.compareToAscii( "JavaDriverClass" )
|
if ( pBegin->Name.compareToAscii( "JavaDriverClass" )
|
||||||
&& pBegin->Name.compareToAscii( "JavaDriverClassPath" )
|
&& pBegin->Name.compareToAscii( "JavaDriverClassPath" )
|
||||||
|
Reference in New Issue
Block a user