From 88afb39fd1f22b87e56996057e13f3ebb3784483 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 23 Jun 2014 16:00:04 +0100 Subject: drop Resize Change-Id: Ie8546cf0eb54888627dc2dfa47257de63b382f9d --- cui/source/dialogs/iconcdlg.cxx | 16 ---------------- cui/source/inc/iconcdlg.hxx | 1 - 2 files changed, 17 deletions(-) (limited to 'cui') diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx index f152ade5115b..3ec071255207 100644 --- a/cui/source/dialogs/iconcdlg.cxx +++ b/cui/source/dialogs/iconcdlg.cxx @@ -400,27 +400,11 @@ void IconChoiceDialog::ShowPage( sal_uInt16 nId ) ShowPageImpl ( pData ); } -/********************************************************************** -| -| Resize Dialog -| -\**********************************************************************/ -void IconChoiceDialog::Resize() -{ - Dialog::Resize (); - - if ( IsReallyVisible() ) - { - m_pIconCtrl->ArrangeIcons(); - } -} - /********************************************************************** | | select a page | \**********************************************************************/ - IMPL_LINK_NOARG(IconChoiceDialog , ChosePageHdl_Impl) { sal_uLong nPos; diff --git a/cui/source/inc/iconcdlg.hxx b/cui/source/inc/iconcdlg.hxx index 6bab742fe7d6..5cac100c5df5 100644 --- a/cui/source/inc/iconcdlg.hxx +++ b/cui/source/inc/iconcdlg.hxx @@ -188,7 +188,6 @@ public : virtual ~IconChoiceDialog (); virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; - virtual void Resize() SAL_OVERRIDE; // interface SvxIconChoiceCtrlEntry* AddTabPage( -- cgit