diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-01-10 21:13:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-01-11 14:58:03 +0100 |
commit | 65a06cfcfba0743584faca9d6e2a3c0d51ece45b (patch) | |
tree | 3a53d1188ff6c843b45ad34809fb0baf4bad8ee9 /cui | |
parent | 2f811b75602c5da6af86cce1221f818d3ea7e4fc (diff) |
Resolves: tdf#127417 delete-all tabs doesn't work
since...
commit 1e2682235cded9a7cd90e55f0bfc60a1285e9a46
Date: Thu Apr 18 19:25:06 2019 +0200
WIP: Further preparations for deeper Item changes
because since then aNewTabs is cloned, but on delete-all
aNewTabs is reset to a SvxTabStopItem with a 0 WhichId
so its clones are useless
Change-Id: I725bec90d8915b3546afeed590f21ebdbbdaa355
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86578
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/tabstpge.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/tabstpge.cxx b/cui/source/tabpages/tabstpge.cxx index 70ede0a40e3d..bc2e51a1e07a 100644 --- a/cui/source/tabpages/tabstpge.cxx +++ b/cui/source/tabpages/tabstpge.cxx @@ -520,7 +520,7 @@ IMPL_LINK_NOARG(SvxTabulatorTabPage, DelAllHdl_Impl, weld::Button&, void) { if ( aNewTabs->Count() ) { - aNewTabs = std::make_unique<SvxTabStopItem>( 0 ); + aNewTabs = std::make_unique<SvxTabStopItem>(GetWhich(SID_ATTR_TABSTOP)); InitTabPos_Impl(); } } |