Julien Nabet
25d3c618d8
Typo: formated->formatted
...
Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
2015-03-25 21:12:16 +01:00
Michael Stahl
1a8b6b3f1d
odk: PVS-Studio V618 non-const format string
...
Change-Id: I38c5abfc503fae11e6cb7233f4163b41ed6c699e
2015-03-12 11:28:25 +01:00
Julien Nabet
d35d893c3d
Typos
...
Change-Id: I0aef0c185457687aa0e40a4a1e8024d9e691093f
2015-03-03 23:27:39 +01:00
Michael Stahl
405cb8bc58
remove executable bit from c / h / cxx / hxx / l files
...
Change-Id: I90d7788208fb86c8aea36c4944ca11d881f11720
2015-03-02 14:05:51 +01:00
Noel Grandin
ba233e87ef
remove unnecessary parenthesis in return statements
...
found with
$ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;'
Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-02-23 09:26:58 +02:00
David Ostrovsky
c4e37b8ec4
ODK: Fix WError on windows x64 bit
...
Change-Id: I39534e171806d47e154c82de89b8b9e3883771b4
Reviewed-on: https://gerrit.libreoffice.org/14541
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-02-19 22:25:21 +00:00
Thorsten Behrens
3d403f2af2
Related: tdf#63690 - remove rtl_logfile
...
This was unused since the earlier cleanup.
Change-Id: Ia56641c4242037a0ce501e43939b8dc862499f0e
2015-02-14 00:46:15 +01:00
Julien Nabet
62969accf9
Typo: tilte->title
...
Change-Id: I906f8c29129ead3f18af8d3892648fc053113fde
2015-02-08 22:40:30 +01:00
Tor Lillqvist
d2ac4c3e68
'Ownership' is one word, as is 'relationship'
...
Change-Id: I45c441f68ed5f20cfc87e34e7bfb529a30952f81
2015-01-23 16:23:26 +02:00
Noel Grandin
3757c03fc8
java: simplify array creation
...
and remove the need to worry about keeping indexes correct
Change-Id: I9a5fc00f7e28f305279b41099274c96daebebb95
2015-01-09 15:10:51 +02:00
Michael Stahl
2f69e16c72
override the overloading of "overload" to decrease cognitive (over-)load
...
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-09 00:00:47 +01:00
Miklos Vajna
86c189cf5e
odk: use HTML_TIMESTAMP doxygen option
...
To be consistent with javadoc, see commit
ac631f9ebddbc3674f9628d941e81a7ee73c6c66 (odk: use javadoc -notimestamp,
so generated docs don't unnecessarily differ after each build,
2012-10-17).
Change-Id: Ie52d2ca08a873e663869d60413be7bf8ec1e0b56
2015-01-04 11:37:26 +01:00
Andras Timar
53733528be
Bump copyright year to 2015
...
Change-Id: I18f2abfeee3b7e440aace632aec1296a1beab1f7
2015-01-01 12:12:59 +01:00
Stephan Bergmann
03497d2df6
No need for CppunitTest_odk_checkapi to disable compiler plugins
...
Change-Id: I258a3bb0fafbea5fa41133c0f223162cc416b36b
2014-12-21 22:05:18 +01:00
Stephan Bergmann
d5c86be04e
No need for RTL_USING in addition to LIBO_INTERNAL_ONLY
...
Change-Id: Iaa65658aed6bb4abb20a4d95dc9c6caf7c1c764b
2014-12-19 14:28:13 +01:00
Stephan Bergmann
86ba184394
Introduce gb_*_set_external_code
...
...to harmonize the mechanisms to not define LIBO_INTERNAL_ONLY for extension
code and CppunitTest_odk_checkapi. (It also needs to revert any -Wundef, as the
config_host/config_*.h files will not be included, so the HAVE_* macros will be
undefined.)
This obsoletes the need for RTL_DISABLE_FAST_STRING.
Change-Id: If5eacba80c349efb90762aade8f2ea6d2db7e314
2014-12-18 16:39:43 +01:00
Tor Lillqvist
a2e4be6ded
The touch module, ByteBufferWrapper, and the libotouch library can go away now
...
Change-Id: I6f4a6679c263ac81d1cf5c66f18782e857da5ff8
2014-12-18 12:59:30 +02:00
Noel Grandin
454ddddd99
java: remove some unused fields and variables
...
Change-Id: I5d6071096307adbe7df0178000346cf915afa3e7
Reviewed-on: https://gerrit.libreoffice.org/13477
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-15 12:36:40 +00:00
Noel Grandin
7320714922
java: fix non-public UNO implementation classes
...
which I messed up in commit 70f56bc22fe952c
"java: reduce scope, make member classes private"
Change-Id: I817b2a571e2124f551ccd5c0d8e1099d89f0ec46
2014-12-12 13:41:21 +02:00
Noel Grandin
fd60dd5226
java: improve use of WrappedTargetException to set cause properly
...
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
2014-12-10 13:37:24 +02:00
Noel Grandin
ffffc526e3
java: remove comment noise
...
Change-Id: If6347197ff4436b4edd06e6e62d8e8e6fe1d4db6
Reviewed-on: https://gerrit.libreoffice.org/13408
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-10 08:06:38 +00:00
Stephan Bergmann
827430c8c0
Fold URE: Windows
...
...assuming the delayLoadHook in cli_ure/source/native/native_bootstrap.cxx is
no longer necessary and loading of cppuhelper from the program dir cannot fail
regardless in whatever scenario the cli_cppuhelper library itself is loaded.
Change-Id: I13f32b327bca4cce9780864f5e57cdad3860afe5
2014-12-03 15:19:55 +01:00
Stephan Bergmann
428bd61cd8
Consistently use $(...)
...
Change-Id: I68d3f99ca2a53988fb40ce0d5d364e19a8781cc0
2014-12-02 15:44:07 +01:00
Stephan Bergmann
0ffe0bf68a
Fold URE: Remove OO_SDK_URE_HOME on non-Windows
...
Change-Id: Iad0480eb39e2c1312c27cf9b90146c2beba592fd
2014-12-02 15:42:37 +01:00
Stephan Bergmann
d30caae7e7
Remove obsolete setsdkenv_windows.template
...
Change-Id: I3a79830c5538e12fc6370ae30168266c0f1c533e
2014-12-02 09:55:45 +01:00
Stephan Bergmann
bd1cba5158
Some Windows Command Prompt don't like if ... ( set PATH=... )
...
...it appears. At least with Version 6.3.9600 on Windows 8.1, it results in
spurious
\Windows was unexpected at this time.
past the first such construct. Go figure.
Change-Id: I21cdb4edce0e7b22f26ac8b2f8b884f18490879b
2014-12-01 18:20:09 +01:00
Stephan Bergmann
542120c306
Generate oxt in OUT_BIN
...
Change-Id: Idb4569c64060ef9d60e0d090cf46b053a252d750
2014-12-01 15:32:18 +01:00
Stephan Bergmann
982f199a98
Fold URE: Linux ure/share/misc/* -> program/
...
...and remove now unused ure-link symlink
Change-Id: Ic958432c1dad4fae213982d0af072187f151620b
2014-12-01 15:10:32 +01:00
Stephan Bergmann
8fdb239735
Fold URE: Linux ure/share/java/* -> program/classes/
...
Change-Id: I86864f832c0377d307cfa0b2c137f452e43797eb
2014-11-28 15:32:26 +01:00
Stephan Bergmann
34f8136cd0
Fold URE: Linux ure/lib/* -> program/: adapt OO_SDK_URE_LIB_DIR
...
Change-Id: I81b4eb422620fefba17fe1877ee91807be22df5c
2014-11-28 15:04:29 +01:00
Stephan Bergmann
eef94c1655
Fold URE: Linux ure/bin/* -> program/
...
Change-Id: Id6cab518329829c22600f2a68b6b59abd04a564c
2014-11-28 11:57:28 +01:00
Noel Grandin
5d60214678
java: remove some comment noise
...
Change-Id: I1c258b853097448d4a59334d915e94dba4c7eb34
2014-11-25 10:34:27 +02:00
Noel Grandin
58eab57648
java: final fields that can be static
...
found by PMD
Change-Id: I2b48f35d252d6e914c2a18a2c175b075a9d3ac0f
Reviewed-on: https://gerrit.libreoffice.org/13099
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-25 06:06:48 +00:00
Stephan Bergmann
d395093aec
Adapt documentation to reality
...
...that both OFFICE_HOME and OO_SDK_URE_HOME are always set
Change-Id: I74f3a19cd7020fbefc30b08e122ca20e292f1830
2014-11-24 17:14:14 +01:00
Stephan Bergmann
0d2befdaea
Re-indent (no change to content)
...
Change-Id: I72fa9b85e8544ea7bf1c1dea8ff3358835959f55
2014-11-24 17:05:51 +01:00
Stephan Bergmann
2052ea7439
Both OFFICE_HOME and OO_SDK_URE_HOME are always set
...
...via setsdkenv_unix -> configure.pl
Change-Id: I5b5e8e99736ce6d12ad7796d73cb1cf6871ad7f4
2014-11-24 16:39:02 +01:00
Stephan Bergmann
26cf7dcf19
Make SDK examples compile again
...
...after various recent changes to include files etc.
Change-Id: I9d2acbcfb09ca1df6247038afa6fbd99aa74a90d
2014-11-19 17:06:30 +01:00
Noel Grandin
a3a57bebcd
java: fix some raw types warnings
...
Change-Id: I0e00739ac36ccc8704ad3c4e4adfa377a6b01f43
2014-11-18 12:44:34 +02:00
Noel Grandin
0063cf2856
java: make fields final where possible
...
found by PMD
Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
2014-11-18 12:44:28 +02:00
Caolán McNamara
5208856b3b
document coverity#706181 Use of untrusted string value
...
Change-Id: If8c80568175b3a5380ee78dda5ebd161c5dba2f6
2014-11-17 14:53:22 +00:00
Andrea Gelmini
da40cac540
Fix common typos. No automatic tools. Handmade…
...
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-12 11:04:11 +00:00
Noel Grandin
bb437029c1
java: convert fields to local variables where possible
...
found by PMD
Change-Id: I05b45382b8fb1b734657ce9421a20e6ef6fbe542
Reviewed-on: https://gerrit.libreoffice.org/12376
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-12 11:03:29 +00:00
Noel Grandin
b95dcb97de
java: last statement in finalize() method should be call to super.finalize()
...
Change-Id: I1785c6cef1fe7c1990207a76c263cff388cbb7e1
Reviewed-on: https://gerrit.libreoffice.org/12375
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-12 08:02:18 +00:00
Noel Grandin
36ff1527c9
java: reduce excessive code indentation levels
...
by using early return in some methods
Change-Id: I3611c8c89b3a94ef7e1772d178acf065fd7fcdc7
Reviewed-on: https://gerrit.libreoffice.org/12374
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-12 08:01:55 +00:00
Michael Stahl
fa836cab8d
odk: disable MSVC warning C4996
...
Change-Id: I6c2dab3b427121366bb2d39b95262311286ae371
2014-11-03 23:14:11 +01:00
Andrea Gelmini
0c0e3e7539
Fixed typos. No automatic tools (sed, and so on).
...
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>
2014-10-30 17:16:02 +00:00
Noel Grandin
0371a63365
remove unnecessary 'using namespace rtl' declarations
...
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>
2014-10-29 11:28:54 +00:00
Noel Grandin
03c7c26cbe
java: final fields that can be static
...
Change-Id: I8c06be7bc0b8a38c662209f0de72a00550e25447
2014-10-17 08:26:21 +02:00
Noel Grandin
12b01b920f
java: no need to call String.valueOf to append to a String
...
Change-Id: I5ef45b971d24dde814ab8cbb2e9503d9da4f0d73
2014-10-17 08:26:19 +02:00
Noel Grandin
9341bf3dc3
java: when rethrowing, store the original exception
...
Change-Id: I34ce000c48d2d79bfec854c8dd55d12f2bee29c7
2014-10-16 12:27:15 +02:00