From 55ff9d3e2d160132f905b8c932b622c0c8575478 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 22 Jun 2017 13:39:17 +0200 Subject: loplugin:unusedfields in dbaccess Change-Id: I3f32573f25b4861799124905cefb3d9166570989 Reviewed-on: https://gerrit.libreoffice.org/39135 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- dbaccess/source/ui/querydesign/TableWindow.cxx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'dbaccess/source/ui/querydesign/TableWindow.cxx') diff --git a/dbaccess/source/ui/querydesign/TableWindow.cxx b/dbaccess/source/ui/querydesign/TableWindow.cxx index e133b59bd093..01c7c45465fd 100644 --- a/dbaccess/source/ui/querydesign/TableWindow.cxx +++ b/dbaccess/source/ui/querydesign/TableWindow.cxx @@ -95,12 +95,10 @@ OTableWindow::OTableWindow( vcl::Window* pParent, const TTableWindowData::value_ ,Window( pParent, WB_3DLOOK|WB_MOVEABLE ) ,m_aTypeImage( VclPtr::Create(this) ) ,m_xTitle( VclPtr::Create(this) ) - ,m_pAccessible(nullptr) ,m_pData( pTabWinData ) ,m_nMoveCount(0) ,m_nMoveIncrement(1) ,m_nSizingFlags( SizingFlags::NONE ) - ,m_bActive( false ) { // Set position and size @@ -135,7 +133,6 @@ void OTableWindow::dispose() if ( m_pContainerListener.is() ) m_pContainerListener->dispose(); - m_pAccessible = nullptr; m_aTypeImage.disposeAndClear(); m_xTitle.disposeAndClear(); vcl::Window::dispose(); @@ -485,7 +482,6 @@ void OTableWindow::GetFocus() void OTableWindow::setActive(bool _bActive) { SetBoldTitle( _bActive ); - m_bActive = _bActive; if (!_bActive && m_xListBox && m_xListBox->GetSelectionCount() != 0) m_xListBox->SelectAll(false); } @@ -560,9 +556,7 @@ void OTableWindow::StateChanged( StateChangedType nType ) Reference< XAccessible > OTableWindow::CreateAccessible() { - OTableWindowAccess* pAccessible = new OTableWindowAccess(this); - m_pAccessible = pAccessible; - return pAccessible; + return new OTableWindowAccess(this); } void OTableWindow::Command(const CommandEvent& rEvt) -- cgit