diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-07-27 10:26:52 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-07-28 00:12:53 +0200 |
commit | dea2c65032eafb0398ffd10bcd3485499be17eb4 (patch) | |
tree | 2a178e8bed60fb8f73fc7180b13609366b0bcab3 /include/editeng/shdditem.hxx | |
parent | 3280281b8f766490688a6e27130418981ee31b05 (diff) |
-Werror=deprecated-copy (GCC trunk towards GCC 9)
...in SfxPoolItem-derived classes that have a user-provided copy assignment op
(to override the explicitly deleted one of SfxPoolItem, cf.
727878a7d8ae25342db75173cc314fa330ccc077 "Remove unused copy assignment ops of
SfxPoolItem-derived classes"), so GCC 9 would warn about the implicitly-defined
copy ctor. Mark all those with "SfxPoolItem copy function dichotomy" comments
so they can be found again should the odd design of SfxPoolItem ever be changed.
Change-Id: If206716747c42205ae4822a3f54c9de037c75286
Reviewed-on: https://gerrit.libreoffice.org/58172
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/editeng/shdditem.hxx')
-rw-r--r-- | include/editeng/shdditem.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/shdditem.hxx b/include/editeng/shdditem.hxx index a27b54ccc145..22f9ccf25a3a 100644 --- a/include/editeng/shdditem.hxx +++ b/include/editeng/shdditem.hxx @@ -53,7 +53,7 @@ public: SetValue(rShadow.GetValue()); return *this; } - + SvxShadowedItem(SvxShadowedItem const &) = default; // SfxPoolItem copy function dichotomy }; #endif |