[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Jan 17 18:16:35 UTC 2019


 sc/source/ui/pagedlg/scuitphfedit.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 22f4ea728e58ff6c1ac5e0caf3c147770436215a
Author:     Aron Budea <aron.budea at collabora.com>
AuthorDate: Thu Jan 17 19:15:12 2019 +0100
Commit:     Aron Budea <aron.budea at collabora.com>
CommitDate: Thu Jan 17 19:15:12 2019 +0100

    [cp] build fix
    
    Change-Id: If61e862e08bce4405b6a94c868d94d7c6a6c844a

diff --git a/sc/source/ui/pagedlg/scuitphfedit.cxx b/sc/source/ui/pagedlg/scuitphfedit.cxx
index 877a0ed97b19..151ee8e1cc26 100644
--- a/sc/source/ui/pagedlg/scuitphfedit.cxx
+++ b/sc/source/ui/pagedlg/scuitphfedit.cxx
@@ -70,7 +70,7 @@ ScHFEditPage::ScHFEditPage( vcl::Window*             pParent,
     // tdf#114695 override natural size with a small value
     // we expect this to get stretched to some larger but
     // limited size based on surrounding widgets
-    m_pLbDefined->set_width_request(m_pLbDefined->approximate_digit_width() * 20);
+    m_pLbDefined->set_width_request(m_pLbDefined->approximate_char_width() * 20);
 
     get(m_pBtnText,"buttonBTN_TEXT");
     get(m_pBtnTable,"buttonBTN_TABLE");


More information about the Libreoffice-commits mailing list