cui/source/dialogs/hltpbase.cxx | 6 ++++-- cui/source/inc/hltpbase.hxx | 1 + 2 files changed, 5 insertions(+), 2 deletions(-)
New commits: commit acbe8fd091a9ca49af0b81950b851bebcc2fca12 Author: Maya Stephens <maya.steph...@collabora.com> AuthorDate: Mon Sep 1 19:39:04 2025 +0000 Commit: Michael Stahl <michael.st...@collabora.com> CommitDate: Tue Sep 9 17:00:28 2025 +0200 Change hyperlink dialog headers in lokit In lokit, hide both the tab label and the further settings label. Change-Id: I6a6a69646db3bac2a987e2e6cf8ebb206ebc99f0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190506 Reviewed-by: Michael Stahl <michael.st...@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/cui/source/dialogs/hltpbase.cxx b/cui/source/dialogs/hltpbase.cxx index f996beb3b651..bd9743dc1945 100644 --- a/cui/source/dialogs/hltpbase.cxx +++ b/cui/source/dialogs/hltpbase.cxx @@ -115,6 +115,7 @@ SvxHyperlinkTabPageBase::SvxHyperlinkTabPageBase(weld::Container* pParent, , mxNameLabel(xBuilder->weld_label(u"name_label"_ustr)) , mxIndicationLabel(xBuilder->weld_label(u"indication_label"_ustr)) , mxFrameLabel(xBuilder->weld_label(u"frame_label"_ustr)) + , mxTabLabel(xBuilder->weld_label(u"label2"_ustr)) , mxFurtherSettings(xBuilder->weld_label(u"label1"_ustr)) , mbIsCloseDisabled( false ) , mpDialog( pDlg ) @@ -269,6 +270,9 @@ void SvxHyperlinkTabPageBase::FillStandardDlgFields ( const SvxHyperlinkItem* pH mxFormLabel->hide(); mxLbForm->hide(); + mxTabLabel->hide(); + mxFurtherSettings->hide(); + // Although not visible, give fields so that default value can be used mxLbForm->clear(); mxLbForm->append_text( aStrFormText ); @@ -278,11 +282,9 @@ void SvxHyperlinkTabPageBase::FillStandardDlgFields ( const SvxHyperlinkItem* pH if (pHyperlinkItem->GetShowName()) { mxNameLabel->show(); mxEdText->show(); - mxFurtherSettings->show(); } else { mxNameLabel->hide(); mxEdText->hide(); - mxFurtherSettings->hide(); } if (pHyperlinkItem->GetShowText()) { diff --git a/cui/source/inc/hltpbase.hxx b/cui/source/inc/hltpbase.hxx index 449b3b57bebe..281a2912c5d3 100644 --- a/cui/source/inc/hltpbase.hxx +++ b/cui/source/inc/hltpbase.hxx @@ -55,6 +55,7 @@ private: std::unique_ptr<weld::Label> mxNameLabel; std::unique_ptr<weld::Label> mxIndicationLabel; std::unique_ptr<weld::Label> mxFrameLabel; + std::unique_ptr<weld::Label> mxTabLabel; std::unique_ptr<weld::Label> mxFurtherSettings; bool mbIsCloseDisabled;