Commit Graph

19 Commits

Author SHA1 Message Date
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