summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/tpbitmap.cxx
diff options
context:
space:
mode:
authorHeiko Tietze <heiko.tietze@documentfoundation.org>2019-11-14 15:50:32 +0200
committerHeiko Tietze <heiko.tietze@documentfoundation.org>2019-11-15 08:42:24 +0100
commit687c6761e84101f8a798ac7f622c2eab4f84d7b2 (patch)
tree8ab00a1e9020f24b38776559be8aaac00a4a7c87 /cui/source/tabpages/tpbitmap.cxx
parentd3756b274a23cb208ddd03de34a1312d4ada1a91 (diff)
Revert "tdf#126128 Reduce page properties dialog's height."
Discussion in BZ. This reverts commit 80109586e6cb6d3e2e0a53a9079c3125ec9b8368. Change-Id: I01e23a7eeaa78d60f106dfa67a54ff9d7904cb19 Reviewed-on: https://gerrit.libreoffice.org/82698 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'cui/source/tabpages/tpbitmap.cxx')
-rw-r--r--cui/source/tabpages/tpbitmap.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx
index 946da898ad08..7d1f17be236b 100644
--- a/cui/source/tabpages/tpbitmap.cxx
+++ b/cui/source/tabpages/tpbitmap.cxx
@@ -119,11 +119,8 @@ SvxBitmapTabPage::SvxBitmapTabPage(weld::Container* pPage, weld::DialogControlle
m_xBtnImport->hide();
// Calculate size of display boxes
-
- Size aBitmapLBSize = getPagePropertiesOptimalSize(m_xBitmapLB->GetDrawingArea()->get_ref_device());
- m_xBitmapLB->set_size_request(aBitmapLBSize.Width(), aBitmapLBSize.Height());
-
Size aSize = getDrawPreviewOptimalSize(m_aCtlBitmapPreview.GetDrawingArea()->get_ref_device());
+ m_xBitmapLB->set_size_request(aSize.Width(), aSize.Height());
m_xCtlBitmapPreview->set_size_request(aSize.Width(), aSize.Height());
SfxItemPool* pPool = m_rXFSet.GetPool();