Commit Graph

21 Commits

Author SHA1 Message Date
Noel Grandin
71b809959b remove unnecessary use of void in function declarations
ie.
    void f(void);
becomes
    void f();

I used the following command to make the changes:

  git grep -lP '\(\s*void\s*\)' -- *.cxx \
    | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;'

and ran it for both .cxx and .hxx files.

Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-15 11:47:12 +02:00
Stephan Bergmann
d1c9e5ee53 tdf#43157: Fix format string violations in OSL_TRACE etc.
...for a 32-bit build, similar to what ee11e221d2
"tdf#43157: Fix format string violations in OSL_TRACE etc." did for a 64-bit
build

Change-Id: I05dd79ede3e66cb9ab7a33792319eb34b34c82dd
2015-03-13 18:21:36 +01:00
Caolán McNamara
4d6a509efe convert all remaining BOOST_STATIC_ASSERT to static_assert
and we can include a few less headers

Change-Id: Id742849ff4c1c37a2b861aa3d6ab823f00ea87f8
2015-02-05 22:21:49 +00:00
Noel Grandin
0e507ae031 various: remove SAL_THROW macro
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-06-05 08:17:52 +02:00
Michaël Lefèvre
70e744b215 fdo#43157 Remove OSL_POSTCOND, prefer SAL_WARN_IF
Change-Id: Ia89a2dce799c7ba90bcd19919195bfd2c7a4a180
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-12 11:32:38 +02:00
Stephan Bergmann
b323e635ee Clean up unreferenced functions
Change-Id: I1dbb864d030b61417f6d137fc967f158e9243ed7
2014-04-04 10:05:57 +02:00
Stephan Bergmann
824c59a38d store: sal_Bool -> bool
Change-Id: I7d108e7ae387f9c07cce182a0bb09b69a6608226
2014-02-17 17:55:17 +01:00
Stephan Bergmann
e4b99f5d44 Use BOOST_STATIC_ASSERT
Change-Id: Ib9dc2541c3bf72ddd6094331297a91352138e5af
2013-03-09 12:49:26 +01:00
Michael Meeks
e18655e475 re-base on ALv2 code. 2012-06-27 19:30:33 +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
06483141ed remove include of pch header from store 2011-11-27 13:23:56 -06:00
Thomas Arnhold
be6a8677a6 OSL_TRACE: Remove trailing newlines
Done with perl regex:
s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs;

- removed trailing whitespaces and (multiple) newlines
2011-09-21 09:28:39 +02: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
Matthias Huetsch [mhu]
6d03994e21 mhu22: resync to master repository (DEV300_m73). 2010-03-04 19:36:24 +01: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
Matthias Huetsch [mhu]
eb4c085971 #i108349# Added missing statement (compiler warning). 2010-01-18 16:09:06 +01:00
Matthias Huetsch [mhu]
00075d74ee #i71568# #i108349# Simplified block (page) allocation. 2009-11-13 16:03:20 +01:00
Matthias Huetsch [mhu]
5243a9ef4e #i71568# #i108349# Remove unnecessary flush(), more cleanup. 2009-11-10 15:55:03 +01:00
Matthias Huetsch [mhu]
d886d389f1 #i71568# #i108349# Remove unused StateBlock code. 2009-11-02 19:09:43 +01:00
Matthias Huetsch [mhu]
aa4b05bffb #i71568# #i108349# Remove unused range locking code. 2009-10-29 16:00:34 +01:00
Vladimir Glazounov
cbedb24048 CWS-TOOLING: integrate CWS mhu17
2009-01-23 14:08:09 +0100 mhu  r266816 : CWS-TOOLING: rebase CWS mhu17 to trunk@266428 (milestone: DEV300:m39)
2009-01-16 17:49:37 +0100 mhu  r266442 : #i98151# Migration to subversion.
2009-01-16 17:48:53 +0100 mhu  r266441 : #i98151# Migration to subversion.
2009-01-16 17:47:56 +0100 mhu  r266440 : #i98151# Migration to subversion.
2009-03-13 15:52:34 +00:00