summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-03-10 14:41:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-03-11 09:06:06 +0100
commit7002caa97e10d29353d3490b4fbb782d436575b3 (patch)
tree98c254c9f94272e145417034f5cdc85b942edf74 /jvmfwk
parenta370e7ff7e8225b8343678401eca5a1721b2b9bb (diff)
new loplugin:trivialdestructor
look for potentially trivial destructors that can then be elided Change-Id: I435c251bd4291b5864c20d68f88676faac7c43fb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131318 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'jvmfwk')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx5
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/sunversion.hxx1
2 files changed, 0 insertions, 6 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
index c420ad3f1581..490d5febbea4 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
@@ -232,11 +232,6 @@ SunVersion::PreRelease SunVersion::getPreRelease(const char *szRelease)
return Rel_NONE;
}
-SunVersion::~SunVersion()
-{
-
-}
-
/* Examples:
a) 1.0 < 1.1
b) 1.0 < 1.0.0
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.hxx b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.hxx
index 27d2aebcc6bc..58173b74fd58 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.hxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.hxx
@@ -84,7 +84,6 @@ class SunVersion final
public:
explicit SunVersion(const char* szVer);
explicit SunVersion(std::u16string_view usVer);
- ~SunVersion();
/**
Pre-release versions are taken into account.