diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-02-26 12:47:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-02-26 14:04:54 +0000 |
commit | 89047448cb8841f43cff9af7fe935743c37b1a39 (patch) | |
tree | 738cbb125a09f4f2c97154460d530d8552f03da7 /sc | |
parent | 9fb829abd39cfe789e80dc6fec53292396d07d30 (diff) |
whoops, de-break SOME BROKEN FOO
Change-Id: I9598c6762148ca4c1b1dccc3cc25741cf19cab24
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/dbgui/sortkeydlg.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/sortkeydlg.cxx b/sc/source/ui/dbgui/sortkeydlg.cxx index 11df6dab7555..944ff4220f09 100644 --- a/sc/source/ui/dbgui/sortkeydlg.cxx +++ b/sc/source/ui/dbgui/sortkeydlg.cxx @@ -29,6 +29,7 @@ #include "sortkeydlg.hxx" #include "sortdlg.hxx" #include "sortdlg.hrc" +#include <vcl/layout.hxx> // ======================================================================= @@ -45,7 +46,7 @@ ScSortKeyItem::ScSortKeyItem(Window* pParent) long ScSortKeyItem::getItemHeight() const { - return m_pFrame->get_preferred_size().Height(); + return VclContainer::getLayoutRequisition(*m_pFrame).Height(); } void ScSortKeyItem::DisableField() |