Commit Graph

31 Commits

Author SHA1 Message Date
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
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
Luboš Luňák
e2e2cc6114 remove usage of RTL_CONSTASCII_USTRINGPARAM
Mechanical removal of usage together with OUString ctor, done
by compiler plugin.

Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-06 16:51:45 +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
2171077c0c Introduce cppu::supportsService helper, adapt some call-sites
...more to follow (easy hack?)

Change-Id: Icb02626495701a3905c124c7368b98c3258e91b2
2012-09-14 19:32:30 +02:00
Stephan Bergmann
c2fd9b533c New cppu::defaultBootstrap_InitialComponentContext implementation
...that no longer uses XSimpleRegistry structures for the service data and thus
is potentially more performant.

* Registry-based functions from cppuhelper/bootstrap are deprecated now, client
  code should always use defaultBootstrap_InitialComponentContext.

* References to the obsolete UNO_WRITERDB have been removed.

* Some of the functions in cppuhelper/source that are used from multiple .cxx
  but had not been properly placed into .hxx have been cleaned up.

* css.lang.ServiceManager XSet insert/remove now support special
  sequence<NamedValue> to improve live deployment/removal of XML-based extension
  components data.

* 09524d410b "stoc: accelerate opening of multiple
  XML .rdb files in a directory" and its follow-up
  cb5c881a7f "avoid using the new rdb reading
  logic for empty/non-existent directories" have been obsoleted by this change
  and have been reverted again.
2012-04-20 22:57:32 +02:00
Stephan Bergmann
a26c2ee3c9 Put create_bootstrap_macro_expander_factory properly into a header
...and fix the typo in its name.
2012-04-18 15:59:58 +02:00
Alexander Bergmann
0439af27e1 Code cleanup: ( () ) replaced by (()) 2012-01-26 17:41:07 +00: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
562a46dbd8 use rtl::Static where double-locked pattern used 2011-04-03 21:43: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
9ea6e693b8 INTEGRATION: CWS changefileheader (1.12.22); FILE MERGED
2008/03/28 15:25:26 rt 1.12.22.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:35:08 +00:00
Vladimir Glazounov
ead8ec0f14 INTEGRATION: CWS sb71 (1.10.42); FILE MERGED
2007/05/30 12:47:47 sb 1.10.42.2: RESYNC: (1.10-1.11); FILE MERGED
2007/04/16 13:30:41 sb 1.10.42.1: #i75466# New bootstrap_expandUri helper; removed unused XInitialization support.
2007-10-15 10:53:06 +00:00
Kurt Zenker
b6a391b5e3 INTEGRATION: CWS bunoexttm (1.10.28); FILE MERGED
2007/01/30 15:45:29 kr 1.10.28.1: adapted: joined from UTF2 - add purposed env. support
2007-05-09 12:25:36 +00:00
Oliver Bolte
ef01db72e5 INTEGRATION: CWS pchfix02 (1.9.14); FILE MERGED
2006/09/01 17:23:18 kaib 1.9.14.1: #i68856# Added header markers and pch files
2006-09-16 11:41:36 +00:00
Jens-Heiner Rechtien
0f44758c63 INTEGRATION: CWS warnings01 (1.7.42); FILE MERGED
2005/09/22 15:38:58 sb 1.7.42.2: RESYNC: (1.7-1.8); FILE MERGED
2005/09/07 11:05:30 sb 1.7.42.1: #i53898# Made code warning-free.
2006-06-19 09:34:22 +00:00
Rüdiger Timm
7b2342a385 INTEGRATION: CWS ooo19126 (1.7.46); FILE MERGED
2005/09/05 12:07:39 rt 1.7.46.1: #i54170# Change license header: remove SISSL
2005-09-08 08:27:49 +00:00
Hans-Joachim Lankenau
ea0c9ab6fe INTEGRATION: CWS tune04 (1.5.28); FILE MERGED
2004/06/15 08:53:11 cmc 1.5.28.1: #i29636# turn global objects into local static data protected with swishy double-locked templated template
2004-06-25 16:38:00 +00:00
Oliver Bolte
16cea0db04 INTEGRATION: CWS sb18 (1.5.24); FILE MERGED
2004/05/14 12:54:27 sb 1.5.24.1: #i21150# Missing includes.
2004-06-04 02:21:29 +00:00
Jens-Heiner Rechtien
f1f8a96545 INTEGRATION: CWS geordi2q14 (1.4.40); FILE MERGED
2004/01/29 15:10:12 hr 1.4.40.1: #111934#: merge CWS ooo111fix2
2004-02-02 22:15:26 +00:00
Jens-Heiner Rechtien
cffd33b24f INTEGRATION: CWS ooo11rc2 (1.3.46); FILE MERGED
2003/07/14 15:18:57 fa 1.3.46.1: Conditionalize OS X + gcc 2.95 hacks for gcc 2.95 only.

http://www.openoffice.org/project/www/issues/show_bug.cgi?id=16611

Dan
fa@ooo
2003-07-16 16:52:22 +00:00
Daniel Boelzle
21721abc1b #105077# singleton order; minor changes 2002-12-06 09:12:29 +00:00
Vladimir Glazounov
22e9379f17 #100000# 2002-09-05 15:13:52 +00:00
Daniel Boelzle
cec9e449ac #100075# introducing macro expander; modifying bootstrap; modifying shared lib loader function 2002-06-14 12:20:20 +00:00