cui/uiconfig/ui/toolbartabpage.ui | 7 +------ vcl/source/treelist/treelist.cxx | 13 +------------ 2 files changed, 2 insertions(+), 18 deletions(-)
New commits: commit 11d811932e90febccd71faa7a2d29788a161364f Author: Michael Weghorn <[email protected]> AuthorDate: Mon Feb 16 12:23:08 2026 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Mon Feb 16 23:08:10 2026 +0100 tdf#130857 cui a11y: Set mnemonic-widget in toolbar tab page ... instead of setting the a11y relations manually. This also makes sure the label text is properly shown as "Lock all:" instead of "_Lock all:" (with a literal underline) for the qt6 VCL plugin with environment variable SAL_VCL_QT_USE_WELDED_WIDGETS=1 set, i.e. when native Qt widgets are used. Change-Id: I3c5d1f9d4adc837bb247f4f1339114a07fbaf0c7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199476 Reviewed-by: Michael Weghorn <[email protected]> Tested-by: Jenkins diff --git a/cui/uiconfig/ui/toolbartabpage.ui b/cui/uiconfig/ui/toolbartabpage.ui index cba80f58bb48..dee23324fe02 100644 --- a/cui/uiconfig/ui/toolbartabpage.ui +++ b/cui/uiconfig/ui/toolbartabpage.ui @@ -138,9 +138,7 @@ <property name="margin-end">3</property> <property name="label" translatable="yes" context="toolbartabpage|lbLockAll">_Lock all:</property> <property name="use-underline">True</property> - <accessibility> - <relation type="label-for" target="cbLockAll"/> - </accessibility> + <property name="mnemonic-widget">cbLockAll</property> </object> <packing> <property name="expand">False</property> @@ -159,9 +157,6 @@ <child> <placeholder/> </child> - <accessibility> - <relation type="labelled-by" target="lbLockAll"/> - </accessibility> </object> <packing> <property name="expand">False</property> commit e97153e05b645c70ec45486f8c134c73a5b18ca9 Author: Michael Weghorn <[email protected]> AuthorDate: Mon Feb 16 11:31:15 2026 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Mon Feb 16 23:08:03 2026 +0100 vcl: Merge variable declaration + assignment Change-Id: I7ccafac1c4a2eb67d260568e2de0a637031f4053 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199471 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/vcl/source/treelist/treelist.cxx b/vcl/source/treelist/treelist.cxx index 528a6ff6ce1b..05bb25dd9e81 100644 --- a/vcl/source/treelist/treelist.cxx +++ b/vcl/source/treelist/treelist.cxx @@ -968,10 +968,8 @@ SvListView::SvListView() { m_pModel.reset(new SvTreeList(*this)); - SvTreeListEntry* pEntry; - // insert root entry - pEntry = m_pModel->pRootItem.get(); + SvTreeListEntry* pEntry = m_pModel->pRootItem.get(); std::unique_ptr<SvViewDataEntry> pViewData(new SvViewDataEntry); pViewData->SetExpanded(true); m_DataTable.insert(std::make_pair(pEntry, std::move(pViewData))); commit fe14a2e491c8060cdcf0e9031bd3078635c24027 Author: Michael Weghorn <[email protected]> AuthorDate: Mon Feb 16 11:29:23 2026 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Mon Feb 16 23:07:57 2026 +0100 vcl: Drop superfluous check whether SvListView::m_DataTable empty ... in the SvListView ctor. At this point, it is known that no entries have been inserted yet. Previous commits up to Change-Id: I9227bc86b74810b94ff52fd3f2f24128b5822346 Author: Michael Weghorn <[email protected]> Date: Mon Feb 16 11:20:37 2026 +0100 vcl: Merge SvListView::InitTable into ctor have made this a bit more obvious. Change-Id: I2c57958c8b7f0375811bcc741648d43243848a2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199470 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/vcl/source/treelist/treelist.cxx b/vcl/source/treelist/treelist.cxx index 93aa3595f1df..528a6ff6ce1b 100644 --- a/vcl/source/treelist/treelist.cxx +++ b/vcl/source/treelist/treelist.cxx @@ -968,15 +968,6 @@ SvListView::SvListView() { m_pModel.reset(new SvTreeList(*this)); - if (!m_DataTable.empty()) - { - DBG_ASSERT(m_DataTable.size() == 1, "InitTable: TableCount != 1"); - // Delete the view data allocated to the Clear in the root. - // Attention: The model belonging to the root entry (and thus the entry - // itself) might already be deleted. - m_DataTable.clear(); - } - SvTreeListEntry* pEntry; // insert root entry
