From 9dadd9288d51e092f4b4567b6135ecde1436cce7 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 11 Apr 2013 12:47:40 +0100 Subject: Restore original mnemonics for view page And remove the remaining SetPosPixel calls of layout controlled elements, they are now unnecessary and get overridden by the layout anyway. Including the ones left over from the printer options conversion. Tweak things for 6/12 spacings. Change-Id: Ifb460fb966452c10a9ac08c6f8cd57b96a2166f0 --- sw/source/ui/config/optpage.cxx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'sw/source') diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx index 82ef325125a7..055150e7d0cf 100644 --- a/sw/source/ui/config/optpage.cxx +++ b/sw/source/ui/config/optpage.cxx @@ -111,13 +111,7 @@ SwContentOptPage::SwContentOptPage( Window* pParent, } SvtCJKOptions aCJKOptions; - if(aCJKOptions.IsVerticalTextEnabled() ) - { - Point aSmoothPos(m_pSmoothCBox->GetPosPixel()); - aSmoothPos.Y() += aSmoothPos.Y() - m_pVRulerCBox->GetPosPixel().Y(); - m_pSmoothCBox->SetPosPixel(aSmoothPos); - } - else + if(!aCJKOptions.IsVerticalTextEnabled() ) m_pVRulerRightCBox->Hide(); m_pVRulerCBox->SetClickHdl(LINK(this, SwContentOptPage, VertRulerHdl )); m_pAnyRulerCB->SetClickHdl(LINK(this, SwContentOptPage, AnyRulerHdl)); @@ -351,10 +345,6 @@ SwAddPrinterTabPage::SwAddPrinterTabPage(Window* pParent, m_pRightPageCB->Hide(); m_pPrintHiddenTextCB->Hide(); m_pPrintTextPlaceholderCB->Hide(); - m_pProspectCB->SetPosPixel(m_pLeftPageCB->GetPosPixel()); - Point aPt( m_pRightPageCB->GetPosPixel() ); - aPt.setX(aPt.getX() + 15); // indent - m_pProspectCB_RTL->SetPosPixel(aPt); // hide m_pPrintEmptyPagesCB m_pPrintEmptyPagesCB->Hide(); -- cgit