summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-01 10:20:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-28 08:48:22 +0100
commit8890610f5a5d22c62e316806686560614cb67f90 (patch)
tree68ead7b15013c40b1fe391a2c14d92dbea27668f /cui
parentdd1a2ab57d51b72981fea2bc1335ef105f5b6d50 (diff)
move height/width request into WindowImpl
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/chardlg.cxx10
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 ) );