include/tools/svborder.hxx | 8 -------- 1 file changed, 8 deletions(-)
New commits: commit 1163e60f779d1cc3ccb1e30dbcc19d01b03ffc04 Author: Stephan Bergmann <[email protected]> AuthorDate: Thu Jul 26 13:52:09 2018 +0200 Commit: Stephan Bergmann <[email protected]> CommitDate: Fri Jul 27 08:22:07 2018 +0200 tools: 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: I59a845b97071d5de5e0e830304948ce39942e732 Reviewed-on: https://gerrit.libreoffice.org/58100 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <[email protected]> diff --git a/include/tools/svborder.hxx b/include/tools/svborder.hxx index 9eef88819847..856efecfdbe7 100644 --- a/include/tools/svborder.hxx +++ b/include/tools/svborder.hxx @@ -46,14 +46,6 @@ public: } bool operator != ( const SvBorder & rObj ) const { return !(*this == rObj); } - SvBorder & operator = ( const SvBorder & rBorder ) - { - Left() = rBorder.Left(); - Top() = rBorder.Top(); - Right() = rBorder.Right(); - Bottom() = rBorder.Bottom(); - return *this; - } SvBorder & operator += ( const SvBorder & rBorder ) { Left() += rBorder.Left(); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
