summaryrefslogtreecommitdiffstats
path: root/bridges/test
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Bin pointless commentTor Lillqvist2013-10-121-1/+1
| | | | Change-Id: I7a873b1275ebc8279958fc14cccbfa99646e4744
* typo fixes in commentsAndras Timar2013-09-261-1/+1
| | | | Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
* add mode lines to new files (and idls) since last runCaolán McNamara2013-09-227-0/+21
| | | | Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
* Don't export a variable called PATH_SEPARATORTor Lillqvist2013-05-154-16/+16
| | | | | | | | | | | | It used to be mis-spelled PATH_SEPERATOR. Now, after correcting the spelling, it breaks the build of 3rd-party libraries using autoconfigury on Windows. The value of PATH_SEPARATOR is ";" on Windows, and the configure scripts of those libs run in Cygwin and assume that a PATH_SEPARATOR environment variable should be correct for Cygwin. Which ";" isn't. Rename the variable to LIBO_PATH_SEPARATOR. Change-Id: Iff0eb93bf11d9f844a28be7ea4456e4c0ae10844
* Spelling "separate" (etc) correctly is hardTor Lillqvist2013-05-154-16/+16
|
* Java cleanup, convert Hashtable to HashMapNoel Grandin2013-05-061-6/+7
| | | | Change-Id: If8a9c0c3a4b357fb9c0ff096f44ed1b44ebbcef4
* Java cleanup, remove unused importsNoel Grandin2013-04-261-1/+0
| | | | Change-Id: I697017f196a7f7e5684011ae23941e54051c45dd
* Java cleanup, use generic containers where possibleNoel Grandin2013-04-241-2/+2
| | | | | | | Change-Id: Icd830004de3e121f5b96393e7d7b447775833419 Reviewed-on: https://gerrit.libreoffice.org/3569 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Java cleanup, remove unnecessary castsNoel Grandin2013-04-192-7/+7
| | | | | | | Change-Id: Id12089bc7df16631737e6acaee0973fb91dd953f Reviewed-on: https://gerrit.libreoffice.org/3431 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Related rhbz#867808: More apparently bogus "throw new ..." in C++ codeStephan Bergmann2013-04-162-3/+3
| | | | Change-Id: I5d723b389f1ed20f7962807b782f44f6f3c61882
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-077-76/+73
| | | | | | | | Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
* Remove RTL_CONSTASCII_(U)STRINGPARAM in bridgesChr. Rossmanith2013-04-025-15/+15
| | | | | | | Change-Id: Id8777ee7f587846399e95cf3b1b37d669a76bae5 Reviewed-on: https://gerrit.libreoffice.org/3139 Reviewed-by: Christina Roßmanith <ChrRossmanith@web.de> Tested-by: Christina Roßmanith <ChrRossmanith@web.de>
* removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2013-03-194-4/+4
| | | | | | | | | s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-199-66/+66
| | | | | | | | | | | Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* sal_Bool to boolTakeshi Abe2013-03-043-3/+3
| | | | Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
* Replace rtl::O(U)String with O(U)StringÁdám Csaba Király2013-03-011-13/+13
| | | | | | | | | | | | Other changes include: in bridges/test/testcomp.cxx duplicate 'using namespace ::test' removed, 'using namespace ::rtl' replaced with 'using ::rtl::OUString' and 'using ::rtl::OUStringToOString' Change-Id: I67a5952afd305adeb07f728c9074620ecba8e9fc Reviewed-on: https://gerrit.libreoffice.org/2475 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>