diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-05-24 17:40:55 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-05-24 23:08:53 +0200 |
commit | af67aeff0e76c1130401685824a6a2d9216e8abe (patch) | |
tree | 23084c460bddcf7b36bd5cfe185377b421bebb3d /sd/source/ui | |
parent | 04b60370a73b79e3aa0a04bc7cff45dff1db6286 (diff) |
Avoid broken static_cast
...from SvtValueItemAcc to unrelated ValueItemAcc in ~SvtValueSetItem. The
Svt* classes had been copied from the non-Svt* ones in
4883fd31141c3598b25a123033297f847cd18552 "weld ScTabBgColorDlg", but this
static_cast had apparently been missed when copying ~SvtValueSetItem from
~ValueSetItem (and the originally copied SvtValueItemAcc::ParentDestroyed had
later been removed with d4d037619638e1915d15dba81c38a1c9b3157972
"loplugin:unusedmethods"). But the static_cast in ~ValueSetItem would never
have been necessary in the first place (though that needs partial reversal of
508c95f1b655d9cfa6be37a5a9de9aff6fd383bf "improve passstuffbyref return
analysis", which had unhelpfully changed ValueSetItem::GetAccessible to return a
reference).
Change-Id: If1c9bb617ac4ad3c24371729504f9082594c048f
Reviewed-on: https://gerrit.libreoffice.org/72914
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sd/source/ui')
0 files changed, 0 insertions, 0 deletions