[Libreoffice-commits] core.git: sw/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 29 19:29:53 UTC 2020


 sw/source/ui/index/cnttab.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit e67f3a9043a088b0605c2dff17a641b122e675b8
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jul 29 16:22:03 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Jul 29 21:29:06 2020 +0200

    automatic layout height is sufficient for the toc CtrlParentWin
    
    Change-Id: I6ece49cce56aedf4f6da1361443c1337387143fc
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99712
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index ca8da21f9c64..e7061b55719c 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -23,7 +23,6 @@
 #include <sal/log.hxx>
 #include <svl/style.hxx>
 #include <vcl/weld.hxx>
-#include <vcl/edit.hxx>
 #include <svl/stritem.hxx>
 #include <unotools/pathoptions.hxx>
 #include <sfx2/viewfrm.hxx>
@@ -2563,7 +2562,6 @@ SwTokenWindow::SwTokenWindow(std::unique_ptr<weld::Container> xParent)
     , m_xRightScrollWin(m_xBuilder->weld_button("right"))
 {
     m_xScrollWin->connect_hadjustment_changed(LINK(this, SwTokenWindow, ScrollHdl));
-    m_xCtrlParentWin->set_size_request(-1, Edit::GetMinimumEditSize().Height());
     m_xCtrlParentWin->connect_size_allocate(LINK(this, SwTokenWindow, AdjustPositionsHdl));
 
     for (sal_uInt32 i = 0; i < TOKEN_END; ++i)


More information about the Libreoffice-commits mailing list