summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/source/xstor/xstorage.cxx23
1 files changed, 1 insertions, 22 deletions
diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx
index 8a13fd82b32d..d7c0ed9afd54 100644
--- a/package/source/xstor/xstorage.cxx
+++ b/package/source/xstor/xstorage.cxx
@@ -4744,28 +4744,7 @@ uno::Sequence< uno::Sequence< beans::StringPair > > SAL_CALL OStorage::getAllRel
if ( m_pData->m_nStorageType != embed::StorageFormats::OFOPXML )
throw uno::RuntimeException( THROW_WHERE );
- uno::Sequence< uno::Sequence< beans::StringPair > > aRet;
- try
- {
- aRet = m_pImpl->GetAllRelationshipsIfAny();
- }
- catch (const io::IOException&)
- {
- throw;
- }
- catch (const uno::RuntimeException&)
- {
- throw;
- }
- catch (const uno::Exception &)
- {
- uno::Any aCaught( ::cppu::getCaughtException() );
- throw lang::WrappedTargetRuntimeException(THROW_WHERE "Can't getAllRelationships!",
- uno::Reference< uno::XInterface >(),
- aCaught);
- }
-
- return aRet;
+ return m_pImpl->GetAllRelationshipsIfAny();
}
void SAL_CALL OStorage::insertRelationshipByID( const OUString& sID, const uno::Sequence< beans::StringPair >& aEntry, sal_Bool bReplace )