summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-02-12 09:55:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-02-12 12:48:10 +0100
commita8f21e120b1073d7019d41e85cc9a15104ed5c93 (patch)
treec550831e03d3db20fdcccce8e1235fe6c73b1fd6 /basctl
parentde0651551b13e58e4a37794e1da6649629be3fc0 (diff)
merge together as get_checkbox_column_width
Change-Id: I183d2d94ab60c128b136674ef40eeb30057b281c Reviewed-on: https://gerrit.libreoffice.org/67714 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/dlged/managelang.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/dlged/managelang.cxx b/basctl/source/dlged/managelang.cxx
index d6ab5d30e4ac..6813a96904c4 100644
--- a/basctl/source/dlged/managelang.cxx
+++ b/basctl/source/dlged/managelang.cxx
@@ -231,7 +231,7 @@ SetDefaultLanguageDialog::SetDefaultLanguageDialog(weld::Window* pParent, std::s
m_xLanguageLB->set_size_request(-1, m_xLanguageLB->get_height_rows(10));
m_xCheckLangLB->set_size_request(-1, m_xCheckLangLB->get_height_rows(10));
std::vector<int> aWidths;
- aWidths.push_back(m_xCheckLangLB->get_approximate_digit_width() * 3 + 6);
+ aWidths.push_back(m_xCheckLangLB->get_checkbox_column_width());
m_xCheckLangLB->set_column_fixed_widths(aWidths);
if (m_xLocalizationMgr->isLibraryLocalized())