summaryrefslogtreecommitdiff
path: root/forms
AgeCommit message (Collapse)AuthorFilesLines
2015-11-09new loplugin: oncevarNoel Grandin1-3/+1
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#1338244 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: If46689d2b9cf8f6cb76d61296332444d4c3fb5fd
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann3-5/+5
Change-Id: I5b543edcae47c9ae4c90dba8082127fcb2b9b938
2015-11-05java: remove ((unnecessary)) parenthesesNoel Grandin1-1/+1
Change-Id: I39fbe3a260c8dbfc203662c54eec4db064b88195
2015-11-05java: make inner classes static where possibleNoel Grandin1-1/+1
Change-Id: Icc6444ad15d9f4b50858d8c1b1d3adeaeac40926
2015-11-04yyyyyNoel Grandin1-2/+1
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-11-02use uno::Reference::set method instead of assignmentNoel Grandin11-26/+23
Change-Id: I3d94c94a9829161663a7ed18421ace38ce95a659 Reviewed-on: https://gerrit.libreoffice.org/19733 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-01no need to use OUString constructor in call to createInstanceNoel Grandin1-2/+2
Change-Id: Iaf3d83ba1490cb1d97a5bd4d1f7cd6943d4a7296 Reviewed-on: https://gerrit.libreoffice.org/19704 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-27don't allocate uno::Reference on the heapNoel Grandin2-5/+3
There is no point, since it's the size of a pointer anyway (found by temporarily making the new operator in uno::Reference deleted). Change-Id: I62a8b957fef9184f65d705600acfdab4116dcb34 Reviewed-on: https://gerrit.libreoffice.org/19603 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-27loplugin:unusedmethodsNoel Grandin1-3/+3
Change-Id: I161cd52606c11b6008f5d8b1d8ee391692f91861 Reviewed-on: https://gerrit.libreoffice.org/19231 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-26remove extra spaces around ::Noel Grandin3-3/+3
just makes it harder to grep for methods Change-Id: I0925db2f9284972fcf7e1e3adf90cbe21f69eb15
2015-10-21more removal of com::sun::star typedefsNoel Grandin10-46/+31
Change-Id: Ia73f1b4f1dcfa3f0936359e744afe76e02dcd2eb
2015-10-21refactor out some com::sun::star typedefsNoel Grandin2-42/+31
which mostly serve to make the code harder to read Change-Id: Ia2a83fee9f850ab6f0bea6305ce8600d6b785fe8
2015-10-20loplugin:defaultparamsStephan Bergmann2-3/+3
Change-Id: I0a64398f49c8823327263aad0c79b182161177ea
2015-10-19loplugin:defaultparamsStephan Bergmann1-1/+1
Change-Id: I0c2635092096cbacb120426d1d6805afdaac3503
2015-10-15calling IsSet() before Call() on Link<> is unnecessaryNoel Grandin2-5/+3
the Call() already does a check Found with: git grep -A 1 -w 'IsSet()' | grep -B 1 '.Call(' | grep ':' | cut -d ':' -f 1 Change-Id: Ia7248f5d62640b75f705e539c3d1183e39c0d847
2015-10-13remove some useless commentsNoel Grandin1-1/+1
found with git grep '// /' Change-Id: I948cf9ae61bbbf2ec706ca5b0572c4f27c58c745
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann82-1300/+1300
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann11-24/+24
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-12loplugin:mergeclassesNoel Grandin4-24/+12
Change-Id: Id6e39c2c20ab3da5a8b8628f99a940b896feff78
2015-10-07cppcheck: noExplicitConstructorCaolán McNamara37-54/+54
Change-Id: I32c6728ce7423fd997cdbec66feb8a6ba39948d2
2015-10-05cppcheck: noExplicitConstructorCaolán McNamara1-1/+1
Change-Id: I80950aaf1385bd76b012eab7866fd16848751f45
2015-10-02Fix typosAndrea Gelmini9-10/+10
Change-Id: Ib30f4e5f16518cbbe71cf03998513ebd8c2a4d1a Reviewed-on: https://gerrit.libreoffice.org/18949 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-10-02com::sun::star->css in forms/Noel Grandin129-2235/+2191
Change-Id: I1c09e88f839bdf11c6ff809ec95769e8f729c7cd
2015-10-01loplugin:unusedmethodsNoel Grandin3-11/+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-9/+9
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-29Renamed wrongly prefixed boolean variablesStefan Heinemann2-5/+5
Fixed tdf#94269 Change-Id: I63109cc4e095bad680d7637a065080ea368860ae Reviewed-on: https://gerrit.libreoffice.org/18851 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-29loplugin:removeunusedmethods, remove unused stuffNoel Grandin1-6/+0
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-09-23convert Link<> to typedNoel Grandin3-5/+4
Change-Id: Ica5093e29630d6d6974ccba034609129887ac85b Reviewed-on: https://gerrit.libreoffice.org/18802 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-18boost->stdCaolán McNamara8-19/+15
Change-Id: Ie490bf2c6921f393bdeed96b1a8815996b701bf0 Reviewed-on: https://gerrit.libreoffice.org/18670 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-17convert Link<> to typedNoel Grandin5-11/+9
Change-Id: Ic3ce7783614d90a34f9c4414bbc7df9774091805
2015-09-17boost->stdCaolán McNamara3-9/+9
Change-Id: Ifde84627578283bd057d7393eb7e5578ef5c029a
2015-09-17convert Link<> to typedNoel Grandin2-4/+2
Change-Id: I87d4697fe032e3095406becdda026447edd1d68a
2015-09-16convert Link<> to typedNoel Grandin2-4/+3
Change-Id: I9ce05712af8300c8bcea6ea0f670b57cce1ca43d
2015-09-10Merge INetMessageIStream into INetMIMEMessageStreamStephan Bergmann1-3/+1
Change-Id: Ic3d9cd117b3f911a7cb1317fc9d1d2e9d8f1ff42
2015-09-10A charset is not a content transfer encodingStephan Bergmann1-2/+3
...the code was in this odd shape ever since bf4154eb5307ec8c35f000fd1df39ef3abb2eb6d "initial import" Change-Id: Ic931b99267bb6501f15119636f13391f1d065ed4
2015-09-10Reduce INetMIMEMessage::EnableAttachChild to its only use caseStephan Bergmann1-1/+1
Change-Id: I67221408d6b9d2aee942ca8bd39ca51da0209551
2015-09-04convert Link<> to typedNoel Grandin2-6/+4
Change-Id: I2136c3db2742afcb4722f69297276bea1e0119f4 Reviewed-on: https://gerrit.libreoffice.org/18306 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-31make Link<> typedNoel Grandin2-3/+2
Change-Id: I8949a92792df892b7f360e6b9979c8f61c702ce3
2015-08-31loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann4-10/+10
Change-Id: If06eb179be6dd00a14d8920e303af37b53e22bdc
2015-08-28make PostUserEvent Link<> typedNoel Grandin6-12/+9
Change-Id: I13f10bda985d55d419a5bff481130a456ae2db8a
2015-08-21Remove demonstrated-useless comphelper::compareStephan Bergmann4-4/+4
Change-Id: Ifd1b38afb963255b76f0d821eb46e4c6a972128a
2015-08-19comphelper::isA(Any... -> Any::hasStephan Bergmann2-4/+4
Change-Id: I4fdc77c6fde93d9d1ee814f7614a1c4c81e18247
2015-08-19Remove two silly typedefsStephan Bergmann52-201/+199
Change-Id: Ia7de1cebf6009e770ca1b96bab6d5e121573ccc1
2015-08-17o3tl: rename compat_functional headerThorsten Behrens3-3/+3
After the cleanup, the stuff there really stands on its own (and the remaining usage of select1st/2nd is more descriptive than lambdas). Change-Id: I0aba131d5dc550189f8130d167dc94167e404540 Reviewed-on: https://gerrit.libreoffice.org/17806 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-17convert Link<> to typedNoel Grandin2-4/+2
Change-Id: Ib0bf56a0e642720ff5daafdfc2dc12809be87e43
2015-08-14loplugin: defaultparamsNoel Grandin4-9/+9
Change-Id: I4080aece6fec2778a2a8646ddedd280337303591
2015-08-11tdf#92459 Cleanup unclear lambdasDaniel Robertson2-5/+5
Replace lambdas used to select the first/second member of a pair with the new simplified select1st/2nd from o3tl/compat_functional. There should be no side effects due to this change. Change-Id: I17f37796e0c4defe96a10aa491d192adb9eebb89 Reviewed-on: https://gerrit.libreoffice.org/17656 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-11forms: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe18-37/+32
with the variadic variants. Change-Id: Ia4f56692c9beddda13ee948ab8bbc1ee95098fbf Reviewed-on: https://gerrit.libreoffice.org/17648 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-04idl,framework,forms: inline some use-once typedefsNoel Grandin2-9/+4
Change-Id: Icb4908c274ec0778af7ed9fe2d935bf6723fedfb