diff options
Diffstat (limited to 'sw/source/ui/vba/vbatables.cxx')
-rw-r--r-- | sw/source/ui/vba/vbatables.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbatables.cxx b/sw/source/ui/vba/vbatables.cxx index 3c431a1fa928..25c193e66b5f 100644 --- a/sw/source/ui/vba/vbatables.cxx +++ b/sw/source/ui/vba/vbatables.cxx @@ -89,7 +89,7 @@ public: { if ( Index < 0 || Index >= getCount() ) throw lang::IndexOutOfBoundsException(); - uno::Reference< text::XTextTable > xTable( mxTables[ Index ], uno::UNO_QUERY_THROW ); + uno::Reference< text::XTextTable > xTable( mxTables[ Index ], uno::UNO_SET_THROW ); return uno::makeAny( xTable ); } // XElementAccess @@ -100,7 +100,7 @@ public: { if ( !hasByName(aName) ) throw container::NoSuchElementException(); - uno::Reference< text::XTextTable > xTable( *cachePos, uno::UNO_QUERY_THROW ); + uno::Reference< text::XTextTable > xTable( *cachePos, uno::UNO_SET_THROW ); return uno::makeAny( xTable ); } virtual uno::Sequence< OUString > SAL_CALL getElementNames( ) override |