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/justifyitem.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/justifyitem.hxx')
-rw-r--r-- | include/editeng/justifyitem.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/editeng/justifyitem.hxx b/include/editeng/justifyitem.hxx index 59d4182f2c01..7c25846e63d3 100644 --- a/include/editeng/justifyitem.hxx +++ b/include/editeng/justifyitem.hxx @@ -54,6 +54,7 @@ public: SetValue( rHorJustify.GetValue() ); return *this; } + SvxHorJustifyItem(SvxHorJustifyItem const &) = default; // SfxPoolItem copy function dichotomy }; @@ -86,6 +87,7 @@ public: SetValue( rVerJustify.GetValue() ); return *this; } + SvxVerJustifyItem(SvxVerJustifyItem const &) = default; // SfxPoolItem copy function dichotomy }; |