There should be no need for a private SwSubFont copy assignment op
...given that its (implicitly defined) copy ctor is public. Before ad355e2b "New: Proportional font width" the class's members were all private, and then were gradually changed to public, that's probably the reason why the copy assignment op still is. Making it public and implicitly declared avoids -Werror=deprecated-copy with GCC trunk towards GCC 9. Change-Id: I940c04041b0447f2129aaaa48f19fec40352311e Reviewed-on: https://gerrit.libreoffice.org/56920 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Showing
Please
register
or
sign in
to comment