diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-13 17:52:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-13 17:54:34 +0200 |
commit | 6b8440134f4a8fa05450cdd492942e92c1f75803 (patch) | |
tree | 841b302f0544fe73d1f30fd97e6f0db5030ae752 /svx/source/accessibility | |
parent | 30069114fef2858936c988e8fbc92a69b2ddc8d3 (diff) |
loplugin:staticcall
Change-Id: I41ecb2b80251f56823f6b59c0746ff50531e6c84
Diffstat (limited to 'svx/source/accessibility')
-rw-r--r-- | svx/source/accessibility/AccessibleControlShape.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/accessibility/AccessibleControlShape.cxx b/svx/source/accessibility/AccessibleControlShape.cxx index a4baf7d0d576..3ca609d6cdb0 100644 --- a/svx/source/accessibility/AccessibleControlShape.cxx +++ b/svx/source/accessibility/AccessibleControlShape.cxx @@ -156,7 +156,7 @@ namespace { DBG_ASSERT( _pView, "lcl_getControlContainer: invalid view!" ); if ( _pView && _pView->GetSdrPageView()) { - xReturn = xReturn.query( _pView->GetSdrPageView()->GetControlContainer( *_pWin ) ); + xReturn.set(_pView->GetSdrPageView()->GetControlContainer( *_pWin ), css::uno::UNO_QUERY); } return xReturn; } @@ -706,7 +706,7 @@ bool AccessibleControlShape::ensureControlModelAccess() { Reference< XControlShape > xShape( mxShape, UNO_QUERY ); if ( xShape.is() ) - m_xControlModel = m_xControlModel.query( xShape->getControl() ); + m_xControlModel.set(xShape->getControl(), css::uno::UNO_QUERY); if ( m_xControlModel.is() ) m_xModelPropsMeta = m_xControlModel->getPropertySetInfo(); |