summaryrefslogtreecommitdiffstats
path: root/idl/inc
Commit message (Collapse)AuthorAgeFilesLines
* loplugin:useuniqueptr in SvMetaSlotNoel Grandin2018-09-182-2/+2
| | | | | | | | | no need to store ref-counted object like OString on the heap Change-Id: Ifd031ae68dfd615e99f54414cb2dc32aac60daa8 Reviewed-on: https://gerrit.libreoffice.org/60623 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* idl: avoid -Werror=deprecated-copy (GCC trunk towards GCC 9)Stephan Bergmann2018-07-261-7/+0
| | | | | | | | | | | ...by removing explicitly user-provided functions that do the same as their implicitly-defined counterparts, but may prevent implicitly declared copy functions from being defined as non-deleted in the future Change-Id: I75e356ee9e12bb2d88ed9db6c60c49b3f4ac5d58 Reviewed-on: https://gerrit.libreoffice.org/58056 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* SvPersistBase no longer necessaryNoel Grandin2018-07-163-2/+1
| | | | | | | Change-Id: I928c0898d77d30bd6ca755d07acac6f78b20563b Reviewed-on: https://gerrit.libreoffice.org/57436 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#96099 Remove some trivial std::vector typedefsArkadiy Illarionov2018-06-114-7/+4
| | | | | | | Change-Id: I0e60ec7a3edae42b25ff0917828d0a893ed39a38 Reviewed-on: https://gerrit.libreoffice.org/55245 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:virtualdown in variousNoel Grandin2018-03-302-2/+1
| | | | | | | Change-Id: I4db71fda953ea1d20712ae8033f6fc09b3b2855d Reviewed-on: https://gerrit.libreoffice.org/52068 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#114441 sal_uLong to better integer typesShubham Verma2018-02-271-3/+3
| | | | | | | Change-Id: I55b45821cf67a99f97ba067a3d4923d76c19696e Reviewed-on: https://gerrit.libreoffice.org/50204 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* loplugin:unusedmethods also check for functions returning boolNoel Grandin2018-01-193-5/+3
| | | | | | | | | we were previously excluding them Change-Id: I48a68799b0de60b4995fae541eb363e043d4dd11 Reviewed-on: https://gerrit.libreoffice.org/48167 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:useuniqueptr in idlNoel Grandin2018-01-192-4/+5
| | | | Change-Id: I3681d119dda85400dbb33c96fab736c262f7ce8a
* drop duplicate methodCaolán McNamara2017-11-221-1/+1
| | | | | | | Change-Id: Idadd0a64e41cd02f5167b275081c3576a6224b12 Reviewed-on: https://gerrit.libreoffice.org/45075 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* loplugin:constmethod in idl,helpcompilerNoel Grandin2017-10-303-4/+4
| | | | | | | Change-Id: I9b328fc0a3ebdd15a646ee6dab800ffbadb1aaef Reviewed-on: https://gerrit.libreoffice.org/44050 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:includeform: idlStephan Bergmann2017-10-239-14/+14
| | | | Change-Id: I9631129331ef4b858ed3dd7b0e617002e6d461fb
* overload std::hash for OUString and OStringNoel Grandin2017-10-231-1/+1
| | | | | | | | | no need to explicitly specify it anymore Change-Id: I6ad9259cce77201fdd75152533f5151aae83e9ec Reviewed-on: https://gerrit.libreoffice.org/43567 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* SvPersistStream deadNoel Grandin2017-08-081-1/+1
| | | | | | | | | | since commit 1e4b1e4a1aca3b333820b0a865997e6f62e80064 "Removing unused SfxItemPool serialisation from editeng" Change-Id: I8a3cd36a13b7d2322047c2035e0f23c70ca9cdf0 Reviewed-on: https://gerrit.libreoffice.org/40880 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:constparams handle constructorsNoel Grandin2017-07-281-2/+2
| | | | | | | | | | had to change the structure of the plugin considerably, was too messy to structure it to do the calculations on a per-function basis Change-Id: I4edee7735f726101105c607368124a08dba21086 Reviewed-on: https://gerrit.libreoffice.org/40516 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:constparams codemaker,idl,idlcNoel Grandin2017-07-185-10/+10
| | | | | | | Change-Id: Ic72b7525cfbfbd3c5afb12fe9ea814176e6c8c9d Reviewed-on: https://gerrit.libreoffice.org/40126 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:unusedfields in cui..idlNoel Grandin2017-07-041-2/+0
| | | | | | | Change-Id: Icb393cc0b2f79ded154e186ab6975b95e5126903 Reviewed-on: https://gerrit.libreoffice.org/39496 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* svidl: Adapt to SlotType removalMaxim Monastirsky2017-05-012-4/+0
| | | | | | | | | | No diff in workdir/SdiTarget. BEWARE: If you're going to revert this for whatever reason, you should also revert the previous commit that removed the SlotType property from sdi files! Change-Id: I78cc391a6b47f4672157926eba1b55e786f48f2d
* svidl: Remove nested method supportMaxim Monastirsky2017-05-011-3/+0
| | | | | | No diff in workdir/SdiTarget. Change-Id: I53e974c8ccafbbc3675f67b87a0e1b8ff19b6790
* loplugin:checkunusedparams in configmgr and vclNoel Grandin2017-04-281-1/+1
| | | | | | | Change-Id: I7226d01f38e6edaf3868d7267d9b02dbdbc9e5ba Reviewed-on: https://gerrit.libreoffice.org/36975 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:unusedmethodsNoel Grandin2017-03-292-6/+0
| | | | | | | Change-Id: Ib008613fb06c82791c63d5b074a3e2ff1c3607a0 Reviewed-on: https://gerrit.libreoffice.org/35834 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* remove PseudoSlot support from idl compilerNoel Grandin2017-03-283-16/+3
| | | | | | | | | | | | | | | Since we have removed the last usage with commit 12c6caa84a61f23df996a0396432fa4b8d5c4785 "Kill remaining PseudoSlots usage" And remove corresponding support from the list-dispatch-commands script. Also remove the now unused SFX_NEW_SLOT_ENUM macro Change-Id: Id07c431de4404acf61a8bdd3507e390e5249879a Reviewed-on: https://gerrit.libreoffice.org/35754 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* This code trades in 'char' entities disguised as 'int'Stephan Bergmann2017-03-231-3/+3
| | | | | | (with EOF represented as 0), so better actually use 'char'. Change-Id: Id9c684c833b0d46f8a51a34aa2c4b78a75e2d3a5
* Remove unused forward declarationStephan Bergmann2017-02-271-1/+0
| | | | Change-Id: I1ca1bd56289ea1005b76dd387ef7610ff1b0a3db
* SvTokenStream::nBufPos should be sal_Int32Stephan Bergmann2017-02-251-2/+2
| | | | Change-Id: I929bb6e35a125674b1e65f00e77785b59ae6d2a0
* convert method names in tools::SvRef to be more like our other..Noel Grandin2017-02-021-1/+1
| | | | | | | | | | | reference classes, uno::Reference and rtl::Reference. Specifically rename Is()->is() and Clear()->clear(). Change-Id: Icb7e05e2d09cb9977121508b837ba0961dabb4ae Reviewed-on: https://gerrit.libreoffice.org/33576 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* new loplugin: useuniqueptr: helpcompiler..ioNoel Grandin2017-01-171-2/+2
| | | | | | | Change-Id: I6b394163c144e6b5540cb160abb613d56fe327de Reviewed-on: https://gerrit.libreoffice.org/33165 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:unusedmethodsNoel Grandin2016-12-231-9/+0
| | | | | | | Change-Id: Ife4c8d948ffa116f044d43903de9485e43cfcae5 Reviewed-on: https://gerrit.libreoffice.org/32336 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* drop custom hashtable implementation in idlNoel Grandin2016-12-193-83/+53
| | | | | | | Change-Id: I2cdb79022e77cdcc03962d392d0d87626a090ac5 Reviewed-on: https://gerrit.libreoffice.org/32043 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:expandablemethods in hwpfilter..linguisticNoel Grandin2016-11-081-3/+0
| | | | | | | Change-Id: I62ae20ab4a47b3b7e2b0d503cedcad3319cc9c85 Reviewed-on: https://gerrit.libreoffice.org/30683 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* expand SvMetaType::ReadNamesSvIdlNoel Grandin2016-10-261-3/+1
| | | | | | it just forwards to ReadNameSvIdl Change-Id: I803edb7a5977cf309e2cedaa3b4764bcbd933597
* loplugin:expandablemethodds in hwpfilter..linguisticNoel Grandin2016-10-191-4/+0
| | | | | | | Change-Id: If20fd4a6cf8a8e005804dbb7caf41cce73d587a5 Reviewed-on: https://gerrit.libreoffice.org/30016 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:unnecessaryoverrideNoel Grandin2016-10-131-2/+0
| | | | | | | Change-Id: I08c55a3023ec2e8990098eeb60e91cd18556e7ae Reviewed-on: https://gerrit.libreoffice.org/29656 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#89307: Removed SvRef::operator T*()Jacek Fraczek2016-10-103-3/+3
| | | | | | | | | | | | | | Conditional statements are using SvRef::Is() method. Changed static_cast<T*>(svRef<T>) occurances to svRef.get(). Added operator == and != to SvRef. SbxObject::Execute is using SbxVariableRef internally. SbxObject::FindQualified is using SbxVariableRef internally. Change-Id: I45b553e35d8fca9bf71163e6eefc60802a066395 Reviewed-on: https://gerrit.libreoffice.org/29621 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* loplugin:constantparamNoel Grandin2016-09-301-1/+1
| | | | | | | Change-Id: Idbe8c8e6b3d44cacce296ec8c79b2b244281057c Reviewed-on: https://gerrit.libreoffice.org/29321 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:singlevalfields in basic..idlNoel Grandin2016-09-161-1/+1
| | | | | | | | | | | Also fix obvious bug in the initialisation of the connectivity::odbc::OConnection::m_bClosed field. Probably closes some kind of connection leak there. Change-Id: I04579cf91bcd6d6c51c697d83971da4142743a82 Reviewed-on: https://gerrit.libreoffice.org/28932 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann2016-09-132-2/+2
| | | | | | | | | | | | | | | | | The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "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
* remove IMAGEROTATION and IMAGEREFLECTION SfxSlotMode enums...Caolán McNamara2016-09-082-8/+0
| | | | | | | | | | | | | | | | unused since... commit 7affe26a1291eef8c77e890228061f13e987bff1 Author: Maxim Monastirsky <momonasmon@gmail.com> Date: Mon Feb 22 18:47:15 2016 +0200 Kill sfx2 menu support Change-Id: I902957b8379be7c314f5357750aeba5a2fcc0a00 Reviewed-on: https://gerrit.libreoffice.org/28749 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* no point in these dtors being virtualCaolán McNamara2016-08-301-1/+1
| | | | | | nothing inherits from these classes Change-Id: Ic887ac8a046b8697e310e19b6e7fdf9efae8f074
* default assignment operator is fineCaolán McNamara2016-08-301-8/+0
| | | | Change-Id: I0b63abbfe7d29c35cf7c7dd047527b20ad46c538
* loplugin:countusersofdefaultparams in framework..lotuswordproNoel Grandin2016-08-051-1/+1
| | | | | | | Change-Id: I9833d85eb6543e996b0f357657c53b1c076ecde4 Reviewed-on: https://gerrit.libreoffice.org/27898 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedfieldsNoel Grandin2016-06-301-6/+2
| | | | | | | Change-Id: If06fffa8db050df0f9c1c7da6163575bf522382e Reviewed-on: https://gerrit.libreoffice.org/26754 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* move the attribute parsing code to SvParserNoel Grandin2016-06-222-2/+6
| | | | | | and simplify considerably Change-Id: I2a4af15e77904b62abc81dad78a2990e2eab05f0
* move the method param parsing code into SvParserNoel Grandin2016-06-221-1/+2
| | | | Change-Id: I5718c309acd213f94e96efc2e9a98ab0344fe341
* loplugin:constantparamsNoel Grandin2016-06-031-1/+1
| | | | | | | Change-Id: Ib162ba9297b9d900ea42c7e5216e152d3e58a361 Reviewed-on: https://gerrit.libreoffice.org/25769 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedreturntypesNoel Grandin2016-05-261-2/+1
| | | | | | | | | and clean up the python script Change-Id: I0a7068153290fbbb60bfeb4c8bda1c24d514500f Reviewed-on: https://gerrit.libreoffice.org/25439 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* update unusedmethods plugin to deal with constructorsNoel Grandin2016-05-182-15/+0
| | | | | | | | | | and fix the operator< implementations in some of the other plugins too. Change-Id: Ie5631e0cdc8d2a994ad2af2533cdb558a6cfc035 Reviewed-on: https://gerrit.libreoffice.org/25057 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:constantparam in idlNoel Grandin2016-03-231-4/+1
| | | | Change-Id: I2fa4c74c9709d3a8495341f00d974ba960c18deb
* loplugin:constantparam in idlNoel Grandin2016-03-091-1/+1
| | | | Change-Id: Icb5e64f17d9472320a79363b1e926e2b4ab05273
* loplugin:write only fieldsNoel Grandin2016-03-071-3/+2
| | | | Change-Id: Ia0fb487c5590e096659b81f76c4dc543e184c59c
* cid#1353438 Logically dead codeNoel Grandin2016-02-231-1/+1
| | | | Change-Id: Ib444a1941e2bec03394c4e8eb7a5a34adbe3f4f6