cui/source/tabpages/numpages.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 08a5c1352f4d65c180995cdfca5c981f88035901 Author: Darshan11 <darshan.upadh...@collabora.com> AuthorDate: Fri Mar 8 20:54:43 2024 +0530 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Mon Mar 11 09:36:28 2024 +0100 Hide "Add and resize" button from numbering and bullets dialog for ONLINE - Image tab had "Add and resize" option for numbering and bullets dialog - which is not need in online - so we will just hide that browseBtn for online Change-Id: Ib87f1e7ae7e6df5256ab77122b477695a45cf441 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164587 Reviewed-by: Szymon Kłos <szymon.k...@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index 1f5de3dc387b..f39afdd4318f 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -739,6 +739,10 @@ SvxBitmapPickTabPage::SvxBitmapPickTabPage(weld::Container* pPage, weld::DialogC m_xExamplesVS->SetDoubleClickHdl(LINK(this, SvxBitmapPickTabPage, DoubleClickHdl_Impl)); m_xBtBrowseFile->connect_clicked(LINK(this, SvxBitmapPickTabPage, ClickAddBrowseHdl_Impl)); + if(comphelper::LibreOfficeKit::isActive()) + { + m_xBtBrowseFile->hide(); + } eCoreUnit = rSet.GetPool()->GetMetric(rSet.GetPool()->GetWhich(SID_ATTR_NUMBERING_RULE)); // determine graphic name