diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-07-01 21:22:34 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-07-02 09:24:46 +0000 |
commit | 996b16dcb590ebf779f5d95caf15e9ab18036b07 (patch) | |
tree | fd59cca2e3b16f15d963fea53908d1c03e0de479 /dbaccess/source/ui/querydesign | |
parent | 356bc0f697299e5fb6156ce25dc69845eaa6f9e6 (diff) |
tdf#92434 - A series of hideous knock-on dbaccess crasher fixes.
Focus events during dispose, unfortunate incoming a11y events, etc.
Change-Id: Iee296b767839904f5f330786891bc2513ca06c0c
Reviewed-on: https://gerrit.libreoffice.org/16672
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'dbaccess/source/ui/querydesign')
-rw-r--r-- | dbaccess/source/ui/querydesign/TableWindowAccess.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/querydesign/TableWindowAccess.cxx b/dbaccess/source/ui/querydesign/TableWindowAccess.cxx index 82580fc83f02..eb1941aa9c19 100644 --- a/dbaccess/source/ui/querydesign/TableWindowAccess.cxx +++ b/dbaccess/source/ui/querydesign/TableWindowAccess.cxx @@ -105,7 +105,7 @@ namespace dbaui { ::osl::MutexGuard aGuard( m_aMutex ); Reference< XAccessible > aRet; - if(m_pTable) + if(m_pTable && !m_pTable->IsDisposed()) { switch(i) { @@ -151,7 +151,7 @@ namespace dbaui { ::osl::MutexGuard aGuard( m_aMutex ); Reference< XAccessible > aRet; - if( m_pTable ) + if(m_pTable && !m_pTable->IsDisposed()) { Point aPoint(_aPoint.X,_aPoint.Y); Rectangle aRect(m_pTable->GetDesktopRectPixel()); |