diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-07-26 11:27:05 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-07-26 14:44:29 +0200 |
commit | f7f7eb79bf62318188f77558c5c9cfbaeab9ccd3 (patch) | |
tree | 21555ea2ad437c1e4a97b86947ac147c3cda9167 /idl/inc | |
parent | cec34c9862ebcc2cb60951b690bbdd09d0c6989d (diff) |
idl: 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: I75e356ee9e12bb2d88ed9db6c60c49b3f4ac5d58
Reviewed-on: https://gerrit.libreoffice.org/58056
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'idl/inc')
-rw-r--r-- | idl/inc/database.hxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/idl/inc/database.hxx b/idl/inc/database.hxx index 86e45c0dc844..4d554ee964e1 100644 --- a/idl/inc/database.hxx +++ b/idl/inc/database.hxx @@ -44,13 +44,6 @@ public: const OString& GetText() const { return aText; } void SetText( const OString& rT ) { aText = rT; } bool IsError() const { return nLine != 0; } - SvIdlError & operator = ( const SvIdlError & rRef ) - { - aText = rRef.aText; - nLine = rRef.nLine; - nColumn = rRef.nColumn; - return *this; - } }; class SvParseException : public std::exception |