summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/hsqldb/HDriver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/hsqldb/HDriver.cxx')
-rw-r--r--connectivity/source/drivers/hsqldb/HDriver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/hsqldb/HDriver.cxx b/connectivity/source/drivers/hsqldb/HDriver.cxx
index 5e31646f60f5..0a07e1d1ecc8 100644
--- a/connectivity/source/drivers/hsqldb/HDriver.cxx
+++ b/connectivity/source/drivers/hsqldb/HDriver.cxx
@@ -273,7 +273,7 @@ namespace connectivity
rtl::OString sVersionString;
while ( pStream->ReadLine(sLine) )
{
- if ( sLine.getLength() == 0 )
+ if ( sLine.isEmpty() )
continue;
const rtl::OString sIniKey = comphelper::string::getToken(sLine, 0, '=');
const rtl::OString sValue = comphelper::string::getToken(sLine, 1, '=');