summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/insdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/dialogs/insdlg.cxx')
-rw-r--r--cui/source/dialogs/insdlg.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx
index eb6f18a1a089..47af4955c749 100644
--- a/cui/source/dialogs/insdlg.cxx
+++ b/cui/source/dialogs/insdlg.cxx
@@ -147,12 +147,6 @@ IMPL_LINK_NOARG(SvInsertOleDlg, RadioHdl, Button*, void)
}
-void SvInsertOleDlg::SelectDefault()
-{
- m_pLbObjecttype->SelectEntryPos(0);
-}
-
-
SvInsertOleDlg::SvInsertOleDlg
(
vcl::Window* pParent,
@@ -213,7 +207,7 @@ short SvInsertOleDlg::Execute()
for ( sal_uLong i = 0; i < m_pServers->Count(); i++ )
m_pLbObjecttype->InsertEntry( (*m_pServers)[i].GetHumanName() );
m_pLbObjecttype->SetUpdateMode( true );
- SelectDefault();
+ m_pLbObjecttype->SelectEntryPos(0);
OUString aName;
DBG_ASSERT( m_xStorage.is(), "No storage!");