summaryrefslogtreecommitdiffstats
path: root/connectivity/source/drivers/mysql/YDriver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/mysql/YDriver.cxx')
-rw-r--r--connectivity/source/drivers/mysql/YDriver.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/mysql/YDriver.cxx b/connectivity/source/drivers/mysql/YDriver.cxx
index f69c031e9866..60662f347fcf 100644
--- a/connectivity/source/drivers/mysql/YDriver.cxx
+++ b/connectivity/source/drivers/mysql/YDriver.cxx
@@ -410,7 +410,7 @@ namespace connectivity
{
if ( i->second.second == pConnection )
{
- xTab = Reference< XTablesSupplier >(i->second.first.get().get(),UNO_QUERY);
+ xTab.set(i->second.first.get().get(),UNO_QUERY);
if ( !xTab.is() )
{
xTab = new OMySQLCatalog(connection);
@@ -429,7 +429,7 @@ namespace connectivity
Reference< XConnection > xTemp(i->first.get(),UNO_QUERY);
if ( xTemp == connection )
{
- xTab = Reference< XTablesSupplier >(i->second.first.get().get(),UNO_QUERY);
+ xTab.set(i->second.first.get().get(),UNO_QUERY);
if ( !xTab.is() )
{
xTab = new OMySQLCatalog(connection);