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
Noel Grandin
752cd07d08
InterfaceContainer2 with vector instead of Sequence
...
create an InterfaceContainer2 class to replace InterfaceContainer.
It uses a std::vector instead of a Sequence for the mutable listener
list, which provides far better performance.
Switch all our internal use-sites to the new class.
Change-Id: I6b56cfa511ded2395faa22e68fab3b2f16c3cb88
2016-01-25 08:52:03 +02:00
Andrea Gelmini
597e694e7e
Fix typos
...
Change-Id: I90b04b8eda6fc3d530c9db72052720cbe9de0343
Reviewed-on: https://gerrit.libreoffice.org/21197
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
2016-01-07 12:29:04 +00:00
Stephan Bergmann
fb4ce444c2
loplugin:nullptr (automatic rewrite)
...
Change-Id: Ibd0e6ae5e3243464b2484a009f2b4781bdaac471
2015-11-10 10:31:19 +01:00
Andrea Gelmini
ffa8892c5a
Fix typos
...
Change-Id: I75b4ad61785bf0ba1cb07735d938c0977356b8cc
Reviewed-on: https://gerrit.libreoffice.org/16705
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com >
2015-07-04 10:23:17 +00:00
Noel Grandin
b55166d266
Revert "return and use std::vector from OInterfaceContainerHelper"
...
This reverts commit e57314f61f
.
2015-06-29 10:11:53 +02:00
Noel Grandin
e57314f61f
return and use std::vector from OInterfaceContainerHelper
...
since most of the time we don’t need a heavyweight uno::Sequence.
Adds a new method getElementsAsVector().
Change-Id: I9e72bef0c0c723ffd0dd7d4152db5baec6784a7a
Reviewed-on: https://gerrit.libreoffice.org/15747
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2015-06-29 07:25:22 +00: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
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
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
ffd0e29110
fdo#70465: speed up AccessibleEventNotifier::generateId()
...
Iterating over all entries of a std::map is rather slow, so add a
interval map to manage the free entries.
A first attempt to use boost::icl::interval_set for this was abandoned;
while the releaseId() function would be just 1 line, GCC 4.8.2 at least
is unhappy about boost icl headers for non-obvious reasons:
UnpackedTarball/boost/boost/icl/discrete_interval.hpp:45:225: error:
default argument for template parameter for class enclosing ‘void
boost::icl::boost_concept_check_dummy45(boost_concept_check45*)’
Change-Id: I7b767aefee57df7743dc13a694b6a61abdd536c7
2013-10-21 20:05:45 +02:00
Michael Stahl
493cd5268b
remove pointless EventListeners typedef
...
Change-Id: I9cb8ea746c87b394c4c5993de14f692ea018c558
2013-10-21 20:05:45 +02:00
Michael Stahl
65fce1128c
AccessibleEventNotifier: remove implementation details from header
...
Change-Id: Ia422df4066e77bbe3a43a380ba978815fe46dc9c
2013-10-21 20:05:45 +02:00
Michael Stahl
cafff1bbc4
rhbz#1001768: avoid deadlock in AccessibleEventNotifier
...
revokeClientNotifyDisposing(): drop the static lclMutex before calling
pListeners->disposeAndClear(), which may want to acquire the SolarMutex
and deadlock.
Change-Id: Ib35fc7fad6596450a3b10d58d5193b9b55c575cb
2013-08-28 14:47:33 +02:00
Michael Meeks
2005a34318
re-base on ALv2 code.
2012-06-29 15:51:49 +01:00
Elton Chung
ba8919e812
Remove unused code
2012-02-25 20:33:57 +00:00
Norbert Thiebaud
b8ee1f9b5f
remove include of pch header in comphelper
2011-11-27 13:00:14 -06: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
14cc64ab38
INTEGRATION: CWS changefileheader (1.10.160); FILE MERGED
...
2008/04/01 15:05:27 thb 1.10.160.3: #i85898# Stripping all external header guards
2008/04/01 12:26:29 thb 1.10.160.2: #i85898# Stripping all external header guards
2008/03/31 12:19:32 rt 1.10.160.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:02:14 +00:00
Oliver Bolte
98388f6a81
INTEGRATION: CWS pchfix02 (1.9.36); FILE MERGED
...
2006/09/01 17:19:40 kaib 1.9.36.1: #i68856# Added header markers and pch files
2006-09-17 16:08:21 +00:00
Jens-Heiner Rechtien
ecd05fb081
INTEGRATION: CWS warnings01 (1.7.128); FILE MERGED
...
2005/09/23 03:15:26 sb 1.7.128.2: RESYNC: (1.7-1.8); FILE MERGED
2005/09/01 13:59:58 sb 1.7.128.1: #i53898# Made code warning-free.
2006-06-19 21:46:44 +00:00
Rüdiger Timm
1678461d4d
INTEGRATION: CWS ooo19126 (1.7.132); FILE MERGED
...
2005/09/05 15:23:57 rt 1.7.132.1: #i54170# Change license header: remove SISSL
2005-09-08 01:47:06 +00:00
Hans-Joachim Lankenau
a29128b625
INTEGRATION: CWS tune04 (1.6.120); FILE MERGED
...
2004/06/14 09:16:48 cmc 1.6.120.1: #i29636# turn global objects into local static data protected with swishy double-locked templated template
2004-06-25 16:20:53 +00:00
Vladimir Glazounov
05b16c1241
INTEGRATION: CWS dba05 (1.4.16); FILE MERGED
...
2003/05/13 10:21:36 oj 1.4.16.3: typo corrected
2003/05/13 08:17:30 oj 1.4.16.2: RESYNC: (1.4-1.5); FILE MERGED
2003/05/07 11:19:55 fs 1.4.16.1: during #109014#: revokeClientNotifyDisposing: erase client from the map before actually disposing, to work around re-entrance problems of derivees
2003-05-19 11:57:08 +00:00
Vladimir Glazounov
a9fd75dbfd
INTEGRATION: CWS uaa02 (1.4.8); FILE MERGED
...
2003/04/10 11:59:40 mt 1.4.8.1: #108656# Moved Accessibility module from drafts to final
2003-04-24 16:27:22 +00:00
Jens-Heiner Rechtien
8ed9759cd9
MWS_SRX644: migrate branch mws_srx644 -> HEAD
2003-03-19 15:03:25 +00:00
Sascha Ballach
ee61b8d8b1
#106337#; get the old top level version, because this version was in the wrong branch
2003-01-22 14:48:55 +00:00
Sascha Ballach
d1ceaf7203
#106337#; make notification synchron
2003-01-22 14:18:07 +00:00
Frank Schönheit
764a200309
initial checkin - notifying accessible events asynchronously
2002-12-06 11:56:46 +00:00