diff options
Diffstat (limited to 'dtrans/source/cnttype/mcnttype.cxx')
-rw-r--r-- | dtrans/source/cnttype/mcnttype.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dtrans/source/cnttype/mcnttype.cxx b/dtrans/source/cnttype/mcnttype.cxx index 180c0c48b1c7..ccc1ccfe3353 100644 --- a/dtrans/source/cnttype/mcnttype.cxx +++ b/dtrans/source/cnttype/mcnttype.cxx @@ -35,22 +35,22 @@ CMimeContentType::CMimeContentType( const OUString& aCntType ) init( aCntType ); } -OUString SAL_CALL CMimeContentType::getMediaType( ) throw(RuntimeException, std::exception) +OUString SAL_CALL CMimeContentType::getMediaType( ) { return m_MediaType; } -OUString SAL_CALL CMimeContentType::getMediaSubtype( ) throw(RuntimeException, std::exception) +OUString SAL_CALL CMimeContentType::getMediaSubtype( ) { return m_MediaSubtype; } -OUString SAL_CALL CMimeContentType::getFullMediaType( ) throw(RuntimeException, std::exception) +OUString SAL_CALL CMimeContentType::getFullMediaType( ) { return m_MediaType + "/" + m_MediaSubtype; } -Sequence< OUString > SAL_CALL CMimeContentType::getParameters( ) throw(RuntimeException, std::exception) +Sequence< OUString > SAL_CALL CMimeContentType::getParameters( ) { MutexGuard aGuard( m_aMutex ); @@ -68,13 +68,13 @@ Sequence< OUString > SAL_CALL CMimeContentType::getParameters( ) throw(RuntimeEx return seqParams; } -sal_Bool SAL_CALL CMimeContentType::hasParameter( const OUString& aName ) throw(RuntimeException, std::exception) +sal_Bool SAL_CALL CMimeContentType::hasParameter( const OUString& aName ) { MutexGuard aGuard( m_aMutex ); return ( m_ParameterMap.end( ) != m_ParameterMap.find( aName ) ); } -OUString SAL_CALL CMimeContentType::getParameterValue( const OUString& aName ) throw(NoSuchElementException, RuntimeException, std::exception) +OUString SAL_CALL CMimeContentType::getParameterValue( const OUString& aName ) { MutexGuard aGuard( m_aMutex ); @@ -84,7 +84,7 @@ OUString SAL_CALL CMimeContentType::getParameterValue( const OUString& aName ) t return m_ParameterMap.find( aName )->second; } -void SAL_CALL CMimeContentType::init( const OUString& aCntType ) throw( IllegalArgumentException ) +void SAL_CALL CMimeContentType::init( const OUString& aCntType ) { if ( aCntType.isEmpty( ) ) throw IllegalArgumentException( ); |