summaryrefslogtreecommitdiff
path: root/cui/source/options/optjava.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-12 16:57:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-13 08:12:45 +0100
commitd59987b164bc32efe8f99ad49c139b4fc7ca3c2f (patch)
tree765652d6e940a5bdf43322ed54aa2f4c14116418 /cui/source/options/optjava.cxx
parentb4641df5de7842d6a8fc2c4f839214bf01160c8c (diff)
loplugin:expandablemethods
Change-Id: I333d91ea5ce78c82e9bb107f934614efc7bfb8f7 Reviewed-on: https://gerrit.libreoffice.org/85078 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/options/optjava.cxx')
-rw-r--r--cui/source/options/optjava.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx
index 947d7e25e12c..b27d3a33a51f 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -311,12 +311,6 @@ void SvxJavaOptionsPage::ClearJavaInfo()
#endif
}
-void SvxJavaOptionsPage::ClearJavaList()
-{
- m_xJavaList->clear();
-}
-
-
void SvxJavaOptionsPage::LoadJREs()
{
#if HAVE_FEATURE_JAVA
@@ -561,7 +555,7 @@ bool SvxJavaOptionsPage::FillItemSet( SfxItemSet* /*rCoreSet*/ )
void SvxJavaOptionsPage::Reset( const SfxItemSet* /*rSet*/ )
{
ClearJavaInfo();
- ClearJavaList();
+ m_xJavaList->clear();
SvtMiscOptions aMiscOpt;