From 1d42b3da3a0649c45ec030242668e1bc159cb37c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 26 Jul 2018 12:24:10 +0200 Subject: 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 --- framework/inc/uielement/uielement.hxx | 1 - 1 file changed, 1 deletion(-) (limited to 'framework/inc') 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; -- cgit