[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - cui/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Dec 18 20:56:53 UTC 2018


 cui/source/tabpages/numfmt.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit badd8b10588d39995164668dfc3956b81002e592
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Dec 18 16:47:20 2018 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Dec 18 21:56:27 2018 +0100

    Resolves: tdf#122168 width/height transposed
    
    don't need it anyway, the width req is already set by SvxNumberPreview::SetDrawingArea
    
    Change-Id: Ic5b03a13a98c76c5ce927b13fc295510b6d8686d
    Reviewed-on: https://gerrit.libreoffice.org/65354
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index c7366193008f..d3eb10e38b42 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -235,7 +235,6 @@ SvxNumberFormatTabPage::SvxNumberFormatTabPage(TabPageParent pParent,
     m_xLbCategory->set_size_request(nWidth, m_xLbCategory->get_height_rows(7));
     m_xLbFormat->set_size_request(nWidth, m_xLbFormat->get_height_rows(5));
     m_xLbCurrency->set_size_request(1, -1);  // width of 1, so real width will be that of its LbFormat sibling
-    m_xWndPreview->set_size_request(GetTextHeight()*3, -1);
 
     // Initially remove the "Automatically" entry.
     m_xLbCurrency->set_active(-1); // First ensure that nothing is selected.


More information about the Libreoffice-commits mailing list