Kaydet (Commit) e0e1a2d7 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

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: 's avatarStephan Bergmann <sbergman@redhat.com>
üst c8da7130
...@@ -110,8 +110,6 @@ struct XMLPropertyState ...@@ -110,8 +110,6 @@ struct XMLPropertyState
: mnIndex( nIndex ) {} : mnIndex( nIndex ) {}
XMLPropertyState( sal_Int32 nIndex, const css::uno::Any& rValue ) XMLPropertyState( sal_Int32 nIndex, const css::uno::Any& rValue )
: mnIndex( nIndex ), maValue( rValue ) {} : mnIndex( nIndex ), maValue( rValue ) {}
XMLPropertyState( const XMLPropertyState& rPropState )
: mnIndex( rPropState.mnIndex ), maValue( rPropState.maValue ) {}
}; };
#endif // INCLUDED_XMLOFF_MAPTYPE_HXX #endif // INCLUDED_XMLOFF_MAPTYPE_HXX
......
...@@ -58,11 +58,6 @@ struct SvXMLAttributeList_Impl ...@@ -58,11 +58,6 @@ struct SvXMLAttributeList_Impl
vecAttribute.reserve(20); vecAttribute.reserve(20);
} }
SvXMLAttributeList_Impl( const SvXMLAttributeList_Impl& r ) :
vecAttribute( r.vecAttribute )
{
}
::std::vector<struct SvXMLTagAttribute_Impl> vecAttribute; ::std::vector<struct SvXMLTagAttribute_Impl> vecAttribute;
typedef ::std::vector<struct SvXMLTagAttribute_Impl>::size_type size_type; typedef ::std::vector<struct SvXMLTagAttribute_Impl>::size_type size_type;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment