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/awt | |
parent | 887b3a35628b349e7934f2ae7c220a1cc17c3e63 (diff) |
loplugin:staticcall
Change-Id: I9e643bd43e6e0f027a7e17b2d5d867c0cb452052
Diffstat (limited to 'toolkit/source/awt')
-rw-r--r-- | toolkit/source/awt/vclxaccessiblecomponent.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/awt/vclxmenu.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxaccessiblecomponent.cxx b/toolkit/source/awt/vclxaccessiblecomponent.cxx index 826492452f71..907f7b4d773c 100644 --- a/toolkit/source/awt/vclxaccessiblecomponent.cxx +++ b/toolkit/source/awt/vclxaccessiblecomponent.cxx @@ -733,7 +733,7 @@ awt::Rectangle VCLXAccessibleComponent::implGetBounds() throw (uno::RuntimeExcep // the screen location of the VCL parent xParent = getVclParent(); if ( xParent.is() ) - xParentComponent = xParentComponent.query( xParent->getAccessibleContext() ); + xParentComponent.set(xParent->getAccessibleContext(), css::uno::UNO_QUERY); awt::Point aScreenLocVCL( 0, 0 ); if ( xParentComponent.is() ) diff --git a/toolkit/source/awt/vclxmenu.cxx b/toolkit/source/awt/vclxmenu.cxx index 7a691e3b4434..8bcc7d3a65d6 100644 --- a/toolkit/source/awt/vclxmenu.cxx +++ b/toolkit/source/awt/vclxmenu.cxx @@ -721,7 +721,7 @@ throw (css::uno::RuntimeException, std::exception) ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); if ( mpMenu && IsPopupMenu() ) - return ( (PopupMenu*) mpMenu )->IsInExecute(); + return PopupMenu::IsInExecute(); else return sal_False; } |