Commit Graph

45 Commits

Author SHA1 Message Date
Noel Grandin
482ef1bfe9 loplugin:comparisonwithconstant in accessibility
Change-Id: I934c78ec8daec656ca656d5c784f80895abfd2e4
Reviewed-on: https://gerrit.libreoffice.org/37666
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-16 11:57:44 +02:00
Miklos Vajna
a5a571307f tdf#82580 tools: rename Rectangle to tools::Rectangle
Mostly generated using

make check COMPILER_EXTERNAL_TOOL=1 CCACHE_PREFIX=clang-rename-wrapper RENAME_ARGS="-qualified-name=Rectangle -new-name=tools::Rectangle"

Except some modules have their own foo::tools namespace, so there have
to use ::tools::Rectangle. This commit just moves the class from the
global namespace, it does not update pre/postwin.h yet.

Change-Id: I42b2de3c6f769fcf28cfe086f98eb31e42a305f2
Reviewed-on: https://gerrit.libreoffice.org/35923
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-03-31 06:27:11 +00:00
Stephan Bergmann
6dce9c6757 Add missing #includes
...and remove some unncessary using directives/declarations, in preparation of
removing now-unnecessary #includes from cppumaker-generated files, post
e57ca02849 "Remove dynamic exception
specifications".

Change-Id: Iaf1f268871e2ee1d1c76cf90f03557527ebc9067
2017-02-06 17:21:16 +01:00
Stephan Bergmann
e57ca02849 Remove dynamic exception specifications
...(for now, from LIBO_INTERNAL_CODE only).  See the mail thread starting at
<https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html>
"Dynamic Exception Specifications" for details.

Most changes have been done automatically by the rewriting loplugin:dynexcspec
(after enabling the rewriting mode, to be committed shortly).  The way it only
removes exception specs from declarations if it also sees a definition, it
identified some dead declarations-w/o-definitions (that have been removed
manually) and some cases where a definition appeared in multiple include files
(which have also been cleaned up manually).  There's also been cases of macro
paramters (that were used to abstract over exception specs) that have become
unused now (and been removed).

Furthermore, some code needed to be cleaned up manually
(avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no
configurations available that would actually build that code.  Missing @throws
documentation has not been applied in such manual clean-up.

Change-Id: I3408691256c9b0c12bc5332de976743626e13960
Reviewed-on: https://gerrit.libreoffice.org/33574
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-01-26 12:54:43 +00:00
Arnold Dumas
9742ee52a8 tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: I6fc54accb6c08e34909db2131e0abc84d32da2f5
Reviewed-on: https://gerrit.libreoffice.org/26763
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-06-29 14:45:01 +00:00
Tor Lillqvist
e0849330bc Get rid of unnecessary directory levels $D/inc/$D
Change-Id: Ibf313b8948a493043006ebf3a8281487c1f67b48
Reviewed-on: https://gerrit.libreoffice.org/25532
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2016-05-27 17:10:45 +00:00
Chris Sherlock
a238b1f8d3 Remove excess newlines
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

Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Reviewed-on: https://gerrit.libreoffice.org/22224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-09 08:18:05 +00:00
Chris Sherlock
777ad8f5d5 accessibility: fix doxygen errors
Change-Id: Ib1bed3e4df91ad00ecf2deb5c3d135cc2f5561b5
2016-02-04 17:26:10 +11:00
Stephan Bergmann
3fbe1c814d loplugin:nullptr (automatic rewrite)
Change-Id: I5e94b084c923fa5d9c925630669cf698b34f34ff
2015-11-10 10:31:15 +01:00
Tor Lillqvist
395d922f58 chmod -x
Change-Id: I4a248b59e12587c3b2ce79676fdce29a348b6751
2015-07-29 14:17:05 +03:00
Noel Grandin
be62355f52 com::sun::star->css in accessibility
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-17 13:00:43 +00:00
Noel Grandin
827c46e7d7 fdo#82577: Handle Window
Put the VCL Window class in the vcl namespace. Avoids clash with the X11
Window typedef.

Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-23 14:11:39 +03:00
Noel Grandin
60e78fbb80 fdo#82577: Handle Font
Put the VCL Font class in the vcl namespace. Avoids clash with the X11
Font typedef.

Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-09-18 08:54:37 +02:00
Stephan Bergmann
c2d4743d30 loplugin:staticcall
Change-Id: Ie8e6f615b6338b736fafda92a7991642fde47b15
2014-06-13 17:54:22 +02:00
Stephan Bergmann
2da7ce3ba8 -Werror,-Wundefined-bool-conversion
Change-Id: I373d795951120d19bc7664282741d956d1ec3768
2014-06-10 11:24:05 +02:00
Noel Grandin
af047fc242 accessibility: sal_Bool->bool
Change-Id: Id44e7a88ba4118259c990a2c6997230586d378bb
2014-04-15 09:02:33 +02:00
Stephan Bergmann
d96a2f432f Remove dead code
Change-Id: Ia9035189bd01d3a3e5e3222760fc392f3f78880f
2014-03-25 09:15:39 +01:00
Stephan Bergmann
c6b2b5f34c Remove dead code
Change-Id: Id522113f1ba0c9e7b1356acc01a79e0e90a5e752
2014-03-25 09:15:39 +01:00
Stephan Bergmann
acca15f7a0 accessibility: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I7f8848adf245a4fdf56bff67cc15ee0efb818c43
2014-03-10 17:39:51 +01:00
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Alexander Wilms
2e821e4741 Remove visual noise from accessibility
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-25 16:18:25 +00:00
Alexander Wilms
0ce0c369aa Remove unneccessary comments
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-23 03:38:49 +00:00
Michael Stahl
9eccfd86ee 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
2013-12-16 16:21:08 +01:00
Thorsten Behrens
70626249cd API CHANGE a11y unpublishing and add/removeListener rename.
The a11y API has never really been picked up by tools vendors, let's
not tie ourselves up here for no good reason.

This unpublishes all css::accessibility, and dependend API.

With that, we can change the rather unfortunately-named add/
removeEventListener to be add/removeAccessibleEventListener, thus
not conflicting with the XComponent methods of the same name.

Change-Id: I595598c3a8e46415f80b2780f333333174865fe4
2012-11-29 16:58:16 +01:00
Michael Meeks
286a7733ac re-base on ALv2 code. 2012-09-29 15:07:42 +01:00
Norbert Thiebaud
750fc20611 replace remaining InterlockedCount() with inlined version
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-25 01:55:38 +00:00
Stephan Bergmann
2171077c0c Introduce cppu::supportsService helper, adapt some call-sites
...more to follow (easy hack?)

Change-Id: Icb02626495701a3905c124c7368b98c3258e91b2
2012-09-14 19:32:30 +02:00
Norbert Thiebaud
2095b2e1d4 gridfixes: copied #i112562#'s fix from CWS gridcontrol06 herein
Change-Id: Ifa29a8b3c027970d46844b428a3529e680c0b09c
Reviewed-on: https://gerrit.libreoffice.org/541
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:15:44 +00:00
Ricardo Montania
e1276e83e0 OUString cleanup in accessibility
Change-Id: Ie4e51632bf81053f0d32428bb7ef5b01ec301ccc
Reviewed-on: https://gerrit.libreoffice.org/579
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-09-07 12:26:19 +00:00
Marcel Metz
2a566b1775 Replaced SAL_INFO with SAL_WARN were applicable. 2012-01-17 23:27:44 +01:00
Marcel Metz
a18123fb97 Replaced DBG_ERRORFILE with SAL_INFO. 2012-01-16 12:51:33 +01:00
Norbert Thiebaud
e6e29733ed remove include of pch header in accessibility 2011-11-27 12:54:37 -06:00
Caolán McNamara
07f9a847f0 callcatcher: various unused methods 2011-09-12 09:09:59 +01:00
Caolán McNamara
8a962baff6 use standard pattern for this 2011-06-07 08:56:50 +01:00
Norbert Thiebaud
08f2eafe26 replace the now superfluous TCSolarGuard with SolarMutexGuard
TCSolarGuard is a class that basically wrapped a Guard around Application::GetSolarMutex()
This function is now provided directly by the SolarMutexGuard class.
2010-10-25 19:55:29 -05:00
Sebastian Spaeth
ead7290449 Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-13 10:57:23 +02:00
Petr Mladek
e2039c054c remove include guards using fixguard.py 2010-10-05 18:08:01 +02:00
Kurt Zenker
aa9ff28ea9 CWS-TOOLING: integrate CWS gridcontrol_03 2010-05-21 16:40:24 +02:00
Mihaela Kedikova
aa1ffc625a gridcontrol_03: merge with DEV300_m75 2010-03-23 15:28:55 +01:00
Mihaela Kedikova
a3ab9e8435 recent changes for grid control 2010-03-22 11:17:10 +01:00
Vladimir Glazunov
97412488d9 CWS-TOOLING: integrate CWS changefileheader2 2010-02-17 10:32:35 +01:00
Jens-Heiner Rechtien
36de66bdf0 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Kurt Zenker
a2dc6ec23c #i10000# DBG_CTOR can not be used in a non pro version 2009-12-07 14:53:35 +01:00
Mihaela Kedikova
806ac2fb3a fixes for i106470 2009-11-03 15:11:31 +00:00
Mihaela Kedikova
f77062f8e0 fixes for i106470 2009-10-30 13:21:18 +00:00