Commit Graph

35 Commits

Author SHA1 Message Date
Stephan Bergmann
f276171835 Use std::unique_ptr<JavaInfo> in jfw_plugin_getAllJavaInfos
Change-Id: I2beb95c42c666a788a87a45f59bc15ccfcf25aa6
2017-04-13 17:32:44 +02:00
Stephan Bergmann
6925007c2a Simplify jfw_findAllJREs
...dropping remaining uses of CJavaInfo

Change-Id: I76afd5af927233712181f58b14fe6f4c1a9c15c2
2017-04-13 17:32:43 +02:00
Stephan Bergmann
77e5a6d857 Replace a use of CJavaInfo with std::unique_ptr<JavaInfo>
Change-Id: Ib659d6edf362901a95cfb50ac008520805ad0fb0
2017-04-13 17:32:43 +02:00
Stephan Bergmann
2767dcc7b2 Replace a use of CJavaInfo with std::unique_ptr<JavaInfo>
Change-Id: I89cb19969285200a61c47d29e819a50845fa692b
2017-04-13 17:32:43 +02:00
Stephan Bergmann
331f0e0c1e Remove unused function pointer typedefs
Change-Id: I51ee45dba007e5709b1516c36b029f940ea7153e
2017-04-12 09:36:20 +02:00
Stephan Bergmann
a730dc1b56 Remove unnecessary jfw::CJavaInfo::cloneJavaInfo
Change-Id: Ia9e807c0d1e5b0664d711c551a5e70afccbcc564
2017-04-11 15:07:42 +02:00
Noel Grandin
c5df32e5cb loplugin: unnecessary destructor jvmfwk..lotuswordpro
Change-Id: Iaa4f9b178ab265342255066af7fff09f5b33ab37
Reviewed-on: https://gerrit.libreoffice.org/33496
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-01-24 15:56:31 +00:00
Stephan Bergmann
91dd2db17b loplugin:override: No more need for the "MSVC dtor override" workaround
The issue of 362d4f0cd4 "Explicitly mark
overriding destructors as 'virtual'" appears to no longer be a problem with
MSVC 2013.

(The little change in the rewriting code of compilerplugins/clang/override.cxx
was necessary to prevent an endless loop when adding "override" to

  OOO_DLLPUBLIC_CHARTTOOLS    virtual ~CloseableLifeTimeManager();

in chart2/source/inc/LifeTime.hxx, getting stuck in the leading
OOO_DLLPUBLIC_CHARTTOOLS macro.  Can't remember what that
isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.)

Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
2016-09-13 13:19:22 +02:00
Stephan Bergmann
220d9c24d0 include/jvmfwk/*.h -> .hxx (only ever included from C++ code)
Change-Id: Ia912e937d5a48afb6f8f5345b20bb7bd517fc4f1
2016-03-09 19:08:29 +01:00
Chris Sherlock
a238b1f8d3 Remove excess newlines
A ridiculously fast way of doing this is:

for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \
  --exclude-dir=workdir --exclude-dir=instdir '^
{3,}' .)
do
    perl -0777 -i -pe 's/^
{3,}/

/gm' $i
done

Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Reviewed-on: https://gerrit.libreoffice.org/22224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-09 08:18:05 +00:00
Noel Grandin
b14224fe97 loplugin:unusedmethods
using an idea from dtardon:

<dtardon> noelgrandin, hi. could you try to run the unusedmethods clang
plugin with "make build-nocheck"? that would catch functions that are
only used in tests. e.g., i just removed the whole o3tl::range class,
which has not been used in many years, but htere was a test for it...
<noelgrandin> dtardon, interesting idea! Sure, I can do that.

Change-Id: I5653953a426a2186a1e43017212d87ffce520387
Reviewed-on: https://gerrit.libreoffice.org/22041
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-08 06:08:14 +00:00
Caolán McNamara
f4d03933dc callcatcher: update unused code
Change-Id: Ia25b857738bb7b6c3baf18c68ef0d1bc0b3e142e
2014-12-04 10:44:36 +00:00
Stephan Bergmann
04a290b107 vendorplugin.h is jvmfwk-internal (and no need for extern "C")
Change-Id: I954f789d5850e8016f5900812f9aa99be2416ce4
2014-10-09 18:09:41 +02:00
Stephan Bergmann
07dbd2076b Nothrow dtor
Change-Id: I1793d2eab568f4a65813fca7257c74e1a85a0090
2014-09-03 10:20:31 +02:00
Caolán McNamara
d1c18edd3f coverity#707200 Uncaught exception
Change-Id: Iaf115f1f11aef69ef5dba7023f4126c22d1f49ff
2014-09-02 15:30:54 +01:00
Noel Grandin
3e82897353 improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
Noel Grandin
184a00b962 loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-09 10:10:13 +02:00
Thomas Arnhold
2bd7767d01 Resolves fdo#70681: fixincludeguards.pl: all that's left
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5
Reviewed-on: https://gerrit.libreoffice.org/9360
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-15 12:50:46 +00:00
Luboš Luňák
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
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
2013-04-07 14:23:11 +02:00
Thomas Arnhold
1340890ccd simplify include guards
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-14 05:44:15 +02:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Takeshi Abe
b406c51330 removed dead code; fix a comment 2011-03-04 01:41:18 +09:00
Jan Holesovsky
752d233ca1 Merge commit 'ooo/OOO330_m13' 2010-11-01 13:54:58 +01:00
Joachim Lingner
f1b79dae76 jl162 #i115180# fix problems with latest java 1.6.0_22 on MacOS 10.6 2010-10-26 12:28:33 +02:00
Sebastian Spaeth
a715e1b3d0 Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-14 17:04:31 +02:00
Jens-Heiner Rechtien
7c80db2eb3 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Rüdiger Timm
7851986bcf INTEGRATION: CWS jl101 (1.8.12); FILE MERGED
2008/05/28 14:55:52 jl 1.8.12.1: #i89584# patch - remove unused code.
2008-06-06 07:37:59 +00:00
Rüdiger Timm
7d9c4a751e INTEGRATION: CWS changefileheader (1.7.126); FILE MERGED
2008/03/31 07:24:51 rt 1.7.126.1: #i87441# Change license header to LPGL v3.
2008-04-11 09:26:50 +00:00
Rüdiger Timm
55910e73a1 INTEGRATION: CWS ooo19126 (1.6.34); FILE MERGED
2005/09/05 17:12:27 rt 1.6.34.1: #i54170# Change license header: remove SISSL
2005-09-07 18:34:43 +00:00
Kurt Zenker
a6f9eb2cc5 INTEGRATION: CWS jl15 (1.5.2); FILE MERGED
2004/11/24 12:46:18 jl 1.5.2.1: #i37225#
2004-12-16 10:47:37 +00:00
Jens-Heiner Rechtien
99219449bd INTEGRATION: CWS jl13 (1.4.10); FILE MERGED
2004/09/29 13:43:50 jl 1.4.10.1: #i29390# using framework in other applications
2004-11-09 13:00:27 +00:00
Jens-Heiner Rechtien
a05ba3ff9b INTEGRATION: CWS jl8 (1.3.4); FILE MERGED
2004/06/18 15:01:56 jl 1.3.4.1: #i30342# plugin supports multiple vendors
2004-07-23 10:54:52 +00:00
Joachim Lingner
79a305d2fa #i20052# 2004-05-10 13:34:20 +00:00
Joachim Lingner
cab7aaaaae #i20052# ../user/config/javasettings.xml is now generated 2004-04-26 10:20:34 +00:00
Joachim Lingner
49614181e5 #i20052# plugin lib for java framework 2004-04-19 14:57:02 +00:00