[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - connectivity/source
Stephan Bergmann
sbergman at redhat.com
Sat Feb 28 12:21:28 PST 2015
connectivity/source/drivers/kab/KDriver.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d24f2d128f42a4252e5fe5d2bad135e0bc72d1db
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Feb 27 14:14:55 2015 +0100
sdbc:address:kab URLs don't have a trailing ":"
broken since 4bf95c4c31dd871065d4042028a4b3ae476dab70 "make use of startsWith()"
where the tricky
!url.compareTo(::rtl::OUString("sdbc:address:kab:"), 16)
was replaced with
url.startsWith("sdbc:address:kab:")
even though the original exempted the trailing ":" from the comparison
(cherry picked from commit 27e85dd314e02dc97612bf1682fccacaf0244127)
Conflicts:
connectivity/source/drivers/kab/KDriver.cxx
Change-Id: I45175b2669d61eb4cee36d4456ccb69d0f11ef63
Reviewed-on: https://gerrit.libreoffice.org/14673
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/connectivity/source/drivers/kab/KDriver.cxx b/connectivity/source/drivers/kab/KDriver.cxx
index 4a55aa7..84ca13d 100644
--- a/connectivity/source/drivers/kab/KDriver.cxx
+++ b/connectivity/source/drivers/kab/KDriver.cxx
@@ -404,7 +404,7 @@ sal_Bool SAL_CALL KabDriver::acceptsURL( const OUString& url )
return sal_False;
// here we have to look whether we support this URL format
- return url.startsWith("sdbc:address:kab:");
+ return url.startsWith("sdbc:address:kab");
}
Sequence< DriverPropertyInfo > SAL_CALL KabDriver::getPropertyInfo( const OUString&, const Sequence< PropertyValue >& ) throw(SQLException, RuntimeException, std::exception)
More information about the Libreoffice-commits
mailing list