summaryrefslogtreecommitdiff
path: root/idl
AgeCommit message (Collapse)AuthorFilesLines
2016-07-12loplugin:unusedfieldsNoel Grandin4-10/+0
Change-Id: Icac4ac1a2614e72bc9ff070819533e09eeb1a864 (cherry picked from commit ec3f72415850bd865eb030cf2b7edb55b99d4756)
2016-07-12loplugin:unusedfields variousNoel Grandin2-5/+3
(cherry picked from commit 1f86864e97bea96fdc608f8c8b93024ad4684d51) Change-Id: I59d9f7f73677358b4ae57efda965d43718bdf0d5
2016-07-12Remove excess newlinesChris Sherlock1-1/+0
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 Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> (cherry picked from commit a238b1f8d304bf1e2ffb357937f3ec888ee8ac89) Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
2015-11-25loplugin:unusedfields in include/sfx2/Noel Grandin1-5/+0
Change-Id: I3eb27ed10e82ee56b33866ac576c1b1f8c9756b9
2015-11-20loplugin:unusedfields idl,idlcNoel Grandin1-4/+2
Change-Id: I39816fc613aadb5250eed39fd0c6830abe1cde2c
2015-11-115th step to remove tools/rtti.hxxOliver Specht10-28/+4
tools/rtti.hxx removed completed the interface of some Sdr.* Items and removed pseudo items Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a Reviewed-on: https://gerrit.libreoffice.org/19837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-11idl: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin2-19/+19
Change-Id: I19fb53e162f3af282cd8cf46b965bce9506731ec
2015-11-11new loplugin: memoryvarNoel Grandin1-12/+10
detect when we can convert a new/delete sequence on a local variable to use std::unique_ptr Change-Id: Iecae4e4197eccdfacfce2eed39aa4a69e4a660bc Reviewed-on: https://gerrit.libreoffice.org/19884 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann14-46/+46
Change-Id: Ibe4adf92bb8eaf8b093bae87136d3a6a59e856f4
2015-10-27Reduce scope of #include <tools/stream.hxx>Matteo Casalin2-1/+2
Change-Id: I0752cbb0cb2e0f89607d81d9eda7ce7091449fd6
2015-10-27move SvRefMemberList into idlNoel Grandin1-0/+50
since it's only usage is there Change-Id: I882ddd3e08ab37cf7b3cca8121463598ea3d3bc4
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann6-34/+34
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-06loplugin:unusedmethodsNoel Grandin2-35/+0
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
2015-10-06 tdf#94559: 4th step to remove rtti.hxxOliver Specht3-5/+9
replaced use of PTR_CAST, IS_TYPE, ISA in idl, editeng, sc, sd, sw, sfx2, sot, starmath Change-Id: I4a5bba4fdc4829099618c09b690c83f876a3d653 Reviewed-on: https://gerrit.libreoffice.org/19132 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-10-01loplugin:unusedmethodsNoel Grandin3-12/+0
- improvements to the plugin to find more method calls - improvements to python script to remove more false+ - fix the FORCE_COMPILE_ALL build flag to include code in the $WORKDIR Change-Id: I4d6015dcb9b9d60c26f0bcee8abad807177a7836 Reviewed-on: https://gerrit.libreoffice.org/19064 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-30 tdf#94559: second step to remove rtti.hxxOliver Specht1-3/+3
replaced use of PTR_CAST, IS_TYPE, ISA in chart2, connectivity, editeng, extensions, filter, forms, framework, idl Change-Id: I6a2f9d8bbccb07088413f7552af4b5af8f0cad99 Reviewed-on: https://gerrit.libreoffice.org/18920 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-09-29loplugin:removeunusedmethods, remove unused stuffNoel Grandin3-44/+0
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-09-08loplugin:mergeclasses merge SvMetaObject with SvMetaNameNoel Grandin7-72/+50
Change-Id: I8c65ad9a5e2141b6fdf578e1361f8685d2f8517e
2015-09-08loplugin:mergeclasses SvIdentifierNoel Grandin8-40/+21
Change-Id: If3b6ce64c7ad2cda1f992cfb10618fa7d7946fba
2015-08-12idl: add article that has details on SDI file formatMiklos Vajna1-0/+5
Change-Id: I7af9fb6f193387624fcd1279ace1d0972bddc4d4
2015-08-05loplugin:unusedmethodsNoel Grandin1-1/+0
Change-Id: I6801618efb5a66d24156fa429e026acb6ca03aba Reviewed-on: https://gerrit.libreoffice.org/17506 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-04idl,framework,forms: inline some use-once typedefsNoel Grandin8-12/+5
Change-Id: Icb4908c274ec0778af7ed9fe2d935bf6723fedfb
2015-08-03-Werror,-Wunused-private-fieldStephan Bergmann3-7/+4
Change-Id: Ifc3cbc210da3bc342cd17a70284ce88ad22455fd
2015-07-30loplugin:unusedmethodsNoel Grandin9-116/+7
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971 Reviewed-on: https://gerrit.libreoffice.org/17378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-28remove unused STC checkNoel Grandin1-3/+0
Change-Id: I1d4bcbc5e1a76e4ad6ceb574a8331adada192876
2015-07-27inline a bunch of use-once macrosNoel Grandin1-7/+7
no point in having a macro unless it's actually going to reduce the number of lines of code Change-Id: Ic8760d6506cf272d7bd088f7b3b4dcbf288099fc
2015-07-07Replace GetAppData(SHL_IDL) with an rtl::StaticStephan Bergmann6-28/+22
Change-Id: Ia7a75c4686734aa811006858343666d2edfde8a1
2015-07-06improve the returnbyref lopluginNoel Grandin8-50/+47
Change-Id: I1b510a6194282dfa4a9001d473127c5ebc8b44eb Reviewed-on: https://gerrit.libreoffice.org/16731 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-03Fix typosAndrea Gelmini1-1/+1
Change-Id: Ie2bbe020fc6e3a4a4f913208c245f395849bb9ee Reviewed-on: https://gerrit.libreoffice.org/16708 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-26loplugin:stringconstant: handle OUString+=OUString(literal)Stephan Bergmann1-2/+2
Change-Id: I26212f3d0bb92440e77b86c751c21e34446143d6
2015-05-29loplugin:loopvartoosmallNoel Grandin2-2/+2
Change-Id: I1e9768c08af0bc7caac6a39c13842ee9d8ad962c
2015-05-11loplugin:cstylecast: nop between pointer types of exactly same spellingStephan Bergmann1-1/+1
Change-Id: I3cf8c36fec3110b6c26f7b3cd550f8428963cc65
2015-04-24loplugin:simplifyboolStephan Bergmann1-2/+2
Change-Id: Ieae7ead7a1d55731d0be0dc339993ccd404b3578
2015-04-23Improved loplugin:literaltoboolconversion looking into cond. exprs.Stephan Bergmann1-2/+2
...automatic rewriter fixes Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee
2015-04-17loplugin:implicitboolconversion clean-upStephan Bergmann1-1/+1
Change-Id: Ib7138c40a7f78adae2c362019bc9e20900391ebf
2015-04-07loplugin:staticmethodsNoel Grandin4-10/+10
Change-Id: Ibaad2adabecb878411fdd66383bca91f034477af
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann1-3/+3
Change-Id: I1d37ac19f2738a7bac43fc8b44f782ff2363123a
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann2-3/+3
Change-Id: Ia302dcfd4b4801170cb15950f4d7f1ba0792e93e
2015-02-25convert SFX_SLOT_ constants to enum classNoel Grandin2-9/+9
Change-Id: Icc3aad14d9d0c59c1c1c8f124f0626a9f947b93f
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin2-3/+3
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-01-28remove unused typedefsNoel Grandin3-6/+0
found with some minor modifications to find/find-unused-defines.sh Change-Id: I18cc479adedc7a0dada68a4aeef08300e62631dd Reviewed-on: https://gerrit.libreoffice.org/14194 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-26followup code removal after changing virtual methods to non-virtualNoel Grandin1-1/+1
This cleanups up indentation and removes dead classes. This is a followup patch to commit 272b1dd55797aacf511fb4342b0054e3697243f6 "new loplugin: change virtual methods to non-virtual" Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin2-2/+2
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin1-4/+0
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin4-7/+7
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2014-12-18remove if-block that has no effectMichael Weghorn1-7/+0
If the outer if-block is entered, 'aIsCollection' is returned, no matter whether the inner if-block is entered or not. Change-Id: Ief33e6fe6e29d1dfe287095424dac92e7f7d06b0 Reviewed-on: https://gerrit.libreoffice.org/13512 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-11coverity#703967 Unchecked return valueCaolán McNamara1-1/+1
Change-Id: I7da643edf07e689bb24129d363fbba8170efa652
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl4-1/+6
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava2-2/+2
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-10-22callcatcher: update unused codeCaolán McNamara10-95/+0
Change-Id: I96b4d44e44389245f3ccc4a08198676461c6a38b