summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-22 13:39:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-23 09:00:40 +0200
commit55ff9d3e2d160132f905b8c932b622c0c8575478 (patch)
tree00f3bf9c0745e9684a29f09e351ffd51e62af31b /dbaccess/source/ui/querydesign
parent222bc56e21356520a55a871c9cdfc26d2fc3fcb2 (diff)
loplugin:unusedfields in dbaccess
Change-Id: I3f32573f25b4861799124905cefb3d9166570989 Reviewed-on: https://gerrit.libreoffice.org/39135 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/querydesign')
-rw-r--r--dbaccess/source/ui/querydesign/TableWindow.cxx8
1 files changed, 1 insertions, 7 deletions
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<FixedImage>::Create(this) )
,m_xTitle( VclPtr<OTableWindowTitle>::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)