summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/hsqldb/HDriver.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/hsqldb/HDriver.cxx b/connectivity/source/drivers/hsqldb/HDriver.cxx
index af9c1bae6052..21ed0d2ccbde 100644
--- a/connectivity/source/drivers/hsqldb/HDriver.cxx
+++ b/connectivity/source/drivers/hsqldb/HDriver.cxx
@@ -279,13 +279,13 @@ namespace connectivity
continue;
const OString sIniKey = comphelper::string::getToken(sLine, 0, '=');
const OString sValue = comphelper::string::getToken(sLine, 1, '=');
- if (sIniKey.startsWith("hsqldb.compatible_version"))
+ if (sIniKey.equalsL(RTL_CONSTASCII_STRINGPARAM("hsqldb.compatible_version")))
{
sVersionString = sValue;
}
else
{
- if (sIniKey.startsWith("version")
+ if (sIniKey.equalsL(RTL_CONSTASCII_STRINGPARAM("version"))
&& ( sVersionString.isEmpty() )
)
{