diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-07-27 09:50:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-07-28 00:12:11 +0200 |
commit | 3280281b8f766490688a6e27130418981ee31b05 (patch) | |
tree | 623a20485dd7d38c6946a36dd21239d1ea9c1ae8 /include | |
parent | 8f817e953e57d2e055c770856dad35ffbdfd7935 (diff) |
-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@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/numitem.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
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; |