Commit Graph

25 Commits

Author SHA1 Message Date
Stephan Bergmann
39950c5b7c loplugin:simplifybool
Change-Id: Icbd2ce16467c574243d223ae68e79ca043a2ca45
2015-04-24 12:36:24 +02:00
Stephan Bergmann
2240118177 Improved loplugin:literaltoboolconversion looking into cond. exprs.
...automatic rewriter fixes

Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee
2015-04-23 18:39:07 +02:00
Stephan Bergmann
a52cf476e7 Clean up template-parameter-dependent C-style casts
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
2015-03-29 15:13:45 +02:00
Noel Grandin
ba233e87ef remove unnecessary parenthesis in return statements
found with
$ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;'

Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-02-23 09:26:58 +02:00
Stephan Bergmann
35ce36b713 Some more loplugin:cstylecast: mysqlc
Change-Id: I7849658606931b231c2bde0c8143bc1f325c80d4
2015-01-20 09:06:49 +01:00
Stephan Bergmann
d5c86be04e No need for RTL_USING in addition to LIBO_INTERNAL_ONLY
Change-Id: Iaa65658aed6bb4abb20a4d95dc9c6caf7c1c764b
2014-12-19 14:28:13 +01:00
Stephan Bergmann
6bca90dd62 mysqlc: loplugin:cstylecast
Change-Id: I293f6fc392f6d081d08d2f53886f534409e38bd5
2014-12-04 09:36:45 +01:00
Vinicius Vendramini
5c8ea6d943 fdo#83991 - cleanup whitespace after folding comment removal.
Change-Id: I31149484d626013ddcd52356be7d416b435cebcc
2014-10-23 10:39:22 +01:00
Vinicius Vendramini
f73112e229 fdo#83991 - remove redundant function folding comments.
Change-Id: I630aeedc31099e11d4bd0e91a05943e926efd61e
2014-10-22 12:03:35 +01:00
Stephan Bergmann
2bb99ca189 mysqlc: These shall be plain "Time" not "tools::Time" apparently
Change-Id: Id96a75bb8a07ea3b9701b9fe4692dfc81dbd8295
2014-10-01 10:35:31 +02:00
Noel Grandin
fc04f76336 fdo#82577: Handle Time
Put the TOOLS Time class in the tools namespace. Avoids clash with the X11
Time typedef.

Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866
Reviewed-on: https://gerrit.libreoffice.org/11684
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-01 07:34:23 +00:00
Stephan Bergmann
dbf99dfb98 mysqlc: sal_Bool -> bool
Change-Id: Ie479e1671b03fbb958886d4c01ecff41b2ad1d23
2014-07-02 08:42:58 +02: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
396248a6bf Get rid of macros
Change-Id: Ic43441201309c3b466ed3dc7a5e85d0d006c0e44
2014-02-03 11:15:55 +01:00
Takeshi Abe
1136925b23 initialized with plain 0, instead of sal_False/false
Change-Id: I2df1bd52293c4423de5ac4c41f9392be1e8d2ccf
2013-05-14 20:17:14 +09: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
Thomas Arnhold
39d45390f4 removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarations
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms

Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b
Reviewed-on: https://gerrit.libreoffice.org/2835
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19 10:48:30 +00:00
Peter Foley
b02d799732 convert mysqlc to gbuild and add to tail_build
Change-Id: Ia64bc884ed04a5d5652fb743f543a39e6b6bbcf2
Reviewed-on: https://gerrit.libreoffice.org/1901
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-28 22:54:08 +00:00
Michael Meeks
69a51d2bb6 re-base on ALv2 code. 2012-06-26 11:33:02 +01:00
Takeshi Abe
1f2fd91bf1 catch exception by constant reference 2011-12-20 12:07:50 +09:00
Fridrich Štrba
d186420a08 Removing the ext_std masterpiece 2011-02-09 10:50:15 +01:00
Thomas Arnhold
7552a34c76 Remove old RCS lines. 2011-01-21 12:18:23 +01:00
Sebastian Spaeth
fa39fbdcce 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:24 +02:00
Caolán McNamara
ce744c8437 cmcfixes73: #i110068# unify headers in one place 2010-03-12 09:15:29 +00:00
Frank Schoenheit [fs]
4946c62f29 mysqlconnector: initial import from CWS mysqlnative 2009-12-11 09:51:25 +01:00