diff options
Diffstat (limited to 'sc/source/ui/vba/vbaoleobjects.cxx')
-rw-r--r-- | sc/source/ui/vba/vbaoleobjects.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbaoleobjects.cxx b/sc/source/ui/vba/vbaoleobjects.cxx index b01cab778d5f..373cfda51501 100644 --- a/sc/source/ui/vba/vbaoleobjects.cxx +++ b/sc/source/ui/vba/vbaoleobjects.cxx @@ -142,7 +142,7 @@ ScVbaOLEObjects::getItemByStringIndex( const OUString& sIndex ) } catch (const uno::RuntimeException&) { - uno::Reference< container::XIndexAccess > xIndexAccess( m_xIndexAccess, uno::UNO_QUERY_THROW ); + uno::Reference< container::XIndexAccess > xIndexAccess( m_xIndexAccess, uno::UNO_SET_THROW ); sal_Int32 nCount = xIndexAccess->getCount(); for( int index = 0; index < nCount; index++ ) { |