[Libreoffice-commits] core.git: jvmfwk/inc jvmfwk/plugins

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Oct 14 15:13:47 UTC 2018


 jvmfwk/inc/vendorbase.hxx                        |    6 ------
 jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx |   18 +-----------------
 2 files changed, 1 insertion(+), 23 deletions(-)

New commits:
commit 7758115d15ded2afd81946df0865ecc831b179aa
Author:     Arnaud Versini <arnaud.versini at libreoffice.org>
AuthorDate: Sun Oct 14 09:27:32 2018 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sun Oct 14 17:13:25 2018 +0200

    Remove useless constructor and destructor
    
    Change-Id: I3130ffb7e3ec1c39965ddbc921e5b3ef8303fa31
    Reviewed-on: https://gerrit.libreoffice.org/61755
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

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)
 {


More information about the Libreoffice-commits mailing list