[Libreoffice-commits] core.git: connectivity/source
Lionel Elie Mamane
lionel at mamane.lu
Mon May 13 05:34:51 PDT 2013
connectivity/source/drivers/macab/MacabDriver.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2c46fa1299bc00bff5528895bcdffdf0e681572d
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Mon May 13 14:33:47 2013 +0200
fdo#64528 macab URL is sdbc:address:macab, not sdbc:address:macab:*
Change-Id: I1e5721815c961e14484f78f449910908ed48aeb1
diff --git a/connectivity/source/drivers/macab/MacabDriver.cxx b/connectivity/source/drivers/macab/MacabDriver.cxx
index a8d736e..7b0ab7c 100644
--- a/connectivity/source/drivers/macab/MacabDriver.cxx
+++ b/connectivity/source/drivers/macab/MacabDriver.cxx
@@ -276,7 +276,7 @@ sal_Bool SAL_CALL MacabDriver::acceptsURL( const OUString& url )
return sal_False;
// here we have to look whether we support this URL format
- return url.startsWith("sdbc:address:macab:");
+ return url.equals("sdbc:address:macab");
}
// --------------------------------------------------------------------------------
Sequence< DriverPropertyInfo > SAL_CALL MacabDriver::getPropertyInfo( const OUString&, const Sequence< PropertyValue >& ) throw(SQLException, RuntimeException)
More information about the Libreoffice-commits
mailing list