Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I94619f2a3274c719366ae947771e10ffc39f70fe
|
|
and
coverity#1222239 Untrusted value as argument
Change-Id: I48bacfd988a34d67ffa542edba7cba1bb9b0b3cc
|
|
Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
|
|
Change-Id: Ibf78e5cd1620f0b61cae030e3870be4a6f87e71d
|
|
Find places where we are returning a pointer to something, where we can
be returning a reference.
e.g.
class A {
struct X x;
public X* getX() { return &x; }
}
which can be:
public X& getX() { return x; }
Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
|
|
Change-Id: I8e6a81b6c1605bd1be33f5f8d75d2472a39361d4
|
|
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
|
|
and coverity#736886 Unintended sign extension
promote from unsigned short to size_t immediately rather than implicitly to int
and then have the int result widened to size_t
Change-Id: I3156ed9628287a84da35d97caec8d91ce942986d
|
|
Change-Id: Ieceecb849ade05a4f6dcd6c783da6ab53508323d
|
|
Change-Id: I8c94c63230eec13bf22043ff07f9f480a0463111
|
|
Change-Id: Ifdb7c139fa6db7fef2896098f758769cb5284b28
|
|
Change-Id: Id4d5d6aaf537172ad8e1f6c422465c6f84d99dbf
|
|
Change-Id: I11bdee00bd42ef302dbbfe9f52de5824aec985ee
|
|
Change-Id: I08bd15316e7952d05b769326c0a8a1d3493b0eb8
|
|
Change-Id: I727ae1c4a2c1a0c321580a9a8948c48ee9bbfcab
|
|
Change-Id: If83bcfb0e39c0b41ea5323b0ad3832bd65185c6c
|
|
Change-Id: I9db006805bfd457663762e2fd2863d096b2547b4
|
|
after my commit 184a00b96235f6432294ded63ce4a4a318effdb5
"loplugin: inlinesimplememberfunctions"
Change-Id: Ib46d862b90566506c3035a12eeb01892b225ed51
|
|
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
|
|
Change-Id: I32b6475812be6dfd9912f7fc6646b349cdbfbbe1
|
|
Change-Id: I8e182a18e70f230e67f2f452bbfca442e5585212
|
|
Change-Id: I790904fb030d2bfc96cd967b2b4b449e62f8c536
|
|
Change-Id: I1539597cd5bcabcbf0295d1acc320c503ad53604
|
|
(assuming this shall always be little endian, given "Intel" in the function names)
Change-Id: Iff7e1305108dd0f8d9fae762c1f715e2e7b481b3
|
|
Change-Id: Iecfddf21f19313f46ee2544fad9c4df1e399e0f5
|
|
This required some changes to the framework:
* Init-/DeInitVCL is no longer done per individual test in BootstrapFixture, but
once per CppunitTest invocation in a new vclbootstrapprotector (similarly to
the exisiting unobootstrapprotector). CppunitTests that need VCL now need to
declare gb_CppunitTest_use_vcl.
* For things to work properly, the UNO component context needs to be disposed
from within DeInitVCL (cf. Desktop's Application::DeInit called from
DeInitVCL). The easiest solution was to introduce an
Application::setDeInitHook (where the hook is called from DeInitVCL)
specifically for vclbootstrapprotector to call.
* PythonTests don't (yet) call DeInitVCL; they still hook into
BootstrapFixture's original test_init functionality (to call InitVCL), and do
not make use of the vclbootstrapprotector.
Change-Id: I4f3a3c75db30b58c1cd49d81c51db14902ed68b2
|
|
Added header guards to files in directories l10ntools/, lotuswordpro/, and rsc/
Change-Id: I9c034d4bb5c92d78378bda4658d43a8b603d5281
Reviewed-on: https://gerrit.libreoffice.org/9581
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
|
|
A simplified version of the semantic match that finds this problem is
follows: (http://coccinelle.lip6.fr/)
// <smpl>
@r1@
statement S;
position p,p1;
@@
S@p1;@p
@script:python r2@
p << r1.p;
p1 << r1.p1;
@@
if p[0].line != p1[0].line_end:
cocci.include_match(False)
@@
position r1.p;
@@
-;@p
// </smpl>
Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e
Reviewed-on: https://gerrit.libreoffice.org/9493
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: I81f2a4be65bbc9359e51accccb746f1e8ea48c4f
|
|
Change-Id: I1fc0d86a73615aa80fc9bb17167d6bc5b85088d1
|
|
Change-Id: Ib0c5d5c0b0b3c6c290e7e1bbe18464155232ace3
|
|
2m21s -> 47s
Change-Id: I5fd321bb34840c71f22705790aab06e83350261e
|
|
Change-Id: I0461ef7af824e1fda04135154682fc4dba8a8693
|
|
Change-Id: Ied5806a1706473ac0fe4e1baebb71256cf56681d
|
|
Change-Id: Ic4fb478921714429af138ca212bd7f67f408d434
|
|
Change-Id: Iefbf36d2ce0f98c61a0d9f5d04b77a3505980e80
|
|
Change-Id: Ia603fd0fca212d4c67daaab87199906c29e3cec7
|
|
Change-Id: I869b2efee4648b02cf1b8d5b3667004d6933c40d
|
|
Change-Id: I017d284a2fbc8d50a9928c9d934ffe710b0c652f
|
|
Change-Id: I7ef74df22a65c1de396fc9211ac1adefc48fe849
|
|
Change-Id: Ic3e01b5ecfb159d88c7c849a85ff612cdda5b418
|
|
Change-Id: I6c1f8dc33e3ba3257044889d7aae1223572590e9
|
|
Change-Id: Ia88d83a209113fa4c351c0300d407da0c71baeac
|
|
Change-Id: I4e1e9f8c9b98fa77c8149fc5f876a2e7777b19e8
|
|
|
|
|
|
Change-Id: I07b698a72ada7a56fb8b63232f25ee5a5edfc185
|
|
Change-Id: I5a96a726d956f0eac0a7e5441e6fcbb2fd0ae204
|
|
Change-Id: I96fd8829d8854e3d3412ef4a0ba9fadf838e0f48
|
|
Change-Id: I5edf11a51b4d32a1a7257857b03ce7814af442e3
|