diff options
author | Arnaud Versini <arnaud.versini@libreoffice.org> | 2018-10-14 09:27:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-14 17:13:25 +0200 |
commit | 7758115d15ded2afd81946df0865ecc831b179aa (patch) | |
tree | 6edea43cafbefc024458d1b2e98391aa52ebba87 /jvmfwk | |
parent | 7e85ee1e5fdf0c122f450155f49d9696aef17de0 (diff) |
Remove useless constructor and destructor
Change-Id: I3130ffb7e3ec1c39965ddbc921e5b3ef8303fa31
Reviewed-on: https://gerrit.libreoffice.org/61755
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/inc/vendorbase.hxx | 6 | ||||
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx | 18 |
2 files changed, 1 insertions, 23 deletions
diff --git a/jvmfwk/inc/vendorbase.hxx b/jvmfwk/inc/vendorbase.hxx index b2ae34915459..02684a62b675 100644 --- a/jvmfwk/inc/vendorbase.hxx +++ b/jvmfwk/inc/vendorbase.hxx @@ -85,13 +85,7 @@ OpenJDK at least, but probably not true for Lemotes JDK */ class MalformedVersionException : public std::exception { public: - MalformedVersionException(); - - MalformedVersionException(const MalformedVersionException &); - virtual ~MalformedVersionException() override; - - MalformedVersionException & operator =(const MalformedVersionException &); }; class VendorBase: public salhelper::SimpleReferenceObject diff --git a/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx b/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx index 5aaf385ecc69..254f17e16de9 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx @@ -31,23 +31,7 @@ using namespace osl; namespace jfw_plugin { -MalformedVersionException::MalformedVersionException() -{} - -MalformedVersionException::MalformedVersionException( - const MalformedVersionException & ) -{} - -MalformedVersionException::~MalformedVersionException() -{} - -MalformedVersionException & -MalformedVersionException::operator =( - const MalformedVersionException &) -{ - return *this; -} - +MalformedVersionException::~MalformedVersionException() = default; VendorBase::VendorBase(): m_bAccessibility(false) { |