sc/inc/dbdata.hxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 6206e9f96551795e998a0687b784d92955ee1806
Author:     Miklos Vajna <[email protected]>
AuthorDate: Tue Nov 18 08:27:08 2025 +0100
Commit:     Miklos Vajna <[email protected]>
CommitDate: Tue Nov 18 13:42:28 2025 +0100

    sc: fix -Werror,-Wdeprecated-copy
    
    clang 15 warns:
    
            In file included from 
/home/vmiklos/git/libreoffice/co-25.04-clang/sc/source/ui/unoobj/datauno.cxx:46:
            In file included from 
/home/vmiklos/git/libreoffice/co-25.04-clang/sc/inc/rangeutl.hxx:24:
            
/home/vmiklos/git/libreoffice/co-25.04-clang/sc/inc/dbdata.hxx:140:18: error: 
definition of implicit copy assignment operator for 'ScTableStyleParam' is 
deprecated because it has a user-declared copy constructor 
[-Werror,-Wdeprecated-copy]
                SC_DLLPUBLIC ScTableStyleParam(const ScTableStyleParam& rParam) 
= default;
                             ^
            
/home/vmiklos/git/libreoffice/co-25.04-clang/sc/source/ui/unoobj/datauno.cxx:1986:20:
 note: in implicit copy assignment operator for 'ScTableStyleParam' first 
required here
                        aParam = *pOldParam;
                               ^
            1 error generated.
    
    Change-Id: If0e2c196d2ba8e421fb292aca3eb3486842c4801
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194146
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/sc/inc/dbdata.hxx b/sc/inc/dbdata.hxx
index 54c1c5ade949..aba9d818f77c 100644
--- a/sc/inc/dbdata.hxx
+++ b/sc/inc/dbdata.hxx
@@ -137,7 +137,6 @@ struct SAL_DLLPUBLIC_RTTI ScTableStyleParam
     bool mbLastColumn;
 
     SC_DLLPUBLIC ScTableStyleParam();
-    SC_DLLPUBLIC ScTableStyleParam(const ScTableStyleParam& rParam) = default;
 
     bool operator== (const ScTableStyleParam& rData) const;
 };

Reply via email to