Kaydet (Commit) fb156b90 authored tarafından Szymon Kłos's avatar Szymon Kłos

PlaceEditDialog: resolved a crash

Change-Id: Id20ca57819fd3af80b407678f6d176a804399ce5
üst d309823d
...@@ -351,9 +351,11 @@ void CmisDetailsContainer::selectRepository( ) ...@@ -351,9 +351,11 @@ void CmisDetailsContainer::selectRepository( )
{ {
// Get the repo ID and call the Change listener // Get the repo ID and call the Change listener
sal_uInt16 nPos = m_pLBRepository->GetSelectEntryPos( ); sal_uInt16 nPos = m_pLBRepository->GetSelectEntryPos( );
m_sRepoId = m_aRepoIds[nPos]; if( nPos < m_aRepoIds.size() )
{
notifyChange( ); m_sRepoId = m_aRepoIds[nPos];
notifyChange( );
}
} }
IMPL_LINK_NOARG( CmisDetailsContainer, RefreshReposHdl ) IMPL_LINK_NOARG( CmisDetailsContainer, RefreshReposHdl )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment