summaryrefslogtreecommitdiff
path: root/unodevtools
AgeCommit message (Collapse)AuthorFilesLines
2016-11-01Omit the default comparatorTakeshi Abe1-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>
2016-08-11loplugin:countusersofdefaultparams in svl..unodevtoolsNoel Grandin2-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>
2016-05-27Get rid of unnecessary directory levels $D/inc/$DTor Lillqvist3-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>
2016-05-02Remove unused pbOpt parameterStephan Bergmann3-20/+18
Change-Id: I4c566a122d600d41d7d8049779628a08e68ca277
2016-04-20loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann2-2/+2
Change-Id: Ife577280d5176d9f48bff719c7b52fc829ae49f1
2016-03-08Remove ornamental noiseStephan Bergmann1-3/+3
Change-Id: Ic8d33142b6bd7d271e94ec93661f0260bb2ea6e2
2016-03-08tdf#91794 Remove OSL_DEBUG_LEVEL > 1 conditionalsRohan Kumar1-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>
2016-02-24convert codemaker::UnoType::Sort to scoped enumNoel Grandin4-132/+132
Change-Id: I70a84f777e714bcc20c2d7b06b918e3be0f3ce4a
2015-12-14Use emplace_backStephan Bergmann1-15/+13
Change-Id: I006e3c8f411b480917d9cfb9c4f3d082b79c833d
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann5-12/+12
Change-Id: Ic89c5fb56e1f11fa17f6014a8c9722592b144337
2015-11-09new loplugin: oncevarNoel Grandin1-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>
2015-11-06coverity#1338260 Uncaught exceptionCaolán McNamara1-0/+3
Change-Id: Ib969223cb5c8acdad0e97ff9b944703d3ee43825
2015-11-05use uno::Reference::set method instead of assignmentNoel Grandin1-4/+2
Change-Id: Id57ccff7ea6cf5c7053b51268b1190f5459bb357
2015-08-11loplugin: defaultparamsNoel Grandin4-6/+6
Change-Id: I50ba6a836473961d952ed88e56532501469c5368
2015-08-10cppcheck: badBitmaskCheckCaolán McNamara1-1/+1
Change-Id: I0a6787379317e5077c5a4520e5144fe091a01538
2015-06-16Fix typosAndrea Gelmini1-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>
2015-06-15cppcheck:redundantAssignmentNoel Grandin1-1/+1
Change-Id: I1167d0ce6b6f6e48309d0551c1d2a283d79546a7
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl1-3/+3
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2014-12-16unodevtools: Use appropriate OUString functions on string constantsStephan Bergmann3-18/+18
Change-Id: I70a86543c0269cbaeefc9cbe1da30c2ad7e48333
2014-12-04unodevtools: loplugin:cstylecastStephan Bergmann2-12/+12
Change-Id: Id4bd8bb8361204ae281a090840b08c502e5b4a7a
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava1-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>
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini1-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>
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin7-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>
2014-07-01New loplugin:stringconcatStephan Bergmann5-55/+53
Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
2014-06-21cppcheck: Redundant checking of STL containerJulien Nabet1-11/+4
Change-Id: I83a8671e90431bbc4f41392f062d37c452b018ff
2014-06-05various: remove SAL_THROW macroNoel Grandin1-1/+1
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-06-04compareTo -> equalsNoel Grandin1-6/+6
convert OUString::compareTo usage to equals to startsWith where it is more appropriate Change-Id: I6f5b5b7942429c0099ad082ba4984fd18e422121
2014-05-05simplify ternary conditions "xxx ? yyy : false"Noel Grandin2-2/+2
Look for code like: xxx ? yyy : false; Which can be simplified to: xxx && yyy Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
2014-04-08Clean up function declarationsStephan Bergmann5-35/+31
Change-Id: I18125ac6c58c89f76c3a6cfb3a7ee77b1059aeb1
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin1-1/+1
i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-03-18Make parameters const too.Andrzej Hunt1-2/+2
(Following on from loplugin:passstringbyref) Change-Id: I9100f51aa7420b237c84de7d36d2374ac6612d00
2014-03-18loplugin:passstringbyrefAndrzej Hunt1-1/+1
Change-Id: Ic88d78418fb9380dece316544e0afb4d8660f8e6
2014-03-12Spelling fix: suportedTor Lillqvist2-2/+2
Change-Id: I3b67edd5ba4541a65cb0916abea6db1362c32afd
2014-03-03unodevtools: rename makefile like the ExecutableMichael Stahl2-1/+1
Change-Id: Icf8df0829aecf838d0037a3393f27e90c23b9548
2014-02-26Remove visual noise from unodevtoolsAlexander Wilms1-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>
2014-02-23Remove unneccessary commentsAlexander Wilms1-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>
2014-02-17unodevtools: sal_Bool -> boolStephan Bergmann2-11/+11
Change-Id: Ie62a7d184f4982a5164c183f6e38d534b94df1bd
2014-02-17codemaker: sal_Bool -> boolStephan Bergmann2-3/+3
Change-Id: I2cacac2aa7e48b3b9d8d060137d5c6d6f1d06b3f
2013-11-11remove unnecessary use of OUString constructorNoel Grandin1-1/+1
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-05fixincludeguards.sh: uno*Thomas Arnhold2-6/+6
Change-Id: I8fb3c25cd583b688104a0ee8620696e7b2958ab5
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin1-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
2013-09-16Revert "WIP: add cppumaker -U to directly read from .idl files"Stephan Bergmann1-1/+1
This reverts commit c4113906d7f15f8aa0eb385a4caf474b3505ede1, which is not necessary after all with recent "Hook SourceProvider into unoidl::loadProvider."
2013-09-12WIP: add cppumaker -U to directly read from .idl filesStephan Bergmann1-1/+1
Change-Id: I420847515b6b691ae81a249a8820cf9a3d132372
2013-08-26unodevtools: drop support for skeletonmaker --java4 parameterMichael Stahl5-73/+33
Minimum requirement has been Java 1.5 for years now. Change-Id: Id512507db1fc12c92d8f7662505eda6866da2fc6
2013-08-26unodevtools: why does the C++ generating code check java5 flag?Michael Stahl1-2/+2
Change-Id: I598698948a3543f1c020cc4a4b8db8799eb314a5
2013-07-11added FIXME-BCP47 commentEike Rathke1-0/+1
Change-Id: I77416a9e275dc204b3b82807d27b5276ad4f497f
2013-07-11added FIXME-BCP47 commentEike Rathke1-0/+1
Change-Id: I202c53a094ac7ddcbd1fa0d2367058aba56820ed
2013-06-18fdo#43460 include,registry,svtools,svx,unodevtools: use isEmpty()Jelle van der Waa2-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>
2013-05-16Support for annotations in the new UNOIDL formatStephan Bergmann3-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
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks3-43/+9