cui/source/tabpages/numpages.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 49ca3e30f22d7005e2afb4989c32fe0130805e5d Author: Darshan11 <[email protected]> AuthorDate: Fri Mar 8 20:54:43 2024 +0530 Commit: Szymon Kłos <[email protected]> CommitDate: Thu Mar 14 15:06:42 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 <[email protected]> Tested-by: Jenkins CollaboraOffice <[email protected]> (cherry picked from commit 08a5c1352f4d65c180995cdfca5c981f88035901) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164818 diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index d1cb79341281..792b8b265ae6 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
