Kaydet (Commit) 4c349c7b authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:unusedfields in toolkit

Change-Id: Ida146892e786aa05cd9b94cd647a1c5849ecc2ce
Reviewed-on: https://gerrit.libreoffice.org/68162
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst d5ae190a
......@@ -39,9 +39,6 @@ class TOOLKIT_DLLPUBLIC VCLXTopWindow_Base :public VCLXTopWindow_XBase
,public VCLXTopWindow_SBase
{
protected:
css::uno::Reference< css::awt::XMenuBar> mxMenuBar;
virtual vcl::Window* GetWindowImpl() = 0;
virtual ::comphelper::OInterfaceContainerHelper2& GetTopWindowListenersImpl() = 0;
......
......@@ -159,7 +159,6 @@ void VCLXTopWindow_Base::setMenuBar( const css::uno::Reference< css::awt::XMenuB
pSystemWindow->SetMenuBar( static_cast<MenuBar*>( pMenu->GetMenu() ));
}
}
mxMenuBar = rxMenu;
}
......
......@@ -132,8 +132,6 @@ public:
std::unique_ptr<UnoPropertyArrayHelper>
mpPropHelper;
css::uno::Reference< css::awt::XPointer >
mxPointer;
css::uno::Reference< css::accessibility::XAccessibleContext >
mxAccessibleContext;
css::uno::Reference< css::awt::XGraphics >
......@@ -1147,12 +1145,8 @@ void VCLXWindow::setPointer( const css::uno::Reference< css::awt::XPointer >& rx
SolarMutexGuard aGuard;
VCLXPointer* pPointer = VCLXPointer::GetImplementation( rxPointer );
if ( pPointer )
{
mpImpl->mxPointer = rxPointer;
if ( GetWindow() )
GetWindow()->SetPointer( pPointer->GetPointer() );
}
if ( pPointer && GetWindow() )
GetWindow()->SetPointer( pPointer->GetPointer() );
}
void VCLXWindow::setBackground( sal_Int32 nColor )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment