Mike Kaganski
ad686b26ce
No need to use SAL_THROW_EXTERN_C macro in CXX
...
Change-Id: I6eb9f0431a9402479a2d90d5b6f68b611d52a9f9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175957
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com >
2024-11-02 22:16:06 +01:00
Gabor Kelemen
c95597ac42
Drop 'using namespace ::std' in dirs b* c*
...
Change-Id: I59392ee7aa71c219e475a09da67a868cfdd14b41
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147074
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
Tested-by: Jenkins
2023-02-15 18:37:59 +00:00
Caolán McNamara
413b80ed1a
return a reference instead of a pointer
...
and remove redundant nullptr OSL_ENSURE check
Change-Id: I19e202c3786386ed6f094504a0e1eb6928aa423a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120105
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
2021-08-06 12:14:58 +02:00
Gabor Kelemen
2660f132cc
tdf#42949 Fix IWYU warnings in cppu/
...
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: Ia1b2f0a9c99acc7ac538f3b41c1b6757d414db35
Reviewed-on: https://gerrit.libreoffice.org/66970
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com >
2019-01-29 13:48:23 +01:00
Stephan Bergmann
7ceee0f1ec
Extend loplugin:redundantinline to catch inline functions w/o external linkage
...
...where "inline" (in its meaning of "this function can be defined in multiple
translation units") thus doesn't make much sense. (As discussed in
compilerplugins/clang/redundantinline.cxx, exempt such "static inline" functions
in include files for now.)
All the rewriting has been done automatically by the plugin, except for one
instance in sw/source/ui/frmdlg/column.cxx that used to involve an #if), plus
some subsequent solenv/clang-format/reformat-formatted-files.
Change-Id: Ib8b996b651aeafc03bbdc8890faa05ed50517224
Reviewed-on: https://gerrit.libreoffice.org/61573
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
2018-10-09 14:47:17 +02:00
Jochen Nitschke
a5dba7dbec
remove unused osl/mutex.hxx includes
...
Change-Id: I3b50e45fdb99e9cd8bfda07356ee3ddb4dd0f8bb
Reviewed-on: https://gerrit.libreoffice.org/38905
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de >
2017-06-18 13:38:25 +02:00
Chris Sherlock
97eb00c75e
revert OSL_ASSERT changes
...
Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
2017-05-07 17:03:35 +10:00
Chris Sherlock
1f4c85d0f5
tdf#43157: convert cppu's threadpool from OSL_ASSERT to assert
...
Change-Id: Id9cb46db0dd6f635014982ce958804dd0f02dd83
2017-05-07 07:55:40 +10:00
Stephan Bergmann
802ac3e437
Assert IdContainer's bInit in uno_releaseIdFromCurrentThread
...
...implying that pLocalThreadId, nRefCountOfCurrentId, pCurrentId are
initialized, implying that zero-initializing them during construction isn't
necessary.
Change-Id: I98399203694edde14abc664a82861ba50dfb357c
2017-02-23 08:49:32 +01:00
Stephan Bergmann
e7f330fa4a
loplugin:salbool: Automatic rewrite of sal_False/True
...
Change-Id: I47acc5590a935c7f9089231efbb1319664942f16
2016-04-20 17:25:37 +02:00
Stephan Bergmann
4730b58d99
loplugin:nullptr (automatic rewrite)
...
Change-Id: I17eb40b2923793280ea220e519f97563c8490a19
2015-11-10 10:31:20 +01:00
Julien Nabet
3aebc670e1
Remove include stdio (part2)
...
Change-Id: Iae58d107d8df1c543a165086fb2b7c288e7121dd
Reviewed-on: https://gerrit.libreoffice.org/15775
Reviewed-by: Julien Nabet <serval2412@yahoo.fr >
Tested-by: Julien Nabet <serval2412@yahoo.fr >
2015-05-18 05:33:52 +00:00
Stephan Bergmann
9193a15fc5
Some more loplugin:cstylecast: cppu
...
Change-Id: Iec1251648031afa9eddd7445135fb08dc74821bd
2015-01-20 09:06:46 +01:00
Noel Grandin
0371a63365
remove unnecessary 'using namespace rtl' declarations
...
It turns out that almost none of them were necessary.
Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83
Reviewed-on: https://gerrit.libreoffice.org/12133
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2014-10-29 11:28:54 +00:00
Stephan Bergmann
34a44156b3
cppu: sal_Bool -> bool
...
Change-Id: I1288f1f6f38d1475b4eb5272509e479bd9f2552d
2014-02-17 17:55:18 +01:00
Stephan Bergmann
19277d02fb
osl_getThreadIdentifier(0) -> osl::Thread::getCurrentIdentifier()
...
Change-Id: Ida9785c4b9fda0459769957734952e69d7a9de44
2013-08-21 14:19:10 +02:00
Michael Meeks
c3a6a57fc2
re-base on ALv2 code.
2012-06-13 14:18:29 +01:00
Stephan Bergmann
2af1a97346
Removed superfluous CPPU_DLLPUBLIC from definitions.
2011-12-19 11:33:13 +01:00
Matúš Kukan
d899f976ee
cppu: add visibility symbols
2011-12-19 10:14:52 +01:00
Stephan Bergmann
beebf578ed
-Wstrict-aliasing fix
2011-12-01 21:24:50 +01:00
Norbert Thiebaud
24b4c075d5
remove include of pch header in cppu
2011-11-27 13:02:56 -06:00
Sebastian Spaeth
a715e1b3d0
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:04:31 +02:00
Jens-Heiner Rechtien
7c80db2eb3
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
7c72e544d5
INTEGRATION: CWS changefileheader (1.11.74); FILE MERGED
...
2008/03/31 07:23:20 rt 1.11.74.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:34:36 +00:00
Oliver Bolte
0906e2c8c4
INTEGRATION: CWS pchfix02 (1.10.60); FILE MERGED
...
2006/09/01 17:23:01 kaib 1.10.60.1: #i68856# Added header markers and pch files
2006-09-16 23:19:56 +00:00
Rüdiger Timm
fd0fbb0730
INTEGRATION: CWS ooo19126 (1.9.30); FILE MERGED
...
2005/09/05 13:54:27 rt 1.9.30.1: #i54170# Change license header: remove SISSL
2005-09-08 07:47:51 +00:00
Rüdiger Timm
ca52b7ea29
INTEGRATION: CWS ooo20040704 (1.8.92); FILE MERGED
...
2004/06/28 12:13:43 cmc 1.8.92.1: #i30801 allow using system stl if possible
2004-09-08 13:29:54 +00:00
Vladimir Glazounov
e419242aa4
INTEGRATION: CWS dbgmacros1 (1.7.4); FILE MERGED
...
2003/04/09 10:38:51 kso 1.7.4.1: #108413# - debug macro unification.
2003-04-15 15:36:50 +00:00
Vladimir Glazounov
479dc59b5c
#100000# getting rid of build dep from offuh
2003-03-20 13:44:59 +00:00
Daniel Boelzle
d17143e649
no use of SAL_DLLEXPORT anymore, using def file
2001-03-28 09:50:37 +00:00
Daniel Boelzle
fee2a34fc7
revised function throw () clauses
2001-03-09 11:10:57 +00:00
Daniel Boelzle
61193f586b
empty throw () clauses
2000-12-21 13:39:29 +00:00
Jörg Budischewski
ce704a3137
forgotten debug output removed
2000-10-13 11:21:44 +00:00
Jörg Budischewski
4600961122
temporary hack for thread local storage removed
2000-09-29 11:42:18 +00:00
Jens-Heiner Rechtien
b525a3115f
initial import
2000-09-18 14:29:57 +00:00