summaryrefslogtreecommitdiffstats
path: root/connectivity/source/drivers/jdbc/JConnection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/jdbc/JConnection.cxx')
-rw-r--r--connectivity/source/drivers/jdbc/JConnection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/jdbc/JConnection.cxx b/connectivity/source/drivers/jdbc/JConnection.cxx
index 9a3dd6bf2955..4c600cf2e767 100644
--- a/connectivity/source/drivers/jdbc/JConnection.cxx
+++ b/connectivity/source/drivers/jdbc/JConnection.cxx
@@ -578,7 +578,7 @@ namespace
bool lcl_setSystemProperties_nothrow( const java::sql::ConnectionLog& _rLogger,
JNIEnv& _rEnv, const Sequence< NamedValue >& _rSystemProperties )
{
- if ( _rSystemProperties.getLength() == 0 )
+ if ( !_rSystemProperties.hasElements() )
// nothing to do
return true;