svtools/source/dialogs/PlaceEditDialog.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit e969fc9842d5f1e6090913b95d9c6b232f139e77 Author: Szymon KÅos <eszka...@gmail.com> Date: Fri Jul 17 09:34:06 2015 +0200 Separator should not be the default selection Change-Id: Id879e795d3b6722ca0d86f8f6a8a32b0ef6f12bd diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx index 482b763..15034dd 100644 --- a/svtools/source/dialogs/PlaceEditDialog.cxx +++ b/svtools/source/dialogs/PlaceEditDialog.cxx @@ -140,7 +140,6 @@ void PlaceEditDialog::InitDetails( ) bool bSkipOneDrive= OUString( ONEDRIVE_CLIENT_ID ).isEmpty() || OUString( ONEDRIVE_CLIENT_SECRET ).isEmpty(); - Sequence< OUString > aTypesUrlsList( officecfg::Office::Common::Misc::CmisServersUrls::get( xContext ) ); Sequence< OUString > aTypesNamesList( officecfg::Office::Common::Misc::CmisServersNames::get( xContext ) ); @@ -182,6 +181,10 @@ void PlaceEditDialog::InitDetails( ) // Set default to first value m_pLBServerType->SelectEntryPos( 0 ); + + if ( m_pLBServerType->GetSelectEntry() == "--------------------" ) + m_pLBServerType->SelectEntryPos( 1 ); + SelectTypeHdl( m_pLBServerType ); }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits