summaryrefslogtreecommitdiffstats
path: root/idl
Commit message (Collapse)AuthorAgeFilesLines
* 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-025-15/+15
| | | | | | | | | | | 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-172-3/+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>
* New loplugin:externvar: idlStephan Bergmann2017-01-091-2/+2
| | | | Change-Id: I67d0c0f7c7aa6d4a81e46ef6afca2d7a762eb813
* 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-196-237/+82
| | | | | | | 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-082-10/+2
| | | | | | | 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-262-10/+3
| | | | | | it just forwards to ReadNameSvIdl Change-Id: I803edb7a5977cf309e2cedaa3b4764bcbd933597
* loplugin:expandablemethodds in hwpfilter..linguisticNoel Grandin2016-10-192-10/+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-132-8/+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>
* Don't allow O[U]StringBuffer in string concatenationStephan Bergmann2016-10-121-4/+5
| | | | | | | | | | | | | | | ...as OStringBuffer b("foo"); b = "bar" + b; doesn't work as one might expect (see the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2016-October/075464.html> "concat of OUStringBuffer". That feature was LIBO_INTERNAL_ONLY, anyway. And of the affected places, MethodDescriptor::getSignature (codemaker/source/javamaker/javatype.cxx) was the only one that would actually have benefitted. Change-Id: Ib84266f43e40c42c2e428f0c0616db8cfa90adff
* tdf#89307: Removed SvRef::operator T*()Jacek Fraczek2016-10-107-21/+21
| | | | | | | | | | | | | | 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-302-4/+4
| | | | | | | 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-162-2/+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-086-32/+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-302-3/+1
| | | | | | nothing inherits from these classes Change-Id: Ic887ac8a046b8697e310e19b6e7fdf9efae8f074
* default assignment operator is fineCaolán McNamara2016-08-301-8/+0
| | | | Change-Id: I0b63abbfe7d29c35cf7c7dd047527b20ad46c538
* Let OUStringLiteral1 take its arg as ctor arg, not template argStephan Bergmann2016-08-301-2/+2
| | | | | | | | ...which makes it more flexible, can now also be used on non-const arguments. The drawback of the argument no longer being a compile-time constant is remedied by making the ctor constexpr. Change-Id: Ia4903a2cc86791fece92eac0cb8406b6659dd19d
* put StreamMode masks in scope of enum classJochen Nitschke2016-08-273-7/+7
| | | | | | | | Change-Id: I77682f7e289a59b986bb84edf014029a20266470 Reviewed-on: https://gerrit.libreoffice.org/28420 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* 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-302-7/+3
| | | | | | | Change-Id: If06fffa8db050df0f9c1c7da6163575bf522382e Reviewed-on: https://gerrit.libreoffice.org/26754 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* tdf#99589 - tolower / toupper - dangerous to Turks ...Gökhan Gurbetoğlu2016-06-231-1/+3
| | | | | | | Change-Id: Id3b9abd557f2b8dfc942589362452cbdb0232da9 Reviewed-on: https://gerrit.libreoffice.org/26546 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
* move the attribute parsing code to SvParserNoel Grandin2016-06-224-19/+151
| | | | | | and simplify considerably Change-Id: I2a4af15e77904b62abc81dad78a2990e2eab05f0
* move the method param parsing code into SvParserNoel Grandin2016-06-222-18/+22
| | | | Change-Id: I5718c309acd213f94e96efc2e9a98ab0344fe341
* simplify parserNoel Grandin2016-06-221-24/+15
| | | | Change-Id: If6b9ed2a0cb373c8bec5d3ff20488f5ee00231ff
* tools: rename SvStream::Read/Write to ReadBytes/WriteBytesMichael Stahl2016-06-061-4/+4
| | | | | | | Change-Id: Ib788a30d413436aa03f813aa2fddcbc4d6cd2f9a Reviewed-on: https://gerrit.libreoffice.org/25972 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* loplugin:constantparamsNoel Grandin2016-06-032-9/+9
| | | | | | | Change-Id: Ib162ba9297b9d900ea42c7e5216e152d3e58a361 Reviewed-on: https://gerrit.libreoffice.org/25769 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* STREAM_STD_READ already includes StreamMode::NOCREATETakeshi Abe2016-06-022-2/+2
| | | | | | | | Change-Id: Ib8c81056619a383cedc828b945c1802ff1ce42ca Reviewed-on: https://gerrit.libreoffice.org/25802 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* tdf#99589 tolower / toupper - dangerous to Turks ...apurvapriyadarshi2016-05-301-1/+2
| | | | | | | | | | Converted toupper to toAsciiUpperCase Change-Id: I595e39bd00a15ede6fc9ea3da3c2a4b2a2322a82 Reviewed-on: https://gerrit.libreoffice.org/25566 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.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>
* teach stylepolice plugin about ref-counted-pointer namingNoel Grandin2016-04-282-7/+7
| | | | | | | Change-Id: I6e91d22fc1826038c05ddb6fc065563c6a250752 Reviewed-on: https://gerrit.libreoffice.org/24459 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:constantparam in idlNoel Grandin2016-03-234-9/+4
| | | | Change-Id: I2fa4c74c9709d3a8495341f00d974ba960c18deb
* Remove some unused include stdioJulien Nabet2016-03-127-8/+0
| | | | | | | Change-Id: Ifdb9d133237eecd3132dffb0f85c005beac169d2 Reviewed-on: https://gerrit.libreoffice.org/23174 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:constantparam in idlNoel Grandin2016-03-093-4/+4
| | | | Change-Id: Icb5e64f17d9472320a79363b1e926e2b4ab05273
* loplugin:write only fieldsNoel Grandin2016-03-072-10/+8
| | | | Change-Id: Ia0fb487c5590e096659b81f76c4dc543e184c59c
* methods in .SDI files don't use attributesNoel Grandin2016-02-231-21/+15
| | | | | | so simplify the parser and drop the square brackets Change-Id: I3bab5f5b14e57d0cd1ed1a383fe21968f97b243a
* cid#1353438 Logically dead codeNoel Grandin2016-02-232-11/+5
| | | | Change-Id: Ib444a1941e2bec03394c4e8eb7a5a34adbe3f4f6
* small cleanups in .SDI parserNoel Grandin2016-02-234-22/+30
| | | | Change-Id: Ic7122e3ecfe2914e27945fd508199f7ec1d6bdab
* new loplugin: commaoperatorNoel Grandin2016-02-231-7/+28
| | | | Change-Id: I03f24e61f696b7619855e3c7010aa0d874e5a4ff
* loplugin:write only fieldsNoel Grandin2016-02-223-5/+0
| | | | Change-Id: I44f249a17d0a510ec63a488b656d57a1a392f821
* cleanup the Read*() methods in SvIdlParserNoel Grandin2016-02-173-74/+113
| | | | | | to be consistent about when they move to the next token Change-Id: I8f5b1eab497fb4a7cb2a2267e815668c3d363de7
* move some more slot parsing to SvIdlParserNoel Grandin2016-02-173-32/+46
| | | | Change-Id: I186e80ed0446585aceaf4d25f32ecca7e8ed396c
* move parsing of method ags into SvIdlParserNoel Grandin2016-02-173-12/+23
| | | | Change-Id: I2fb969529c0670ae93c3cba69bf207d2c87887dc
* tighten up the attribute parsing, and drop some unused slotsNoel Grandin2016-02-162-7/+8
| | | | Change-Id: I6f2ff99c919851b21ce120c40286c133bf65c778
* parse shell/interface entries in SvIdlParserNoel Grandin2016-02-166-7/+127
| | | | Change-Id: Ief68b26be0a0890ffdfa02a5904ba9d2cb364c65
* cid#1352218 and cid#1352216 in .SDI parserNoel Grandin2016-02-153-46/+16
| | | | Change-Id: I273d80b4e9fb45955c5496cf5559df5dd4b057b0
* move interface/shell parsing to SvIdlParserNoel Grandin2016-02-154-59/+60
| | | | Change-Id: I95cce21c6c9beb5637dd4f4a769f455eaacbec2b