Gabor Kelemen
9ae1e92464
tdf#146619 Run IWYU on binaryurp/
...
Change-Id: Ie3bcad1a6653350ae10ed69371138d3d413a51e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188750
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de >
2025-08-18 20:19:18 +02:00
Noel Grandin
b36b225c6a
clang-tidy modernize-pass-by-value in binaryurp
...
Change-Id: I1570ed8ace3e1684ad228efbd8b13d2fe9b0f2af
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134706
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
2022-05-21 17:30:08 +02:00
Noel Grandin
953d8429c9
loplugin:moveparam in binaryurp
...
Change-Id: Ia69e2307872813ede3339c0e9fbe1f2ae6a3508a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123246
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
2021-10-08 17:10:07 +02:00
Noel Grandin
3af500580b
loplugin:salcall fix functions
...
since cdecl is the default calling convention on Windows for
such functions, the annotation is redundant.
Change-Id: I1a85fa27e5ac65ce0e04a19bde74c90800ffaa2d
Reviewed-on: https://gerrit.libreoffice.org/46164
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
2017-12-11 12:13:46 +01:00
Mike Kaganski
ff578127e2
binaryurp: consistently use "" and <> for include directives
...
Change-Id: If328428d7f88d8a160888857acd3a07bbd8dab83
Reviewed-on: https://gerrit.libreoffice.org/43318
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com >
2017-10-11 07:02:55 +02:00
Noel Grandin
84cbd6a543
clang-tidy modernize-use-emplace in b*
...
Change-Id: I51e0369ba2e1fe0b7c934531f71d3bda95ba09ec
Reviewed-on: https://gerrit.libreoffice.org/42109
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
2017-09-08 20:17:31 +02:00
Stephan Bergmann
e9d64ca080
Replace use of oslInterlockedCount with std::atomic
...
The assumption in using std::size_t is that every acquisition can be associated
with a unique memory location in the local address space, so the counter cannot
overflow.
Change-Id: I0d004a81d9bf52cf07d13481d9024fcc10b6db6d
Reviewed-on: https://gerrit.libreoffice.org/41580
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
2017-08-25 22:46:11 +02:00
Stephan Bergmann
d689ad29c2
New o3tl::runtimeToOUString to convert from C++ runtime NTBS to OUString
...
Change-Id: I613bb70b6828f615fd45af38b2d873ece55ace60
2016-11-23 23:11:02 +01:00
Chris Sherlock
a238b1f8d3
Remove excess newlines
...
A ridiculously fast way of doing this is:
for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \
--exclude-dir=workdir --exclude-dir=instdir '^
{3,}' .)
do
perl -0777 -i -pe 's/^
{3,}/
/gm' $i
done
Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Reviewed-on: https://gerrit.libreoffice.org/22224
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com >
2016-02-09 08:18:05 +00:00
Stephan Bergmann
e68121b3c1
loplugin:nullptr (automatic rewrite)
...
Change-Id: Ic3516d9069cbe935f5b82aec0afac3facdc814a5
2015-11-10 10:31:17 +01:00
Benjamin Ni
be729e7721
tdf#94269: Replace "n" prefix for bool variables with "b"
...
Change-Id: I178545792c7354a362658ac7ef8b1d4cf0865797
Signed-off-by: Michael Stahl <mstahl@redhat.com >
2015-11-02 23:40:57 +01:00
Stephan Bergmann
f2d8fdabd0
cid#1212456 Silently ignore uno_assignData return value here
...
...which must be true for pDestTypeDescr == pSourceTypeDescr.
Change-Id: I98b4d654eb0e705ff0b577e7c87971b418ed13fc
2014-10-31 14:03:26 +01:00
Noel Grandin
3e82897353
improve the inlinesimplememberfunctions clang plugin
...
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
Noel Grandin
e7bc3cab01
remove boilerplate in UNO Exception constructor calls
...
Now that we have default values for Exception constructor params,
remove lots of boilerplate code.
Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23 15:06:00 +02:00
Thorsten Behrens
66a175834c
c++ API: use css alias in generated headers, adds global css decl
...
This changes all generated API headers (.hpp and .hdl) to use a
namespace alias 'css' instead of the pointlessly long com::sun::star
Makes the change in cppumaker & associated tools, adds a global
namespace alias definition in sal/types.h, and removes a kiloton
of local, now pointless-to-harmful versions of that alias from all
over the code.
Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30 14:36:36 +01:00
Norbert Thiebaud
750fc20611
replace remaining InterlockedCount() with inlined version
...
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
2012-09-25 01:55:38 +00:00
Stephan Bergmann
7a7a2c5495
Cosmetics
...
Change-Id: I7b217c4fb48bbee4a2872d15cf23a955b464ffca
2012-09-05 10:12:40 +02:00
Ricardo Montania
a60f911214
OUString and RTL_CONSTASCII cleanup
...
Change-Id: Ic56451b2c13d8561bb6e6ee92bf9147b35640a5c
2012-09-05 09:26:10 +02:00
Ricardo Montania
e47fe5cc40
Change rtl::OUString to OUString
...
My first commit. Any problem, question, warnings, please tell me.
Change-Id: Ibb02fe15776f3ffe74ddb9488c63a45c447bb493
2012-08-22 16:45:38 +02:00
Michael Meeks
b3d8fd8a41
re-base on ALv2 code.
2012-06-12 17:51:46 +01:00
Takeshi Abe
7113c7152d
catch by constant reference
2011-11-30 11:27:42 +09:00
Stephan Bergmann
ebdbd2b578
Adapted to new assertion/logging mechanisms.
2011-11-28 22:05:46 +01:00
Caolán McNamara
bc09ec8dee
add mode lines to new files
2011-06-02 16:49:28 +01:00
sb
138ab06ecc
sb138: #i116038# fresh implementation of binary URP bridge
2011-01-26 09:26:59 +01:00