diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-07-29 16:22:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-07-29 21:29:06 +0200 |
commit | e67f3a9043a088b0605c2dff17a641b122e675b8 (patch) | |
tree | 34ead4ff81894eae4b2cfde3ebadabb74f168b39 /sw | |
parent | ef95604f607e853d2e88dcd7961468215408f8c2 (diff) |
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@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/index/cnttab.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
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) |