summaryrefslogtreecommitdiffstats
path: root/bridges/test
Commit message (Collapse)AuthorAgeFilesLines
* this dir has lain unused for years nowCaolán McNamara2016-01-0959-10973/+0
| | | | Change-Id: Ia6638f316b9d7c67e45a30b5808c68b54fdb1680
* cppcheck: noExplicitConstructorCaolán McNamara2016-01-073-10/+10
| | | | | | | | Change-Id: I94db78ca12e0f3389f00ea5c557f0b64d452f613 Reviewed-on: https://gerrit.libreoffice.org/21150 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Fix typosAndrea Gelmini2016-01-051-1/+1
| | | | | | | Change-Id: I1b79005d9c4e32325b8dadcc4f805975d6bf2727 Reviewed-on: https://gerrit.libreoffice.org/21103 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
* use initialiser syntax for Sequence<OUString>Noel Grandin2015-11-152-4/+2
| | | | | | | | | | | | | | replaced using the script: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence< OUString > (\w+)\(1\); .*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g" Change-Id: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* java:no need to explicitly create these constructorsNoel Grandin2015-11-051-6/+0
| | | | | | the compiler will do it for you Change-Id: I770670e70a43664a87ce28b48fc822d891d8fb41
* tdf#94269: Replace "n" prefix for bool variables with "b"Benjamin Ni2015-11-021-3/+3
| | | | | Change-Id: I178545792c7354a362658ac7ef8b1d4cf0865797 Signed-off-by: Michael Stahl <mstahl@redhat.com>
* UNO: no need to use OUString constructor when calling createInstanceNoel Grandin2015-10-303-6/+4
| | | | | | | Change-Id: I37da28539b94706574116d0fff5f008aabfb5526 Reviewed-on: https://gerrit.libreoffice.org/19682 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* use uno::Reference::set method instead of assignmentNoel Grandin2015-10-305-8/+6
| | | | Change-Id: I58410209f32f988f258a588364e0b037c2790211
* tdf#39440: fix several warnings reported by cppcheckSerge Krot2015-10-251-1/+1
| | | | | | | Change-Id: I560d28b7cc67740c6479494d0e5aa62d2ac6ffae Reviewed-on: https://gerrit.libreoffice.org/19587 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe2015-07-106-11/+10
| | | | | | | | | with the variadic variants, in binaryurp / bridges. Change-Id: I2d158c24e73681907cae5815d4b07b1c74f74335 Reviewed-on: https://gerrit.libreoffice.org/16792 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Revert "Revert "Typo: repsent->represent""Stephan Bergmann2015-06-301-1/+1
| | | | | | | | | | This reverts commit 09b4cbe977c755a447f97034189b85998f358d79, no good reason to revert the original commit in the first place. Conflicts: bridges/test/java_remote/Bug107753_Test.java Change-Id: I6d3d50887460fd15080c46782c29a653c3684bec
* Revert "Typo: iff->if"Julien Nabet2015-06-231-1/+1
| | | | | | This reverts commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d. iff can mean "if and only if" so not a typo
* Revert "Typo: repsent->represent"Julien Nabet2015-06-231-1/+1
| | | | This reverts commit 338161a41d6e01b8e8d8752d9a38cc5c7a63f288.
* Typo: repsent->representJulien Nabet2015-06-231-1/+1
| | | | Change-Id: I8affe5b6f388edf063460dabed743f16917d75e9
* Typo: iff->ifJulien Nabet2015-06-231-1/+1
| | | | Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3
* Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann2015-04-013-20/+12
| | | | Change-Id: I37d1a939c1a98f77152ed90dfb201446101f3157
* Replace JNIEXPORT -> SAL_JNI_EXPORTStephan Bergmann2015-01-061-1/+1
| | | | | | | cf. 9a745cbf549aa391be2b67f41c83056bd44db97a "Introdude SAL_JNI_EXPORT and use that instead of JNIEXPORT" Change-Id: I81dcc8dfcb878d3e935d807f491b99927637c23c
* java: unnecessary importsNoel Grandin2015-01-051-4/+0
| | | | | | found by CodePro Change-Id: If1b75e43f81d70984422e437147048a491395b66
* java: remove more dead codeNoel Grandin2015-01-052-6/+1
| | | | | | found by looking for unused parameters (in Eclipse) Change-Id: I03cf9bc8312e59747b2d0ac153ee2fc8d76be893
* java: unused importsNoel Grandin2014-12-191-1/+0
| | | | Change-Id: I7866959b9ea36c81003259cd387a001e9f34f26a
* java: remove some unused fields and variablesNoel Grandin2014-12-154-23/+3
| | | | | | | Change-Id: I5d6071096307adbe7df0178000346cf915afa3e7 Reviewed-on: https://gerrit.libreoffice.org/13477 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* java: reduce visibility of fields and methodsNoel Grandin2014-12-111-10/+10
| | | | | | | | | found by PMD Change-Id: Id6737916b68ccbdbdeec5d314747a38410923ac6 Reviewed-on: https://gerrit.libreoffice.org/13409 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* java: improve use of WrappedTargetException to set cause properlyNoel Grandin2014-12-101-2/+2
| | | | | | | | | since we introduced the new constructors that pass the cause all the way up to java.lang.Throwable. Also simplify some exeception printing sites, because Throwable will correctly print out child exceptions for us. Change-Id: Ibbecce3c6f971fbc80d6de2052ab4f33a4503c0a
* java: last statement in finalize() method should be call to super.finalize()Noel Grandin2014-11-121-1/+2
| | | | | | | Change-Id: I1785c6cef1fe7c1990207a76c263cff388cbb7e1 Reviewed-on: https://gerrit.libreoffice.org/12375 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* Fixed typos. No automatic tools (sed, and so on).Andrea Gelmini2014-10-301-1/+1
| | | | | | | | Change-Id: Ia43976d84eede6f699381bc4f3daf89b95e4cb4f Reviewed-on: https://gerrit.libreoffice.org/12150 Reviewed-by: Bryan Quigley <gquigs@gmail.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* remove unnecessary 'using namespace rtl' declarationsNoel Grandin2014-10-298-8/+0
| | | | | | | | | It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* fix use of RuntimeException constructorNoel Grandin2014-10-141-2/+2
| | | | Change-Id: Ia8fe44ea365183a8dec8027812b4877be080070d
* java: when rethrowing exceptions, store the original causeNoel Grandin2014-09-251-4/+4
| | | | | | | so that we get a nice complete stacktrace when it hits the final handler Change-Id: Iec4fcc15a2a25c55f591b5e069dce3d010197a90
* java: remove unnecessary constructor declarationsNoel Grandin2014-08-201-1/+0
| | | | | | | in the absence of any other constructors, the compiler will automatically generate a public no-arg constructor Change-Id: I70eca507cd8e16e33580b3398d41d70690bc2909
* java: use 'Byte.valueOf' instead of 'new Byte'Noel Grandin2014-08-192-11/+11
| | | | Change-Id: Ia99765a6226317ee41ffb02a1b0dd7e6fd944a90
* java: use 'Short.valueOf' instead of 'new Short'Noel Grandin2014-08-192-13/+13
| | | | Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
* java: use 'Long.valueOf' instead of 'new Long'Noel Grandin2014-08-192-13/+13
| | | | Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69
* java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin2014-08-192-15/+15
| | | | Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
* java: remove commented out codeNoel Grandin2014-08-141-5/+0
| | | | Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
* java: add @Override annotation to overriding methodsNoel Grandin2014-08-1217-0/+48
| | | | Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
* java: remove exceptions from throws clauses that are notNoel Grandin2014-08-081-1/+1
| | | | | | .. actually thrown Change-Id: Ia326ac7f82e11b948ed0f34e20908a96e7adcd10
* java: remove unnecessary semi-colonsNoel Grandin2014-08-081-1/+1
| | | | Change-Id: Ibeeefc6e6ee8f7bed97a02f569f239ff035d38c4
* java: remove unused fieldsNoel Grandin2014-08-081-3/+0
| | | | Change-Id: I25fef9590a34ec8d9aab182b3d267ae3cd649a87
* java: remove unused fieldsNoel Grandin2014-08-051-4/+0
| | | | Change-Id: I6c93864f501f646a8940eac221a88c87b3f75525
* java: remove various unused variablesNoel Grandin2014-08-051-1/+0
| | | | Change-Id: Id9f30938f594cb6fe73bf40adfffa65ec1b42cd1
* bridges: remove SAL_THROW macroNoel Grandin2014-06-052-2/+0
| | | | Change-Id: I2daafd711aedab17b6c13fde95c8af5f49d38a7c
* whitespace for include statementsThomas Arnhold2014-04-151-2/+2
| | | | Change-Id: I76bd0ef07a2fa134e948724cecdf539ffe6ccb8a
* Remove visual noise from bridgesAlexander Wilms2014-03-011-2/+1
| | | | | | | Change-Id: I53fa23d335ff62795f09f9838d4064cea71aeb65 Reviewed-on: https://gerrit.libreoffice.org/8237 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Remove unneccessary commentsAlexander Wilms2014-02-232-2/+2
| | | | | | | Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* fdo#54938 Convert oox, sc, vcl, svtools... to cppu::supportsServiceAlexandre Vicenzi2014-02-061-11/+3
| | | | | | | Change-Id: I6268bc57417d53b9810c81071fbcd604e2a19507 Reviewed-on: https://gerrit.libreoffice.org/7886 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
* fdo#54938 Convert bridges, editeng and others to cppu::supportsServiceAlexandre Vicenzi2014-02-021-39/+2
| | | | | | | | Change-Id: I7ff5189473c3e0831c2f1e95264d1a04f3b716a9 Reviewed-on: https://gerrit.libreoffice.org/7761 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
* Clean-up uno/lbnames.hStephan Bergmann2013-12-165-4/+1
| | | | Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
* remove unnecessary use of OUString constructor when assigningNoel Grandin2013-11-193-5/+5
| | | | | | | | | change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
* remove redundant calls to OUString constructor in if expressionNoel Grandin2013-11-041-1/+1
| | | | | | | | | Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c
* fdo#54938: More uses of cppu::supportsServiceMarcos Paulo de Souza2013-10-252-14/+4
| | | | | | | | Change-Id: I90a7a07a43559b8d7e1d4b886b2624255200d46b Reviewed-on: https://gerrit.libreoffice.org/6406 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>