summaryrefslogtreecommitdiffstats
path: root/dtrans/source/cnttype/mcnttype.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /dtrans/source/cnttype/mcnttype.hxx
parentFixup whitespace changes, remove commented code. (diff)
downloadcore-5e21a413c788f839a66d9e4c14e745ed18058db8.tar.gz
core-5e21a413c788f839a66d9e4c14e745ed18058db8.zip
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'dtrans/source/cnttype/mcnttype.hxx')
-rw-r--r--dtrans/source/cnttype/mcnttype.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/dtrans/source/cnttype/mcnttype.hxx b/dtrans/source/cnttype/mcnttype.hxx
index 5f1d0435becd..37441d5d8c88 100644
--- a/dtrans/source/cnttype/mcnttype.hxx
+++ b/dtrans/source/cnttype/mcnttype.hxx
@@ -36,18 +36,18 @@ public:
// XMimeContentType
- virtual OUString SAL_CALL getMediaType( ) throw(::com::sun::star::uno::RuntimeException);
- virtual OUString SAL_CALL getMediaSubtype( ) throw(::com::sun::star::uno::RuntimeException);
- virtual OUString SAL_CALL getFullMediaType( ) throw(::com::sun::star::uno::RuntimeException);
+ virtual OUString SAL_CALL getMediaType( ) throw(::com::sun::star::uno::RuntimeException, std::exception);
+ virtual OUString SAL_CALL getMediaSubtype( ) throw(::com::sun::star::uno::RuntimeException, std::exception);
+ virtual OUString SAL_CALL getFullMediaType( ) throw(::com::sun::star::uno::RuntimeException, std::exception);
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getParameters( )
- throw(::com::sun::star::uno::RuntimeException);
+ throw(::com::sun::star::uno::RuntimeException, std::exception);
virtual sal_Bool SAL_CALL hasParameter( const OUString& aName )
- throw(::com::sun::star::uno::RuntimeException);
+ throw(::com::sun::star::uno::RuntimeException, std::exception);
virtual OUString SAL_CALL getParameterValue( const OUString& aName )
- throw(::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException);
+ throw(::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException, std::exception);
private:
void SAL_CALL init( const OUString& aCntType ) throw( com::sun::star::lang::IllegalArgumentException );