Commit Graph

20 Commits

Author SHA1 Message Date
Stephan Bergmann
40c4a08652 loplugin:nullptr (automatic rewrite)
Change-Id: I71de514405bb9bcc746c1ab9633e7fe659888943
2015-11-10 10:31:18 +01:00
Noel Grandin
4729774b24 remove unnecessary check for null when calling delete
Idea originally from caolan.
Found using the following command:
find . -name *.cxx | xargs /opt/local/bin/grep -zlP '(?m)if\s*\(\s*\w+\s*\)\s*delete\s+\w+\;'

Change-Id: I3338f4e22193a6dfd6219c8c75835224a3392763
2015-06-15 14:46:41 +02:00
Caolán McNamara
ffe060e954 V668 no sense in testing the result of new against null
Change-Id: I7783d96e40de7a8df794f143d2c7830bf3314218
2015-03-11 01:16:33 +00:00
Stephan Bergmann
4e82025189 Replace some std::auto_ptr function parameters with std::unique_ptr
Change-Id: Ic66d325fd9559c6dde9556c26e5b2a7e60376c49
2014-09-24 16:06:52 +02:00
Noel Grandin
827c46e7d7 fdo#82577: Handle Window
Put the VCL Window class in the vcl namespace. Avoids clash with the X11
Window typedef.

Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-23 14:11:39 +03:00
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Jelle van der Waa
dd9c97d587 fdo#62475 removed pointless comments
Change-Id: I3f5e86dba2df950aeb12c895f52d99274c0959aa
Reviewed-on: https://gerrit.libreoffice.org/5148
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-07-29 11:34:33 +00:00
Luboš Luňák
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
Michael Meeks
63c508e3e8 re-base on ALv2 code. Includes:
118568: switch to using ucpp
    Patch contributed by Juergen Schmidt
    http://svn.apache.org/viewvc?view=revision&revision=1209396
2012-07-18 09:29:19 +01:00
Olivier Hallot
0eac98aa74 Fix for fdo43460 Part V getLength to isEmpty
Part V
Module
chart2
2011-12-13 00:36:43 +04:00
Norbert Thiebaud
6da8379e14 remove include of pch header in chart2 2011-11-27 12:59:19 -06:00
Thomas Arnhold
fd3ae880bc Move OSL_ENSURE(false,...) to OSL_FAIL(...) 2011-03-13 16:44:11 +01:00
Alfonso Eusebio
253326f6e6 Removed bogus comments from calc-chart2
Removed bogus comments from calc/chart2/accesibility and .../chartapiwrapper
2011-01-17 20:37:08 +00:00
Norbert Thiebaud
c94a7511bf merge vosremoval-mutex.diff
In practice the changeset is 'inspired' by vosremoval-mutex.diff
but was essentially redone manually
2010-10-25 17:57:36 -05:00
Norbert Thiebaud
defa3490b4 use SolarMutexGuard to guard the SolarMutex 2010-10-25 17:54:58 -05:00
Sebastian Spaeth
63bb42ab7d 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-13 10:57:18 +02:00
Jens-Heiner Rechtien
4573ccfffd 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
cea17c6676 INTEGRATION: CWS changefileheader (1.3.12); FILE MERGED
2008/03/28 16:43:13 rt 1.3.12.1: #i87441# Change license header to LPGL v3.
2008-04-10 18:20:47 +00:00
Rüdiger Timm
cd8592ba42 INTEGRATION: CWS impresstables2 (1.2.30); FILE MERGED
2007/07/26 22:11:25 cl 1.2.30.1: worked on tables in draw
2008-03-12 12:06:48 +00:00
Vladimir Glazounov
07d08c02fc INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED
2007/02/08 21:25:27 iha 1.1.2.3: resync m195 -> m202
2006/11/26 10:55:32 bm 1.1.2.2: includes for solar mutex missing
2006/03/23 09:51:50 bm 1.1.2.1: text support for titles. This class is instantiated directly by the controller as it needs a DrawView to work
2007-05-22 16:15:05 +00:00