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/control | |
parent | 2c90156b763d5e90ef916a7f4dd7c7db9241c3cd (diff) |
loplugin:staticcall
Change-Id: I78895f3524086e1d00d9e8eafd52e505f786320b
Diffstat (limited to 'dbaccess/source/ui/control')
-rw-r--r-- | dbaccess/source/ui/control/opendoccontrols.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/control/opendoccontrols.cxx b/dbaccess/source/ui/control/opendoccontrols.cxx index 080aaa4cbe0b..e696386b6f4b 100644 --- a/dbaccess/source/ui/control/opendoccontrols.cxx +++ b/dbaccess/source/ui/control/opendoccontrols.cxx @@ -131,7 +131,7 @@ namespace dbaui Reference< XUIConfigurationManager > xManager( xSupplier->getUIConfigurationManager( _rModuleName ) ); Reference< XImageManager > xImageManager; if ( xManager.is() ) - xImageManager = xImageManager.query( xManager->getImageManager() ); + xImageManager.set(xManager->getImageManager(), css::uno::UNO_QUERY); if ( !xImageManager.is() ) break; @@ -203,8 +203,8 @@ namespace dbaui Sequence< Sequence< PropertyValue> > aHistory = SvtHistoryOptions().GetList( ePICKLIST ); Reference< XNameAccess > xFilterFactory; - xFilterFactory = xFilterFactory.query( ::comphelper::getProcessServiceFactory()->createInstance( - OUString( "com.sun.star.document.FilterFactory" ) ) ); + xFilterFactory.set(::comphelper::getProcessServiceFactory()->createInstance( + OUString( "com.sun.star.document.FilterFactory" ) ), css::uno::UNO_QUERY); sal_uInt32 nCount = aHistory.getLength(); for ( sal_uInt32 nItem = 0; nItem < nCount; ++nItem ) |