Noel Grandin
d5129a9dd6
new clang plugin: loopvartoosmall
...
Idea from bubli - look for loops where the index variable is of such
size that it cannot cover the range revealed by examining the length
part of the condition.
So far, I have only run the plugin up till the VCL module.
Also the plugin deliberately excludes anything more complicated than a
straightforward incrementing for loop.
Change-Id: Ifced18b01c03ea537c64168465ce0b8287a42015
2015-05-28 12:49:54 +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
Michael Stahl
15b4ab8d19
cppuhelper: clean up public headers with include-what-you-use
...
Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
2014-11-18 18:51:49 +01:00
Noel Grandin
0371a63365
remove unnecessary 'using namespace rtl' declarations
...
It turns out that almost none of them were necessary.
Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83
Reviewed-on: https://gerrit.libreoffice.org/12133
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2014-10-29 11:28:54 +00:00
Stephan Bergmann
15652daf08
UnoControls: sal_False/True -> false/true
...
Change-Id: If30d43a2693c6df2d483ec135efa54ccb643fdb0
2014-09-15 17:23:23 +02:00
Julien Nabet
ac76cc7e60
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20
...
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-23 22:11:52 +02:00
Jan Holesovsky
e6ac6cbccf
automaticly -> automatically.
...
Change-Id: Iae55083160eee86ac8301f272634dd3ae65fd847
2014-04-27 01:28:55 +02:00
Tor Lillqvist
fdecbd4a41
Kill superfluous spacing before semicolons
...
Change-Id: I2c5c2c2e8c57796d147141748fb57a4c5645a96a
2014-04-06 20:00:28 +03:00
Tor Lillqvist
5814e76432
Kill superfluous vertical whitespace
...
Change-Id: Ieb7956acdc24d6b18939e916e33eb12dc268e778
2014-04-06 20:00:27 +03: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
b06820d74c
Remove visual noise from UnoControls
...
Change-Id: I0ffbc08cf769e39e8c3b7519e8d2e13ccbe6e3d8
Reviewed-on: https://gerrit.libreoffice.org/8331
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-26 06:02:19 -06:00
Stephan Bergmann
8bcb8b187e
UnoControls: sal_Bool -> bool
...
Change-Id: Ic548cf07fe115c101771999a0dc8d370e57cd3ab
2014-02-18 08:18:29 +01:00
Stephan Bergmann
d706527fd8
bool improvements
...
Change-Id: I24fae431d9e2b99cd6ac937956bb401ecfebc943
2014-01-21 18:24:04 +01:00
Stephan Bergmann
2dde51e172
Remove odd service names (that duplicate type names)
...
Looks like no code instantiated these via those odd service names (except for
ProgressMonitor/StatusIndicator instantiating ProgressBar via odd
"com.sun.star.awt.XProgressBar" service name until that got cleaned up in the
previous commit).
Also looks like no code instantiates them via their implementation names either
(in which case ProgressBar/ProgressMonitor/StatusIndicator would be dead code),
but maybe there is code that dynamically constructs those implemenation names
and calls creeateInstance on them? So best leave the implementations in for
now...
Change-Id: I20b92345e343b1f776387f63d9b02a5b0a47fe21
2013-12-19 18:00:36 +01:00
Stephan Bergmann
f8db395a8a
Clean up UnoControls/source/controls/ further
...
...and create ProgressBar directly in ProgressMonitor/StatusIndicator, instead
of going via service manager.
Change-Id: I798e0c415c113cfc65d70ed17cb16aafded41a6d
2013-12-19 18:00:35 +01:00
Noel Grandin
33a0f8ce65
fdo#46808, Adapt awt::Toolkit UNO service to new style
...
Create a merged XToolkit2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.
Also mark sub-interfaces as non-optional.
Change-Id: I278d0288e92be277033013302267cf93f7d70480
2012-10-24 16:49:49 +02:00
Thomas Arnhold
2beba8f93e
reduce ascii noise and useless comments
...
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08 13:53:54 +02:00
Thomas Arnhold
49ad17e2b1
remove include comments and boxes
...
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-08 13:53:53 +02:00
Michael Meeks
ec54c0c45f
re-base on ALv2 code.
2012-07-03 13:10:11 +01:00
Norbert Thiebaud
a0a6250605
targeted string re-work
...
Change-Id: I5098274cfcc1a6ae18cfc3e8a0315fce63f05adc
2012-06-02 12:58:05 -05:00
Szabolcs Dezsi
c39d96a8e9
Removed RTL_CONSTASCII_USTRINGPARAM from UnoControls
2012-04-19 09:36:55 +02:00
Gert Faller
70d41584c2
RTL_CONSTASCII_USTRINGPARAM in components 5
2010-11-29 22:46:41 +01:00
Joseph Powers
ddec70f39e
Macro Cleanup in UNO land.
2010-11-01 00:16:13 -05:00
Sebastian Spaeth
ead7290449
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:23 +02:00
Jens-Heiner Rechtien
36de66bdf0
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
c3c798dd5e
INTEGRATION: CWS changefileheader (1.8.4); FILE MERGED
...
2008/04/01 16:03:03 thb 1.8.4.3: #i85898# Stripping all external header guards
2008/04/01 12:59:01 thb 1.8.4.2: #i85898# Stripping all external header guards
2008/03/31 13:07:32 rt 1.8.4.1: #i87441# Change license header to LPGL v3.
2008-04-11 06:15:51 +00:00
Ivo Hinkelmann
0d069ad5fa
INTEGRATION: CWS gcc430two (1.7.22); FILE MERGED
...
2008/01/28 09:53:01 rene 1.7.22.1: more gcc 4.3.0 things
2008-02-04 12:40:38 +00:00
Jens-Heiner Rechtien
2472b572e6
INTEGRATION: CWS warnings01 (1.6.4); FILE MERGED
...
2005/10/25 09:12:55 pl 1.6.4.1: #i55991# removed warnings for solaris platform
2006-06-19 22:09:34 +00:00
Rüdiger Timm
0d389734e2
INTEGRATION: CWS ooo19126 (1.5.18); FILE MERGED
...
2005/09/05 16:59:17 rt 1.5.18.1: #i54170# Change license header: remove SISSL
2005-09-09 08:18:40 +00:00
Sander Vesik
606eef6241
INTEGRATION: CWS ooo20040329 (1.4.84); FILE MERGED
...
2004/03/17 12:26:48 waratah 1.4.84.1: #i1858# alter the order of some definitions to fix some -Wall warnings
2004-04-21 12:49:46 +00:00
Jens-Heiner Rechtien
43c6faad9a
#65293#: exception specifications
2001-09-27 12:42:25 +00:00
Thomas Lange
136bd25e0e
#91404# setRange forces m_nValue to be within the range now
2001-08-23 12:55:37 +00:00
Andreas Schlüns
935b7d5723
#67297# #83085# repair progress value
2001-08-10 11:04:15 +00:00
Jens-Heiner Rechtien
95117e7fef
initial import
2000-09-18 15:18:56 +00:00