diff options
Diffstat (limited to 'svl/source/fsstor')
-rw-r--r-- | svl/source/fsstor/fsstorage.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/fsstor/fsstorage.cxx b/svl/source/fsstor/fsstorage.cxx index a6922789dc5b..ebd730d116e9 100644 --- a/svl/source/fsstor/fsstorage.cxx +++ b/svl/source/fsstor/fsstorage.cxx @@ -582,7 +582,7 @@ void SAL_CALL FSStorage::copyStorageElementLastCommitTo( throw lang::DisposedException(); uno::Reference< embed::XStorage > xSourceStor( openStorageElement( aStorName, embed::ElementModes::READ ), - uno::UNO_QUERY_THROW ); + uno::UNO_SET_THROW ); xSourceStor->copyToStorage( xTargetStorage ); } @@ -721,7 +721,7 @@ void SAL_CALL FSStorage::copyElementTo( const OUString& aElementName, ::ucbhelper::Content aSourceContent( aOwnURL.GetMainURL( INetURLObject::DecodeMechanism::NONE ), xDummyEnv, comphelper::getProcessComponentContext() ); uno::Reference< embed::XStorage > xDestSubStor( xDest->openStorageElement( aNewName, embed::ElementModes::READWRITE ), - uno::UNO_QUERY_THROW ); + uno::UNO_SET_THROW ); CopyContentToStorage_Impl( aSourceContent, xDestSubStor ); } |