summaryrefslogtreecommitdiff
path: root/accessibility/source/extended
AgeCommit message (Collapse)AuthorFilesLines
2014-03-25svtools: sal_Bool->boolNoel Grandin2-8/+8
Change-Id: Ifd3e643dbc6755839ad4af73ae141fd115ddb4f4
2014-03-25Remove dead codeStephan Bergmann2-49/+0
Change-Id: Ia9035189bd01d3a3e5e3222760fc392f3f78880f
2014-03-25Remove dead codeStephan Bergmann9-68/+0
Change-Id: Id522113f1ba0c9e7b1356acc01a79e0e90a5e752
2014-03-24svtools: sal_Bool->boolNoel Grandin5-7/+7
Change-Id: Ic765d1a28960dbeca9501852b5e84cfdfe6ac47e
2014-03-18Use cppu::BaseMutex and remove need for Paragraph/ParagraphImpl splitStephan Bergmann1-115/+103
Change-Id: I790e14feb50fefe3b2efa505118b332d065970fc
2014-03-15fdo#63154 Remove some solar.h referencesAlexandre Vicenzi1-2/+2
Remove some solar.h from tools. Replace sal_uLong by size_t, sal_uInt32 and sal_Int32. Change-Id: I38961db046337a3ea4ef75d64afa424d81391f34 Reviewed-on: https://gerrit.libreoffice.org/8582 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-14OAccessibleContextWrapperHelper does not implement XAccessibleContextStephan Bergmann1-3/+3
...but rather some (non-virtual) base functionality for use in derived classes (that do implement XAccessibleContext) Change-Id: Idb0023906108db22bb9696245f07b9a4c053a0d1
2014-03-13a crash sometimes seen in a11y in baseCaolán McNamara1-14/+15
Change-Id: Id8b7c8394a4e8bc1477c34056b8014d311186d7e
2014-03-11No need for implGetBounds to be SAL_CALLStephan Bergmann1-1/+1
Change-Id: I4eb1f998de57a4ceeb7990c6e4a964ce0d07ea88
2014-03-10accessibility: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann8-62/+8
Change-Id: I7f8848adf245a4fdf56bff67cc15ee0efb818c43
2014-03-05remove unused code in accessibility::DocumentNoel Grandin1-38/+0
accessibility::Document::justifySelection(TextPaM&, TextPaM&) accessibility::Document::notifySelectionChange(int, int) Change-Id: I3a5c79ada69c1530ebbbf386bf271f3a83843815
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann30-555/+555
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-25Remove visual noise from accessibilityAlexander Wilms21-98/+98
Change-Id: I876e5c4d1991b35c1dc2cea709d8a2ddf781b012 Reviewed-on: https://gerrit.libreoffice.org/8225 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-24Replace exisiting TriState, AutoState with more generic TriStateStephan Bergmann2-9/+9
Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
2014-02-23Remove unneccessary commentsAlexander Wilms23-656/+475
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert5-0/+5
Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-19Related: fdo#74242 hook up a selection and caret change for multiline editsCaolán McNamara1-0/+1
a) split the textengine selection changed broadcast into a text selection changed and text caret change event b) handle both in existing places that handled the text selection event c) listen for them in VclMultiLineEdit and translate to VCLEVENT_EDIT_SELECTIONCHANGED VCLEVENT_EDIT_CARETCHANGED events d) profit from the VCLEVENT_EDIT_SELECTIONCHANGED and VCLEVENT_EDIT_CARETCHANGED handling in accessibility/source/standard/vclxaccessibleedit.cxx for VCLXAccessibleEdits Change-Id: I09187e76ae4eb189ee9469e388374154087faf80
2014-02-11accessibility: add some missing locks in new codeMichael Stahl2-5/+15
Change-Id: Ic38a07c592a89973ca1df807505f87910e84a17f
2014-02-07auto_ptr -> scoped_ptrStephan Bergmann1-6/+3
Change-Id: I05c461deca118f1a1b75d94b4d00ce797987e8d6
2014-01-28bool improvementsStephan Bergmann2-2/+2
Change-Id: I09ac60e907b7c0a78934dce05343e2ba2b6df49f
2014-01-28coverity#983594 Uncaught exceptionCaolán McNamara1-2/+4
Change-Id: Ic49f88b44216a24df8a236b755d22b2537245c5f
2014-01-28coverity#706219 Uncaught exceptionCaolán McNamara1-2/+4
Change-Id: I1c2566337347679453bee46a78a4a0ecd7fdd2fb
2014-01-19coverity#1132668 : missing break in switchNorbert Thiebaud1-84/+81
Change-Id: Ia759081e7ccc9105898f25025ea567d900d33b13
2014-01-19coverity#1132660 Dereference after null checkNorbert Thiebaud1-16/+13
Change-Id: Ib184d73f2ced3beca8540a37bab74c4a712170ba
2014-01-15fdo#57950: Remove chained appends in accessibilityAnderson Roberto1-8/+1
Change-Id: I4ba583a891933068ab4003307d09693180c7b61f Reviewed-on: https://gerrit.libreoffice.org/7436 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-12-16svtools: rename IAccessibleTableControl::dispose()Michael Stahl1-1/+1
... to not confuse it with XComponent::dispose(). Change-Id: I056fdf77f9116d1c22f8ca9313a0ea313fb1c4aa
2013-12-16accessibility: don't crash if the TableControl is deadMichael Stahl1-6/+9
AccessibleGridControlAccess: clear the m_pTable member in dispose() so it is no longer accessed later. Change-Id: I490c84ce1bee55c9c69eb29b81ddfbe808301797
2013-12-16accessibility: Mutex cleanup in AccessibleGridControl* classesMichael Stahl7-76/+93
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
2013-11-28Related: #i123768# [ia2] remove pseudo-automatic noisy commentsHerbert Dürr1-1/+0
Change-Id: I346518267294556ce529966fe168440de05a38c6
2013-11-26-Werror,-Wunused-private-fieldStephan Bergmann1-1/+1
...fixed more thoroughly than 49c1964b427c9f2f169ba4d826d346adc7555ae0 "WaE: private field 'm_bCompoundControlChild' is not used." Change-Id: Ief1093c054fe272b82da78ab103e8ca3feb72b90
2013-11-26WaE: private field 'm_bCompoundControlChild' is not usedTor Lillqvist1-3/+2
Change-Id: I656c044de766e274f4938facc3a85b6152ba79ed
2013-11-26-Werror,-Wunused-variableStephan Bergmann1-1/+0
Change-Id: I4a501430d6ea8fdf6d2ae748fd3e122846c0b4cd
2013-11-26WaE: unreachable codeTor Lillqvist1-1/+0
Change-Id: I21cce258c0cc978bd8a45148102787d3c4017e64
2013-11-26Document::ProcessWindowEvent now just forwards to baseclassCaolán McNamara1-19/+0
Change-Id: Ia4c224105e15c8eea90a9c98161981ff10661044
2013-11-26Integrate branch of IAccessible2Steve Yin8-76/+1036
(cherry picked from commit e2f90c93c97f3cf137c348ed302c6470f398aa70) Change-Id: I44ce0d69f3e7364038b00b1ba0f0d27e60132a37 WaE: Prevent uninitialized variable warnings. (cherry picked from commit b989f4074ea70729d527b307bfbe49e01a0d3646)
2013-10-04fix STL assert in accessibility::AccessibleGridControl::commitTableEventMichael Stahl1-8/+25
While running some JunitTest, crashes on an attempt to delete entries of an empty vector m_pImpl->m_pTable->m_pCellVector. The entries are created on-demand by AccessibleGridControlTable::getAccessibleChild(), so presumably that hadn't been called yet when the rows were deleted. Also fix bizarre abuse of all applicable variable naming conventions. (regression from 2095b2e1d44a158418d17836019352ed92f95d21) Change-Id: Id2d70ca4601a166718629c0fe922f805dd72eec1
2013-10-04require OAccessibleContextHelper to be initialized with SolarMutexMichael Stahl1-1/+5
OAccessibleContextHelper methods are locked by OExternalLockGuard which effectively only locks its ExternalMutex (i.e. SolarMutex); so ensure that all sub-classes actually pass in a SolarMutex by removing the default constructor. (since these classes are in comphelper they can only use the SolarMutex indirectly) This uncovers that AccessibleToolPanelDeckTabBarItem and OAccessibleControlContext did not pass in SolarMutex before. Change-Id: Ib9085eeee6225f7c74b158e72f04b1bf62622071
2013-09-17convert ACCESSIBILITY module from String to OUStringNoel Grandin3-9/+9
Change-Id: Ia4d2e1feef575cb911e981fbb8b6359755ab0dd9
2013-08-12covnert vcl/texteng.hxx from String to OUStringNoel Grandin1-9/+9
Change-Id: Iaa2dca415b30cae436173df27058c9d3e3755efd
2013-06-24fdo#43460 framework,i18npool,accessibility: use isEmpty()Jelle van der Waa1-1/+1
Change-Id: I4cd9841127b1d4a294d7f001b646259c61eb1172 Reviewed-on: https://gerrit.libreoffice.org/4443 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-06-05use uno::Reference#clear() method...Noel Grandin3-3/+3
...instead of assigning an empty value. Reduces code noise. Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
2013-04-02drop prefix from ::cssThomas Arnhold1-275/+275
as css is already ::com::sun::star Change-Id: I86b43843e4b74f990b6e05dee37184a002072d12
2013-04-01remove boilerplate commentsThomas Arnhold3-6/+1
Change-Id: I44a476a9843816f70a7a4d84b8c35edeecd5daaf
2013-03-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong1-8/+8
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-02-25loplugin: improve indentationThomas Arnhold2-3/+3
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-22s/the the/the/Tor Lillqvist1-1/+1
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-18coverity#738556 Unitialized scalar fieldNorbert Thiebaud1-0/+8
Change-Id: Iad7ca3d9928e34d0510c85242dc20a6dca6f09bb Reviewed-on: https://gerrit.libreoffice.org/2209 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-01-26Remove redundant braces around for loopsStephan Bergmann1-6/+9
...that had once been workarounds for compilers that did not yet support the C++98 scoping rules for declarations in for-init-statements. Change-Id: I51dc42982b30bf3adea6de1a10a91c0b4b4acfbe
2013-01-07Cleanup: #include <tools/gen.hxx>Matteo Casalin1-1/+0
Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-12-24Prefer prefix ++/-- operators for non-primitive typesJulien Nabet1-1/+1
Change-Id: Ib799053921886d1bd524bf4ffe3f586e4c676572