diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-23 15:56:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-24 10:05:22 +0100 |
commit | c8512315ba88498fd184f7a0cbd2b63be3bc720b (patch) | |
tree | 553a8eca52495162d1d0722e997f93666e7f1c48 | |
parent | f89ea2f4def2020f7c7b0782e21d701013dcc669 (diff) |
drop SetPosSizePages
Change-Id: I9835a4660ac9a9633ad81fc228b0e53b01fc85bf
-rw-r--r-- | cui/source/dialogs/iconcdlg.cxx | 25 | ||||
-rw-r--r-- | cui/source/inc/iconcdlg.hxx | 2 |
2 files changed, 0 insertions, 27 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 diff --git a/cui/source/inc/iconcdlg.hxx b/cui/source/inc/iconcdlg.hxx index b0e6408f2025..6bab742fe7d6 100644 --- a/cui/source/inc/iconcdlg.hxx +++ b/cui/source/inc/iconcdlg.hxx @@ -161,8 +161,6 @@ private : void Start_Impl(); bool OK_Impl(); - void SetPosSizePages ( sal_uInt16 nId ); - void FocusOnIcon ( sal_uInt16 nId ); protected : |