summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-09-23 11:14:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-09-23 14:10:57 +0200
commit49dd4ecaf846b31cd2e3cbc37c8790216d7e113f (patch)
tree6aa2c9ed7f37b57b9570b497bb2cdc5293fa5e09 /cui/source
parent928660539663e087b05abbf9c08da331db205881 (diff)
ofz#17613 fix build
Change-Id: Ie8463af051b46dcd24b1642c583cc48f4359beea Reviewed-on: https://gerrit.libreoffice.org/79395 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/options/treeopt.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 42bd20cac460..b9f78c6a261b 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -479,12 +479,10 @@ void OfaTreeOptionsDialog::InitWidgets()
xBackPB = m_xBuilder->weld_button("revert");
xTreeLB = m_xBuilder->weld_tree_view("pages");
xTabBox = m_xBuilder->weld_container("box");
- Size aSize(xTreeLB->get_approximate_digit_width() * 82, xTreeLB->get_height_rows(32));
+ Size aSize(xTreeLB->get_approximate_digit_width() * 82, xTreeLB->get_height_rows(30));
#if HAVE_FEATURE_GPGME
// tdf#115015: make enough space for crypto settings (approx. 14 text edits + padding)
aSize.setHeight((Edit::GetMinimumEditSize().Height() + 6) * 14);
-#else
- aSize.setHeight(aSize.Height() - get_action_area()->get_preferred_size().Height());
#endif
xTabBox->set_size_request(aSize.Width(), aSize.Height());
xTreeLB->set_size_request(xTreeLB->get_approximate_digit_width() * 30, aSize.Height());