svtools: rename IAccessibleTableControl::dispose()

... to not confuse it with XComponent::dispose().

Change-Id: I056fdf77f9116d1c22f8ca9313a0ea313fb1c4aa
accessibility: Mutex cleanup in AccessibleGridControl* classes

For unknown reasons this uses both SolarMutex and a OBaseMutex::m_aMutex
to lock some but not all methods, which seems odd.

- remove a third mutex AccessibleGridControl::m_aMutex that appears
  unused
- lock OBaseMutex::m_aMutex in AccessibleGridControlBase::isAlive()
  which accesses rBHelper members, which should be sufficient
- lock SolarMutex in all UNO methods
- remove misc weird stuff like TC_SolarMethodGuard

Change-Id: I8321757fb4a5043a05c23f2dc9801f5d8c8d911e
Keep maActiveCell, mpAccCell in sync

Otherwise ScAccessibleSpreadsheet::GetAccessibleCellAt could return wrong results
and JunitTest_sc_unoapi would fail at least on Mac OS X.

Change-Id: I65e9231920d13393a6991db318d330ee42a985d4
Only call ScAccessibleCell::Init once on freshly created cells

Change-Id: I64542af7585cea9d361a99f83e110e1e8135bf2d
Resolves: #i123620# IAccessibleHypertext::hyperlinkIndex returns 0...

when editing a cell/object where there is no link

(cherry picked from commit 552e71c2482b5911ac485c9331a4f354ba7150b5)

Change-Id: I9be20b045d3472f15c98352928d45a1349cec5c4
I think SAL_FORCE_IACCESSIBLE2 is what is intended here

Change-Id: If03696cfcc9a3d5053af881e00a4c6a484cbd445
removed pCaptionObj from accessibility

it was not initialized but accessed in one place. Checked with symphony code,
there was a set method which is not in AOO trunk, thus solved accesses to zero
pointer usage

(cherry picked from commit bd0c3b940f6006d3cb49381230795db667aeb943)

Conflicts:
	svx/inc/svx/svdobj.hxx
	svx/source/svdraw/svdobj.cxx

Change-Id: Ic8dec5c6def35753d757066c7ea02e1a92b46f6c
IAccessible2: revert some bounds-checking changes again

...that were introduced with c23ab5eaed57cc3fb5860e26c591c73c5b22687b "Integrate
branch of IAccessible2" but broke JunitTest_sc_unoapi, which expects calls to
getCharacterAttributes and getIndexAtPoint to actually fail for out-of-bounds
arguments.  The above commit does not make it obvious why those changes were
actually made.

Change-Id: I3492c3e6a49d68885df1206e9368f4483c0dc4f9
Revert sense in VCLXAccessibleBox::getAccessibleActionCount again

...this had been switched from "m_bIsDropDownBox ? 1 : 0" to "m_bIsDropDownBox ?
0 : 1" in efb23f29983f87104a684e7fab00b84fc59d131d "Integrate branch of
IAccessible2" for no apparent reason and broke JunitTest_testtools_unoapi.

Change-Id: I276d2f452648387a5fa693349cf868787b2d48e1