- 13 May, 2019 1 kayıt (commit)
-
-
Noel Grandin yazdı
By creating deleted methods for the wrong calls. Avoids the compiler needing to construct a temporary Change-Id: I3b8c648d6bb22d22827bf74f21ea5a2a17fc0f6a Reviewed-on: https://gerrit.libreoffice.org/72103 Tested-by: Jenkins Reviewed-by:
Noel Grandin <noel.grandin@collabora.co.uk>
-
- 02 May, 2019 1 kayıt (commit)
-
-
Arkadiy Illarionov yazdı
Similar to clang-tidy readability-container-size-empty Change-Id: Idefe55e37f5c837c889548ffe7c5711400012a4d Reviewed-on: https://gerrit.libreoffice.org/71667 Tested-by: Jenkins Reviewed-by:
Noel Grandin <noel.grandin@collabora.co.uk>
-
- 15 Eki, 2018 1 kayıt (commit)
-
-
Arkadiy Illarionov yazdı
Use range-based loop or replace with STL functions. Change-Id: I5a43f6fc62c81453dcef3820bb715f4da76915af Reviewed-on: https://gerrit.libreoffice.org/61762 Tested-by: Jenkins Reviewed-by:
Noel Grandin <noel.grandin@collabora.co.uk>
-
- 08 Eki, 2018 1 kayıt (commit)
-
-
Stephan Bergmann yazdı
Change-Id: I5cb4fad28312e3ab28f26d7e12169d6db25e3758
-
- 19 Eyl, 2018 1 kayıt (commit)
-
-
Noel Grandin yazdı
Change-Id: I9d9cfd107bea9556cbc505e977838fb13bd25e2a Reviewed-on: https://gerrit.libreoffice.org/60573 Tested-by: Jenkins Reviewed-by:
Noel Grandin <noel.grandin@collabora.co.uk>
-
- 10 Eyl, 2018 1 kayıt (commit)
-
-
Gabor Kelemen yazdı
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ib420e9216b8313f5ed7634ec375e39ceb741fd45 Reviewed-on: https://gerrit.libreoffice.org/59297 Tested-by: Jenkins Reviewed-by:
Miklos Vajna <vmiklos@collabora.co.uk>
-
- 25 May, 2018 1 kayıt (commit)
-
-
Noel Grandin yazdı
(*) if we are already throwing a Wrapped*Exception, get the exception using cppu::getCaughtexception. (*) when catching and then immediately throwing UNO exceptions, use cppu::getCaughtException to prevent exception slicing (*) if we are going to catch an exception and then immediately throw a RuntimeException, rather throw a WrappedTargetRuntimeException and preserve the original exception information. Change-Id: Ia7a501a50ae0e6f4d05186333c8517fdcb17d558 Reviewed-on: https://gerrit.libreoffice.org/54692Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Noel Grandin <noel.grandin@collabora.co.uk>
-
- 27 Ara, 2017 1 kayıt (commit)
-
-
Andrea Gelmini yazdı
Change-Id: Icebbbb392d9187a11837b72116c00036247e9b74 Reviewed-on: https://gerrit.libreoffice.org/47104Reviewed-by:
Julien Nabet <serval2412@yahoo.fr> Tested-by:
Julien Nabet <serval2412@yahoo.fr>
-
- 11 Ara, 2017 1 kayıt (commit)
-
-
Noel Grandin yazdı
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/46164Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Noel Grandin <noel.grandin@collabora.co.uk>
-
- 05 Ara, 2017 1 kayıt (commit)
-
-
Noel Grandin yazdı
first, since those are safer to change than virtual methods Change-Id: Ie3b624019d75ee2b793cee33b3c5f64e994e8bfe Reviewed-on: https://gerrit.libreoffice.org/45798Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Noel Grandin <noel.grandin@collabora.co.uk>
-
- 27 Eyl, 2017 1 kayıt (commit)
-
-
Noel Grandin yazdı
Change-Id: I6d4be3e1cc29b2b91d5c39b757ff3b903c47112d Reviewed-on: https://gerrit.libreoffice.org/42794Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Noel Grandin <noel.grandin@collabora.co.uk>
-
- 13 Eyl, 2017 1 kayıt (commit)
-
-
Stephan Bergmann yazdı
...motivated by <https://gerrit.libreoffice.org/#/c/41565/2> adding dead code at the end of a switch statement, after the last case's "break". -Wunreachable-code appears to work well on Clang, while it appears to have no effect on GCC. Most of the affected places are apparently temporary/TODO/FIXME cases of disabling code via "if (false)", which can be written with an extra set of parentheses as "if ((false))" to silence -Wunreachable-code on Clang (which thus needed loplugin:unnecessaryparen to be adapted accordingly). In some cases, the controlling expression was more complex than just "false" and needed to be rewritten by taking it out of the if statement to silence Clang. One noteworthy case where the nature of the disabled code wasn't immediately apparent: Sep 12 16:59:58 <sberg> quikee, is that "if (false)" in ScExponentialSmoothingDialog::ApplyOutput (sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx) some work-in- progress or dead code? Sep 12 17:02:03 <quikee> sberg: WIP, but you can remove it Sep 12 17:04:47 <sberg> quikee, I'll wrap the false in an extra set of parentheses for now, to silence -Wunreachable-code (I wouldn't want to remove it, as I have no idea whether I should then also remove the "Initial value" comment preceding it) Sep 12 17:07:29 <quikee> sberg: both are different ways to calculate the "intital value"... so no Another case where the nature of the dead code, following while (true) loops without breaks, is unclear is sd/source/ui/remotecontrol/BluetoothServer.cxx, where I added TODO markers to the workarounds that silence the warnings for now. basic/source/sbx/sbxvalue.cxx had a variable of type double, of automatic storage duration, and without an initalizer at the top of a switch statement. Clang warning about it is arguably a false positive. Apart from that, this didn't find any cases of genuinely dead code in the existing code base. Change-Id: Ib00b822c8efec94278c048783d5997b8ba86a94c Reviewed-on: https://gerrit.libreoffice.org/42217Tested-by:
Stephan Bergmann <sbergman@redhat.com> Reviewed-by:
Stephan Bergmann <sbergman@redhat.com>
-
- 05 Tem, 2017 1 kayıt (commit)
-
-
Noel Grandin yazdı
Change-Id: Ic883a07b30069ca6342d7521c8ad890f4326f0ec Reviewed-on: https://gerrit.libreoffice.org/39549Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Noel Grandin <noel.grandin@collabora.co.uk>
-
- 03 Tem, 2017 1 kayıt (commit)
-
-
Jochen Nitschke yazdı
std::unary_function is deprecated since C++11 and removed in C++17 90% done with regexp magic. removed obsolete <functional> includes. The std::unary_function base class was used in 3 places: * chart2/source/tools/DataSeriesHelper.cxx: lcl_MatchesRole is used in a std::not1 function helper who uses the members return_type and argument_type. - replace deprecated std::not1 with a lambda * chart2/source/tools/ModifyListenerHelper.cxx: lcl_weakReferenceToSame used the argument_type member in the operator() parameter. - inline the parameter type. * xmloff/source/chart/SchXMLExport.cxx: lcl_SequenceToMapElement used result_type and argument_type in operator(). - inline the types Also fix compile error with gcc about finding std::for_each. Change-Id: I073673beb01410c3108e7d0346d9e7d6b9ad2e2f Reviewed-on: https://gerrit.libreoffice.org/39358Reviewed-by:
Stephan Bergmann <sbergman@redhat.com> Tested-by:
Stephan Bergmann <sbergman@redhat.com>
-
- 02 Tem, 2017 2 kayıt (commit)
-
-
Stephan Bergmann yazdı
Change-Id: Iee9338990b2a86f91d97b8add16136f43fad4b70
-
Stephan Bergmann yazdı
...ever since the code's introduction with 96710144 "INTEGRATION: CWS odfmetadata" Change-Id: I18f5a18bf42b4b945b197f5294597fdfe2fbbeca
-
- 31 May, 2017 1 kayıt (commit)
-
-
Noel Grandin yazdı
Change-Id: I832f7ef0f1bd55e365db7e49823fe8bc30390c04 Reviewed-on: https://gerrit.libreoffice.org/38215Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Noel Grandin <noel.grandin@collabora.co.uk>
-
- 18 May, 2017 3 kayıt (commit)
-
-
Stephan Bergmann yazdı
This reverts commit 26a67002. "Iff" is not a typo, see 2a65bf32 "Revert 'Typo: iff->if'".
-
Andrea Gelmini yazdı
Only replaced "iff" with "if" Change-Id: Ib9dfa5c12b05500043147fe3b65f923b1b12a581 Reviewed-on: https://gerrit.libreoffice.org/37782Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Eike Rathke <erack@redhat.com>
-
Dilek Uzulmez yazdı
Change-Id: I37ab94954f30ad24418ee7453911557ded4f5ee8 Reviewed-on: https://gerrit.libreoffice.org/37707Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Stephan Bergmann <sbergman@redhat.com>
-
- 06 Şub, 2017 1 kayıt (commit)
-
-
Stephan Bergmann yazdı
...and remove some unncessary using directives/declarations, in preparation of removing now-unnecessary #includes from cppumaker-generated files, post e57ca028 "Remove dynamic exception specifications". Change-Id: Iaf1f268871e2ee1d1c76cf90f03557527ebc9067
-
- 28 Ock, 2017 1 kayıt (commit)
-
-
Noel Grandin yazdı
..calls when creating exceptions Change-Id: I3bc58a5aa4dc6f0508ecb88b3a843b96b8c7ebfe Reviewed-on: https://gerrit.libreoffice.org/33617Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Noel Grandin <noel.grandin@collabora.co.uk>
-
- 26 Ock, 2017 1 kayıt (commit)
-
-
Stephan Bergmann yazdı
...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html> "Dynamic Exception Specifications" for details. Most changes have been done automatically by the rewriting loplugin:dynexcspec (after enabling the rewriting mode, to be committed shortly). The way it only removes exception specs from declarations if it also sees a definition, it identified some dead declarations-w/o-definitions (that have been removed manually) and some cases where a definition appeared in multiple include files (which have also been cleaned up manually). There's also been cases of macro paramters (that were used to abstract over exception specs) that have become unused now (and been removed). Furthermore, some code needed to be cleaned up manually (avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no configurations available that would actually build that code. Missing @throws documentation has not been applied in such manual clean-up. Change-Id: I3408691256c9b0c12bc5332de976743626e13960 Reviewed-on: https://gerrit.libreoffice.org/33574Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Stephan Bergmann <sbergman@redhat.com>
-
- 10 Ock, 2017 1 kayıt (commit)
-
-
Stephan Bergmann yazdı
Change-Id: If8b214482c96e6c302baa31efbdd2d3d0fd96fb7
-
- 24 Kas, 2016 1 kayıt (commit)
-
-
Stephan Bergmann yazdı
Change-Id: Ieca0d355031f25731a519be26145cda3b2172cb1
-
- 31 Eki, 2016 1 kayıt (commit)
-
-
Noel Grandin yazdı
Change-Id: I3b97665908be0a44d24192433bdc9c2bd9008736 Reviewed-on: https://gerrit.libreoffice.org/30431Reviewed-by:
Noel Grandin <noel.grandin@collabora.co.uk> Tested-by:
Noel Grandin <noel.grandin@collabora.co.uk>
-
- 13 Eyl, 2016 1 kayıt (commit)
-
-
Stephan Bergmann yazdı
The issue of 362d4f0c "Explicitly mark overriding destructors as 'virtual'" appears to no longer be a problem with MSVC 2013. (The little change in the rewriting code of compilerplugins/clang/override.cxx was necessary to prevent an endless loop when adding "override" to OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager(); in chart2/source/inc/LifeTime.hxx, getting stuck in the leading OOO_DLLPUBLIC_CHARTTOOLS macro. Can't remember what that isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.) Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
-
- 08 Tem, 2016 1 kayıt (commit)
-
-
Stephan Bergmann yazdı
Change-Id: I75db798c0b7d6951fc278b91f4162fa7c7ffd79c
-
- 01 Nis, 2016 1 kayıt (commit)
-
-
Wastack yazdı
Including no keywords from extern "C" blocks Change-Id: Ie3160af9decf04ceeda02dc20a6518afaa80f972 Reviewed-on: https://gerrit.libreoffice.org/23677Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Stephan Bergmann <sbergman@redhat.com>
-
- 24 Mar, 2016 2 kayıt (commit)
-
-
Michael Stahl yazdı
It was using a custom deleter anyway. Change-Id: I700b7cf314b7f837a7143206ba42e412c5a1670d
-
Michael Stahl yazdı
Change-Id: I996ca0589db8b73db045c87bbecfab03be9dbaef
-
- 29 Şub, 2016 1 kayıt (commit)
-
-
Noel Grandin yazdı
Change-Id: Icb2dc74263026d90b7998b3fd880fd5d2c67a3b7
-
- 09 Şub, 2016 1 kayıt (commit)
-
-
Chris Sherlock yazdı
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/22224Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Chris Sherlock <chris.sherlock79@gmail.com>
-
- 29 Ock, 2016 1 kayıt (commit)
-
-
Michael Stahl yazdı
Change-Id: Id8d73fa9a93cd793dbce0d3f84ddde86860f7308
-
- 21 Ara, 2015 1 kayıt (commit)
-
-
Noel Grandin yazdı
Change-Id: I824193a9f4b0196ce1127c5cbf16b0064dbb3446
-
- 15 Kas, 2015 1 kayıt (commit)
-
-
Noel Grandin yazdı
replaced using the script: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence< OUString > (\w+)\(1\); .*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g" Change-Id: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Noel Grandin <noelgrandin@gmail.com>
-
- 10 Kas, 2015 1 kayıt (commit)
-
-
Stephan Bergmann yazdı
Change-Id: I4f9d6c93a0bdbba290277a41537ba2728d1ee4f5
-
- 12 Eki, 2015 1 kayıt (commit)
-
-
Stephan Bergmann yazdı
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
-
- 30 Eyl, 2015 1 kayıt (commit)
-
-
Andrea Gelmini yazdı
Change-Id: Ia7394ab3c0aa28002a7022e73c2b7d9eb73dacb8 Reviewed-on: https://gerrit.libreoffice.org/18991Reviewed-by:
Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by:
Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
-
- 25 Eyl, 2015 1 kayıt (commit)
-
-
Daniel Robertson yazdı
Remove makeSequence. Change-Id: If07dc8702d811111fc634c9c7eb4c9a331517ca5 Reviewed-on: https://gerrit.libreoffice.org/18647Tested-by:
Jenkins <ci@libreoffice.org> Reviewed-by:
Stephan Bergmann <sbergman@redhat.com>
-