diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-04-11 12:47:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-04-11 12:59:44 +0100 |
commit | 9dadd9288d51e092f4b4567b6135ecde1436cce7 (patch) | |
tree | 8fd4d01065154460ccd510fda19046c7f445d009 /sw/source | |
parent | 56152a8fab12c270d96a8fe5a63928b6e35be49d (diff) |
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
Diffstat (limited to 'sw/source')
-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(); |