summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/tdoc/tdoc_content.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_content.cxx')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_content.cxx34
1 files changed, 0 insertions, 34 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx b/ucb/source/ucp/tdoc/tdoc_content.cxx
index 189d8d7365ce..5b5e5ec9f506 100644
--- a/ucb/source/ucp/tdoc/tdoc_content.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_content.cxx
@@ -183,7 +183,6 @@ void SAL_CALL Content::release()
// virtual
uno::Any SAL_CALL Content::queryInterface( const uno::Type & rType )
- throw ( uno::RuntimeException, std::exception )
{
uno::Any aRet = ContentImplHelper::queryInterface( rType );
@@ -210,7 +209,6 @@ XTYPEPROVIDER_COMMON_IMPL( Content );
// virtual
uno::Sequence< uno::Type > SAL_CALL Content::getTypes()
- throw( uno::RuntimeException, std::exception )
{
cppu::OTypeCollection * pCollection = nullptr;
@@ -289,7 +287,6 @@ uno::Sequence< uno::Type > SAL_CALL Content::getTypes()
// virtual
OUString SAL_CALL Content::getImplementationName()
- throw( uno::RuntimeException, std::exception )
{
return OUString( "com.sun.star.comp.ucb.TransientDocumentsContent" );
}
@@ -297,7 +294,6 @@ OUString SAL_CALL Content::getImplementationName()
// virtual
uno::Sequence< OUString > SAL_CALL Content::getSupportedServiceNames()
- throw( uno::RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( m_aMutex );
@@ -321,7 +317,6 @@ uno::Sequence< OUString > SAL_CALL Content::getSupportedServiceNames()
// virtual
OUString SAL_CALL Content::getContentType()
- throw( uno::RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( m_aMutex );
return m_aProps.getContentType();
@@ -331,7 +326,6 @@ OUString SAL_CALL Content::getContentType()
// virtual
uno::Reference< ucb::XContentIdentifier > SAL_CALL
Content::getIdentifier()
- throw( uno::RuntimeException, std::exception )
{
{
osl::Guard< osl::Mutex > aGuard( m_aMutex );
@@ -355,9 +349,6 @@ uno::Any SAL_CALL Content::execute(
const ucb::Command& aCommand,
sal_Int32 /*CommandId*/,
const uno::Reference< ucb::XCommandEnvironment >& Environment )
- throw( uno::Exception,
- ucb::CommandAbortedException,
- uno::RuntimeException, std::exception )
{
uno::Any aRet;
@@ -649,7 +640,6 @@ uno::Any SAL_CALL Content::execute(
// virtual
void SAL_CALL Content::abort( sal_Int32 /*CommandId*/ )
- throw( uno::RuntimeException, std::exception )
{
}
@@ -660,7 +650,6 @@ void SAL_CALL Content::abort( sal_Int32 /*CommandId*/ )
// virtual
uno::Sequence< ucb::ContentInfo > SAL_CALL
Content::queryCreatableContentsInfo()
- throw( uno::RuntimeException, std::exception )
{
return m_aProps.getCreatableContentsInfo();
}
@@ -669,7 +658,6 @@ Content::queryCreatableContentsInfo()
// virtual
uno::Reference< ucb::XContent > SAL_CALL
Content::createNewContent( const ucb::ContentInfo& Info )
- throw( uno::RuntimeException, std::exception )
{
if ( m_aProps.isContentCreator() )
{
@@ -1108,7 +1096,6 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
uno::Sequence< uno::Any > Content::setPropertyValues(
const uno::Sequence< beans::PropertyValue >& rValues,
const uno::Reference< ucb::XCommandEnvironment > & xEnv )
- throw( uno::Exception, std::exception )
{
osl::ClearableGuard< osl::Mutex > aGuard( m_aMutex );
@@ -1384,7 +1371,6 @@ uno::Sequence< uno::Any > Content::setPropertyValues(
uno::Any Content::open(
const ucb::OpenCommandArgument2& rArg,
const uno::Reference< ucb::XCommandEnvironment >& xEnv )
- throw( uno::Exception )
{
if ( rArg.Mode == ucb::OpenMode::ALL ||
rArg.Mode == ucb::OpenMode::FOLDERS ||
@@ -1568,7 +1554,6 @@ void Content::insert( const uno::Reference< io::XInputStream >& xData,
sal_Int32 nNameClashResolve,
const uno::Reference<
ucb::XCommandEnvironment > & xEnv )
- throw( uno::Exception )
{
osl::ClearableGuard< osl::Mutex > aGuard( m_aMutex );
@@ -1740,7 +1725,6 @@ void Content::insert( const uno::Reference< io::XInputStream >& xData,
void Content::destroy( bool bDeletePhysical,
const uno::Reference<
ucb::XCommandEnvironment > & xEnv )
- throw( uno::Exception, std::exception )
{
// @@@ take care about bDeletePhysical -> trashcan support
@@ -1889,7 +1873,6 @@ void Content::notifyChildInserted( const OUString & rRelativeChildUri )
void Content::transfer(
const ucb::TransferInfo& rInfo,
const uno::Reference< ucb::XCommandEnvironment > & xEnv )
- throw( uno::Exception, std::exception )
{
osl::ClearableGuard< osl::Mutex > aGuard( m_aMutex );
@@ -2329,9 +2312,6 @@ bool Content::loadData( ContentProvider* pProvider,
bool Content::storeData( const uno::Reference< io::XInputStream >& xData,
const uno::Reference<
ucb::XCommandEnvironment >& xEnv )
- throw ( ucb::CommandFailedException,
- task::DocumentPasswordRequest,
- css::uno::RuntimeException )
{
osl::Guard< osl::Mutex > aGuard( m_aMutex );
@@ -2726,8 +2706,6 @@ static OUString obtainPassword(
const OUString & rName,
task::PasswordRequestMode eMode,
const uno::Reference< ucb::XCommandEnvironment > & xEnv )
- throw ( ucb::CommandFailedException,
- task::DocumentPasswordRequest )
{
rtl::Reference< DocumentPasswordRequest > xRequest
= new DocumentPasswordRequest( eMode, rName );
@@ -2781,9 +2759,6 @@ static OUString obtainPassword(
uno::Reference< io::XInputStream > Content::getInputStream(
const uno::Reference< ucb::XCommandEnvironment > & xEnv )
- throw ( ucb::CommandFailedException,
- task::DocumentPasswordRequest,
- uno::RuntimeException )
{
OUString aUri;
OUString aPassword;
@@ -2827,9 +2802,6 @@ static uno::Reference< io::XOutputStream > lcl_getTruncatedOutputStream(
const OUString & rUri,
ContentProvider * pProvider,
const uno::Reference< ucb::XCommandEnvironment > & xEnv )
- throw ( ucb::CommandFailedException,
- task::DocumentPasswordRequest,
- uno::RuntimeException )
{
OUString aPassword;
bool bPasswordRequested = false;
@@ -2858,9 +2830,6 @@ static uno::Reference< io::XOutputStream > lcl_getTruncatedOutputStream(
uno::Reference< io::XOutputStream > Content::getTruncatedOutputStream(
const uno::Reference< ucb::XCommandEnvironment > & xEnv )
- throw ( ucb::CommandFailedException,
- task::DocumentPasswordRequest,
- css::uno::RuntimeException )
{
OSL_ENSURE( m_aProps.getType() == STREAM,
"Content::getTruncatedOutputStream - content is no stream!" );
@@ -2874,9 +2843,6 @@ uno::Reference< io::XOutputStream > Content::getTruncatedOutputStream(
uno::Reference< io::XStream > Content::getStream(
const uno::Reference< ucb::XCommandEnvironment > & xEnv )
- throw ( ucb::CommandFailedException,
- task::DocumentPasswordRequest,
- uno::RuntimeException )
{
osl::Guard< osl::Mutex > aGuard( m_aMutex );