diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-07-26 12:24:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-07-26 21:42:55 +0200 |
commit | 1d42b3da3a0649c45ec030242668e1bc159cb37c (patch) | |
tree | 2d465b6a418eb47652144244ce7f13b91645514e /framework/inc | |
parent | d4adfdf019afd2db5c281edf438066240c3a4d61 (diff) |
framework: avoid -Werror=deprecated-copy (GCC trunk towards GCC 9)
...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 inline, so why
bother with non-inline functions.)
Change-Id: Ia4c3442642a2db3ca365a35e56a203a955a415c4
Reviewed-on: https://gerrit.libreoffice.org/58080
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'framework/inc')
-rw-r--r-- | framework/inc/uielement/uielement.hxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/framework/inc/uielement/uielement.hxx b/framework/inc/uielement/uielement.hxx index 777485ce1bc5..9e63b1c0f68f 100644 --- a/framework/inc/uielement/uielement.hxx +++ b/framework/inc/uielement/uielement.hxx @@ -82,7 +82,6 @@ struct UIElement m_nStyle( ButtonType::SYMBOLONLY ) {} bool operator< ( const UIElement& aUIElement ) const; - UIElement& operator=( const UIElement& rUIElement ); OUString m_aType; OUString m_aName; |