[Libreoffice-commits] core.git: include/editeng

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Jul 27 22:12:35 UTC 2018


 include/editeng/numitem.hxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 3280281b8f766490688a6e27130418981ee31b05
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Jul 27 09:50:14 2018 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Sat Jul 28 00:12:11 2018 +0200

    -Werror=deprecated-copy (GCC trunk towards GCC 9)
    
    (the SvxNumberType ctors/dtor update static nRefCount, so the copy ctor cannot
    be defaulted)
    
    Change-Id: Ibccc8377bf0f226d092cd53917b396fcd19cb4e0
    Reviewed-on: https://gerrit.libreoffice.org/58167
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/include/editeng/numitem.hxx b/include/editeng/numitem.hxx
index 520e12cfbdc5..9c434419058e 100644
--- a/include/editeng/numitem.hxx
+++ b/include/editeng/numitem.hxx
@@ -65,6 +65,7 @@ public:
     explicit SvxNumberType(SvxNumType nType = SVX_NUM_ARABIC);
     SvxNumberType(const SvxNumberType& rType);
     ~SvxNumberType();
+    SvxNumberType & operator =(SvxNumberType const &) = default;
 
     OUString        GetNumStr( sal_Int32 nNo ) const;
     OUString        GetNumStr( sal_Int32 nNo, const css::lang::Locale& rLocale ) const;


More information about the Libreoffice-commits mailing list