summaryrefslogtreecommitdiffstats
path: root/scripting
Commit message (Collapse)AuthorAgeFilesLines
* java: add some @Override annotationsNoel Grandin2015-11-091-0/+1
| | | | | | | Change-Id: I291db1dff5ab3ce40fda6f822a0e3ff1e6ef36c1 Reviewed-on: https://gerrit.libreoffice.org/19855 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* new loplugin: oncevarNoel Grandin2015-11-091-2/+1
| | | | | | | Change-Id: If57390510dde4d166be3141b9f658a7453755d3f Reviewed-on: https://gerrit.libreoffice.org/19815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:stringconstant: elide explicit ctor usage (manually due to macros)Stephan Bergmann2015-11-063-3/+3
| | | | Change-Id: Ib023c89256d50ebe15231a96f6106f60198d362e
* loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann2015-11-063-5/+5
| | | | Change-Id: If0f1446a25f423b8cbfe6346f7a691f4f2618ad0
* java: combine nested if statementsNoel Grandin2015-11-053-26/+20
| | | | Change-Id: I0457b81668e9427a3c8d6a4af93438b7fb2bb7ba
* use uno::Reference::set method instead of assignmentNoel Grandin2015-11-059-24/+21
| | | | Change-Id: I2b592fd3327f4bbe4685e84711dc9d6f19222a97
* yyyyyNoel Grandin2015-11-043-5/+4
| | | | Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
* No need for this debug codeStephan Bergmann2015-11-021-7/+0
| | | | Change-Id: I05a6d15a0c54ca5457d662c2467cb15c14991a0a
* cppcheck: noExplicitConstructorCaolán McNamara2015-11-0213-19/+19
| | | | Change-Id: I06186e8f0bbc8522f538e8639a68e816093becc2
* no need to use OUString constructor in call to createInstanceNoel Grandin2015-11-011-7/+3
| | | | | | | Change-Id: Iaf3d83ba1490cb1d97a5bd4d1f7cd6943d4a7296 Reviewed-on: https://gerrit.libreoffice.org/19704 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* UNO: no need to use OUString constructor when calling createInstanceNoel Grandin2015-10-301-2/+2
| | | | | | | Change-Id: I37da28539b94706574116d0fff5f008aabfb5526 Reviewed-on: https://gerrit.libreoffice.org/19682 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* com::sun::star->css in scaddins,sccomp,scriptingNoel Grandin2015-10-2820-589/+584
| | | | | | | Change-Id: Id9167341940bac65f055e1e33ff0670f6fa0f6c4 Reviewed-on: https://gerrit.libreoffice.org/19629 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* cid#1326721 to cid#1326726 Dm: Dubious method usedCaolán McNamara2015-10-251-11/+11
| | | | Change-Id: I5578dc3885945c013064cecf2ca86e7ca734368f
* coverity#1326446 Dereference null return valueCaolán McNamara2015-10-251-1/+1
| | | | Change-Id: I18b3e0cc30e05e9a53a0f7ae9997b9f190f192f4
* coverity#1326446 Dereference null return valueCaolán McNamara2015-10-221-0/+6
| | | | Change-Id: Ief00b565147bd4a08c4fd6de9df71d9126dc1f75
* coverity#1326429 Dereference null return valueCaolán McNamara2015-10-221-4/+3
| | | | Change-Id: Ib047f6cb255610422afb423006b58e0da7eacead
* coverity#1326553 Dereference before null checkCaolán McNamara2015-10-201-1/+1
| | | | Change-Id: I1fe2e0477f136f31b854672878d0544d9492d51b
* coverity#1326552 Dereference before null checkCaolán McNamara2015-10-201-1/+1
| | | | Change-Id: I5a3fb6b5e9966a8e0c5dd0175e4f4f3292025a2c
* Revert "coverity#1327168 see if stock SuppressWarnings is sufficient to"Caolán McNamara2015-10-201-1/+0
| | | | | | | | that didn't work This reverts commit 04a7df738aae3b255c1faa80fa79262602eaead7. Change-Id: I5e4dfc28c03668eebb0fe8056beede7ef0b05ee5
* cid#1326721 to cid#1326726 Dm: Dubious method usedNoel Grandin2015-10-161-7/+7
| | | | Change-Id: I98e5590f61434ed1b1081b5b592622f9bcf037ec
* coverity#1327168 see if stock SuppressWarnings is sufficient toCaolán McNamara2015-10-151-1/+2
| | | | | | | | | | | silence UrF: Unread field, some sources online suggest that it might be the case Change-Id: I2287da343e97bec93e0aaf7a82a408c18ab76d9b Reviewed-on: https://gerrit.libreoffice.org/19396 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* coverity#1326240 Explicit null dereferencedCaolán McNamara2015-10-151-2/+7
| | | | Change-Id: Ic84b5fbff0fbd7b8a750a7e40f2dffafe868b5d5
* coverity#1326238 Explicit null dereferencedCaolán McNamara2015-10-151-10/+8
| | | | Change-Id: Id02dcf1a1fac22eae0a2e01596521eefee9ecbf3
* coverity#1326236 Explicit null dereferencedCaolán McNamara2015-10-151-4/+3
| | | | Change-Id: Ic89c9b39f5f9c260581130da528bc0f514d4ef06
* coverity#1326899 HE: Equal objects must have equal hashcodesCaolán McNamara2015-10-152-0/+10
| | | | | | | | | | | and... coverity#1326898 HE: Equal objects must have equal hashcodes coverity#1326897 HE: Equal objects must have equal hashcodes coverity#1326896 HE: Equal objects must have equal hashcodes coverity#1326895 HE: Equal objects must have equal hashcodes Change-Id: Ic9cb7542c1bf0608a97e5b4756b737cdf1bb4bd8
* cid#1326116 Unchecked return valueNoel Grandin2015-10-151-1/+3
| | | | Change-Id: If33ea9c4e4388cc1b7d15847f32dd2228b047363
* cid#1327023 to cid#1327077 SIC: Inner class could be made staticNoel Grandin2015-10-151-3/+3
| | | | Change-Id: I41f89c4feefe4e012d72c663ebb9bbcb4aa7f163
* java:using "this" with a static field makes no senseNoel Grandin2015-10-141-7/+7
| | | | Change-Id: I79a38ff2ec50d3a3687cac7ed7688bbbcaf2208c
* coverity#1326568 Unused valueCaolán McNamara2015-10-141-11/+3
| | | | Change-Id: Idf1efef484d3a89bd56ba9a6807d4191ef95cb41
* coverity#1327113 UrF: Unread fieldCaolán McNamara2015-10-141-2/+0
| | | | Change-Id: I4cc7faaf0ac74c4e1baa2e978d8dea9bc8d7b6d0
* coverity#1327178 UuF: Unused fieldCaolán McNamara2015-10-141-2/+1
| | | | Change-Id: Ie9ed1f86a3a51d766987d631605dc561e9748f99
* cid#1326361 Data race conditionNoel Grandin2015-10-141-16/+18
| | | | Change-Id: Ia61737232d816bb05f3aedbe76e7905262906a79
* cid#1326674 DLS: Dead local storeNoel Grandin2015-10-141-7/+0
| | | | Change-Id: I8168d3703022c9a1baed6e82c43a04ffa0ca52c0
* cid#1326345 Check of thread-shared field evades lock acquisitionNoel Grandin2015-10-141-7/+3
| | | | Change-Id: I11fc66358c13c6bb1b6f109980384131b38ef18b
* Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-1218-297/+297
| | | | Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
* Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-121-2/+2
| | | | Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
* Fix typosAndrea Gelmini2015-09-305-5/+5
| | | | | | | Change-Id: Idd4b0f7b6c422abd6790185b5d48082b294bae64 Reviewed-on: https://gerrit.libreoffice.org/18968 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* Script: better way to detect WindowsAndrea Gelmini2015-09-301-71/+72
| | | | | | | Change-Id: I0e99443f3715cde4414d14b2fa507ecab0995c6d Reviewed-on: https://gerrit.libreoffice.org/18937 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* boost->stdCaolán McNamara2015-09-181-3/+3
| | | | | | | | 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>
* scripting: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe2015-09-0320-47/+43
| | | | | | | | | with the variadic variants. Change-Id: I2a59d42efbb1aeef5078d0b0744b5a3c0559affa Reviewed-on: https://gerrit.libreoffice.org/18123 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann2015-08-314-17/+17
| | | | Change-Id: I4c29e8b2c86816114ea2566348901710f601fd92
* sc: inline some use-once typedefsNoel Grandin2015-08-041-3/+1
| | | | Change-Id: I332e160dda3f167e61f99da1eb0aa6bd72a48b06
* inline the "old" SbxErr constantsNoel Grandin2015-07-281-2/+2
| | | | Change-Id: I1c54c792e0397d61c97d5067963b343f912275fc
* convert SbxFlagsBits to scoped enumNoel Grandin2015-07-281-2/+2
| | | | Change-Id: I3dd699ca675be2ff4a8bfb7938bd5d43719b304c
* loplugin:unusedmethods scripting,scNoel Grandin2015-07-226-94/+7
| | | | | | | Change-Id: I0016aefce1aad3a89bd23dcec6fbab58a7c844d7 Reviewed-on: https://gerrit.libreoffice.org/17263 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:simplifyboolStephan Bergmann2015-07-162-3/+3
| | | | Change-Id: Ic179c3012ad99a97b11914bf7aefca58829621e0
* Fix typosAndrea Gelmini2015-07-081-1/+1
| | | | | Change-Id: I020c7ce4d9aa93cb0292378a410cdb9f7788e920 Signed-off-by: Michael Stahl <mstahl@redhat.com>
* coverity#1308579 Uncaught exceptionCaolán McNamara2015-06-292-2/+2
| | | | Change-Id: I6bd1f9cdf69865972de9c22106a95e1ebf9a74f7
* coverity#1308598 Uncaught exceptionCaolán McNamara2015-06-292-2/+2
| | | | Change-Id: Id65e076641506e128c27cec4f50bc677e808fa95
* coverity#1308560 Uncaught exceptionCaolán McNamara2015-06-281-2/+2
| | | | Change-Id: Ic5a483ae6de5e072430d8198651177788bf86af9