Commit Graph

29 Commits

Author SHA1 Message Date
Stephan Bergmann
2fc4a8c811 Add support for cppu::UnoType<void>
Change-Id: I88259ffaffc73979c240721d2db166c79d3085f1
2015-04-01 12:48:44 +02:00
Stephan Bergmann
bfcdcdb63a Replace remaining getCppuType et al with cppu::UnoType
Change-Id: Ied1a4e7226de4ae1d1c24af90ae9397ba80f404a
2015-04-01 08:37:54 +02:00
Andrea Gelmini
c70f1545e2 Removed duplicated includes
Change-Id: I5362d997bfa086c9fb1726efcb15132a966684f6
Reviewed-on: https://gerrit.libreoffice.org/12160
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-10-31 16:18:30 +00:00
Stephan Bergmann
27b7175e36 Clean up function declarations
Change-Id: I2478861e79bbb0f6d7e8a0b7bc59a81f457d92dc
2014-04-09 09:47:36 +02:00
Stephan Bergmann
70cc2b191b First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
Stephan Bergmann
c6d114be1f std::exception retrofit sequel
Change-Id: Ide9234c50592fe4f12eb1f6ea836ad60ce4697df
2014-02-27 08:39:30 +01:00
Tor Lillqvist
a7724966ab Bin comments that claim to say why some header is included
They are practically always useless, often misleading or obsolete.

Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22 16:56:28 +03:00
Thomas Arnhold
39d45390f4 removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarations
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms

Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b
Reviewed-on: https://gerrit.libreoffice.org/2835
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19 10:48:30 +00:00
Thomas Arnhold
8b27d78b4a automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
Done with a perl regex:

s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms

Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec
Reviewed-on: https://gerrit.libreoffice.org/2832
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19 09:00:26 +00:00
Thorsten Behrens
66a175834c c++ API: use css alias in generated headers, adds global css decl
This changes all generated API headers (.hpp and .hdl) to use a
namespace alias 'css' instead of the pointlessly long com::sun::star

Makes the change in cppumaker & associated tools, adds a global
namespace alias definition in sal/types.h, and removes a kiloton
of local, now pointless-to-harmful versions of that alias from all
over the code.

Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30 14:36:36 +01:00
Norbert Thiebaud
195f17ee40 migrate some of the biggest consumer of osl_*InterlockedCount to osl_atomic
Change-Id: I0e6992afbeffaf3b993e6630fb396d93012890e0
Reviewed-on: https://gerrit.libreoffice.org/632
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-17 14:26:12 +00:00
Tor Lillqvist
850d9be56d Bin no longer used iOS cppunit stuff that breaks build even
Change-Id: I78c71b22816834c66c8283e3d85e357b7b8d2836
2012-08-01 19:19:04 +03:00
Michael Meeks
328e2263fb targetted re-work of cppunit pieces. 2012-06-27 19:13:11 +01:00
Michael Meeks
46b8dbda43 re-base on ALv2 code. 2012-06-26 21:48:59 +01:00
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Norbert Thiebaud
24b4c075d5 remove include of pch header in cppu 2011-11-27 13:02:56 -06:00
Stephan Bergmann
d996328cd5 sb140: #i113503# mixing system CppUnit and OOo STLport does not work, backed out a6913c9677c2
For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-09-12 22:47:50 +02:00
Tor Lillqvist
46bd39b0d3 Add statically linked cppu unit test for iOS 2011-08-01 00:59:09 +03:00
Fridrich Štrba
30a8393e50 Removing the ext_std masterpiece 2011-02-09 19:58:43 +01:00
Thomas Arnhold
31ca64f91e Remove double line spacing and correct indentation 2011-01-29 15:39:11 +01:00
Caolán McNamara
387b321092 cppunit: port these tests over to canonical cppunit 2011-01-14 15:36:53 +00: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
Mathias Bauer
6ea0304b45 #i103496#: split cppunit in a pure external lib and a lib depending on sal -> testshl2 2009-09-14 19:06:55 +02:00
Rüdiger Timm
ce582a0da6 INTEGRATION: CWS changefileheader (1.5.74); FILE MERGED
2008/03/31 07:23:18 rt 1.5.74.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:26:15 +00:00
Oliver Bolte
9cf9cd9629 INTEGRATION: CWS pchfix02 (1.4.24); FILE MERGED
2006/09/01 17:23:00 kaib 1.4.24.1: #i68856# Added header markers and pch files
2006-09-16 23:18:37 +00:00
Rüdiger Timm
44b58396a9 INTEGRATION: CWS jl31 (1.3.38); FILE MERGED
2006/02/20 16:00:30 sb 1.3.38.1: #i62339# Introduced (internal-only) cppu::getTypeFavourUnsigned as (working) replacement of now deprecated getCppuType<> template.
2006-03-09 09:45:05 +00:00
Rüdiger Timm
0ae9d6e949 INTEGRATION: CWS ooo19126 (1.2.12); FILE MERGED
2005/09/05 13:54:20 rt 1.2.12.1: #i54170# Change license header: remove SISSL
2005-09-08 07:43:22 +00:00
Kurt Zenker
c83742c9a2 INTEGRATION: CWS fwkpostbeta1 (1.1.2); FILE ADDED
2005/02/07 11:25:47 sb 1.1.2.2: #i41709# Converting (Any::operator >>= etc.) a null reference of an interface type to a null reference of another interface type always succeeds.
2005/02/04 10:39:18 sb 1.1.2.1: #i41709# Exhaustive testing of Any::operator >>=.
2005-03-21 10:41:25 +00:00