From f32dc63b5219e3b8ff99b3b04ec06b48b3c20eab Mon Sep 17 00:00:00 2001 From: "Andrzej J.R. Hunt" Date: Mon, 15 Jul 2013 21:11:22 +0200 Subject: Make firebird-sdbc install consistent with other drivers. Change-Id: I01673bda5a08ca793f4fba89ddae036e3f1483e2 --- dbaccess/source/core/misc/dsntypes.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'dbaccess') diff --git a/dbaccess/source/core/misc/dsntypes.cxx b/dbaccess/source/core/misc/dsntypes.cxx index aa24ed9da541..6eeec003e014 100644 --- a/dbaccess/source/core/misc/dsntypes.cxx +++ b/dbaccess/source/core/misc/dsntypes.cxx @@ -300,9 +300,7 @@ Sequence ODsnTypeCollection::getDefaultDBSettings( const OUString //------------------------------------------------------------------------- bool ODsnTypeCollection::isEmbeddedDatabase( const OUString& _sURL ) const { - const OUString sEmbeddedDatabaseURL = getEmbeddedDatabase(); - WildCard aWildCard(sEmbeddedDatabaseURL); - return aWildCard.Matches(_sURL); + return _sURL.startsWith( "sdbc:embedded:" ); } // ----------------------------------------------------------------------------- OUString ODsnTypeCollection::getEmbeddedDatabase() const -- cgit v1.2.3