summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/unomod.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/inc/unomod.hxx')
-rw-r--r--sw/source/uibase/inc/unomod.hxx103
1 files changed, 26 insertions, 77 deletions
diff --git a/sw/source/uibase/inc/unomod.hxx b/sw/source/uibase/inc/unomod.hxx
index e140078fc188..ad83a01700c2 100644
--- a/sw/source/uibase/inc/unomod.hxx
+++ b/sw/source/uibase/inc/unomod.hxx
@@ -53,20 +53,15 @@ public:
SwXModule();
//XViewSettings
- virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getViewSettings()
- throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getViewSettings() override;
//XPrintSettings
- virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getPrintSettings()
- throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getPrintSettings() override;
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName()
- throw( css::uno::RuntimeException, std::exception ) override;
- virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
- throw( css::uno::RuntimeException, std::exception ) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
enum SwXPrintSettingsType
@@ -84,32 +79,14 @@ protected:
SwPrintData * mpPrtOpt;
SwDoc *mpDoc;
- virtual void _preSetValues ()
- throw (css::beans::UnknownPropertyException,
- css::beans::PropertyVetoException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException) override;
- virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const css::uno::Any &rValue )
- throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException ) override;
- virtual void _postSetValues ()
- throw (css::beans::UnknownPropertyException,
- css::beans::PropertyVetoException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException) override;
-
- virtual void _preGetValues ()
- throw (css::beans::UnknownPropertyException,
- css::beans::PropertyVetoException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException) override;
-
- virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, css::uno::Any & rValue )
- throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException ) override;
- virtual void _postGetValues ()
- throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException ) override;
+ virtual void _preSetValues () override;
+ virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const css::uno::Any &rValue ) override;
+ virtual void _postSetValues () override;
+
+ virtual void _preGetValues () override;
+
+ virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, css::uno::Any & rValue ) override;
+ virtual void _postGetValues () override;
virtual ~SwXPrintSettings()
throw() override;
@@ -117,12 +94,9 @@ public:
SwXPrintSettings( SwXPrintSettingsType eType, SwDoc * pDoc = nullptr );
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName()
- throw( css::uno::RuntimeException, std::exception ) override;
- virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
- throw( css::uno::RuntimeException, std::exception ) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
class SwXViewSettings : public comphelper::ChainableHelperNoState
@@ -140,38 +114,13 @@ protected:
FieldUnit eVRulerUnit;
bool mbApplyVRulerMetric;
- virtual void _preSetValues ()
- throw (css::beans::UnknownPropertyException,
- css::beans::PropertyVetoException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException) override;
- virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const css::uno::Any &rValue )
- throw (css::beans::UnknownPropertyException,
- css::beans::PropertyVetoException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException,
- std::exception) override;
- virtual void _postSetValues()
- throw (css::beans::UnknownPropertyException,
- css::beans::PropertyVetoException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException) override;
-
- virtual void _preGetValues ()
- throw (css::beans::UnknownPropertyException,
- css::beans::PropertyVetoException,
- css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException) override;
- virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, css::uno::Any & rValue )
- throw (css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException) override;
- virtual void _postGetValues ()
- throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException ) override;
+ virtual void _preSetValues () override;
+ virtual void _setSingleValue( const comphelper::PropertyInfo & rInfo, const css::uno::Any &rValue ) override;
+ virtual void _postSetValues() override;
+
+ virtual void _preGetValues () override;
+ virtual void _getSingleValue( const comphelper::PropertyInfo & rInfo, css::uno::Any & rValue ) override;
+ virtual void _postGetValues () override;
virtual ~SwXViewSettings()
throw() override;
@@ -179,9 +128,9 @@ public:
SwXViewSettings(SwView* pView);
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override;
- virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( css::uno::RuntimeException, std::exception ) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
bool IsValid() const {return bObjectValid;}
void Invalidate() {bObjectValid = false;}