[Libreoffice-commits] core.git: idl/inc

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Jul 26 12:45:01 UTC 2018


 idl/inc/database.hxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit f7f7eb79bf62318188f77558c5c9cfbaeab9ccd3
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jul 26 11:27:05 2018 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Jul 26 14:44:29 2018 +0200

    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 at redhat.com>

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


More information about the Libreoffice-commits mailing list