From 224fbad7ab4cbedec53910f05e2b4a71771cfec5 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Mon, 11 Mar 2013 17:16:34 +0100 Subject: fix my previous commit (compareToAscii) Change-Id: I06885691c1fb3cfa0824f2ac1307ae4d9f3c9d40 --- connectivity/source/drivers/hsqldb/HDriver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'connectivity') diff --git a/connectivity/source/drivers/hsqldb/HDriver.cxx b/connectivity/source/drivers/hsqldb/HDriver.cxx index d58c8f56d941..695c59375b74 100644 --- a/connectivity/source/drivers/hsqldb/HDriver.cxx +++ b/connectivity/source/drivers/hsqldb/HDriver.cxx @@ -399,7 +399,7 @@ namespace connectivity { sal_Bool bEnabled = sal_False; OSL_VERIFY_EQUALS( jfw_getEnabled( &bEnabled ), JFW_E_NONE, "error in jfw_getEnabled" ); - return bEnabled && url.startsWith("sdbc:embedded:hsqldb"); + return bEnabled && url.equals("sdbc:embedded:hsqldb"); } //-------------------------------------------------------------------- -- cgit