diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-13 17:52:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-13 17:54:35 +0200 |
commit | d656138b12bd67777f18adc14bd6941136a4a7a1 (patch) | |
tree | bd681aad9940d584a3b629ed35e8ad184b30b268 /toolkit/source/controls/accessiblecontrolcontext.cxx | |
parent | 887b3a35628b349e7934f2ae7c220a1cc17c3e63 (diff) |
loplugin:staticcall
Change-Id: I9e643bd43e6e0f027a7e17b2d5d867c0cb452052
Diffstat (limited to 'toolkit/source/controls/accessiblecontrolcontext.cxx')
-rw-r--r-- | toolkit/source/controls/accessiblecontrolcontext.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/controls/accessiblecontrolcontext.cxx b/toolkit/source/controls/accessiblecontrolcontext.cxx index 1861b54eae0f..64862a109b74 100644 --- a/toolkit/source/controls/accessiblecontrolcontext.cxx +++ b/toolkit/source/controls/accessiblecontrolcontext.cxx @@ -71,7 +71,7 @@ namespace toolkit Reference< awt::XControl > xControl( _rxCreator, UNO_QUERY ); if ( xControl.is() ) - m_xControlModel = m_xControlModel.query( xControl->getModel() ); + m_xControlModel.set(xControl->getModel(), css::uno::UNO_QUERY); OSL_ENSURE( m_xControlModel.is(), "OAccessibleControlContext::Init: invalid creator (no control, or control without model!" ); if ( !m_xControlModel.is() ) throw DisposedException(); // caught by the caller (the create method) @@ -230,7 +230,7 @@ namespace toolkit Reference< awt::XControl > xControl( getAccessibleCreator(), UNO_QUERY ); Reference< awt::XWindow > xWindow; if ( xControl.is() ) - xWindow = xWindow.query( xControl->getPeer() ); + xWindow.set(xControl->getPeer(), css::uno::UNO_QUERY); Window* pWindow = xWindow.is() ? VCLUnoHelper::GetWindow( xWindow ) : NULL; @@ -283,7 +283,7 @@ namespace toolkit Reference< XAccessible > xParentAcc( implGetForeignControlledParent() ); Reference< XAccessibleComponent > xParentAccComponent; if ( xParentAcc.is() ) - xParentAccComponent = xParentAccComponent.query( xParentAcc->getAccessibleContext() ); + xParentAccComponent.set(xParentAcc->getAccessibleContext(), css::uno::UNO_QUERY); awt::Point aAccParentScreenPos( 0, 0 ); if ( xParentAccComponent.is() ) aAccParentScreenPos = xParentAccComponent->getLocationOnScreen(); |