summaryrefslogtreecommitdiff
path: root/accessibility
AgeCommit message (Collapse)AuthorFilesLines
2016-07-20Replace fallthrough comments with new SAL_FALLTHROUGH macroStephan Bergmann1-1/+1
...which (in LIBO_INTERNAL_ONLY) for Clang expands to [[clang::fallthrough]] in preparation of enabling -Wimplicit-fallthrough. (This is only relevant for C++11, as neither C nor old C++ has a way to annotate intended fallthroughs.) Could use BOOST_FALLTHROUGH instead of introducing our own SAL_FALLTHROUGH, but that would require adding back in dependencies on boost_headers to many libraries where we carefully removed any remaining Boost dependencies only recently. (At least make SAL_FALLTHROUGH strictly LIBO_INTERNAL_ONLY, so its future evolution will not have any impact on the stable URE interface.) C++17 will have a proper [[fallthroug]], eventually removing the need for a macro altogether. (cherry picked from commit 14cd5182c5f64c43581c82db8c958369152226ac) Change-Id: I342a7610a107db7d7a344ea9cbddfd9714d7e9ca
2016-07-20vcl: rename Font::GetName to Font::GetFamilyNameChris Sherlock2-2/+2
Reviewed-on: https://gerrit.libreoffice.org/21529 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> (cherry picked from commit 28c96fc2553a5c3dee108f1e2060d7bc081a7e7e) Change-Id: Ie20871a3078bf875c1782b7761d60591a9c9704f
2016-07-20Fix typosAndrea Gelmini1-1/+1
Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 64d624b65124ac02d8ee59b135593fd9d8eb9067) Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
2016-07-20loplugin:nullptr: More NULL -> nullptr automatic rewriteStephan Bergmann1-1/+1
Change-Id: Ie83819e2bcdc5fa160b39296b005ca9a5ff74b1d (cherry picked from commit fb8a3fac5d448451794804a7470be45fa14da453)
2016-07-12loplugin:unusedfields variousNoel Grandin1-4/+0
(cherry picked from commit 1f86864e97bea96fdc608f8c8b93024ad4684d51) Change-Id: I59d9f7f73677358b4ae57efda965d43718bdf0d5
2016-07-12Remove excess newlinesChris Sherlock81-609/+0
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> (cherry picked from commit a238b1f8d304bf1e2ffb357937f3ec888ee8ac89) Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
2016-07-12update unusedmethods plugin to deal with constructorsNoel Grandin1-1/+1
and fix the operator< implementations in some of the other plugins too. Reviewed-on: https://gerrit.libreoffice.org/25057 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> (cherry picked from commit 2c8fe2e737b84ecd3dbac36a4fe6bd061bbd3bae) Change-Id: Ie5631e0cdc8d2a994ad2af2533cdb558a6cfc035
2016-06-18Resolves: tdf#100272 row ally index is ROW_INVALIDCaolán McNamara1-1/+8
which is < 0 so bad things happen, consider ROW_INVALID/COL_INVALID before looking for a11y child at that index (cherry picked from commit 0f32ba56a1e775e8ecd6c827ebd48f7f2fb51c81) (cherry picked from commit 652026f0e2f9c323229151e854ad6591791e098e) Change-Id: I16a9d86879e1a894c63932705c056268e98db7aa Reviewed-on: https://gerrit.libreoffice.org/26186 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit 1c8051d533be8d6cd63ce384fdf92b96971279fd)
2016-05-19clang-tidy misc-unused-raiiNoel Grandin1-1/+1
Change-Id: Id97291511efbaa304f25da3ae5700604b574d165 Reviewed-on: https://gerrit.libreoffice.org/25027 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit a656be64e21fd0ec5e12d34a47e2daf777e04b9b) Reviewed-on: https://gerrit.libreoffice.org/25162 Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-15vcl: move graph.[hx]xx to graphic.[hc]xxChris Sherlock1-1/+1
It's IMO a bit confusing to see a "graph" header that doesn't strictly deal with graphs, but graphics. Backporting to 5.1 series to allow for easier backporting of other potential hotfixes. Change-Id: Ic37c6cd78e23d05939486f98667144c4453bb0a3 Reviewed-on: https://gerrit.libreoffice.org/22949 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2015-11-20add mapKeysToSequence/mapValuesToSequence methods to comphelperNoel Grandin2-23/+4
and use them Change-Id: If4dc9df63db37185228aeaaab2979498d61304ec Reviewed-on: https://gerrit.libreoffice.org/20055 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15Fast PCH generator and optimized PCH filesAshod Nakashian1-48/+307
Ported update_pch.sh to Python with improved performance and features. The new script is invoked from the same update_pch.sh which calls it for each library in parallel, although it can be invoked directly. The ported script (update_pch) updates all PCH files in ~15 seconds where the old script took ~4500 seconds. In addition, the new script supports 3-tiered headers (system, module, and local) and is very flexible to support other improvement. It has a per-library optimal configuration settings that can be updated using another new scripts (update_pch_autotune.sh) which finds optimal per-PCH settings. PCH files have been generated using the new scripts which builds significantly faster (2-3x, depending on module and configuration) and the intermediate binaries are noticably smaller (by several GBs). The new script stamps each generated PCH file with the command that generated it to make it trivial for users to update them, and also adds the command to invoke another script (update_pch_bisect) that helps find missing headers or conflicting headers that may break the build after updating the PCH. Finally update_pch has built-in unit-tests for makefile parsing and other core functionality. Change-Id: Ib933b50e50374d7e2e7e3e95ba8799b0cc8a27fa Reviewed-on: https://gerrit.libreoffice.org/19965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-15use initialiser syntax for Sequence<OUString>Noel Grandin19-38/+19
replaced using the script: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence< OUString > (\w+)\(1\); .*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g" Change-Id: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann49-167/+167
Change-Id: I5e94b084c923fa5d9c925630669cf698b34f34ff
2015-10-30use uno::Reference::set method instead of assignmentNoel Grandin1-1/+1
Change-Id: I58410209f32f988f258a588364e0b037c2790211
2015-10-30convert Sequence<XInterface> constructions to use initializer listsNoel Grandin4-12/+6
Change-Id: I66475190cc0f18465c56b94af7bc0d5a1ca81242
2015-10-28Get rid of some redundant base class typedefsStephan Bergmann10-35/+31
Change-Id: Ia11ec85cc172d1b81b494107306c0aee98ce2ab5
2015-10-28Fix includesStephan Bergmann2-2/+2
Change-Id: I9e2b4cd366fa4f7561945d9c86e35e984df36fd9
2015-10-28Fix previous 604c6cf42f1d136e5c076b4ae17bec86e7e1a206Stephan Bergmann2-2/+2
"bin confusion with name AccessibleGridControlTableImplHelper," there is no cppu::ImplHelper Change-Id: I289c3a20e848a1ce6f548b5720cf1436eed5352c
2015-10-28bin confusion with name AccessibleGridControlTableImplHelperDouglas Mencken3-7/+7
AccessibleGridControlTableBase.hxx : typedef ::cppu::ImplHelper< css::accessibility::XAccessibleTable > AccessibleGridControlTableImplHelper; AccessibleGridControlTable.hxx : typedef ::cppu::ImplHelper< css::accessibility::XAccessibleSelection > AccessibleGridControlTableImplHelper1; Change-Id: Icde57d148cf725a3bd4c0927edf7461598398e04 Reviewed-on: https://gerrit.libreoffice.org/19348 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-21more removal of com::sun::star typedefsNoel Grandin2-7/+3
Change-Id: Ia73f1b4f1dcfa3f0936359e744afe76e02dcd2eb
2015-10-21refactor out some com::sun::star typedefsNoel Grandin1-7/+4
which mostly serve to make the code harder to read Change-Id: Ia2a83fee9f850ab6f0bea6305ce8600d6b785fe8
2015-10-13Revert "bin confusion with name AccessibleGridControlTableImplHelper"Noel Grandin3-7/+7
This reverts commit 302866858f1f1c194cadab5d01c2e912034c6c63, I suspect it depends on another commit which is not yet pushed.
2015-10-13bin confusion with name AccessibleGridControlTableImplHelperDouglas Mencken3-7/+7
AccessibleGridControlTableBase.hxx : typedef ::cppu::ImplHelper< css::accessibility::XAccessibleTable > AccessibleGridControlTableImplHelper; AccessibleGridControlTable.hxx : typedef ::cppu::ImplHelper< css::accessibility::XAccessibleSelection > AccessibleGridControlTableImplHelper1; Change-Id: Iced570b8647325a3bd4c0927edf7461598398e04 Reviewed-on: https://gerrit.libreoffice.org/19333 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann69-1244/+1244
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann7-16/+16
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-05clang-analyzer-deadcode.DeadStoresStephan Bergmann1-13/+13
Change-Id: Icc27b904a4cc3dd94b247360d7399349989c7f20
2015-09-30Fix typosAndrea Gelmini1-1/+1
Change-Id: Ie0e941d48457d758525353d6c5cf858652f86fd3 Reviewed-on: https://gerrit.libreoffice.org/18938 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-20convert Link<> to typedNoel Grandin11-68/+40
Change-Id: I10b050dc4aae45e646761a82520caa96969bc511 Reviewed-on: https://gerrit.libreoffice.org/18700 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-12Update many ListBox users to its sal_Int32 interfaceMatteo Casalin2-26/+21
Change-Id: I6469ac5e2d17406bee9bc434930e2471cb3bae9f
2015-09-11convert Link<> to typedNoel Grandin2-9/+4
and remove unused maChildEventListeners Change-Id: I845a9af608c3429cf9ccb0e8041f24f423839513
2015-08-29o3tl/cow_wrapper: remove boost dependencyDaniel Robertson1-0/+1
Remove boost dependencies from ::o3tl::cow_wrapper, and add the necessary includes to files including checked_delete and noncopyable that do not already include the necessary files. Change-Id: Iedae4232002792724226829a5d5cf9d16ffd0686 Reviewed-on: https://gerrit.libreoffice.org/18125 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-16sal_uLong to sal_uInt32Matteo Casalin1-2/+2
Change-Id: Ifcde090747127680a9e4b810ff062d024663632c
2015-08-16sal_uLong to sal_uInt32 as TextPaM paragraph numberMatteo Casalin1-16/+12
Applied also to related functions. Also fix a couple of minor issues while at it. Change-Id: I615094d047c87a0f4854054e720492d3ab25c575
2015-08-16sal_uInt16 to sal_Int32Matteo Casalin1-6/+2
Change-Id: Ia693dcbcfaa0349ef13466bb2eed877c5823f5bb
2015-08-11loplugin: defaultparamsNoel Grandin6-9/+9
Change-Id: Ifc9fc93b0630674fa1f4ef78c3a2231855dc1db3
2015-08-05loplugin:unusedmethodsNoel Grandin2-33/+7
Change-Id: I6801618efb5a66d24156fa429e026acb6ca03aba Reviewed-on: https://gerrit.libreoffice.org/17506 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-04basic,basctl: inline some use-once typedefsNoel Grandin1-2/+2
Change-Id: I60619a5bfe9507fb5ed24123f62f6b5c2f2c8712
2015-08-01sal_uInt16 to sal_Int32, constify, minor optimizationsMatteo Casalin1-13/+7
Change-Id: Icc41bbe09e495454ca27e9281eca6f4731a135c8
2015-08-01sal_uInt16 to sal_Int32Matteo Casalin1-4/+2
Change-Id: Ic2af80d2335875672fee5b61083b1f7f9703dac7
2015-07-30loplugin:unusedmethodsNoel Grandin2-19/+0
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971 Reviewed-on: https://gerrit.libreoffice.org/17378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-29chmod -xTor Lillqvist32-0/+0
Change-Id: I4a248b59e12587c3b2ce79676fdce29a348b6751
2015-07-24loplugin:unusedmethodsNoel Grandin1-15/+0
Change-Id: If5090c330e12d6e537766bf4a9be0a2360381a7a Reviewed-on: https://gerrit.libreoffice.org/17312 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-23inline a handful of use-once #definesNoel Grandin2-21/+0
Change-Id: Id2654555c4042f8c0bdbd6bab6507e705f08326b
2015-07-17com::sun::star->css in accessibilityNoel Grandin107-1802/+1655
Change-Id: Iadc69c0c7e770a8c7a94942a24b9455233102211 Reviewed-on: https://gerrit.libreoffice.org/17161 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-15loplugin:unusedmethods accessibility,fpicker,uuiNoel Grandin9-44/+11
Change-Id: I106a0be06c4b9fe1313bbd8d4c62472c4b0a4b4f Reviewed-on: https://gerrit.libreoffice.org/17045 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-14loplugin:unusedmethods svtoolsNoel Grandin1-18/+0
Change-Id: I04ad31055c04a247faddf4311943ca769051473c Reviewed-on: https://gerrit.libreoffice.org/17032 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-08Fix typosAndrea Gelmini2-2/+2
Change-Id: I70b03c152f63e48341dc5629a99b0eeab7b497c0 Reviewed-on: https://gerrit.libreoffice.org/16834 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-07-06tdf#88206: replace cppu::WeakImplHelper* and cppu::WeakComponentImplHelper*Takeshi Abe11-21/+10
with variadic variants, and drop unused #includes, in accessibility. Change-Id: Iddbe0f7932108319a5105448a74c570265d601ce Reviewed-on: https://gerrit.libreoffice.org/16639 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-06improve the returnbyref lopluginNoel Grandin1-3/+3
Change-Id: I1b510a6194282dfa4a9001d473127c5ebc8b44eb Reviewed-on: https://gerrit.libreoffice.org/16731 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>