diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-07-26 13:52:09 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-07-27 08:22:07 +0200 |
commit | 1163e60f779d1cc3ccb1e30dbcc19d01b03ffc04 (patch) | |
tree | 61463ccf0c9f8e27f57144faf970d72c6cef3807 /include/tools | |
parent | 31dac8fc291d220af240833d0aec8638da0c0c5a (diff) |
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 <sbergman@redhat.com>
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/svborder.hxx | 8 |
1 files changed, 0 insertions, 8 deletions
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(); |