diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /include/vbahelper/vbapagesetupbase.hxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'include/vbahelper/vbapagesetupbase.hxx')
-rw-r--r-- | include/vbahelper/vbapagesetupbase.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/vbahelper/vbapagesetupbase.hxx b/include/vbahelper/vbapagesetupbase.hxx index 8444bc6ac90f..31b7a7fc7f9b 100644 --- a/include/vbahelper/vbapagesetupbase.hxx +++ b/include/vbahelper/vbapagesetupbase.hxx @@ -41,20 +41,20 @@ public: virtual ~VbaPageSetupBase(){} // Attribute - virtual double SAL_CALL getTopMargin() throw (css::uno::RuntimeException); - virtual void SAL_CALL setTopMargin( double margin ) throw (css::uno::RuntimeException); - virtual double SAL_CALL getBottomMargin() throw (css::uno::RuntimeException); - virtual void SAL_CALL setBottomMargin( double margin ) throw (css::uno::RuntimeException); - virtual double SAL_CALL getRightMargin() throw (css::uno::RuntimeException); - virtual void SAL_CALL setRightMargin( double margin ) throw (css::uno::RuntimeException); - virtual double SAL_CALL getLeftMargin() throw (css::uno::RuntimeException); - virtual void SAL_CALL setLeftMargin( double margin ) throw (css::uno::RuntimeException); + virtual double SAL_CALL getTopMargin() throw (css::uno::RuntimeException, std::exception); + virtual void SAL_CALL setTopMargin( double margin ) throw (css::uno::RuntimeException, std::exception); + virtual double SAL_CALL getBottomMargin() throw (css::uno::RuntimeException, std::exception); + virtual void SAL_CALL setBottomMargin( double margin ) throw (css::uno::RuntimeException, std::exception); + virtual double SAL_CALL getRightMargin() throw (css::uno::RuntimeException, std::exception); + virtual void SAL_CALL setRightMargin( double margin ) throw (css::uno::RuntimeException, std::exception); + virtual double SAL_CALL getLeftMargin() throw (css::uno::RuntimeException, std::exception); + virtual void SAL_CALL setLeftMargin( double margin ) throw (css::uno::RuntimeException, std::exception); virtual double SAL_CALL getHeaderMargin() throw (css::uno::RuntimeException); virtual void SAL_CALL setHeaderMargin( double margin ) throw (css::uno::RuntimeException); virtual double SAL_CALL getFooterMargin() throw (css::uno::RuntimeException); virtual void SAL_CALL setFooterMargin( double margin ) throw (css::uno::RuntimeException); - virtual sal_Int32 SAL_CALL getOrientation() throw (css::uno::RuntimeException); - virtual void SAL_CALL setOrientation( sal_Int32 orientation ) throw (css::uno::RuntimeException); + virtual sal_Int32 SAL_CALL getOrientation() throw (css::uno::RuntimeException, std::exception); + virtual void SAL_CALL setOrientation( sal_Int32 orientation ) throw (css::uno::RuntimeException, std::exception); }; #endif |