sw/source/ui/index/cnttab.cxx | 2 -- 1 file changed, 2 deletions(-) New commits: commit e67f3a9043a088b0605c2dff17a641b122e675b8 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Wed Jul 29 16:22:03 2020 +0100 Commit: Caolán McNamara <caol...@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 <caol...@redhat.com> Reviewed-by: Caolán McNamara <caol...@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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits