summaryrefslogtreecommitdiffstats
path: root/unodevtools
Commit message (Collapse)AuthorAgeFilesLines
* New loplugin:conststringvar: unodevtoolsStephan Bergmann2017-01-102-3/+3
| | | | Change-Id: I7bbe7f78b8e62962f907a598e8405be7d4be03c9
* Omit the default comparatorTakeshi Abe2016-11-011-2/+1
| | | | | | | Change-Id: Idea8ea8dab6a86d7be6394aef1cf7f25b75009e0 Reviewed-on: https://gerrit.libreoffice.org/30319 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
* loplugin:countusersofdefaultparams in svl..unodevtoolsNoel Grandin2016-08-112-3/+3
| | | | | | | Change-Id: Ie3d2cf29e99b8a51b80246aafa23a92e6c3404b2 Reviewed-on: https://gerrit.libreoffice.org/28017 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Get rid of unnecessary directory levels $D/inc/$DTor Lillqvist2016-05-273-5/+5
| | | | | | | | Change-Id: Ibf313b8948a493043006ebf3a8281487c1f67b48 Reviewed-on: https://gerrit.libreoffice.org/25532 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
* Remove unused pbOpt parameterStephan Bergmann2016-05-023-20/+18
| | | | Change-Id: I4c566a122d600d41d7d8049779628a08e68ca277
* loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann2016-04-202-2/+2
| | | | Change-Id: Ife577280d5176d9f48bff719c7b52fc829ae49f1
* Remove ornamental noiseStephan Bergmann2016-03-081-3/+3
| | | | Change-Id: Ic8d33142b6bd7d271e94ec93661f0260bb2ea6e2
* tdf#91794 Remove OSL_DEBUG_LEVEL > 1 conditionalsRohan Kumar2016-03-081-26/+3
| | | | | | | | | | I removed the fprintf statements and replaced them with SAL_WARN statements. Change-Id: Id75e310e3a95b249fdf92a4dd5a9bcf1b7fb9be6 Reviewed-on: https://gerrit.libreoffice.org/22984 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
* convert codemaker::UnoType::Sort to scoped enumNoel Grandin2016-02-244-132/+132
| | | | Change-Id: I70a84f777e714bcc20c2d7b06b918e3be0f3ce4a
* Use emplace_backStephan Bergmann2015-12-141-15/+13
| | | | Change-Id: I006e3c8f411b480917d9cfb9c4f3d082b79c833d
* loplugin:nullptr (automatic rewrite)Stephan Bergmann2015-11-105-12/+12
| | | | Change-Id: Ic89c5fb56e1f11fa17f6014a8c9722592b144337
* new loplugin: oncevarNoel Grandin2015-11-091-4/+2
| | | | | | | Change-Id: If57390510dde4d166be3141b9f658a7453755d3f Reviewed-on: https://gerrit.libreoffice.org/19815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* coverity#1338260 Uncaught exceptionCaolán McNamara2015-11-061-0/+3
| | | | Change-Id: Ib969223cb5c8acdad0e97ff9b944703d3ee43825
* use uno::Reference::set method instead of assignmentNoel Grandin2015-11-051-4/+2
| | | | Change-Id: Id57ccff7ea6cf5c7053b51268b1190f5459bb357
* loplugin: defaultparamsNoel Grandin2015-08-114-6/+6
| | | | Change-Id: I50ba6a836473961d952ed88e56532501469c5368
* cppcheck: badBitmaskCheckCaolán McNamara2015-08-101-1/+1
| | | | Change-Id: I0a6787379317e5077c5a4520e5144fe091a01538
* Fix typosAndrea Gelmini2015-06-161-1/+1
| | | | | | | Change-Id: Ieaf67cf597e05dbae5affa153af907fda4462a41 Reviewed-on: https://gerrit.libreoffice.org/16295 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* cppcheck:redundantAssignmentNoel Grandin2015-06-151-1/+1
| | | | Change-Id: I1167d0ce6b6f6e48309d0551c1d2a283d79546a7
* override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl2015-01-091-3/+3
| | | | Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
* unodevtools: Use appropriate OUString functions on string constantsStephan Bergmann2014-12-163-18/+18
| | | | Change-Id: I70a86543c0269cbaeefc9cbe1da30c2ad7e48333
* unodevtools: loplugin:cstylecastStephan Bergmann2014-12-042-12/+12
| | | | Change-Id: Id4bd8bb8361204ae281a090840b08c502e5b4a7a
* fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava2014-11-141-1/+1
| | | | | | | Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* Fix common typos. No automatic tools. Handmade…Andrea Gelmini2014-11-121-1/+1
| | | | | | | Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* remove unnecessary 'using namespace rtl' declarationsNoel Grandin2014-10-297-9/+0
| | | | | | | | | 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>
* New loplugin:stringconcatStephan Bergmann2014-07-015-55/+53
| | | | Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
* cppcheck: Redundant checking of STL containerJulien Nabet2014-06-211-11/+4
| | | | Change-Id: I83a8671e90431bbc4f41392f062d37c452b018ff
* various: remove SAL_THROW macroNoel Grandin2014-06-051-1/+1
| | | | Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
* compareTo -> equalsNoel Grandin2014-06-041-6/+6
| | | | | | | convert OUString::compareTo usage to equals to startsWith where it is more appropriate Change-Id: I6f5b5b7942429c0099ad082ba4984fd18e422121
* simplify ternary conditions "xxx ? yyy : false"Noel Grandin2014-05-052-2/+2
| | | | | | | | | Look for code like: xxx ? yyy : false; Which can be simplified to: xxx && yyy Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
* Clean up function declarationsStephan Bergmann2014-04-085-35/+31
| | | | Change-Id: I18125ac6c58c89f76c3a6cfb3a7ee77b1059aeb1
* remove unnecessary scope qualifier from sal_Bool usesNoel Grandin2014-04-031-1/+1
| | | | | | i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
* Make parameters const too.Andrzej Hunt2014-03-181-2/+2
| | | | | | (Following on from loplugin:passstringbyref) Change-Id: I9100f51aa7420b237c84de7d36d2374ac6612d00
* loplugin:passstringbyrefAndrzej Hunt2014-03-181-1/+1
| | | | Change-Id: Ic88d78418fb9380dece316544e0afb4d8660f8e6
* Spelling fix: suportedTor Lillqvist2014-03-122-2/+2
| | | | Change-Id: I3b67edd5ba4541a65cb0916abea6db1362c32afd
* unodevtools: rename makefile like the ExecutableMichael Stahl2014-03-032-1/+1
| | | | Change-Id: Icf8df0829aecf838d0037a3393f27e90c23b9548
* Remove visual noise from unodevtoolsAlexander Wilms2014-02-261-2/+2
| | | | | | | Change-Id: Ib8047c4606874d5bc6ce024bf34ee518cc51581b Reviewed-on: https://gerrit.libreoffice.org/8332 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Remove unneccessary commentsAlexander Wilms2014-02-231-3/+3
| | | | | | | Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* unodevtools: sal_Bool -> boolStephan Bergmann2014-02-172-11/+11
| | | | Change-Id: Ie62a7d184f4982a5164c183f6e38d534b94df1bd
* codemaker: sal_Bool -> boolStephan Bergmann2014-02-172-3/+3
| | | | Change-Id: I2cacac2aa7e48b3b9d8d060137d5c6d6f1d06b3f
* remove unnecessary use of OUString constructorNoel Grandin2013-11-111-1/+1
| | | | Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
* fixincludeguards.sh: uno*Thomas Arnhold2013-11-052-6/+6
| | | | Change-Id: I8fb3c25cd583b688104a0ee8620696e7b2958ab5
* Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin2013-10-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
* Revert "WIP: add cppumaker -U to directly read from .idl files"Stephan Bergmann2013-09-161-1/+1
| | | | | This reverts commit c4113906d7f15f8aa0eb385a4caf474b3505ede1, which is not necessary after all with recent "Hook SourceProvider into unoidl::loadProvider."
* WIP: add cppumaker -U to directly read from .idl filesStephan Bergmann2013-09-121-1/+1
| | | | Change-Id: I420847515b6b691ae81a249a8820cf9a3d132372
* unodevtools: drop support for skeletonmaker --java4 parameterMichael Stahl2013-08-265-73/+33
| | | | | | Minimum requirement has been Java 1.5 for years now. Change-Id: Id512507db1fc12c92d8f7662505eda6866da2fc6
* unodevtools: why does the C++ generating code check java5 flag?Michael Stahl2013-08-261-2/+2
| | | | Change-Id: I598698948a3543f1c020cc4a4b8db8799eb314a5
* added FIXME-BCP47 commentEike Rathke2013-07-111-0/+1
| | | | Change-Id: I77416a9e275dc204b3b82807d27b5276ad4f497f
* added FIXME-BCP47 commentEike Rathke2013-07-111-0/+1
| | | | Change-Id: I202c53a094ac7ddcbd1fa0d2367058aba56820ed
* fdo#43460 include,registry,svtools,svx,unodevtools: use isEmpty()Jelle van der Waa2013-06-182-3/+3
| | | | | | | Change-Id: I6e35b91092239275694eec3666b076f7ff7e54f6 Reviewed-on: https://gerrit.libreoffice.org/4335 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
* Support for annotations in the new UNOIDL formatStephan Bergmann2013-05-163-34/+35
| | | | | | | | | | ...used for now to transport @deprecated information. Also, improve Idx-String (formerly Idx-Name, but also used for UTF-8 annotations now) format, using the 0x80000000 for the indirection rather than the base case. (And the README erroneously used "Offset of" Idx-String all over the place.) Change-Id: I7003b1558ab536a11a9af308f9b16a7ef8840792