diff options
author | Darshan11 <darshan.upadhyay@collabora.com> | 2024-03-08 20:54:43 +0530 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-03-26 10:24:33 +0100 |
commit | e08b69e25c27adffcde3466b5ff90be4da603347 (patch) | |
tree | ee5caa60ba128362e12aa01d8c914043f20218ff | |
parent | bfb4c58ae708c75949559290bdfdd9afcef6aa91 (diff) |
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.klos@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
(cherry picked from commit 08a5c1352f4d65c180995cdfca5c981f88035901)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164818
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165215
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
-rw-r--r-- | cui/source/tabpages/numpages.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index 8bba652c594e..cbdf7fc5a23d 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -731,6 +731,9 @@ 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()->GetWhichIDFromSlotID(SID_ATTR_NUMBERING_RULE)); // determine graphic name |