summaryrefslogtreecommitdiff
path: root/sw/source/ui/config/optpage.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-09 09:20:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-09 09:21:26 +0100
commit04ffb8ba6bdf746e09c63f1d0f32c60875204974 (patch)
tree584923865ffc44d554544d3a0eaf1490f2473edd /sw/source/ui/config/optpage.cxx
parentf39885181180e960be80155a91f60906132b414a (diff)
remove now unnecessary manual SetPosPixel layout workarounds
Change-Id: Id25c562620ee1bdf6cdf1182b7342067c70c5479
Diffstat (limited to 'sw/source/ui/config/optpage.cxx')
-rw-r--r--sw/source/ui/config/optpage.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx
index bd6a6e568e8b..41f53271934b 100644
--- a/sw/source/ui/config/optpage.cxx
+++ b/sw/source/ui/config/optpage.cxx
@@ -1225,18 +1225,6 @@ void SwTableOptionsTabPage::Reset( const SfxItemSet& rSet)
{
pRepeatHeaderCB->Hide();
pDontSplitCB->Hide();
-
- long nMoveUpBy =
- pRepeatHeaderCB->LogicToPixel( Size( 13, 13 ), MAP_APPFONT ).Height();
-
- Point aPos = pRepeatHeaderCB->GetPosPixel();
- pRepeatHeaderCB->SetPosPixel( Point( aPos.X(), aPos.Y() - nMoveUpBy ) );
-
- nMoveUpBy +=
- pDontSplitCB->LogicToPixel( Size( 13, 13 ), MAP_APPFONT ).Height();
-
- aPos = pBorderCB->GetPosPixel();
- pBorderCB->SetPosPixel( Point( aPos.X(), aPos.Y() - nMoveUpBy ) );
}
SwInsertTableOptions aInsOpts = pModOpt->GetInsTblFlags(bHTMLMode);
@@ -1326,7 +1314,6 @@ SwShdwCrsrOptionsTabPage::SwShdwCrsrOptionsTabPage( Window* pParent,
m_pCharHiddenCB->Hide();
m_pFldHiddenCB->Hide();
m_pFldHiddenParaCB->Hide();
- m_pBreakCB->SetPosPixel(m_pTabCB->GetPosPixel());
m_pDirectCursorFrame->Hide();
m_pOnOffCB->Hide();