Kaydet (Commit) 58edf512 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#706593 Uncaught exception

Change-Id: I9cb2057a866d11dec97e5bfd03d0663d09f079f7
üst a92bd298
...@@ -238,7 +238,7 @@ uno::Any SAL_CALL OZipFileAccess::getByName( const OUString& aName ) ...@@ -238,7 +238,7 @@ uno::Any SAL_CALL OZipFileAccess::getByName( const OUString& aName )
throw lang::DisposedException(THROW_WHERE ); throw lang::DisposedException(THROW_WHERE );
if ( !m_pZipFile ) if ( !m_pZipFile )
throw io::NotConnectedException(THROW_WHERE ); throw uno::RuntimeException(THROW_WHERE);
EntryHash::iterator aIter = m_pZipFile->GetEntryHash().find( aName ); EntryHash::iterator aIter = m_pZipFile->GetEntryHash().find( aName );
if ( aIter == m_pZipFile->GetEntryHash().end() ) if ( aIter == m_pZipFile->GetEntryHash().end() )
......
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