diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-07-26 13:49:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-07-27 08:20:53 +0200 |
commit | aa84f1458f422c1acf38b53a3e3138cd0e84e313 (patch) | |
tree | a97a0067444f406e574fccddff0bcbfb47343f82 /lotuswordpro/source/filter/lwpatomholder.cxx | |
parent | f1a10d4f14e86a2a2a632ff4a091690c2f31f255 (diff) |
lotuswordpro: avoid -Werror=deprecated-copy (GCC trunk towards GCC 9)
...by explicitly defaulting the copy/move functions (and, where needed in turn,
also a default ctor) for classes that have a user-declared dtor that does
nothing other than an implicitly-defined one would do, but needs to be user-
declared because it is virtual and potentially serves as a key function to
emit the vtable, or is non-public, etc.; and by removing explicitly user-
provided functions that do the same as their implicitly-defined counterparts,
but may prevent implicitly declared copy functions from being defined as non-
deleted in the future. (Even if such a user-provided function was declared
non-inline in an include file, the apparently-used implicitly-defined copy
functions are already include, so why bother with non-inline functions.)
Change-Id: I725d60235b72e4eec59809e2d09bfab9a2f7c416
Reviewed-on: https://gerrit.libreoffice.org/58097
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'lotuswordpro/source/filter/lwpatomholder.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpatomholder.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpatomholder.cxx b/lotuswordpro/source/filter/lwpatomholder.cxx index a9a25173460c..582d8fee2780 100644 --- a/lotuswordpro/source/filter/lwpatomholder.cxx +++ b/lotuswordpro/source/filter/lwpatomholder.cxx @@ -62,8 +62,6 @@ LwpAtomHolder::LwpAtomHolder() : m_nAtom(0), m_nAssocAtom(0) {} -LwpAtomHolder::~LwpAtomHolder() -{} /** * @descr read atomholder from object stream * the default encoding used in Word Pro is 1252 |