diff options
Diffstat (limited to 'sw/source/ui/config/optpage.cxx')
-rw-r--r-- | sw/source/ui/config/optpage.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
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(); |