diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-13 17:49:30 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-13 17:54:25 +0200 |
commit | 529e7619c5258aec91c33dd57b9fa12c3e85cfeb (patch) | |
tree | 57c4cb2f16f7cf64a93d9d2d03c3d7db8f23ef86 /dbaccess/source/ui/uno | |
parent | 2c90156b763d5e90ef916a7f4dd7c7db9241c3cd (diff) |
loplugin:staticcall
Change-Id: I78895f3524086e1d00d9e8eafd52e505f786320b
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 ); |