include/xmloff/maptype.hxx | 2 -- xmloff/source/core/attrlist.cxx | 5 ----- 2 files changed, 7 deletions(-)
New commits: commit e0e1a2d756498d8e00a94bf7535d964f8df3e6ec Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu Jul 26 11:13:10 2018 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Jul 26 14:43:03 2018 +0200 xmloff: 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 Change-Id: Idd25cd86db429b0f3391e359bb2617863b29eb67 Reviewed-on: https://gerrit.libreoffice.org/58053 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/include/xmloff/maptype.hxx b/include/xmloff/maptype.hxx index 8a292008183e..0e944656f716 100644 --- a/include/xmloff/maptype.hxx +++ b/include/xmloff/maptype.hxx @@ -110,8 +110,6 @@ struct XMLPropertyState : mnIndex( nIndex ) {} XMLPropertyState( sal_Int32 nIndex, const css::uno::Any& rValue ) : mnIndex( nIndex ), maValue( rValue ) {} - XMLPropertyState( const XMLPropertyState& rPropState ) - : mnIndex( rPropState.mnIndex ), maValue( rPropState.maValue ) {} }; #endif // INCLUDED_XMLOFF_MAPTYPE_HXX diff --git a/xmloff/source/core/attrlist.cxx b/xmloff/source/core/attrlist.cxx index 5985ef2159be..5673d66f9d93 100644 --- a/xmloff/source/core/attrlist.cxx +++ b/xmloff/source/core/attrlist.cxx @@ -58,11 +58,6 @@ struct SvXMLAttributeList_Impl vecAttribute.reserve(20); } - SvXMLAttributeList_Impl( const SvXMLAttributeList_Impl& r ) : - vecAttribute( r.vecAttribute ) - { - } - ::std::vector<struct SvXMLTagAttribute_Impl> vecAttribute; typedef ::std::vector<struct SvXMLTagAttribute_Impl>::size_type size_type; }; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits