Commit Graph

30 Commits

Author SHA1 Message Date
Thomas Arnhold
530899ba18 cppuhelper: fix includes
Change-Id: I0e6bc822d19cf266dea716fe92f2ccd08d87c51f
2014-06-04 21:18:39 +02:00
Noel Grandin
e7bc3cab01 remove boilerplate in UNO Exception constructor calls
Now that we have default values for Exception constructor params,
remove lots of boilerplate code.

Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23 15:06:00 +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
Alexander Wilms
518b75326a Remove visual noise from cppuhelper
Change-Id: If23a1aa19949f91f900d55ff9e1d5039378d7277
Reviewed-on: https://gerrit.libreoffice.org/8248
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-27 06:43:02 -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
c68a8f4558 bool improvements
Change-Id: Iaf63fd2282ce8de4f4c3dc7120afe1bc0613228a
2014-01-28 20:26:29 +01:00
Stephan Bergmann
a83b2af9ab Clean-up uno/lbnames.h
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
2013-12-16 21:43:12 +01:00
Stephan Bergmann
e89e7cded7 Prefer using declarations over using directives
Change-Id: I1316fc4ae1d4dab91684bdc059f5c69c5e0c401a
2013-08-19 12:52:36 +02:00
Jean-Noël Rouvignac
97eb8a6e0e Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd
Reviewed-on: https://gerrit.libreoffice.org/1924
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-30 12:54:40 +00:00
Michael Meeks
9d7c1dcbbb re-base on ALv2 code. Includes:
Patches contributed by Ocke Janssen
   converted reportdesign.
   http://svn.apache.org/viewvc?view=revision&revision=1396797
   http://svn.apache.org/viewvc?view=revision&revision=1394326

   Patch contributed by Oliver Rainer-Wittmann
   sw34bf06: #i117783# - Writer's implementation of XPagePrintable -
   apply print settings to new printing routines
   http://svn.apache.org/viewvc?view=revision&revision=1172115
2012-12-06 09:12:57 +00:00
Stephan Bergmann
6e67c03dc0 Enable -Wnon-virtual-dtor for GCC 4.6
...which has the necessary features to support it.

Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.

cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.

Includes a patch for libcmis, intended to be upstreamed.
2012-03-14 13:32:02 +01:00
Stephan Bergmann
7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones.  To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
Norbert Thiebaud
c10fb61c1a remove include of pch header in cppuhelper 2011-11-27 13:03:19 -06:00
Caolán McNamara
71b6f3d9a3 use rtl::Static where double-locked pattern used 2011-04-04 13:09:33 +01:00
Thomas Arnhold
adc6fe00e3 Move OSL_ENSURE(0,...) to OSL_FAIL(...) 2011-03-12 14:19:48 +01: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
91ac60886c INTEGRATION: CWS changefileheader (1.11.50); FILE MERGED
2008/03/28 15:25:25 rt 1.11.50.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:33:14 +00:00
Kurt Zenker
50c1037e69 INTEGRATION: CWS bunoexttm (1.10.28); FILE MERGED
2007/01/30 14:19:25 kr 1.10.28.1: adapted: joined from UTF2 - add purposed env. support
2007-05-09 12:25:23 +00:00
Oliver Bolte
b5c94e5bb0 INTEGRATION: CWS pchfix02 (1.9.14); FILE MERGED
2006/09/01 17:23:17 kaib 1.9.14.1: #i68856# Added header markers and pch files
2006-09-16 11:40:10 +00:00
Jens-Heiner Rechtien
0764015741 INTEGRATION: CWS warnings01 (1.6.46); FILE MERGED
2006/01/25 17:10:25 sb 1.6.46.3: RESYNC: (1.7-1.8); FILE MERGED
2005/09/22 15:37:37 sb 1.6.46.2: RESYNC: (1.6-1.7); FILE MERGED
2005/09/07 11:05:29 sb 1.6.46.1: #i53898# Made code warning-free.
2006-06-19 09:33:12 +00:00
Rüdiger Timm
2f26cde2de INTEGRATION: CWS sb41 (1.7.16); FILE MERGED
2005/12/16 10:48:01 sb 1.7.16.1: #i57855# Moved internal cppu.XExceptionThrower to cppuhelper.detail.XExceptionThrower to work around compilation error with MSC.
2006-01-10 14:50:29 +00:00
Rüdiger Timm
55bca90b78 INTEGRATION: CWS ooo19126 (1.6.50); FILE MERGED
2005/09/05 12:07:37 rt 1.6.50.1: #i54170# Change license header: remove SISSL
2005-09-08 08:25:53 +00:00
Oliver Bolte
e711e3c3a0 INTEGRATION: CWS sb18 (1.5.32); FILE MERGED
2004/05/14 12:54:27 sb 1.5.32.1: #i21150# Missing includes.
2004-06-04 02:20:49 +00:00
Vladimir Glazounov
4f4e40f420 INTEGRATION: CWS unopkg (1.4.90); FILE MERGED
2003/09/30 13:37:59 dbo 1.4.90.2: #112449#
2003/09/26 13:01:38 dbo 1.4.90.1: #112449# added ::cppu::getCaughtException()
2003-10-06 11:55:55 +00:00
Joachim Lingner
c23515aeed OSL_ENSHURE replaced by OSL_ENSURE 2001-03-12 12:39:32 +00:00
Daniel Boelzle
414591811c revised function throw () clauses, removed obsolete macros.hxx 2001-03-09 11:15:28 +00:00
Jens-Heiner Rechtien
06bec3d9cb #65293#: disambiguate construct 2000-10-25 13:44:37 +00:00
Jens-Heiner Rechtien
b525a3115f initial import 2000-09-18 14:29:57 +00:00