Репозитории ALT
5.1: | 3.2.0.7-alt0.M51.1 |
4.1: | 3.0.0.10-alt1.M41.1 |
4.0: | 2.4.1.7-alt0.M40.1 |
3.0: | 1.1.5-alt1 |
Группа :: Офис
Пакет: openoffice.org
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: openoffice.org-2.4.0-alt15443-sc-crach.patch
Скачать
Скачать
--- ooh680-m12/cppuhelper/source/implbase_ex.cxx.alt 2006-09-16 16:40:52 +0400
+++ ooh680-m12/cppuhelper/source/implbase_ex.cxx 2008-04-27 14:27:09 +0400
@@ -127,6 +127,12 @@ static inline type_entry * __getTypeEntr
for ( sal_Int32 n = cd->m_nTypes; n--; )
{
type_entry * pEntry = &pEntries[ n ];
+ if (!pEntry->m_type.getCppuType)
+ {
+ throw RuntimeException( rtl::OUString::createFromAscii(
+ "type \"<Unknown>\" is no interface type!"),
+ Reference< XInterface >() );
+ }
Type const & rType = (*pEntry->m_type.getCppuType)( 0 );
OSL_ENSURE( rType.getTypeClass() == TypeClass_INTERFACE, "### wrong helper init: expected interface!" );
OSL_ENSURE( ! isXInterface( rType.getTypeLibType()->pTypeName ), "### want to implement XInterface: template argument is XInterface?!?!?!" );