diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-01 10:20:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:22 +0100 |
commit | 8890610f5a5d22c62e316806686560614cb67f90 (patch) | |
tree | 68ead7b15013c40b1fe391a2c14d92dbea27668f /cui | |
parent | dd1a2ab57d51b72981fea2bc1335ef105f5b6d50 (diff) |
move height/width request into WindowImpl
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/chardlg.cxx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index a7a69cb9f1bb..89a28fe2b4ca 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -347,13 +347,9 @@ SvxCharNamePage::SvxCharNamePage( Window* pParent, const SfxItemSet& rInSet ) //10 lines sal_Int32 nHeight = m_pWestFontSizeLB->CalcWindowSizePixel(10); - rtl::OString sHeightRequest(RTL_CONSTASCII_STRINGPARAM("height-request")); - m_pWestFontNameLB->setChildProperty<sal_Int32>(sHeightRequest, - nHeight); - m_pWestFontStyleLB->setChildProperty<sal_Int32>(sHeightRequest, - nHeight); - m_pWestFontSizeLB->setChildProperty<sal_Int32>(sHeightRequest, - nHeight); + m_pWestFontNameLB->set_height_request(nHeight); + m_pWestFontStyleLB->set_height_request(nHeight); + m_pWestFontSizeLB->set_height_request(nHeight); } m_pEastLine = new FixedLine(&m_aGrid, CUI_RES( FL_EAST ) ); |