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
Julien Nabet
c288b17cc5
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part12
...
Change-Id: I7c514b7a1d86f52d77672b826b1f08b825fd7aa7
2014-05-14 23:18:57 +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
5e21a413c7
cppuhelper: retrofit std::exception into overriding exception specs
...
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Stephan Bergmann
04fe0cae20
Some clean-up
...
Change-Id: I8ab23a4b09f9d31ed49c98cdbbf1abc0e684358a
2013-10-20 18:49:48 +02:00
Stephan Bergmann
615a69e33f
Clean-up std::bad_alloc handling
...
...post 0bc89aac4c
"cppumaker: Allow UNO interface functions to throw std::exception."
Change-Id: I232a1b266a45d39856d44a2f4e012b5df10fa880
2013-10-20 18:24:57 +02:00
Luboš Luňák
64b993e046
finish deprecation of O(U)String::valueOf()
...
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.
Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-21 15:10:35 +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
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
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
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
Lionel Elie Mamane
a28b4c1e3e
Do not override the message of an underlying PropertyVetoException
...
Change-Id: I9c1026ad87f3031f1c56066ab24d23d3a6d8782b
Signed-off-by: Stephan Bergmann <sbergman@redhat.com >
2012-11-30 11:24:43 +01:00
Lionel Elie Mamane
8a5fddc656
Enhance error message when setting a CONSTRAINED property to Vetoed value
...
Change-Id: I8391c874723bddaabe2fde12f22d9f50a444d3df
2012-11-29 21:41:21 +01:00
Szabolcs Dezsi
d6bc02f8c4
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
2012-04-06 20:03:42 +02:00
Olivier Hallot
1b99d8800e
Fix for fdo43460 Part X getLength() to isEmpty()
...
Part X
Module
cppu
cppuhelper
cpputools
2011-12-17 17:15:53 +04:00
Norbert Thiebaud
c10fb61c1a
remove include of pch header in cppuhelper
2011-11-27 13:03:19 -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
4f87bde389
INTEGRATION: CWS changefileheader (1.6.42); FILE MERGED
...
2008/03/28 15:25:26 rt 1.6.42.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:36:02 +00:00
Jens-Heiner Rechtien
3ebbdfec20
INTEGRATION: CWS sb70 (1.5.24); FILE MERGED
...
2007/06/05 08:17:25 sb 1.5.24.1: #i68624# Do not crash on adding NULL listeners.
2007-06-27 12:21:55 +00:00
Jens-Heiner Rechtien
afbd5a47ec
INTEGRATION: CWS sb67 (1.4.26); FILE MERGED
...
2006/12/13 10:14:41 sb 1.4.26.1: #i72311# Throw UnknownPropertyException from add|removeProperty|VetoableChangeListener.
2007-01-03 10:37:19 +00:00
Oliver Bolte
8cdaa45ba5
INTEGRATION: CWS pchfix02 (1.2.50); FILE MERGED
...
2006/09/01 17:23:18 kaib 1.2.50.1: #i68856# Added header markers and pch files
2006-09-16 11:41:50 +00:00
Ivo Hinkelmann
7cf515898c
INTEGRATION: CWS warningfixes03_SRC680 (1.2.46); FILE MERGED
...
2006/08/18 12:42:27 mhu 1.2.46.1: #i68745# Fixed GCC 4.0.x warning(s).
2006-08-29 10:04:08 +00:00
Jens-Heiner Rechtien
424f13a0b1
INTEGRATION: CWS skeletonmaker (1.1.2); FILE ADDED
...
2005/09/06 16:07:47 jsc 1.1.2.4: #i51720# change licence header
2005/09/02 14:25:38 jsc 1.1.2.3: #i51720# change namespace from cppuhelper to cppu
2005/08/17 15:40:11 sb 1.1.2.2: #i53316# Added absentOptional; added oldValue/newValue to prepareSet; fixed handle numbering.
2005/07/20 08:18:30 jsc 1.1.2.1: #i51720# new, moved from comphelper
2005-10-27 16:20:01 +00:00