summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/dialogs/iconcdlg.cxx25
-rw-r--r--cui/source/inc/iconcdlg.hxx2
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 :