Commit Graph

37 Commits

Author SHA1 Message Date
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
Stephan Bergmann
fb4ce444c2 loplugin:nullptr (automatic rewrite)
Change-Id: Ibd0e6ae5e3243464b2484a009f2b4781bdaac471
2015-11-10 10:31:19 +01:00
Andrea Gelmini
5b1337f7b2 tdf#62475: partial handmade fixes
Change-Id: Ib9af202c43b916b9af4b4e18db35d470a8692fe4
Reviewed-on: https://gerrit.libreoffice.org/15712
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-05-15 17:55:15 +00:00
Noel Grandin
41066fef1c comphelper: remove SAL_THROW macro
Change-Id: I692f1213c4bf42a84fae119f513e609d8874bf0c
2014-06-05 08:17:46 +02:00
Stephan Bergmann
e3e1f9f30d Leftover SAL_CALL
Change-Id: I895b2132ee752f191f30d6adc0af35cad005afe5
2014-03-11 14:54:30 +01:00
Alexander Wilms
a67c2a12bc Remove visual noise from comphelper
Change-Id: I7e5512b43240beee05404cff9d49a87d0217ea89
Reviewed-on: https://gerrit.libreoffice.org/8242
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-27 06:42:45 -06: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
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
Stephan Bergmann
05f742d28b comphelper: sal_Bool -> bool
Change-Id: I6fc331ae0706f4bb193543011c8d4ae0a385fcc0
2014-02-17 17:55:19 +01:00
Michael Stahl
da21e9de6a require OAccessibleContextHelper to be initialized with SolarMutex
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-10-04 14:46:24 +02:00
Michael Stahl
4100e3b620 rhbz#1001768: avoid deadlock in OAccessibleContextHelper::disposing()
De facto this class is locked by SolarMutex, which is what the
OExternalLockGuard actually locks;
do not lock m_Mutex because it may cause deadlock.

Change-Id: I88b226d73dbef9a5803347b0ac3191bec2ba4515
2013-10-02 23:52:30 +02:00
Luboš Luňák
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02: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
Stephan Bergmann
cbe5a8c858 -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I213bc96fd6c9049c0dba0a527e827ae5d8f0ace3
2012-08-14 10:39:11 +02:00
Michael Meeks
2005a34318 re-base on ALv2 code. 2012-06-29 15:51:49 +01:00
Norbert Thiebaud
b8ee1f9b5f remove include of pch header in comphelper 2011-11-27 13:00:14 -06:00
Stephan Bergmann
c31d7b012f Some warning cleanup (found with trunk Clang). 2011-10-24 12:56:22 +02:00
Matúš Kukan
1fe85161e4 callcatcher: comphelper's unused code 2011-10-03 16:11:11 +02:00
Thomas Arnhold
3d874bdf40 Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...) 2011-03-19 14:11:09 +01:00
Sebastian Spaeth
4905a19032 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-14 17:02:15 +02:00
Jens-Heiner Rechtien
8764506704 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
Rüdiger Timm
07f4b0ab5b INTEGRATION: CWS changefileheader (1.15.160); FILE MERGED
2008/04/01 15:05:26 thb 1.15.160.3: #i85898# Stripping all external header guards
2008/04/01 12:26:29 thb 1.15.160.2: #i85898# Stripping all external header guards
2008/03/31 12:19:32 rt 1.15.160.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:01:29 +00:00
Oliver Bolte
0f1f7b97c0 INTEGRATION: CWS pchfix02 (1.14.100); FILE MERGED
2006/09/01 17:19:39 kaib 1.14.100.1: #i68856# Added header markers and pch files
2006-09-17 16:07:54 +00:00
Rüdiger Timm
029181308d INTEGRATION: CWS ooo19126 (1.13.264); FILE MERGED
2005/09/05 15:23:57 rt 1.13.264.1: #i54170# Change license header: remove SISSL
2005-09-08 01:46:36 +00:00
Vladimir Glazounov
3fe3680743 INTEGRATION: CWS uaa02 (1.12.8); FILE MERGED
2003/04/10 11:59:39 mt 1.12.8.1: #108656# Moved Accessibility module from drafts to final
2003-04-24 16:27:02 +00:00
Jens-Heiner Rechtien
8ed9759cd9 MWS_SRX644: migrate branch mws_srx644 -> HEAD 2003-03-19 15:03:25 +00:00
Frank Schönheit
f3a48f8332 #105548# notify accessible events asybchronously 2002-12-06 12:00:43 +00:00
Thomas Benisch
88e5002551 #105058# make NotifyAccessibleEvent virtual 2002-11-22 12:52:03 +00:00
Oliver Braun
9481f5d28b #100201# removed state change event to DEFUNC 2002-08-14 11:00:00 +00:00
Stephan Bergmann
286f47acb5 #100004# Added second NotifyAccessibleEvent with AccessibleEventBuffer. 2002-07-22 06:01:31 +00:00
Frank Schönheit
3bd18e78b2 #99218# allow abstract external locks in addition to the own mutex 2002-05-08 14:38:36 +00:00
Frank Schönheit
be76210894 #98750# no use the context (not the XAccessible) as event source, again, as usual in the UNO world 2002-05-08 06:54:46 +00:00
Jens-Heiner Rechtien
48c4a32291 #65293#: removed not needed vcl/svapp.hxx includes to reduce dependencies 2002-04-30 06:42:27 +00:00
Frank Schönheit
bc98d6ed07 #98750# +getAccessibleCreator / use the creator (XAccessible) as event source 2002-04-26 13:24:28 +00:00
Frank Schönheit
47fed72863 #98750# corrected NotifyAccessibleEvent 2002-04-26 06:25:50 +00:00
Frank Schönheit
564c032263 #98750# use correct broadcasthelper (in the WeagAggComponentImpl* base) 2002-04-26 04:52:18 +00:00
Frank Schönheit
2f79d5f479 initial checkin - helper for implementing an XAccessibleContext 2002-04-23 10:10:30 +00:00