summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/iconcdlg.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-23 15:56:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-24 10:05:22 +0100
commitc8512315ba88498fd184f7a0cbd2b63be3bc720b (patch)
tree553a8eca52495162d1d0722e997f93666e7f1c48 /cui/source/dialogs/iconcdlg.cxx
parentf89ea2f4def2020f7c7b0782e21d701013dcc669 (diff)
drop SetPosSizePages
Change-Id: I9835a4660ac9a9633ad81fc228b0e53b01fc85bf
Diffstat (limited to 'cui/source/dialogs/iconcdlg.cxx')
-rw-r--r--cui/source/dialogs/iconcdlg.cxx25
1 files changed, 0 insertions, 25 deletions
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx
index bbd8a529427b..f152ade5115b 100644
--- a/cui/source/dialogs/iconcdlg.cxx
+++ b/cui/source/dialogs/iconcdlg.cxx
@@ -415,27 +415,6 @@ void IconChoiceDialog::Resize()
}
}
-void IconChoiceDialog::SetPosSizePages ( sal_uInt16 nId )
-{
- const Point aCtrlOffset ( LogicToPixel( Point( CTRLS_OFFSET, CTRLS_OFFSET ), MAP_APPFONT ) );
- IconChoicePageData* pData = GetPageData ( nId );
-
- if ( pData->pPage )
- {
- Size aOutSize ( GetOutputSizePixel() );
- Size aIconCtrlSize ( m_pIconCtrl->GetSizePixel() );
-
- Point aNewPagePos( aIconCtrlSize.Width() + (2*aCtrlOffset.X()),
- aCtrlOffset.X() );
- Size aNewPageSize( aOutSize.Width() - m_pIconCtrl->GetSizePixel().Width() -
- (3*aCtrlOffset.X()),
- aOutSize.Height() - m_pOKBtn->GetSizePixel().Height() -
- (3*aCtrlOffset.X()) );
-
- pData->pPage->SetPosSizePixel ( aNewPagePos, aNewPageSize );
- }
-}
-
/**********************************************************************
|
| select a page
@@ -552,10 +531,6 @@ void IconChoiceDialog::ActivatePageImpl ()
else
pData->pPage = (pData->fnCreatePage)( m_pTabContainer, this, *CreateInputItemSet( mnCurrentPageId ) );
- //SvtViewOptions aTabPageOpt( E_TABPAGE, OUString::number(pData->nId) );
- //pData->pPage->SetUserData( GetViewOptUserItem( aTabPageOpt ) );
- SetPosSizePages ( pData->nId );
-
if ( pData->bOnDemand )
pData->pPage->Reset( (SfxItemSet &)pData->pPage->GetItemSet() );
else