summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2020-08-24 22:18:55 +0200
committerCaolán McNamara <caolanm@redhat.com>2020-09-05 11:31:55 +0200
commit9311abf473dd8a3067a556ba1701be8a290f5c37 (patch)
tree06b565dd5f8961e2e8f1a0294b292b0da1d72f5c
parentxmlsecurity: fix infobar vs signature dialog inconsistency (diff)
downloadcore-9311abf473dd8a3067a556ba1701be8a290f5c37.tar.gz
core-9311abf473dd8a3067a556ba1701be8a290f5c37.zip
tdf#136062 Don't use 'Reject (All)/Clear formatting' buttons in Calc
Since formatting changes are not tracked in Calc Change-Id: Ib1b50d248f1ba75aad22cd04af86d15cc2813e36 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101293 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org> (cherry picked from commit 894fddc5edf5aad6fc6d0e18a6c934bfa7f001e4) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101453 Reviewed-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 120e696653a25a2560f8c60b08a6a86fda5c10fc) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101965
-rw-r--r--sc/source/ui/miscdlgs/acredlin.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/ui/miscdlgs/acredlin.cxx b/sc/source/ui/miscdlgs/acredlin.cxx
index 4e08bc7506cf..f68080a336bd 100644
--- a/sc/source/ui/miscdlgs/acredlin.cxx
+++ b/sc/source/ui/miscdlgs/acredlin.cxx
@@ -109,10 +109,9 @@ ScAcceptChgDlg::ScAcceptChgDlg(SfxBindings* pB, SfxChildWindow* pCW, weld::Windo
pTPFilter = m_xAcceptChgCtr->GetFilterPage();
pTPView = m_xAcceptChgCtr->GetViewPage();
- // set wider window for the optional extending button labels
- // eg. "Reject/Clear formatting" instead of "Reject"
- pTPView->EnableClearFormat(true);
- pTPView->EnableClearFormatAll(true);
+ // tdf#136062 Don't use "Reject/Clear formatting" instead of "Reject" buttons in Calc
+ pTPView->EnableClearFormat(false);
+ pTPView->EnableClearFormatAll(false);
pTheView = pTPView->GetTableControl();
pTheView->SetCalcView();