diff options
Diffstat (limited to 'dbaccess/source/ui/uno')
-rw-r--r-- | dbaccess/source/ui/uno/composerdialogs.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/uno/copytablewizard.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/uno/composerdialogs.cxx b/dbaccess/source/ui/uno/composerdialogs.cxx index 8b701c376cfc..e5584465a520 100644 --- a/dbaccess/source/ui/uno/composerdialogs.cxx +++ b/dbaccess/source/ui/uno/composerdialogs.cxx @@ -105,7 +105,7 @@ namespace dbaui { // perhaps the composer can supply us with columns? This is necessary for cases // where the dialog is invoked for a rowset which is not yet loaded // #i22878# - xSuppColumns = xSuppColumns.query( m_xComposer ); + xSuppColumns.set(m_xComposer, css::uno::UNO_QUERY); if ( xSuppColumns.is() ) xColumns = xSuppColumns->getColumns(); } diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx index 073f4e43f34e..da962cff9d98 100644 --- a/dbaccess/source/ui/uno/copytablewizard.cxx +++ b/dbaccess/source/ui/uno/copytablewizard.cxx @@ -626,7 +626,7 @@ namespace Reference< XDataSource > xDataSource; Reference< XChild > xAsChild( _rxConnection, UNO_QUERY ); if ( xAsChild.is() ) - xDataSource = xDataSource.query( xAsChild->getParent() ); + xDataSource.set(xAsChild->getParent(), css::uno::UNO_QUERY); if ( xDataSource.is() ) return lcl_getInteractionHandler_throw( xDataSource, _rFallback ); |