diff options
Diffstat (limited to 'toolkit/source/awt')
21 files changed, 831 insertions, 940 deletions
diff --git a/toolkit/source/awt/animatedimagespeer.cxx b/toolkit/source/awt/animatedimagespeer.cxx index f0fd2cf0ec50..8ddbda4108ad 100644 --- a/toolkit/source/awt/animatedimagespeer.cxx +++ b/toolkit/source/awt/animatedimagespeer.cxx @@ -304,7 +304,7 @@ namespace toolkit } - void SAL_CALL AnimatedImagesPeer::startAnimation() throw (RuntimeException, std::exception) + void SAL_CALL AnimatedImagesPeer::startAnimation() { SolarMutexGuard aGuard; VclPtr<Throbber> pThrobber = GetAsDynamic<Throbber>(); @@ -312,7 +312,7 @@ namespace toolkit pThrobber->start(); } - void SAL_CALL AnimatedImagesPeer::stopAnimation() throw (RuntimeException, std::exception) + void SAL_CALL AnimatedImagesPeer::stopAnimation() { SolarMutexGuard aGuard; VclPtr<Throbber> pThrobber = GetAsDynamic<Throbber>(); @@ -320,7 +320,7 @@ namespace toolkit pThrobber->stop(); } - sal_Bool SAL_CALL AnimatedImagesPeer::isAnimationRunning() throw (RuntimeException, std::exception) + sal_Bool SAL_CALL AnimatedImagesPeer::isAnimationRunning() { SolarMutexGuard aGuard; VclPtr<Throbber> pThrobber = GetAsDynamic<Throbber>(); @@ -329,7 +329,7 @@ namespace toolkit return false; } - void SAL_CALL AnimatedImagesPeer::setProperty( const OUString& i_propertyName, const Any& i_value ) throw(RuntimeException, std::exception) + void SAL_CALL AnimatedImagesPeer::setProperty( const OUString& i_propertyName, const Any& i_value ) { SolarMutexGuard aGuard; @@ -374,7 +374,7 @@ namespace toolkit } - Any SAL_CALL AnimatedImagesPeer::getProperty( const OUString& i_propertyName ) throw(RuntimeException, std::exception) + Any SAL_CALL AnimatedImagesPeer::getProperty( const OUString& i_propertyName ) { SolarMutexGuard aGuard; @@ -430,7 +430,7 @@ namespace toolkit } - void SAL_CALL AnimatedImagesPeer::elementInserted( const ContainerEvent& i_event ) throw (RuntimeException, std::exception) + void SAL_CALL AnimatedImagesPeer::elementInserted( const ContainerEvent& i_event ) { SolarMutexGuard aGuard; Reference< XAnimatedImages > xAnimatedImages( i_event.Source, UNO_QUERY_THROW ); @@ -453,7 +453,7 @@ namespace toolkit } - void SAL_CALL AnimatedImagesPeer::elementRemoved( const ContainerEvent& i_event ) throw (RuntimeException, std::exception) + void SAL_CALL AnimatedImagesPeer::elementRemoved( const ContainerEvent& i_event ) { SolarMutexGuard aGuard; Reference< XAnimatedImages > xAnimatedImages( i_event.Source, UNO_QUERY_THROW ); @@ -472,7 +472,7 @@ namespace toolkit } - void SAL_CALL AnimatedImagesPeer::elementReplaced( const ContainerEvent& i_event ) throw (RuntimeException, std::exception) + void SAL_CALL AnimatedImagesPeer::elementReplaced( const ContainerEvent& i_event ) { SolarMutexGuard aGuard; Reference< XAnimatedImages > xAnimatedImages( i_event.Source, UNO_QUERY_THROW ); @@ -495,19 +495,19 @@ namespace toolkit } - void SAL_CALL AnimatedImagesPeer::disposing( const EventObject& i_event ) throw (RuntimeException, std::exception) + void SAL_CALL AnimatedImagesPeer::disposing( const EventObject& i_event ) { VCLXWindow::disposing( i_event ); } - void SAL_CALL AnimatedImagesPeer::modified( const EventObject& i_event ) throw (RuntimeException, std::exception) + void SAL_CALL AnimatedImagesPeer::modified( const EventObject& i_event ) { impl_updateImages_nolck( i_event.Source ); } - void SAL_CALL AnimatedImagesPeer::dispose( ) throw(RuntimeException, std::exception) + void SAL_CALL AnimatedImagesPeer::dispose( ) { AnimatedImagesPeer_Base::dispose(); SolarMutexGuard aGuard; diff --git a/toolkit/source/awt/asynccallback.cxx b/toolkit/source/awt/asynccallback.cxx index 3860207e2584..17004ede61a4 100644 --- a/toolkit/source/awt/asynccallback.cxx +++ b/toolkit/source/awt/asynccallback.cxx @@ -43,12 +43,12 @@ public: AsyncCallback& operator=(const AsyncCallback&) = delete; // css::lang::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; // css::awt::XRequestCallback: - virtual void SAL_CALL addCallback(const css::uno::Reference< css::awt::XCallback > & xCallback, const css::uno::Any & aData) throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL addCallback(const css::uno::Reference< css::awt::XCallback > & xCallback, const css::uno::Any & aData) override; private: @@ -67,24 +67,24 @@ private: }; // com.sun.star.uno.XServiceInfo: -OUString SAL_CALL AsyncCallback::getImplementationName() throw (css::uno::RuntimeException, std::exception) +OUString SAL_CALL AsyncCallback::getImplementationName() { return OUString("com.sun.star.awt.comp.AsyncCallback"); } -sal_Bool SAL_CALL AsyncCallback::supportsService(OUString const & serviceName) throw (css::uno::RuntimeException, std::exception) +sal_Bool SAL_CALL AsyncCallback::supportsService(OUString const & serviceName) { return cppu::supportsService(this, serviceName); } -css::uno::Sequence< OUString > SAL_CALL AsyncCallback::getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) +css::uno::Sequence< OUString > SAL_CALL AsyncCallback::getSupportedServiceNames() { css::uno::Sequence< OUString > s { "com.sun.star.awt.AsyncCallback" }; return s; } // css::awt::XRequestCallback: -void SAL_CALL AsyncCallback::addCallback(const css::uno::Reference< css::awt::XCallback > & xCallback, const css::uno::Any & aData) throw (css::uno::RuntimeException, std::exception) +void SAL_CALL AsyncCallback::addCallback(const css::uno::Reference< css::awt::XCallback > & xCallback, const css::uno::Any & aData) { if ( Application::IsInMain() ) { diff --git a/toolkit/source/awt/stylesettings.cxx b/toolkit/source/awt/stylesettings.cxx index 3310c044c08b..0d540f0bf39c 100644 --- a/toolkit/source/awt/stylesettings.cxx +++ b/toolkit/source/awt/stylesettings.cxx @@ -168,217 +168,217 @@ namespace toolkit } - ::sal_Int32 SAL_CALL WindowStyleSettings::getActiveBorderColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getActiveBorderColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetActiveBorderColor ); } - void SAL_CALL WindowStyleSettings::setActiveBorderColor( ::sal_Int32 _activebordercolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setActiveBorderColor( ::sal_Int32 _activebordercolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetActiveBorderColor, _activebordercolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getActiveColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getActiveColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetActiveColor ); } - void SAL_CALL WindowStyleSettings::setActiveColor( ::sal_Int32 _activecolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setActiveColor( ::sal_Int32 _activecolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetActiveColor, _activecolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getActiveTabColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getActiveTabColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetActiveTabColor ); } - void SAL_CALL WindowStyleSettings::setActiveTabColor( ::sal_Int32 _activetabcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setActiveTabColor( ::sal_Int32 _activetabcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetActiveTabColor, _activetabcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getActiveTextColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getActiveTextColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetActiveTextColor ); } - void SAL_CALL WindowStyleSettings::setActiveTextColor( ::sal_Int32 _activetextcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setActiveTextColor( ::sal_Int32 _activetextcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetActiveTextColor, _activetextcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getButtonRolloverTextColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getButtonRolloverTextColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetButtonRolloverTextColor ); } - void SAL_CALL WindowStyleSettings::setButtonRolloverTextColor( ::sal_Int32 _buttonrollovertextcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setButtonRolloverTextColor( ::sal_Int32 _buttonrollovertextcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetButtonRolloverTextColor, _buttonrollovertextcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getButtonTextColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getButtonTextColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetButtonTextColor ); } - void SAL_CALL WindowStyleSettings::setButtonTextColor( ::sal_Int32 _buttontextcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setButtonTextColor( ::sal_Int32 _buttontextcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetButtonTextColor, _buttontextcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getCheckedColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getCheckedColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetCheckedColor ); } - void SAL_CALL WindowStyleSettings::setCheckedColor( ::sal_Int32 _checkedcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setCheckedColor( ::sal_Int32 _checkedcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetCheckedColor, _checkedcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getDarkShadowColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getDarkShadowColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetDarkShadowColor ); } - void SAL_CALL WindowStyleSettings::setDarkShadowColor( ::sal_Int32 _darkshadowcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setDarkShadowColor( ::sal_Int32 _darkshadowcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetDarkShadowColor, _darkshadowcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getDeactiveBorderColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getDeactiveBorderColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetDeactiveBorderColor ); } - void SAL_CALL WindowStyleSettings::setDeactiveBorderColor( ::sal_Int32 _deactivebordercolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setDeactiveBorderColor( ::sal_Int32 _deactivebordercolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetDeactiveBorderColor, _deactivebordercolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getDeactiveColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getDeactiveColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetDeactiveColor ); } - void SAL_CALL WindowStyleSettings::setDeactiveColor( ::sal_Int32 _deactivecolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setDeactiveColor( ::sal_Int32 _deactivecolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetDeactiveColor, _deactivecolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getDeactiveTextColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getDeactiveTextColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetDeactiveTextColor ); } - void SAL_CALL WindowStyleSettings::setDeactiveTextColor( ::sal_Int32 _deactivetextcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setDeactiveTextColor( ::sal_Int32 _deactivetextcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetDeactiveTextColor, _deactivetextcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getDialogColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getDialogColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetDialogColor ); } - void SAL_CALL WindowStyleSettings::setDialogColor( ::sal_Int32 _dialogcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setDialogColor( ::sal_Int32 _dialogcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetDialogColor, _dialogcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getDialogTextColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getDialogTextColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetDialogTextColor ); } - void SAL_CALL WindowStyleSettings::setDialogTextColor( ::sal_Int32 _dialogtextcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setDialogTextColor( ::sal_Int32 _dialogtextcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetDialogTextColor, _dialogtextcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getDisableColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getDisableColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetDisableColor ); } - void SAL_CALL WindowStyleSettings::setDisableColor( ::sal_Int32 _disablecolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setDisableColor( ::sal_Int32 _disablecolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetDisableColor, _disablecolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getFaceColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getFaceColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetFaceColor ); } - void SAL_CALL WindowStyleSettings::setFaceColor( ::sal_Int32 _facecolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setFaceColor( ::sal_Int32 _facecolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetFaceColor, _facecolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getFaceGradientColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getFaceGradientColor() { StyleMethodGuard aGuard( *m_pData ); const VclPtr<vcl::Window>& pWindow = m_pData->pOwningWindow->GetWindow(); @@ -388,287 +388,287 @@ namespace toolkit } - ::sal_Int32 SAL_CALL WindowStyleSettings::getFieldColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getFieldColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetFieldColor ); } - void SAL_CALL WindowStyleSettings::setFieldColor( ::sal_Int32 _fieldcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setFieldColor( ::sal_Int32 _fieldcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetFieldColor, _fieldcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getFieldRolloverTextColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getFieldRolloverTextColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetFieldRolloverTextColor ); } - void SAL_CALL WindowStyleSettings::setFieldRolloverTextColor( ::sal_Int32 _fieldrollovertextcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setFieldRolloverTextColor( ::sal_Int32 _fieldrollovertextcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetFieldRolloverTextColor, _fieldrollovertextcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getFieldTextColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getFieldTextColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetFieldTextColor ); } - void SAL_CALL WindowStyleSettings::setFieldTextColor( ::sal_Int32 _fieldtextcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setFieldTextColor( ::sal_Int32 _fieldtextcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetFieldTextColor, _fieldtextcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getGroupTextColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getGroupTextColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetGroupTextColor ); } - void SAL_CALL WindowStyleSettings::setGroupTextColor( ::sal_Int32 _grouptextcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setGroupTextColor( ::sal_Int32 _grouptextcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetGroupTextColor, _grouptextcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getHelpColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getHelpColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetHelpColor ); } - void SAL_CALL WindowStyleSettings::setHelpColor( ::sal_Int32 _helpcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setHelpColor( ::sal_Int32 _helpcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetHelpColor, _helpcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getHelpTextColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getHelpTextColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetHelpTextColor ); } - void SAL_CALL WindowStyleSettings::setHelpTextColor( ::sal_Int32 _helptextcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setHelpTextColor( ::sal_Int32 _helptextcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetHelpTextColor, _helptextcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getHighlightColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getHighlightColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetHighlightColor ); } - void SAL_CALL WindowStyleSettings::setHighlightColor( ::sal_Int32 _highlightcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setHighlightColor( ::sal_Int32 _highlightcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetHighlightColor, _highlightcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getHighlightTextColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getHighlightTextColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetHighlightTextColor ); } - void SAL_CALL WindowStyleSettings::setHighlightTextColor( ::sal_Int32 _highlighttextcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setHighlightTextColor( ::sal_Int32 _highlighttextcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetHighlightTextColor, _highlighttextcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getInactiveTabColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getInactiveTabColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetInactiveTabColor ); } - void SAL_CALL WindowStyleSettings::setInactiveTabColor( ::sal_Int32 _inactivetabcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setInactiveTabColor( ::sal_Int32 _inactivetabcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetInactiveTabColor, _inactivetabcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getLabelTextColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getLabelTextColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetLabelTextColor ); } - void SAL_CALL WindowStyleSettings::setLabelTextColor( ::sal_Int32 _labeltextcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setLabelTextColor( ::sal_Int32 _labeltextcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetLabelTextColor, _labeltextcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getLightColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getLightColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetLightColor ); } - void SAL_CALL WindowStyleSettings::setLightColor( ::sal_Int32 _lightcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setLightColor( ::sal_Int32 _lightcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetLightColor, _lightcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getMenuBarColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getMenuBarColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetMenuBarColor ); } - void SAL_CALL WindowStyleSettings::setMenuBarColor( ::sal_Int32 _menubarcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setMenuBarColor( ::sal_Int32 _menubarcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetMenuBarColor, _menubarcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getMenuBarTextColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getMenuBarTextColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetMenuBarTextColor ); } - void SAL_CALL WindowStyleSettings::setMenuBarTextColor( ::sal_Int32 _menubartextcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setMenuBarTextColor( ::sal_Int32 _menubartextcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetMenuBarTextColor, _menubartextcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getMenuBorderColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getMenuBorderColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetMenuBorderColor ); } - void SAL_CALL WindowStyleSettings::setMenuBorderColor( ::sal_Int32 _menubordercolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setMenuBorderColor( ::sal_Int32 _menubordercolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetMenuBorderColor, _menubordercolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getMenuColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getMenuColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetMenuColor ); } - void SAL_CALL WindowStyleSettings::setMenuColor( ::sal_Int32 _menucolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setMenuColor( ::sal_Int32 _menucolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetMenuColor, _menucolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getMenuHighlightColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getMenuHighlightColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetMenuHighlightColor ); } - void SAL_CALL WindowStyleSettings::setMenuHighlightColor( ::sal_Int32 _menuhighlightcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setMenuHighlightColor( ::sal_Int32 _menuhighlightcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetMenuHighlightColor, _menuhighlightcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getMenuHighlightTextColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getMenuHighlightTextColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetMenuHighlightTextColor ); } - void SAL_CALL WindowStyleSettings::setMenuHighlightTextColor( ::sal_Int32 _menuhighlighttextcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setMenuHighlightTextColor( ::sal_Int32 _menuhighlighttextcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetMenuHighlightTextColor, _menuhighlighttextcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getMenuTextColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getMenuTextColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetMenuTextColor ); } - void SAL_CALL WindowStyleSettings::setMenuTextColor( ::sal_Int32 _menutextcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setMenuTextColor( ::sal_Int32 _menutextcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetMenuTextColor, _menutextcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getMonoColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getMonoColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetMonoColor ); } - void SAL_CALL WindowStyleSettings::setMonoColor( ::sal_Int32 _monocolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setMonoColor( ::sal_Int32 _monocolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetMonoColor, _monocolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getRadioCheckTextColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getRadioCheckTextColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetRadioCheckTextColor ); } - void SAL_CALL WindowStyleSettings::setRadioCheckTextColor( ::sal_Int32 _radiochecktextcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setRadioCheckTextColor( ::sal_Int32 _radiochecktextcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetRadioCheckTextColor, _radiochecktextcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getSeparatorColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getSeparatorColor() { StyleMethodGuard aGuard( *m_pData ); const VclPtr<vcl::Window>& pWindow = m_pData->pOwningWindow->GetWindow(); @@ -678,63 +678,63 @@ namespace toolkit } - ::sal_Int32 SAL_CALL WindowStyleSettings::getShadowColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getShadowColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetShadowColor ); } - void SAL_CALL WindowStyleSettings::setShadowColor( ::sal_Int32 _shadowcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setShadowColor( ::sal_Int32 _shadowcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetShadowColor, _shadowcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getWindowColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getWindowColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetWindowColor ); } - void SAL_CALL WindowStyleSettings::setWindowColor( ::sal_Int32 _windowcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setWindowColor( ::sal_Int32 _windowcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetWindowColor, _windowcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getWindowTextColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getWindowTextColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetWindowTextColor ); } - void SAL_CALL WindowStyleSettings::setWindowTextColor( ::sal_Int32 _windowtextcolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setWindowTextColor( ::sal_Int32 _windowtextcolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetWindowTextColor, _windowtextcolor ); } - ::sal_Int32 SAL_CALL WindowStyleSettings::getWorkspaceColor() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL WindowStyleSettings::getWorkspaceColor() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleColor( *m_pData, &StyleSettings::GetWorkspaceColor ); } - void SAL_CALL WindowStyleSettings::setWorkspaceColor( ::sal_Int32 _workspacecolor ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setWorkspaceColor( ::sal_Int32 _workspacecolor ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleColor( *m_pData, &StyleSettings::SetWorkspaceColor, _workspacecolor ); } - sal_Bool SAL_CALL WindowStyleSettings::getHighContrastMode() throw (RuntimeException, std::exception) + sal_Bool SAL_CALL WindowStyleSettings::getHighContrastMode() { StyleMethodGuard aGuard( *m_pData ); const VclPtr<vcl::Window>& pWindow = m_pData->pOwningWindow->GetWindow(); @@ -744,7 +744,7 @@ namespace toolkit } - void SAL_CALL WindowStyleSettings::setHighContrastMode( sal_Bool _highcontrastmode ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setHighContrastMode( sal_Bool _highcontrastmode ) { StyleMethodGuard aGuard( *m_pData ); VclPtr<vcl::Window> pWindow = m_pData->pOwningWindow->GetWindow(); @@ -756,161 +756,161 @@ namespace toolkit } - FontDescriptor SAL_CALL WindowStyleSettings::getApplicationFont() throw (RuntimeException, std::exception) + FontDescriptor SAL_CALL WindowStyleSettings::getApplicationFont() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleFont( *m_pData, &StyleSettings::GetAppFont ); } - void SAL_CALL WindowStyleSettings::setApplicationFont( const FontDescriptor& _applicationfont ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setApplicationFont( const FontDescriptor& _applicationfont ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleFont( *m_pData, &StyleSettings::SetAppFont, &StyleSettings::GetAppFont, _applicationfont ); } - FontDescriptor SAL_CALL WindowStyleSettings::getHelpFont() throw (RuntimeException, std::exception) + FontDescriptor SAL_CALL WindowStyleSettings::getHelpFont() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleFont( *m_pData, &StyleSettings::GetHelpFont ); } - void SAL_CALL WindowStyleSettings::setHelpFont( const FontDescriptor& _helpfont ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setHelpFont( const FontDescriptor& _helpfont ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleFont( *m_pData, &StyleSettings::SetHelpFont, &StyleSettings::GetHelpFont, _helpfont ); } - FontDescriptor SAL_CALL WindowStyleSettings::getTitleFont() throw (RuntimeException, std::exception) + FontDescriptor SAL_CALL WindowStyleSettings::getTitleFont() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleFont( *m_pData, &StyleSettings::GetTitleFont ); } - void SAL_CALL WindowStyleSettings::setTitleFont( const FontDescriptor& _titlefont ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setTitleFont( const FontDescriptor& _titlefont ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleFont( *m_pData, &StyleSettings::SetTitleFont, &StyleSettings::GetTitleFont, _titlefont ); } - FontDescriptor SAL_CALL WindowStyleSettings::getFloatTitleFont() throw (RuntimeException, std::exception) + FontDescriptor SAL_CALL WindowStyleSettings::getFloatTitleFont() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleFont( *m_pData, &StyleSettings::GetFloatTitleFont ); } - void SAL_CALL WindowStyleSettings::setFloatTitleFont( const FontDescriptor& _floattitlefont ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setFloatTitleFont( const FontDescriptor& _floattitlefont ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleFont( *m_pData, &StyleSettings::SetFloatTitleFont, &StyleSettings::GetFloatTitleFont, _floattitlefont ); } - FontDescriptor SAL_CALL WindowStyleSettings::getMenuFont() throw (RuntimeException, std::exception) + FontDescriptor SAL_CALL WindowStyleSettings::getMenuFont() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleFont( *m_pData, &StyleSettings::GetMenuFont ); } - void SAL_CALL WindowStyleSettings::setMenuFont( const FontDescriptor& _menufont ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setMenuFont( const FontDescriptor& _menufont ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleFont( *m_pData, &StyleSettings::SetMenuFont, &StyleSettings::GetMenuFont, _menufont ); } - FontDescriptor SAL_CALL WindowStyleSettings::getToolFont() throw (RuntimeException, std::exception) + FontDescriptor SAL_CALL WindowStyleSettings::getToolFont() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleFont( *m_pData, &StyleSettings::GetToolFont ); } - void SAL_CALL WindowStyleSettings::setToolFont( const FontDescriptor& _toolfont ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setToolFont( const FontDescriptor& _toolfont ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleFont( *m_pData, &StyleSettings::SetToolFont, &StyleSettings::GetToolFont, _toolfont ); } - FontDescriptor SAL_CALL WindowStyleSettings::getGroupFont() throw (RuntimeException, std::exception) + FontDescriptor SAL_CALL WindowStyleSettings::getGroupFont() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleFont( *m_pData, &StyleSettings::GetGroupFont ); } - void SAL_CALL WindowStyleSettings::setGroupFont( const FontDescriptor& _groupfont ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setGroupFont( const FontDescriptor& _groupfont ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleFont( *m_pData, &StyleSettings::SetGroupFont, &StyleSettings::GetGroupFont, _groupfont ); } - FontDescriptor SAL_CALL WindowStyleSettings::getLabelFont() throw (RuntimeException, std::exception) + FontDescriptor SAL_CALL WindowStyleSettings::getLabelFont() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleFont( *m_pData, &StyleSettings::GetLabelFont ); } - void SAL_CALL WindowStyleSettings::setLabelFont( const FontDescriptor& _labelfont ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setLabelFont( const FontDescriptor& _labelfont ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleFont( *m_pData, &StyleSettings::SetLabelFont, &StyleSettings::GetLabelFont, _labelfont ); } - FontDescriptor SAL_CALL WindowStyleSettings::getRadioCheckFont() throw (RuntimeException, std::exception) + FontDescriptor SAL_CALL WindowStyleSettings::getRadioCheckFont() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleFont( *m_pData, &StyleSettings::GetRadioCheckFont ); } - void SAL_CALL WindowStyleSettings::setRadioCheckFont( const FontDescriptor& _radiocheckfont ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setRadioCheckFont( const FontDescriptor& _radiocheckfont ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleFont( *m_pData, &StyleSettings::SetRadioCheckFont, &StyleSettings::GetRadioCheckFont, _radiocheckfont ); } - FontDescriptor SAL_CALL WindowStyleSettings::getPushButtonFont() throw (RuntimeException, std::exception) + FontDescriptor SAL_CALL WindowStyleSettings::getPushButtonFont() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleFont( *m_pData, &StyleSettings::GetPushButtonFont ); } - void SAL_CALL WindowStyleSettings::setPushButtonFont( const FontDescriptor& _pushbuttonfont ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setPushButtonFont( const FontDescriptor& _pushbuttonfont ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleFont( *m_pData, &StyleSettings::SetPushButtonFont, &StyleSettings::GetPushButtonFont, _pushbuttonfont ); } - FontDescriptor SAL_CALL WindowStyleSettings::getFieldFont() throw (RuntimeException, std::exception) + FontDescriptor SAL_CALL WindowStyleSettings::getFieldFont() { StyleMethodGuard aGuard( *m_pData ); return lcl_getStyleFont( *m_pData, &StyleSettings::GetFieldFont ); } - void SAL_CALL WindowStyleSettings::setFieldFont( const FontDescriptor& _fieldfont ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::setFieldFont( const FontDescriptor& _fieldfont ) { StyleMethodGuard aGuard( *m_pData ); lcl_setStyleFont( *m_pData, &StyleSettings::SetFieldFont, &StyleSettings::GetFieldFont, _fieldfont ); } - void SAL_CALL WindowStyleSettings::addStyleChangeListener( const Reference< XStyleChangeListener >& i_rListener ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::addStyleChangeListener( const Reference< XStyleChangeListener >& i_rListener ) { StyleMethodGuard aGuard( *m_pData ); if ( i_rListener.is() ) @@ -918,7 +918,7 @@ namespace toolkit } - void SAL_CALL WindowStyleSettings::removeStyleChangeListener( const Reference< XStyleChangeListener >& i_rListener ) throw (RuntimeException, std::exception) + void SAL_CALL WindowStyleSettings::removeStyleChangeListener( const Reference< XStyleChangeListener >& i_rListener ) { StyleMethodGuard aGuard( *m_pData ); if ( i_rListener.is() ) diff --git a/toolkit/source/awt/stylesettings.hxx b/toolkit/source/awt/stylesettings.hxx index 7809dc221904..0bc28cd1dad4 100644 --- a/toolkit/source/awt/stylesettings.hxx +++ b/toolkit/source/awt/stylesettings.hxx @@ -52,112 +52,112 @@ namespace toolkit void dispose(); // XStyleSettings - virtual ::sal_Int32 SAL_CALL getActiveBorderColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setActiveBorderColor( ::sal_Int32 _activebordercolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getActiveColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setActiveColor( ::sal_Int32 _activecolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getActiveTabColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setActiveTabColor( ::sal_Int32 _activetabcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getActiveTextColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setActiveTextColor( ::sal_Int32 _activetextcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getButtonRolloverTextColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setButtonRolloverTextColor( ::sal_Int32 _buttonrollovertextcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getButtonTextColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setButtonTextColor( ::sal_Int32 _buttontextcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getCheckedColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setCheckedColor( ::sal_Int32 _checkedcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getDarkShadowColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setDarkShadowColor( ::sal_Int32 _darkshadowcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getDeactiveBorderColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setDeactiveBorderColor( ::sal_Int32 _deactivebordercolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getDeactiveColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setDeactiveColor( ::sal_Int32 _deactivecolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getDeactiveTextColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setDeactiveTextColor( ::sal_Int32 _deactivetextcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getDialogColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setDialogColor( ::sal_Int32 _dialogcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getDialogTextColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setDialogTextColor( ::sal_Int32 _dialogtextcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getDisableColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setDisableColor( ::sal_Int32 _disablecolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getFaceColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setFaceColor( ::sal_Int32 _facecolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getFaceGradientColor() throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getFieldColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setFieldColor( ::sal_Int32 _fieldcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getFieldRolloverTextColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setFieldRolloverTextColor( ::sal_Int32 _fieldrollovertextcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getFieldTextColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setFieldTextColor( ::sal_Int32 _fieldtextcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getGroupTextColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setGroupTextColor( ::sal_Int32 _grouptextcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getHelpColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setHelpColor( ::sal_Int32 _helpcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getHelpTextColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setHelpTextColor( ::sal_Int32 _helptextcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getHighlightColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setHighlightColor( ::sal_Int32 _highlightcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getHighlightTextColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setHighlightTextColor( ::sal_Int32 _highlighttextcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getInactiveTabColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setInactiveTabColor( ::sal_Int32 _inactivetabcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getLabelTextColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setLabelTextColor( ::sal_Int32 _labeltextcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getLightColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setLightColor( ::sal_Int32 _lightcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getMenuBarColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setMenuBarColor( ::sal_Int32 _menubarcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getMenuBarTextColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setMenuBarTextColor( ::sal_Int32 _menubartextcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getMenuBorderColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setMenuBorderColor( ::sal_Int32 _menubordercolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getMenuColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setMenuColor( ::sal_Int32 _menucolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getMenuHighlightColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setMenuHighlightColor( ::sal_Int32 _menuhighlightcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getMenuHighlightTextColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setMenuHighlightTextColor( ::sal_Int32 _menuhighlighttextcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getMenuTextColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setMenuTextColor( ::sal_Int32 _menutextcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getMonoColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setMonoColor( ::sal_Int32 _monocolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getRadioCheckTextColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setRadioCheckTextColor( ::sal_Int32 _radiochecktextcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getSeparatorColor() throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getShadowColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setShadowColor( ::sal_Int32 _shadowcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getWindowColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setWindowColor( ::sal_Int32 _windowcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getWindowTextColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setWindowTextColor( ::sal_Int32 _windowtextcolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual ::sal_Int32 SAL_CALL getWorkspaceColor() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setWorkspaceColor( ::sal_Int32 _workspacecolor ) throw (css::uno::RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL getHighContrastMode() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setHighContrastMode( sal_Bool _highcontrastmode ) throw (css::uno::RuntimeException, std::exception) override; - virtual css::awt::FontDescriptor SAL_CALL getApplicationFont() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setApplicationFont( const css::awt::FontDescriptor& _applicationfont ) throw (css::uno::RuntimeException, std::exception) override; - virtual css::awt::FontDescriptor SAL_CALL getHelpFont() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setHelpFont( const css::awt::FontDescriptor& _helpfont ) throw (css::uno::RuntimeException, std::exception) override; - virtual css::awt::FontDescriptor SAL_CALL getTitleFont() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setTitleFont( const css::awt::FontDescriptor& _titlefont ) throw (css::uno::RuntimeException, std::exception) override; - virtual css::awt::FontDescriptor SAL_CALL getFloatTitleFont() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setFloatTitleFont( const css::awt::FontDescriptor& _floattitlefont ) throw (css::uno::RuntimeException, std::exception) override; - virtual css::awt::FontDescriptor SAL_CALL getMenuFont() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setMenuFont( const css::awt::FontDescriptor& _menufont ) throw (css::uno::RuntimeException, std::exception) override; - virtual css::awt::FontDescriptor SAL_CALL getToolFont() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setToolFont( const css::awt::FontDescriptor& _toolfont ) throw (css::uno::RuntimeException, std::exception) override; - virtual css::awt::FontDescriptor SAL_CALL getGroupFont() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setGroupFont( const css::awt::FontDescriptor& _groupfont ) throw (css::uno::RuntimeException, std::exception) override; - virtual css::awt::FontDescriptor SAL_CALL getLabelFont() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setLabelFont( const css::awt::FontDescriptor& _labelfont ) throw (css::uno::RuntimeException, std::exception) override; - virtual css::awt::FontDescriptor SAL_CALL getRadioCheckFont() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setRadioCheckFont( const css::awt::FontDescriptor& _radiocheckfont ) throw (css::uno::RuntimeException, std::exception) override; - virtual css::awt::FontDescriptor SAL_CALL getPushButtonFont() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setPushButtonFont( const css::awt::FontDescriptor& _pushbuttonfont ) throw (css::uno::RuntimeException, std::exception) override; - virtual css::awt::FontDescriptor SAL_CALL getFieldFont() throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL setFieldFont( const css::awt::FontDescriptor& _fieldfont ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL addStyleChangeListener( const css::uno::Reference< css::awt::XStyleChangeListener >& Listener ) throw (css::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL removeStyleChangeListener( const css::uno::Reference< css::awt::XStyleChangeListener >& Listener ) throw (css::uno::RuntimeException, std::exception) override; + virtual ::sal_Int32 SAL_CALL getActiveBorderColor() override; + virtual void SAL_CALL setActiveBorderColor( ::sal_Int32 _activebordercolor ) override; + virtual ::sal_Int32 SAL_CALL getActiveColor() override; + virtual void SAL_CALL setActiveColor( ::sal_Int32 _activecolor ) override; + virtual ::sal_Int32 SAL_CALL getActiveTabColor() override; + virtual void SAL_CALL setActiveTabColor( ::sal_Int32 _activetabcolor ) override; + virtual ::sal_Int32 SAL_CALL getActiveTextColor() override; + virtual void SAL_CALL setActiveTextColor( ::sal_Int32 _activetextcolor ) override; + virtual ::sal_Int32 SAL_CALL getButtonRolloverTextColor() override; + virtual void SAL_CALL setButtonRolloverTextColor( ::sal_Int32 _buttonrollovertextcolor ) override; + virtual ::sal_Int32 SAL_CALL getButtonTextColor() override; + virtual void SAL_CALL setButtonTextColor( ::sal_Int32 _buttontextcolor ) override; + virtual ::sal_Int32 SAL_CALL getCheckedColor() override; + virtual void SAL_CALL setCheckedColor( ::sal_Int32 _checkedcolor ) override; + virtual ::sal_Int32 SAL_CALL getDarkShadowColor() override; + virtual void SAL_CALL setDarkShadowColor( ::sal_Int32 _darkshadowcolor ) override; + virtual ::sal_Int32 SAL_CALL getDeactiveBorderColor() override; + virtual void SAL_CALL setDeactiveBorderColor( ::sal_Int32 _deactivebordercolor ) override; + virtual ::sal_Int32 SAL_CALL getDeactiveColor() override; + virtual void SAL_CALL setDeactiveColor( ::sal_Int32 _deactivecolor ) override; + virtual ::sal_Int32 SAL_CALL getDeactiveTextColor() override; + virtual void SAL_CALL setDeactiveTextColor( ::sal_Int32 _deactivetextcolor ) override; + virtual ::sal_Int32 SAL_CALL getDialogColor() override; + virtual void SAL_CALL setDialogColor( ::sal_Int32 _dialogcolor ) override; + virtual ::sal_Int32 SAL_CALL getDialogTextColor() override; + virtual void SAL_CALL setDialogTextColor( ::sal_Int32 _dialogtextcolor ) override; + virtual ::sal_Int32 SAL_CALL getDisableColor() override; + virtual void SAL_CALL setDisableColor( ::sal_Int32 _disablecolor ) override; + virtual ::sal_Int32 SAL_CALL getFaceColor() override; + virtual void SAL_CALL setFaceColor( ::sal_Int32 _facecolor ) override; + virtual ::sal_Int32 SAL_CALL getFaceGradientColor() override; + virtual ::sal_Int32 SAL_CALL getFieldColor() override; + virtual void SAL_CALL setFieldColor( ::sal_Int32 _fieldcolor ) override; + virtual ::sal_Int32 SAL_CALL getFieldRolloverTextColor() override; + virtual void SAL_CALL setFieldRolloverTextColor( ::sal_Int32 _fieldrollovertextcolor ) override; + virtual ::sal_Int32 SAL_CALL getFieldTextColor() override; + virtual void SAL_CALL setFieldTextColor( ::sal_Int32 _fieldtextcolor ) override; + virtual ::sal_Int32 SAL_CALL getGroupTextColor() override; + virtual void SAL_CALL setGroupTextColor( ::sal_Int32 _grouptextcolor ) override; + virtual ::sal_Int32 SAL_CALL getHelpColor() override; + virtual void SAL_CALL setHelpColor( ::sal_Int32 _helpcolor ) override; + virtual ::sal_Int32 SAL_CALL getHelpTextColor() override; + virtual void SAL_CALL setHelpTextColor( ::sal_Int32 _helptextcolor ) override; + virtual ::sal_Int32 SAL_CALL getHighlightColor() override; + virtual void SAL_CALL setHighlightColor( ::sal_Int32 _highlightcolor ) override; + virtual ::sal_Int32 SAL_CALL getHighlightTextColor() override; + virtual void SAL_CALL setHighlightTextColor( ::sal_Int32 _highlighttextcolor ) override; + virtual ::sal_Int32 SAL_CALL getInactiveTabColor() override; + virtual void SAL_CALL setInactiveTabColor( ::sal_Int32 _inactivetabcolor ) override; + virtual ::sal_Int32 SAL_CALL getLabelTextColor() override; + virtual void SAL_CALL setLabelTextColor( ::sal_Int32 _labeltextcolor ) override; + virtual ::sal_Int32 SAL_CALL getLightColor() override; + virtual void SAL_CALL setLightColor( ::sal_Int32 _lightcolor ) override; + virtual ::sal_Int32 SAL_CALL getMenuBarColor() override; + virtual void SAL_CALL setMenuBarColor( ::sal_Int32 _menubarcolor ) override; + virtual ::sal_Int32 SAL_CALL getMenuBarTextColor() override; + virtual void SAL_CALL setMenuBarTextColor( ::sal_Int32 _menubartextcolor ) override; + virtual ::sal_Int32 SAL_CALL getMenuBorderColor() override; + virtual void SAL_CALL setMenuBorderColor( ::sal_Int32 _menubordercolor ) override; + virtual ::sal_Int32 SAL_CALL getMenuColor() override; + virtual void SAL_CALL setMenuColor( ::sal_Int32 _menucolor ) override; + virtual ::sal_Int32 SAL_CALL getMenuHighlightColor() override; + virtual void SAL_CALL setMenuHighlightColor( ::sal_Int32 _menuhighlightcolor ) override; + virtual ::sal_Int32 SAL_CALL getMenuHighlightTextColor() override; + virtual void SAL_CALL setMenuHighlightTextColor( ::sal_Int32 _menuhighlighttextcolor ) override; + virtual ::sal_Int32 SAL_CALL getMenuTextColor() override; + virtual void SAL_CALL setMenuTextColor( ::sal_Int32 _menutextcolor ) override; + virtual ::sal_Int32 SAL_CALL getMonoColor() override; + virtual void SAL_CALL setMonoColor( ::sal_Int32 _monocolor ) override; + virtual ::sal_Int32 SAL_CALL getRadioCheckTextColor() override; + virtual void SAL_CALL setRadioCheckTextColor( ::sal_Int32 _radiochecktextcolor ) override; + virtual ::sal_Int32 SAL_CALL getSeparatorColor() override; + virtual ::sal_Int32 SAL_CALL getShadowColor() override; + virtual void SAL_CALL setShadowColor( ::sal_Int32 _shadowcolor ) override; + virtual ::sal_Int32 SAL_CALL getWindowColor() override; + virtual void SAL_CALL setWindowColor( ::sal_Int32 _windowcolor ) override; + virtual ::sal_Int32 SAL_CALL getWindowTextColor() override; + virtual void SAL_CALL setWindowTextColor( ::sal_Int32 _windowtextcolor ) override; + virtual ::sal_Int32 SAL_CALL getWorkspaceColor() override; + virtual void SAL_CALL setWorkspaceColor( ::sal_Int32 _workspacecolor ) override; + virtual sal_Bool SAL_CALL getHighContrastMode() override; + virtual void SAL_CALL setHighContrastMode( sal_Bool _highcontrastmode ) override; + virtual css::awt::FontDescriptor SAL_CALL getApplicationFont() override; + virtual void SAL_CALL setApplicationFont( const css::awt::FontDescriptor& _applicationfont ) override; + virtual css::awt::FontDescriptor SAL_CALL getHelpFont() override; + virtual void SAL_CALL setHelpFont( const css::awt::FontDescriptor& _helpfont ) override; + virtual css::awt::FontDescriptor SAL_CALL getTitleFont() override; + virtual void SAL_CALL setTitleFont( const css::awt::FontDescriptor& _titlefont ) override; + virtual css::awt::FontDescriptor SAL_CALL getFloatTitleFont() override; + virtual void SAL_CALL setFloatTitleFont( const css::awt::FontDescriptor& _floattitlefont ) override; + virtual css::awt::FontDescriptor SAL_CALL getMenuFont() override; + virtual void SAL_CALL setMenuFont( const css::awt::FontDescriptor& _menufont ) override; + virtual css::awt::FontDescriptor SAL_CALL getToolFont() override; + virtual void SAL_CALL setToolFont( const css::awt::FontDescriptor& _toolfont ) override; + virtual css::awt::FontDescriptor SAL_CALL getGroupFont() override; + virtual void SAL_CALL setGroupFont( const css::awt::FontDescriptor& _groupfont ) override; + virtual css::awt::FontDescriptor SAL_CALL getLabelFont() override; + virtual void SAL_CALL setLabelFont( const css::awt::FontDescriptor& _labelfont ) override; + virtual css::awt::FontDescriptor SAL_CALL getRadioCheckFont() override; + virtual void SAL_CALL setRadioCheckFont( const css::awt::FontDescriptor& _radiocheckfont ) override; + virtual css::awt::FontDescriptor SAL_CALL getPushButtonFont() override; + virtual void SAL_CALL setPushButtonFont( const css::awt::FontDescriptor& _pushbuttonfont ) override; + virtual css::awt::FontDescriptor SAL_CALL getFieldFont() override; + virtual void SAL_CALL setFieldFont( const css::awt::FontDescriptor& _fieldfont ) override; + virtual void SAL_CALL addStyleChangeListener( const css::uno::Reference< css::awt::XStyleChangeListener >& Listener ) override; + virtual void SAL_CALL removeStyleChangeListener( const css::uno::Reference< css::awt::XStyleChangeListener >& Listener ) override; private: std::unique_ptr< WindowStyleSettings_Data > m_pData; diff --git a/toolkit/source/awt/vclxaccessiblecomponent.cxx b/toolkit/source/awt/vclxaccessiblecomponent.cxx index 9b6480039d92..2a0596059f99 100644 --- a/toolkit/source/awt/vclxaccessiblecomponent.cxx +++ b/toolkit/source/awt/vclxaccessiblecomponent.cxx @@ -95,17 +95,17 @@ VCLXAccessibleComponent::~VCLXAccessibleComponent() IMPLEMENT_FORWARD_XINTERFACE3( VCLXAccessibleComponent, OAccessibleExtendedComponentHelper, OAccessibleImplementationAccess, VCLXAccessibleComponent_BASE ) IMPLEMENT_FORWARD_XTYPEPROVIDER3( VCLXAccessibleComponent, OAccessibleExtendedComponentHelper, OAccessibleImplementationAccess, VCLXAccessibleComponent_BASE ) -OUString VCLXAccessibleComponent::getImplementationName() throw (uno::RuntimeException, std::exception) +OUString VCLXAccessibleComponent::getImplementationName() { return OUString("com.sun.star.comp.toolkit.AccessibleWindow"); } -sal_Bool VCLXAccessibleComponent::supportsService( const OUString& rServiceName ) throw (uno::RuntimeException, std::exception) +sal_Bool VCLXAccessibleComponent::supportsService( const OUString& rServiceName ) { return cppu::supportsService(this, rServiceName); } -uno::Sequence< OUString > VCLXAccessibleComponent::getSupportedServiceNames() throw (uno::RuntimeException, std::exception) +uno::Sequence< OUString > VCLXAccessibleComponent::getSupportedServiceNames() { uno::Sequence< OUString > aNames { "com.sun.star.awt.AccessibleWindow" }; return aNames; @@ -495,7 +495,7 @@ TRANSIENT // accessibility::XAccessibleContext -sal_Int32 VCLXAccessibleComponent::getAccessibleChildCount() throw (uno::RuntimeException, std::exception) +sal_Int32 VCLXAccessibleComponent::getAccessibleChildCount() { OExternalLockGuard aGuard( this ); @@ -506,7 +506,7 @@ sal_Int32 VCLXAccessibleComponent::getAccessibleChildCount() throw (uno::Runtime return nChildren; } -uno::Reference< accessibility::XAccessible > VCLXAccessibleComponent::getAccessibleChild( sal_Int32 i ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception) +uno::Reference< accessibility::XAccessible > VCLXAccessibleComponent::getAccessibleChild( sal_Int32 i ) { OExternalLockGuard aGuard( this ); @@ -536,7 +536,7 @@ uno::Reference< accessibility::XAccessible > VCLXAccessibleComponent::getVclPare return xAcc; } -uno::Reference< accessibility::XAccessible > VCLXAccessibleComponent::getAccessibleParent( ) throw (uno::RuntimeException, std::exception) +uno::Reference< accessibility::XAccessible > VCLXAccessibleComponent::getAccessibleParent( ) { OExternalLockGuard aGuard( this ); @@ -548,7 +548,7 @@ uno::Reference< accessibility::XAccessible > VCLXAccessibleComponent::getAccessi return xAcc; } -sal_Int32 VCLXAccessibleComponent::getAccessibleIndexInParent( ) throw (uno::RuntimeException, std::exception) +sal_Int32 VCLXAccessibleComponent::getAccessibleIndexInParent( ) { OExternalLockGuard aGuard( this ); @@ -597,7 +597,7 @@ sal_Int32 VCLXAccessibleComponent::getAccessibleIndexInParent( ) throw (uno::Ru return nIndex; } -sal_Int16 VCLXAccessibleComponent::getAccessibleRole( ) throw (uno::RuntimeException, std::exception) +sal_Int16 VCLXAccessibleComponent::getAccessibleRole( ) { OExternalLockGuard aGuard( this ); @@ -609,7 +609,7 @@ sal_Int16 VCLXAccessibleComponent::getAccessibleRole( ) throw (uno::RuntimeExce return nRole; } -OUString VCLXAccessibleComponent::getAccessibleDescription( ) throw (uno::RuntimeException, std::exception) +OUString VCLXAccessibleComponent::getAccessibleDescription( ) { OExternalLockGuard aGuard( this ); @@ -621,7 +621,7 @@ OUString VCLXAccessibleComponent::getAccessibleDescription( ) throw (uno::Runti return aDescription; } -OUString VCLXAccessibleComponent::getAccessibleName( ) throw (uno::RuntimeException, std::exception) +OUString VCLXAccessibleComponent::getAccessibleName( ) { OExternalLockGuard aGuard( this ); @@ -638,7 +638,7 @@ OUString VCLXAccessibleComponent::getAccessibleName( ) throw (uno::RuntimeExcep return aName; } -uno::Reference< accessibility::XAccessibleRelationSet > VCLXAccessibleComponent::getAccessibleRelationSet( ) throw (uno::RuntimeException, std::exception) +uno::Reference< accessibility::XAccessibleRelationSet > VCLXAccessibleComponent::getAccessibleRelationSet( ) { OExternalLockGuard aGuard( this ); @@ -648,7 +648,7 @@ uno::Reference< accessibility::XAccessibleRelationSet > VCLXAccessibleComponent: return xSet; } -uno::Reference< accessibility::XAccessibleStateSet > VCLXAccessibleComponent::getAccessibleStateSet( ) throw (uno::RuntimeException, std::exception) +uno::Reference< accessibility::XAccessibleStateSet > VCLXAccessibleComponent::getAccessibleStateSet( ) { OExternalLockGuard aGuard( this ); @@ -658,14 +658,14 @@ uno::Reference< accessibility::XAccessibleStateSet > VCLXAccessibleComponent::ge return xSet; } -lang::Locale VCLXAccessibleComponent::getLocale() throw (accessibility::IllegalAccessibleComponentStateException, uno::RuntimeException, std::exception) +lang::Locale VCLXAccessibleComponent::getLocale() { OExternalLockGuard aGuard( this ); return Application::GetSettings().GetLanguageTag().getLocale(); } -uno::Reference< accessibility::XAccessible > VCLXAccessibleComponent::getAccessibleAtPoint( const awt::Point& rPoint ) throw (uno::RuntimeException, std::exception) +uno::Reference< accessibility::XAccessible > VCLXAccessibleComponent::getAccessibleAtPoint( const awt::Point& rPoint ) { OExternalLockGuard aGuard( this ); @@ -693,7 +693,7 @@ uno::Reference< accessibility::XAccessible > VCLXAccessibleComponent::getAccessi } // accessibility::XAccessibleComponent -awt::Rectangle VCLXAccessibleComponent::implGetBounds() throw (uno::RuntimeException) +awt::Rectangle VCLXAccessibleComponent::implGetBounds() { awt::Rectangle aBounds ( 0, 0, 0, 0 ); @@ -745,7 +745,7 @@ awt::Rectangle VCLXAccessibleComponent::implGetBounds() throw (uno::RuntimeExcep return aBounds; } -awt::Point VCLXAccessibleComponent::getLocationOnScreen( ) throw (uno::RuntimeException, std::exception) +awt::Point VCLXAccessibleComponent::getLocationOnScreen( ) { OExternalLockGuard aGuard( this ); @@ -760,7 +760,7 @@ awt::Point VCLXAccessibleComponent::getLocationOnScreen( ) throw (uno::RuntimeE return aPos; } -void VCLXAccessibleComponent::grabFocus( ) throw (uno::RuntimeException, std::exception) +void VCLXAccessibleComponent::grabFocus( ) { OExternalLockGuard aGuard( this ); @@ -769,7 +769,7 @@ void VCLXAccessibleComponent::grabFocus( ) throw (uno::RuntimeException, std::e m_xVCLXWindow->setFocus(); } -sal_Int32 SAL_CALL VCLXAccessibleComponent::getForeground( ) throw (uno::RuntimeException, std::exception) +sal_Int32 SAL_CALL VCLXAccessibleComponent::getForeground( ) { OExternalLockGuard aGuard( this ); @@ -796,7 +796,7 @@ sal_Int32 SAL_CALL VCLXAccessibleComponent::getForeground( ) throw (uno::Runtim return nColor; } -sal_Int32 SAL_CALL VCLXAccessibleComponent::getBackground( ) throw (uno::RuntimeException, std::exception) +sal_Int32 SAL_CALL VCLXAccessibleComponent::getBackground( ) { OExternalLockGuard aGuard( this ); @@ -815,7 +815,7 @@ sal_Int32 SAL_CALL VCLXAccessibleComponent::getBackground( ) throw (uno::Runtim // XAccessibleExtendedComponent -uno::Reference< awt::XFont > SAL_CALL VCLXAccessibleComponent::getFont( ) throw (uno::RuntimeException, std::exception) +uno::Reference< awt::XFont > SAL_CALL VCLXAccessibleComponent::getFont( ) { OExternalLockGuard aGuard( this ); @@ -840,7 +840,7 @@ uno::Reference< awt::XFont > SAL_CALL VCLXAccessibleComponent::getFont( ) throw return xFont; } -OUString SAL_CALL VCLXAccessibleComponent::getTitledBorderText( ) throw (uno::RuntimeException, std::exception) +OUString SAL_CALL VCLXAccessibleComponent::getTitledBorderText( ) { OExternalLockGuard aGuard( this ); @@ -851,7 +851,7 @@ OUString SAL_CALL VCLXAccessibleComponent::getTitledBorderText( ) throw (uno::R return sRet; } -OUString SAL_CALL VCLXAccessibleComponent::getToolTipText( ) throw (uno::RuntimeException, std::exception) +OUString SAL_CALL VCLXAccessibleComponent::getToolTipText( ) { OExternalLockGuard aGuard( this ); diff --git a/toolkit/source/awt/vclxbitmap.cxx b/toolkit/source/awt/vclxbitmap.cxx index daa0cabe47c9..4e0143dadc72 100644 --- a/toolkit/source/awt/vclxbitmap.cxx +++ b/toolkit/source/awt/vclxbitmap.cxx @@ -30,7 +30,7 @@ // css::uno::XInterface -css::uno::Any VCLXBitmap::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXBitmap::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XBitmap* >(this)), @@ -51,7 +51,7 @@ IMPL_XTYPEPROVIDER_END // css::awt::XBitmap -css::awt::Size VCLXBitmap::getSize() throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXBitmap::getSize() { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -59,7 +59,7 @@ css::awt::Size VCLXBitmap::getSize() throw(css::uno::RuntimeException, std::exce return aSize; } -css::uno::Sequence< sal_Int8 > VCLXBitmap::getDIB() throw(css::uno::RuntimeException, std::exception) +css::uno::Sequence< sal_Int8 > VCLXBitmap::getDIB() { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -68,7 +68,7 @@ css::uno::Sequence< sal_Int8 > VCLXBitmap::getDIB() throw(css::uno::RuntimeExcep return css::uno::Sequence<sal_Int8>( static_cast<sal_Int8 const *>(aMem.GetData()), aMem.Tell() ); } -css::uno::Sequence< sal_Int8 > VCLXBitmap::getMaskDIB() throw(css::uno::RuntimeException, std::exception) +css::uno::Sequence< sal_Int8 > VCLXBitmap::getMaskDIB() { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); diff --git a/toolkit/source/awt/vclxcontainer.cxx b/toolkit/source/awt/vclxcontainer.cxx index 275ae9b06c2a..0f8a3bb657b0 100644 --- a/toolkit/source/awt/vclxcontainer.cxx +++ b/toolkit/source/awt/vclxcontainer.cxx @@ -48,7 +48,7 @@ VCLXContainer::~VCLXContainer() } // css::uno::XInterface -css::uno::Any VCLXContainer::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXContainer::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XVclContainer* >(this)), @@ -65,21 +65,21 @@ IMPL_XTYPEPROVIDER_END // css::awt::XVclContainer -void VCLXContainer::addVclContainerListener( const css::uno::Reference< css::awt::XVclContainerListener >& rxListener ) throw(css::uno::RuntimeException, std::exception) +void VCLXContainer::addVclContainerListener( const css::uno::Reference< css::awt::XVclContainerListener >& rxListener ) { SolarMutexGuard aGuard; GetContainerListeners().addInterface( rxListener ); } -void VCLXContainer::removeVclContainerListener( const css::uno::Reference< css::awt::XVclContainerListener >& rxListener ) throw(css::uno::RuntimeException, std::exception) +void VCLXContainer::removeVclContainerListener( const css::uno::Reference< css::awt::XVclContainerListener >& rxListener ) { SolarMutexGuard aGuard; GetContainerListeners().removeInterface( rxListener ); } -css::uno::Sequence< css::uno::Reference< css::awt::XWindow > > VCLXContainer::getWindows( ) throw(css::uno::RuntimeException, std::exception) +css::uno::Sequence< css::uno::Reference< css::awt::XWindow > > VCLXContainer::getWindows( ) { SolarMutexGuard aGuard; @@ -107,7 +107,7 @@ css::uno::Sequence< css::uno::Reference< css::awt::XWindow > > VCLXContainer::ge // css::awt::XVclContainerPeer -void VCLXContainer::enableDialogControl( sal_Bool bEnable ) throw(css::uno::RuntimeException, std::exception) +void VCLXContainer::enableDialogControl( sal_Bool bEnable ) { SolarMutexGuard aGuard; @@ -123,7 +123,7 @@ void VCLXContainer::enableDialogControl( sal_Bool bEnable ) throw(css::uno::Runt } } -void VCLXContainer::setTabOrder( const css::uno::Sequence< css::uno::Reference< css::awt::XWindow > >& Components, const css::uno::Sequence< css::uno::Any >& Tabs, sal_Bool bGroupControl ) throw(css::uno::RuntimeException, std::exception) +void VCLXContainer::setTabOrder( const css::uno::Sequence< css::uno::Reference< css::awt::XWindow > >& Components, const css::uno::Sequence< css::uno::Any >& Tabs, sal_Bool bGroupControl ) { SolarMutexGuard aGuard; @@ -168,7 +168,7 @@ void VCLXContainer::setTabOrder( const css::uno::Sequence< css::uno::Reference< } } -void VCLXContainer::setGroup( const css::uno::Sequence< css::uno::Reference< css::awt::XWindow > >& Components ) throw(css::uno::RuntimeException, std::exception) +void VCLXContainer::setGroup( const css::uno::Sequence< css::uno::Reference< css::awt::XWindow > >& Components ) { SolarMutexGuard aGuard; @@ -228,7 +228,6 @@ void VCLXContainer::setGroup( const css::uno::Sequence< css::uno::Reference< css void SAL_CALL VCLXContainer::setProperty( const OUString& PropertyName, const css::uno::Any& Value ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; diff --git a/toolkit/source/awt/vclxdevice.cxx b/toolkit/source/awt/vclxdevice.cxx index 9e4ec71462be..d182d0a42f2e 100644 --- a/toolkit/source/awt/vclxdevice.cxx +++ b/toolkit/source/awt/vclxdevice.cxx @@ -63,7 +63,7 @@ void VCLXDevice::SetCreatedWithToolkit( bool bCreatedWithToolkit ) } // css::uno::XInterface -css::uno::Any VCLXDevice::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXDevice::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XDevice* >(this)), @@ -84,7 +84,7 @@ IMPL_XTYPEPROVIDER_END // css::awt::XDevice, -css::uno::Reference< css::awt::XGraphics > VCLXDevice::createGraphics( ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::awt::XGraphics > VCLXDevice::createGraphics( ) { SolarMutexGuard aGuard; @@ -96,7 +96,7 @@ css::uno::Reference< css::awt::XGraphics > VCLXDevice::createGraphics( ) throw( return xRef; } -css::uno::Reference< css::awt::XDevice > VCLXDevice::createDevice( sal_Int32 nWidth, sal_Int32 nHeight ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::awt::XDevice > VCLXDevice::createDevice( sal_Int32 nWidth, sal_Int32 nHeight ) { SolarMutexGuard aGuard; @@ -112,7 +112,7 @@ css::uno::Reference< css::awt::XDevice > VCLXDevice::createDevice( sal_Int32 nWi return xRef; } -css::awt::DeviceInfo VCLXDevice::getInfo() throw(css::uno::RuntimeException, std::exception) +css::awt::DeviceInfo VCLXDevice::getInfo() { SolarMutexGuard aGuard; @@ -163,7 +163,7 @@ css::awt::DeviceInfo VCLXDevice::getInfo() throw(css::uno::RuntimeException, std return aInfo; } -css::uno::Sequence< css::awt::FontDescriptor > VCLXDevice::getFontDescriptors( ) throw(css::uno::RuntimeException, std::exception) +css::uno::Sequence< css::awt::FontDescriptor > VCLXDevice::getFontDescriptors( ) { SolarMutexGuard aGuard; @@ -182,7 +182,7 @@ css::uno::Sequence< css::awt::FontDescriptor > VCLXDevice::getFontDescriptors( return aFonts; } -css::uno::Reference< css::awt::XFont > VCLXDevice::getFont( const css::awt::FontDescriptor& rDescriptor ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::awt::XFont > VCLXDevice::getFont( const css::awt::FontDescriptor& rDescriptor ) { SolarMutexGuard aGuard; @@ -196,7 +196,7 @@ css::uno::Reference< css::awt::XFont > VCLXDevice::getFont( const css::awt::Font return xRef; } -css::uno::Reference< css::awt::XBitmap > VCLXDevice::createBitmap( sal_Int32 nX, sal_Int32 nY, sal_Int32 nWidth, sal_Int32 nHeight ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::awt::XBitmap > VCLXDevice::createBitmap( sal_Int32 nX, sal_Int32 nY, sal_Int32 nWidth, sal_Int32 nHeight ) { SolarMutexGuard aGuard; @@ -212,7 +212,7 @@ css::uno::Reference< css::awt::XBitmap > VCLXDevice::createBitmap( sal_Int32 nX, return xBmp; } -css::uno::Reference< css::awt::XDisplayBitmap > VCLXDevice::createDisplayBitmap( const css::uno::Reference< css::awt::XBitmap >& rxBitmap ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::awt::XDisplayBitmap > VCLXDevice::createDisplayBitmap( const css::uno::Reference< css::awt::XBitmap >& rxBitmap ) { SolarMutexGuard aGuard; @@ -232,7 +232,7 @@ VCLXVirtualDevice::~VCLXVirtualDevice() // Interface implementation of css::awt::XUnitConversion -css::awt::Point SAL_CALL VCLXDevice::convertPointToLogic( const css::awt::Point& aPoint, ::sal_Int16 TargetUnit ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +css::awt::Point SAL_CALL VCLXDevice::convertPointToLogic( const css::awt::Point& aPoint, ::sal_Int16 TargetUnit ) { (void)aPoint; SolarMutexGuard aGuard; @@ -257,7 +257,7 @@ css::awt::Point SAL_CALL VCLXDevice::convertPointToLogic( const css::awt::Point& } -css::awt::Point SAL_CALL VCLXDevice::convertPointToPixel( const css::awt::Point& aPoint, ::sal_Int16 SourceUnit ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +css::awt::Point SAL_CALL VCLXDevice::convertPointToPixel( const css::awt::Point& aPoint, ::sal_Int16 SourceUnit ) { (void)aPoint; SolarMutexGuard aGuard; @@ -281,7 +281,7 @@ css::awt::Point SAL_CALL VCLXDevice::convertPointToPixel( const css::awt::Point& return aAWTPoint; } -css::awt::Size SAL_CALL VCLXDevice::convertSizeToLogic( const css::awt::Size& aSize, ::sal_Int16 TargetUnit ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +css::awt::Size SAL_CALL VCLXDevice::convertSizeToLogic( const css::awt::Size& aSize, ::sal_Int16 TargetUnit ) { (void)aSize; SolarMutexGuard aGuard; @@ -306,7 +306,7 @@ css::awt::Size SAL_CALL VCLXDevice::convertSizeToLogic( const css::awt::Size& aS return aAWTSize; } -css::awt::Size SAL_CALL VCLXDevice::convertSizeToPixel( const css::awt::Size& aSize, ::sal_Int16 SourceUnit ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +css::awt::Size SAL_CALL VCLXDevice::convertSizeToPixel( const css::awt::Size& aSize, ::sal_Int16 SourceUnit ) { (void)aSize; SolarMutexGuard aGuard; diff --git a/toolkit/source/awt/vclxfont.cxx b/toolkit/source/awt/vclxfont.cxx index 1df5b56ee233..a26739c1bb49 100644 --- a/toolkit/source/awt/vclxfont.cxx +++ b/toolkit/source/awt/vclxfont.cxx @@ -69,7 +69,7 @@ bool VCLXFont::ImplAssertValidFontMetric() // css::uno::XInterface -css::uno::Any VCLXFont::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXFont::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XFont* >(this)), @@ -88,7 +88,7 @@ IMPL_XTYPEPROVIDER_START( VCLXFont ) IMPL_XTYPEPROVIDER_END -css::awt::FontDescriptor VCLXFont::getFontDescriptor( ) throw(css::uno::RuntimeException, std::exception) +css::awt::FontDescriptor VCLXFont::getFontDescriptor( ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -96,7 +96,7 @@ css::awt::FontDescriptor VCLXFont::getFontDescriptor( ) throw(css::uno::Runtime } -css::awt::SimpleFontMetric VCLXFont::getFontMetric( ) throw(css::uno::RuntimeException, std::exception) +css::awt::SimpleFontMetric VCLXFont::getFontMetric( ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -106,7 +106,7 @@ css::awt::SimpleFontMetric VCLXFont::getFontMetric( ) throw(css::uno::RuntimeEx return aFM; } -sal_Int16 VCLXFont::getCharWidth( sal_Unicode c ) throw(css::uno::RuntimeException, std::exception) +sal_Int16 VCLXFont::getCharWidth( sal_Unicode c ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -125,7 +125,7 @@ sal_Int16 VCLXFont::getCharWidth( sal_Unicode c ) throw(css::uno::RuntimeExcepti return nRet; } -css::uno::Sequence< sal_Int16 > VCLXFont::getCharWidths( sal_Unicode nFirst, sal_Unicode nLast ) throw(css::uno::RuntimeException, std::exception) +css::uno::Sequence< sal_Int16 > VCLXFont::getCharWidths( sal_Unicode nFirst, sal_Unicode nLast ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -150,7 +150,7 @@ css::uno::Sequence< sal_Int16 > VCLXFont::getCharWidths( sal_Unicode nFirst, sal return aSeq; } -sal_Int32 VCLXFont::getStringWidth( const OUString& str ) throw(css::uno::RuntimeException, std::exception) +sal_Int32 VCLXFont::getStringWidth( const OUString& str ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -166,7 +166,7 @@ sal_Int32 VCLXFont::getStringWidth( const OUString& str ) throw(css::uno::Runtim return nRet; } -sal_Int32 VCLXFont::getStringWidthArray( const OUString& str, css::uno::Sequence< sal_Int32 >& rDXArray ) throw(css::uno::RuntimeException, std::exception) +sal_Int32 VCLXFont::getStringWidthArray( const OUString& str, css::uno::Sequence< sal_Int32 >& rDXArray ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -188,14 +188,13 @@ sal_Int32 VCLXFont::getStringWidthArray( const OUString& str, css::uno::Sequence return nRet; } -void VCLXFont::getKernPairs( css::uno::Sequence< sal_Unicode >& /*rnChars1*/, css::uno::Sequence< sal_Unicode >& /*rnChars2*/, css::uno::Sequence< sal_Int16 >& /*rnKerns*/ ) throw(css::uno::RuntimeException, std::exception) +void VCLXFont::getKernPairs( css::uno::Sequence< sal_Unicode >& /*rnChars1*/, css::uno::Sequence< sal_Unicode >& /*rnChars2*/, css::uno::Sequence< sal_Int16 >& /*rnKerns*/ ) { // NOTE: this empty method is just used for keeping the related UNO-API stable } // css::awt::XFont2 sal_Bool VCLXFont::hasGlyphs( const OUString& aText ) - throw(css::uno::RuntimeException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); SolarMutexGuard aSolarGuard; diff --git a/toolkit/source/awt/vclxgraphics.cxx b/toolkit/source/awt/vclxgraphics.cxx index c956b2a688cd..22f026f838c5 100644 --- a/toolkit/source/awt/vclxgraphics.cxx +++ b/toolkit/source/awt/vclxgraphics.cxx @@ -40,7 +40,7 @@ using namespace com::sun::star; // uno::XInterface -uno::Any VCLXGraphics::queryInterface( const uno::Type & rType ) throw(uno::RuntimeException, std::exception) +uno::Any VCLXGraphics::queryInterface( const uno::Type & rType ) { uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XGraphics* >(this)), @@ -153,7 +153,7 @@ void VCLXGraphics::InitOutputDevice( InitOutDevFlags nFlags ) } } -uno::Reference< awt::XDevice > VCLXGraphics::getDevice() throw(uno::RuntimeException, std::exception) +uno::Reference< awt::XDevice > VCLXGraphics::getDevice() { SolarMutexGuard aGuard; @@ -166,7 +166,7 @@ uno::Reference< awt::XDevice > VCLXGraphics::getDevice() throw(uno::RuntimeExcep return mxDevice; } -awt::SimpleFontMetric VCLXGraphics::getFontMetric() throw(uno::RuntimeException, std::exception) +awt::SimpleFontMetric VCLXGraphics::getFontMetric() { SolarMutexGuard aGuard; @@ -179,56 +179,56 @@ awt::SimpleFontMetric VCLXGraphics::getFontMetric() throw(uno::RuntimeException, return aM; } -void VCLXGraphics::setFont( const uno::Reference< awt::XFont >& rxFont ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::setFont( const uno::Reference< awt::XFont >& rxFont ) { SolarMutexGuard aGuard; maFont = VCLUnoHelper::CreateFont( rxFont ); } -void VCLXGraphics::selectFont( const awt::FontDescriptor& rDescription ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::selectFont( const awt::FontDescriptor& rDescription ) { SolarMutexGuard aGuard; maFont = VCLUnoHelper::CreateFont( rDescription, vcl::Font() ); } -void VCLXGraphics::setTextColor( sal_Int32 nColor ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::setTextColor( sal_Int32 nColor ) { SolarMutexGuard aGuard; maTextColor = Color( (sal_uInt32)nColor ); } -void VCLXGraphics::setTextFillColor( sal_Int32 nColor ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::setTextFillColor( sal_Int32 nColor ) { SolarMutexGuard aGuard; maTextFillColor = Color( (sal_uInt32)nColor ); } -void VCLXGraphics::setLineColor( sal_Int32 nColor ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::setLineColor( sal_Int32 nColor ) { SolarMutexGuard aGuard; maLineColor = Color( (sal_uInt32)nColor ); } -void VCLXGraphics::setFillColor( sal_Int32 nColor ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::setFillColor( sal_Int32 nColor ) { SolarMutexGuard aGuard; maFillColor = Color( (sal_uInt32)nColor ); } -void VCLXGraphics::setRasterOp( awt::RasterOperation eROP ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::setRasterOp( awt::RasterOperation eROP ) { SolarMutexGuard aGuard; meRasterOp = (RasterOp)eROP; } -void VCLXGraphics::setClipRegion( const uno::Reference< awt::XRegion >& rxRegion ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::setClipRegion( const uno::Reference< awt::XRegion >& rxRegion ) { SolarMutexGuard aGuard; @@ -239,7 +239,7 @@ void VCLXGraphics::setClipRegion( const uno::Reference< awt::XRegion >& rxRegion mpClipRegion = nullptr; } -void VCLXGraphics::intersectClipRegion( const uno::Reference< awt::XRegion >& rxRegion ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::intersectClipRegion( const uno::Reference< awt::XRegion >& rxRegion ) { SolarMutexGuard aGuard; @@ -253,7 +253,7 @@ void VCLXGraphics::intersectClipRegion( const uno::Reference< awt::XRegion >& rx } } -void VCLXGraphics::push( ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::push( ) { SolarMutexGuard aGuard; @@ -262,7 +262,7 @@ void VCLXGraphics::push( ) throw(uno::RuntimeException, std::exception) mpOutputDevice->Push(); } -void VCLXGraphics::pop( ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::pop( ) { SolarMutexGuard aGuard; @@ -273,7 +273,6 @@ void VCLXGraphics::pop( ) throw(uno::RuntimeException, std::exception) void VCLXGraphics::clear( const awt::Rectangle& aRect ) -throw(uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -284,7 +283,7 @@ throw(uno::RuntimeException, std::exception) } } -void VCLXGraphics::copy( const uno::Reference< awt::XDevice >& rxSource, sal_Int32 nSourceX, sal_Int32 nSourceY, sal_Int32 nSourceWidth, sal_Int32 nSourceHeight, sal_Int32 nDestX, sal_Int32 nDestY, sal_Int32 nDestWidth, sal_Int32 nDestHeight ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::copy( const uno::Reference< awt::XDevice >& rxSource, sal_Int32 nSourceX, sal_Int32 nSourceY, sal_Int32 nSourceWidth, sal_Int32 nSourceHeight, sal_Int32 nDestX, sal_Int32 nDestY, sal_Int32 nDestWidth, sal_Int32 nDestHeight ) { SolarMutexGuard aGuard; @@ -301,7 +300,7 @@ void VCLXGraphics::copy( const uno::Reference< awt::XDevice >& rxSource, sal_Int } } -void VCLXGraphics::draw( const uno::Reference< awt::XDisplayBitmap >& rxBitmapHandle, sal_Int32 nSourceX, sal_Int32 nSourceY, sal_Int32 nSourceWidth, sal_Int32 nSourceHeight, sal_Int32 nDestX, sal_Int32 nDestY, sal_Int32 nDestWidth, sal_Int32 nDestHeight ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::draw( const uno::Reference< awt::XDisplayBitmap >& rxBitmapHandle, sal_Int32 nSourceX, sal_Int32 nSourceY, sal_Int32 nSourceWidth, sal_Int32 nSourceHeight, sal_Int32 nDestX, sal_Int32 nDestY, sal_Int32 nDestWidth, sal_Int32 nDestHeight ) { SolarMutexGuard aGuard; @@ -333,7 +332,7 @@ void VCLXGraphics::draw( const uno::Reference< awt::XDisplayBitmap >& rxBitmapHa } } -void VCLXGraphics::drawPixel( sal_Int32 x, sal_Int32 y ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::drawPixel( sal_Int32 x, sal_Int32 y ) { SolarMutexGuard aGuard; @@ -344,7 +343,7 @@ void VCLXGraphics::drawPixel( sal_Int32 x, sal_Int32 y ) throw(uno::RuntimeExcep } } -void VCLXGraphics::drawLine( sal_Int32 x1, sal_Int32 y1, sal_Int32 x2, sal_Int32 y2 ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::drawLine( sal_Int32 x1, sal_Int32 y1, sal_Int32 x2, sal_Int32 y2 ) { SolarMutexGuard aGuard; @@ -355,7 +354,7 @@ void VCLXGraphics::drawLine( sal_Int32 x1, sal_Int32 y1, sal_Int32 x2, sal_Int32 } } -void VCLXGraphics::drawRect( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::drawRect( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height ) { SolarMutexGuard aGuard; @@ -366,7 +365,7 @@ void VCLXGraphics::drawRect( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int3 } } -void VCLXGraphics::drawRoundedRect( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height, sal_Int32 nHorzRound, sal_Int32 nVertRound ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::drawRoundedRect( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height, sal_Int32 nHorzRound, sal_Int32 nVertRound ) { SolarMutexGuard aGuard; @@ -377,7 +376,7 @@ void VCLXGraphics::drawRoundedRect( sal_Int32 x, sal_Int32 y, sal_Int32 width, s } } -void VCLXGraphics::drawPolyLine( const uno::Sequence< sal_Int32 >& DataX, const uno::Sequence< sal_Int32 >& DataY ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::drawPolyLine( const uno::Sequence< sal_Int32 >& DataX, const uno::Sequence< sal_Int32 >& DataY ) { SolarMutexGuard aGuard; @@ -388,7 +387,7 @@ void VCLXGraphics::drawPolyLine( const uno::Sequence< sal_Int32 >& DataX, const } } -void VCLXGraphics::drawPolygon( const uno::Sequence< sal_Int32 >& DataX, const uno::Sequence< sal_Int32 >& DataY ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::drawPolygon( const uno::Sequence< sal_Int32 >& DataX, const uno::Sequence< sal_Int32 >& DataY ) { SolarMutexGuard aGuard; @@ -399,7 +398,7 @@ void VCLXGraphics::drawPolygon( const uno::Sequence< sal_Int32 >& DataX, const u } } -void VCLXGraphics::drawPolyPolygon( const uno::Sequence< uno::Sequence< sal_Int32 > >& DataX, const uno::Sequence< uno::Sequence< sal_Int32 > >& DataY ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::drawPolyPolygon( const uno::Sequence< uno::Sequence< sal_Int32 > >& DataX, const uno::Sequence< uno::Sequence< sal_Int32 > >& DataY ) { SolarMutexGuard aGuard; @@ -415,7 +414,7 @@ void VCLXGraphics::drawPolyPolygon( const uno::Sequence< uno::Sequence< sal_Int3 } } -void VCLXGraphics::drawEllipse( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::drawEllipse( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height ) { SolarMutexGuard aGuard; @@ -426,7 +425,7 @@ void VCLXGraphics::drawEllipse( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_I } } -void VCLXGraphics::drawArc( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height, sal_Int32 x1, sal_Int32 y1, sal_Int32 x2, sal_Int32 y2 ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::drawArc( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height, sal_Int32 x1, sal_Int32 y1, sal_Int32 x2, sal_Int32 y2 ) { SolarMutexGuard aGuard; @@ -437,7 +436,7 @@ void VCLXGraphics::drawArc( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 } } -void VCLXGraphics::drawPie( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height, sal_Int32 x1, sal_Int32 y1, sal_Int32 x2, sal_Int32 y2 ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::drawPie( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height, sal_Int32 x1, sal_Int32 y1, sal_Int32 x2, sal_Int32 y2 ) { SolarMutexGuard aGuard; @@ -448,7 +447,7 @@ void VCLXGraphics::drawPie( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 } } -void VCLXGraphics::drawChord( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height, sal_Int32 x1, sal_Int32 y1, sal_Int32 x2, sal_Int32 y2 ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::drawChord( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height, sal_Int32 x1, sal_Int32 y1, sal_Int32 x2, sal_Int32 y2 ) { SolarMutexGuard aGuard; @@ -459,7 +458,7 @@ void VCLXGraphics::drawChord( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int } } -void VCLXGraphics::drawGradient( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height, const awt::Gradient& rGradient ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::drawGradient( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height, const awt::Gradient& rGradient ) { SolarMutexGuard aGuard; @@ -478,7 +477,7 @@ void VCLXGraphics::drawGradient( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_ } } -void VCLXGraphics::drawText( sal_Int32 x, sal_Int32 y, const OUString& rText ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::drawText( sal_Int32 x, sal_Int32 y, const OUString& rText ) { SolarMutexGuard aGuard; @@ -489,7 +488,7 @@ void VCLXGraphics::drawText( sal_Int32 x, sal_Int32 y, const OUString& rText ) t } } -void VCLXGraphics::drawTextArray( sal_Int32 x, sal_Int32 y, const OUString& rText, const uno::Sequence< sal_Int32 >& rLongs ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::drawTextArray( sal_Int32 x, sal_Int32 y, const OUString& rText, const uno::Sequence< sal_Int32 >& rLongs ) { SolarMutexGuard aGuard; @@ -506,7 +505,7 @@ void VCLXGraphics::drawTextArray( sal_Int32 x, sal_Int32 y, const OUString& rTex } -void VCLXGraphics::drawImage( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height, sal_Int16 nStyle, const uno::Reference< graphic::XGraphic >& xGraphic ) throw(uno::RuntimeException, std::exception) +void VCLXGraphics::drawImage( sal_Int32 x, sal_Int32 y, sal_Int32 width, sal_Int32 height, sal_Int16 nStyle, const uno::Reference< graphic::XGraphic >& xGraphic ) { SolarMutexGuard aGuard; diff --git a/toolkit/source/awt/vclxmenu.cxx b/toolkit/source/awt/vclxmenu.cxx index 624e61e0634a..bcf081c89ee1 100644 --- a/toolkit/source/awt/vclxmenu.cxx +++ b/toolkit/source/awt/vclxmenu.cxx @@ -160,7 +160,6 @@ IMPL_LINK( VCLXMenu, MenuEventListener, VclMenuEvent&, rMenuEvent, void ) OUString SAL_CALL VCLXMenu::getImplementationName( ) -throw (css::uno::RuntimeException, std::exception) { ::osl::ResettableGuard < ::osl::Mutex > aGuard( GetMutex() ); const bool bIsPopupMenu = IsPopupMenu(); @@ -176,7 +175,6 @@ throw (css::uno::RuntimeException, std::exception) } css::uno::Sequence< OUString > SAL_CALL VCLXMenu::getSupportedServiceNames( ) -throw (css::uno::RuntimeException, std::exception) { ::osl::ResettableGuard < ::osl::Mutex > aGuard( GetMutex() ); const bool bIsPopupMenu = IsPopupMenu(); @@ -193,14 +191,12 @@ throw (css::uno::RuntimeException, std::exception) } sal_Bool SAL_CALL VCLXMenu::supportsService(const OUString& rServiceName ) -throw (css::uno::RuntimeException, std::exception) { return cppu::supportsService(this, rServiceName); } css::uno::Any VCLXMenu::queryInterface( const css::uno::Type & rType ) -throw(css::uno::RuntimeException, std::exception) { ::osl::ResettableGuard < ::osl::Mutex > aGuard( GetMutex() ); const bool bIsPopupMenu = IsPopupMenu(); @@ -230,7 +226,6 @@ throw(css::uno::RuntimeException, std::exception) IMPL_XUNOTUNNEL( VCLXMenu ) css::uno::Sequence< css::uno::Type > VCLXMenu::getTypes() -throw(css::uno::RuntimeException, std::exception) { ::osl::ResettableGuard < ::osl::Mutex > aGuard( GetMutex() ); const bool bIsPopupMenu = IsPopupMenu(); @@ -278,14 +273,12 @@ throw(css::uno::RuntimeException, std::exception) css::uno::Sequence< sal_Int8 > VCLXMenu::getImplementationId() -throw(css::uno::RuntimeException, std::exception) { return css::uno::Sequence<sal_Int8>(); } void VCLXMenu::addMenuListener( const css::uno::Reference< css::awt::XMenuListener >& rxListener ) -throw(css::uno::RuntimeException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -294,7 +287,6 @@ throw(css::uno::RuntimeException, std::exception) void VCLXMenu::removeMenuListener( const css::uno::Reference< css::awt::XMenuListener >& rxListener ) -throw(css::uno::RuntimeException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -306,7 +298,6 @@ void VCLXMenu::insertItem( const OUString& aText, sal_Int16 nItemStyle, sal_Int16 nPos ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -318,7 +309,6 @@ throw(css::uno::RuntimeException, std::exception) void VCLXMenu::removeItem( sal_Int16 nPos, sal_Int16 nCount ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -337,7 +327,6 @@ throw(css::uno::RuntimeException, std::exception) } sal_Int16 VCLXMenu::getItemCount( ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -347,7 +336,6 @@ throw(css::uno::RuntimeException, std::exception) sal_Int16 VCLXMenu::getItemId( sal_Int16 nPos ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -357,7 +345,6 @@ throw(css::uno::RuntimeException, std::exception) sal_Int16 VCLXMenu::getItemPos( sal_Int16 nId ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -368,7 +355,6 @@ throw(css::uno::RuntimeException, std::exception) void VCLXMenu::enableItem( sal_Int16 nItemId, sal_Bool bEnable ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -379,7 +365,6 @@ throw(css::uno::RuntimeException, std::exception) sal_Bool VCLXMenu::isItemEnabled( sal_Int16 nItemId ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -390,7 +375,6 @@ throw(css::uno::RuntimeException, std::exception) void VCLXMenu::setItemText( sal_Int16 nItemId, const OUString& aText ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -401,7 +385,6 @@ throw(css::uno::RuntimeException, std::exception) OUString VCLXMenu::getItemText( sal_Int16 nItemId ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -415,7 +398,6 @@ throw(css::uno::RuntimeException, std::exception) void VCLXMenu::setPopupMenu( sal_Int16 nItemId, const css::uno::Reference< css::awt::XPopupMenu >& rxPopupMenu ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -433,7 +415,6 @@ throw(css::uno::RuntimeException, std::exception) css::uno::Reference< css::awt::XPopupMenu > VCLXMenu::getPopupMenu( sal_Int16 nItemId ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -465,7 +446,6 @@ throw(css::uno::RuntimeException, std::exception) // css::awt::XPopupMenu void VCLXMenu::insertSeparator( sal_Int16 nPos ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -476,7 +456,6 @@ throw(css::uno::RuntimeException, std::exception) void VCLXMenu::setDefaultItem( sal_Int16 nItemId ) -throw(css::uno::RuntimeException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -484,7 +463,6 @@ throw(css::uno::RuntimeException, std::exception) } sal_Int16 VCLXMenu::getDefaultItem( ) -throw(css::uno::RuntimeException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -494,7 +472,6 @@ throw(css::uno::RuntimeException, std::exception) void VCLXMenu::checkItem( sal_Int16 nItemId, sal_Bool bCheck ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -505,7 +482,6 @@ throw(css::uno::RuntimeException, std::exception) sal_Bool VCLXMenu::isItemChecked( sal_Int16 nItemId ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -517,7 +493,6 @@ sal_Int16 VCLXMenu::execute( const css::uno::Reference< css::awt::XWindowPeer >& rxWindowPeer, const css::awt::Rectangle& rPos, sal_Int16 nFlags ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -536,7 +511,6 @@ throw(css::uno::RuntimeException, std::exception) void SAL_CALL VCLXMenu::setCommand( sal_Int16 nItemId, const OUString& aCommand ) -throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -547,7 +521,6 @@ throw (css::uno::RuntimeException, std::exception) OUString SAL_CALL VCLXMenu::getCommand( sal_Int16 nItemId ) -throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -561,7 +534,6 @@ throw (css::uno::RuntimeException, std::exception) void SAL_CALL VCLXMenu::setHelpCommand( sal_Int16 nItemId, const OUString& aHelp ) -throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -572,7 +544,6 @@ throw (css::uno::RuntimeException, std::exception) OUString SAL_CALL VCLXMenu::getHelpCommand( sal_Int16 nItemId ) -throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -655,7 +626,6 @@ namespace sal_Bool SAL_CALL VCLXMenu::isPopupMenu( ) -throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -663,7 +633,6 @@ throw (css::uno::RuntimeException, std::exception) } void SAL_CALL VCLXMenu::clear( ) -throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -674,7 +643,6 @@ throw (css::uno::RuntimeException, std::exception) css::awt::MenuItemType SAL_CALL VCLXMenu::getItemType( ::sal_Int16 nItemPos ) -throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -691,7 +659,6 @@ throw (css::uno::RuntimeException, std::exception) void SAL_CALL VCLXMenu::hideDisabledEntries( sal_Bool bHide ) -throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -706,7 +673,6 @@ throw (css::uno::RuntimeException, std::exception) sal_Bool SAL_CALL VCLXMenu::isInExecute( ) -throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -719,7 +685,6 @@ throw (css::uno::RuntimeException, std::exception) void SAL_CALL VCLXMenu::endExecute() -throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -731,7 +696,6 @@ throw (css::uno::RuntimeException, std::exception) void SAL_CALL VCLXMenu::enableAutoMnemonics( sal_Bool bEnable ) -throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -748,7 +712,6 @@ throw (css::uno::RuntimeException, std::exception) void SAL_CALL VCLXMenu::setAcceleratorKeyEvent( ::sal_Int16 nItemId, const css::awt::KeyEvent& aKeyEvent ) -throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -763,7 +726,6 @@ throw (css::uno::RuntimeException, std::exception) css::awt::KeyEvent SAL_CALL VCLXMenu::getAcceleratorKeyEvent( ::sal_Int16 nItemId ) -throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -782,7 +744,6 @@ throw (css::uno::RuntimeException, std::exception) void SAL_CALL VCLXMenu::setHelpText( ::sal_Int16 nItemId, const OUString& sHelpText ) -throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -796,7 +757,6 @@ throw (css::uno::RuntimeException, std::exception) OUString SAL_CALL VCLXMenu::getHelpText( ::sal_Int16 nItemId ) -throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -814,7 +774,6 @@ throw (css::uno::RuntimeException, std::exception) void SAL_CALL VCLXMenu::setTipHelpText( ::sal_Int16 nItemId, const OUString& sTipHelpText ) -throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -828,7 +787,6 @@ throw (css::uno::RuntimeException, std::exception) OUString SAL_CALL VCLXMenu::getTipHelpText( ::sal_Int16 nItemId ) -throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -846,7 +804,6 @@ void SAL_CALL VCLXMenu::setItemImage( ::sal_Int16 nItemId, const css::uno::Reference< css::graphic::XGraphic >& xGraphic, sal_Bool bScale ) -throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -862,7 +819,6 @@ throw (css::uno::RuntimeException, std::exception) css::uno::Reference< css::graphic::XGraphic > SAL_CALL VCLXMenu::getItemImage( ::sal_Int16 nItemId ) -throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); diff --git a/toolkit/source/awt/vclxpointer.cxx b/toolkit/source/awt/vclxpointer.cxx index 9e9590f359ff..a2427984761b 100644 --- a/toolkit/source/awt/vclxpointer.cxx +++ b/toolkit/source/awt/vclxpointer.cxx @@ -33,14 +33,14 @@ VCLXPointer::~VCLXPointer() // css::lang::XUnoTunnel IMPL_XUNOTUNNEL( VCLXPointer ) -void VCLXPointer::setType( sal_Int32 nType ) throw(css::uno::RuntimeException, std::exception) +void VCLXPointer::setType( sal_Int32 nType ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); maPointer = Pointer( (PointerStyle)nType ); } -sal_Int32 VCLXPointer::getType() throw(css::uno::RuntimeException, std::exception) +sal_Int32 VCLXPointer::getType() { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -48,19 +48,16 @@ sal_Int32 VCLXPointer::getType() throw(css::uno::RuntimeException, std::exceptio } OUString VCLXPointer::getImplementationName() - throw (css::uno::RuntimeException, std::exception) { return OUString("stardiv.Toolkit.VCLXPointer"); } sal_Bool VCLXPointer::supportsService(OUString const & ServiceName) - throw (css::uno::RuntimeException, std::exception) { return cppu::supportsService(this, ServiceName); } css::uno::Sequence<OUString> VCLXPointer::getSupportedServiceNames() - throw (css::uno::RuntimeException, std::exception) { return css::uno::Sequence<OUString>{ "com.sun.star.awt.Pointer", "stardiv.vcl.Pointer"}; diff --git a/toolkit/source/awt/vclxprinter.cxx b/toolkit/source/awt/vclxprinter.cxx index 9adc64e1196e..d0c65392b94b 100644 --- a/toolkit/source/awt/vclxprinter.cxx +++ b/toolkit/source/awt/vclxprinter.cxx @@ -96,7 +96,7 @@ css::uno::Reference< css::awt::XDevice > const & VCLXPrinterPropertySet::GetDev return mxPrnDevice; } -css::uno::Reference< css::beans::XPropertySetInfo > VCLXPrinterPropertySet::getPropertySetInfo( ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::beans::XPropertySetInfo > VCLXPrinterPropertySet::getPropertySetInfo( ) { static css::uno::Reference< css::beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) ); return xInfo; @@ -118,7 +118,7 @@ css::uno::Reference< css::beans::XPropertySetInfo > VCLXPrinterPropertySet::getP return *pPropertyArrayHelper ; } -sal_Bool VCLXPrinterPropertySet::convertFastPropertyValue( css::uno::Any & rConvertedValue, css::uno::Any & rOldValue, sal_Int32 nHandle, const css::uno::Any& rValue ) throw (css::lang::IllegalArgumentException) +sal_Bool VCLXPrinterPropertySet::convertFastPropertyValue( css::uno::Any & rConvertedValue, css::uno::Any & rOldValue, sal_Int32 nHandle, const css::uno::Any& rValue ) { ::osl::MutexGuard aGuard( Mutex ); @@ -155,7 +155,7 @@ sal_Bool VCLXPrinterPropertySet::convertFastPropertyValue( css::uno::Any & rConv return bDifferent; } -void VCLXPrinterPropertySet::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue ) throw (css::uno::Exception, std::exception) +void VCLXPrinterPropertySet::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue ) { ::osl::MutexGuard aGuard( Mutex ); @@ -198,7 +198,7 @@ void VCLXPrinterPropertySet::getFastPropertyValue( css::uno::Any& rValue, sal_In } // css::awt::XPrinterPropertySet -void VCLXPrinterPropertySet::setHorizontal( sal_Bool bHorizontal ) throw(css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +void VCLXPrinterPropertySet::setHorizontal( sal_Bool bHorizontal ) { ::osl::MutexGuard aGuard( Mutex ); @@ -207,7 +207,7 @@ void VCLXPrinterPropertySet::setHorizontal( sal_Bool bHorizontal ) throw(css::be setFastPropertyValue( PROPERTY_Horizontal, aValue ); } -css::uno::Sequence< OUString > VCLXPrinterPropertySet::getFormDescriptions( ) throw(css::uno::RuntimeException, std::exception) +css::uno::Sequence< OUString > VCLXPrinterPropertySet::getFormDescriptions( ) { ::osl::MutexGuard aGuard( Mutex ); @@ -227,7 +227,7 @@ css::uno::Sequence< OUString > VCLXPrinterPropertySet::getFormDescriptions( ) t return aDescriptions; } -void VCLXPrinterPropertySet::selectForm( const OUString& rFormDescription ) throw(css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +void VCLXPrinterPropertySet::selectForm( const OUString& rFormDescription ) { ::osl::MutexGuard aGuard( Mutex ); @@ -237,7 +237,7 @@ void VCLXPrinterPropertySet::selectForm( const OUString& rFormDescription ) thro GetPrinter()->SetPaperBin( nPaperBin ); } -css::uno::Sequence< sal_Int8 > VCLXPrinterPropertySet::getBinarySetup( ) throw(css::uno::RuntimeException, std::exception) +css::uno::Sequence< sal_Int8 > VCLXPrinterPropertySet::getBinarySetup( ) { ::osl::MutexGuard aGuard( Mutex ); @@ -247,7 +247,7 @@ css::uno::Sequence< sal_Int8 > VCLXPrinterPropertySet::getBinarySetup( ) throw( return css::uno::Sequence<sal_Int8>( static_cast<sal_Int8 const *>(aMem.GetData()), aMem.Tell() ); } -void VCLXPrinterPropertySet::setBinarySetup( const css::uno::Sequence< sal_Int8 >& data ) throw(css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +void VCLXPrinterPropertySet::setBinarySetup( const css::uno::Sequence< sal_Int8 >& data ) { ::osl::MutexGuard aGuard( Mutex ); @@ -276,7 +276,7 @@ VCLXPrinter::~VCLXPrinter() { } -sal_Bool VCLXPrinter::start( const OUString& /*rJobName*/, sal_Int16 /*nCopies*/, sal_Bool /*bCollate*/ ) throw(css::awt::PrinterException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +sal_Bool VCLXPrinter::start( const OUString& /*rJobName*/, sal_Int16 /*nCopies*/, sal_Bool /*bCollate*/ ) { ::osl::MutexGuard aGuard( Mutex ); @@ -290,7 +290,7 @@ sal_Bool VCLXPrinter::start( const OUString& /*rJobName*/, sal_Int16 /*nCopies*/ return bDone; } -void VCLXPrinter::end( ) throw(css::awt::PrinterException, css::uno::RuntimeException, std::exception) +void VCLXPrinter::end( ) { ::osl::MutexGuard aGuard( Mutex ); @@ -301,14 +301,14 @@ void VCLXPrinter::end( ) throw(css::awt::PrinterException, css::uno::RuntimeExc } } -void VCLXPrinter::terminate( ) throw(css::uno::RuntimeException, std::exception) +void VCLXPrinter::terminate( ) { ::osl::MutexGuard aGuard( Mutex ); mxListener.reset(); } -css::uno::Reference< css::awt::XDevice > VCLXPrinter::startPage( ) throw(css::awt::PrinterException, css::uno::RuntimeException, std::exception) +css::uno::Reference< css::awt::XDevice > VCLXPrinter::startPage( ) { ::osl::MutexGuard aGuard( Mutex ); @@ -319,7 +319,7 @@ css::uno::Reference< css::awt::XDevice > VCLXPrinter::startPage( ) throw(css::a return GetDevice(); } -void VCLXPrinter::endPage( ) throw(css::awt::PrinterException, css::uno::RuntimeException, std::exception) +void VCLXPrinter::endPage( ) { ::osl::MutexGuard aGuard( Mutex ); @@ -344,7 +344,7 @@ VCLXInfoPrinter::~VCLXInfoPrinter() } // css::awt::XInfoPrinter -css::uno::Reference< css::awt::XDevice > VCLXInfoPrinter::createDevice( ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::awt::XDevice > VCLXInfoPrinter::createDevice( ) { ::osl::MutexGuard aGuard( Mutex ); @@ -356,7 +356,7 @@ css::uno::Reference< css::awt::XDevice > VCLXInfoPrinter::createDevice( ) throw // ---------------------------------------------------- // css::awt::XPrinterServer -css::uno::Sequence< OUString > VCLXPrinterServer::getPrinterNames( ) throw(css::uno::RuntimeException, std::exception) +css::uno::Sequence< OUString > VCLXPrinterServer::getPrinterNames( ) { const std::vector<OUString>& rQueues = Printer::GetPrinterQueues(); sal_uInt32 nPrinters = rQueues.size(); @@ -368,14 +368,14 @@ css::uno::Sequence< OUString > VCLXPrinterServer::getPrinterNames( ) throw(css: return aNames; } -css::uno::Reference< css::awt::XPrinter > VCLXPrinterServer::createPrinter( const OUString& rPrinterName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::awt::XPrinter > VCLXPrinterServer::createPrinter( const OUString& rPrinterName ) { css::uno::Reference< css::awt::XPrinter > xP; xP = new VCLXPrinter( rPrinterName ); return xP; } -css::uno::Reference< css::awt::XInfoPrinter > VCLXPrinterServer::createInfoPrinter( const OUString& rPrinterName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::awt::XInfoPrinter > VCLXPrinterServer::createInfoPrinter( const OUString& rPrinterName ) { css::uno::Reference< css::awt::XInfoPrinter > xP; xP = new VCLXInfoPrinter( rPrinterName ); @@ -383,19 +383,16 @@ css::uno::Reference< css::awt::XInfoPrinter > VCLXPrinterServer::createInfoPrint } OUString VCLXPrinterServer::getImplementationName() - throw (css::uno::RuntimeException, std::exception) { return OUString("stardiv.Toolkit.VCLXPrinterServer"); } sal_Bool VCLXPrinterServer::supportsService(OUString const & ServiceName) - throw (css::uno::RuntimeException, std::exception) { return cppu::supportsService(this, ServiceName); } css::uno::Sequence<OUString> VCLXPrinterServer::getSupportedServiceNames() - throw (css::uno::RuntimeException, std::exception) { return css::uno::Sequence<OUString>{ "com.sun.star.awt.PrinterServer", "stardiv.vcl.PrinterServer"}; diff --git a/toolkit/source/awt/vclxregion.cxx b/toolkit/source/awt/vclxregion.cxx index 1d09acb2c378..e7b6d9da4d92 100644 --- a/toolkit/source/awt/vclxregion.cxx +++ b/toolkit/source/awt/vclxregion.cxx @@ -38,7 +38,7 @@ VCLXRegion::~VCLXRegion() } // css::uno::XInterface -css::uno::Any VCLXRegion::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXRegion::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XRegion* >(this)), @@ -56,56 +56,56 @@ IMPL_XTYPEPROVIDER_START( VCLXRegion ) IMPL_XTYPEPROVIDER_END -css::awt::Rectangle VCLXRegion::getBounds() throw(css::uno::RuntimeException, std::exception) +css::awt::Rectangle VCLXRegion::getBounds() { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); return AWTRectangle( maRegion.GetBoundRect() ); } -void VCLXRegion::clear() throw(css::uno::RuntimeException, std::exception) +void VCLXRegion::clear() { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); maRegion.SetEmpty(); } -void VCLXRegion::move( sal_Int32 nHorzMove, sal_Int32 nVertMove ) throw(css::uno::RuntimeException, std::exception) +void VCLXRegion::move( sal_Int32 nHorzMove, sal_Int32 nVertMove ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); maRegion.Move( nHorzMove, nVertMove ); } -void VCLXRegion::unionRectangle( const css::awt::Rectangle& rRect ) throw(css::uno::RuntimeException, std::exception) +void VCLXRegion::unionRectangle( const css::awt::Rectangle& rRect ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); maRegion.Union( VCLRectangle( rRect ) ); } -void VCLXRegion::intersectRectangle( const css::awt::Rectangle& rRect ) throw(css::uno::RuntimeException, std::exception) +void VCLXRegion::intersectRectangle( const css::awt::Rectangle& rRect ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); maRegion.Intersect( VCLRectangle( rRect ) ); } -void VCLXRegion::excludeRectangle( const css::awt::Rectangle& rRect ) throw(css::uno::RuntimeException, std::exception) +void VCLXRegion::excludeRectangle( const css::awt::Rectangle& rRect ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); maRegion.Exclude( VCLRectangle( rRect ) ); } -void VCLXRegion::xOrRectangle( const css::awt::Rectangle& rRect ) throw(css::uno::RuntimeException, std::exception) +void VCLXRegion::xOrRectangle( const css::awt::Rectangle& rRect ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); maRegion.XOr( VCLRectangle( rRect ) ); } -void VCLXRegion::unionRegion( const css::uno::Reference< css::awt::XRegion >& rxRegion ) throw(css::uno::RuntimeException, std::exception) +void VCLXRegion::unionRegion( const css::uno::Reference< css::awt::XRegion >& rxRegion ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -113,7 +113,7 @@ void VCLXRegion::unionRegion( const css::uno::Reference< css::awt::XRegion >& rx maRegion.Union( VCLUnoHelper::GetRegion( rxRegion ) ); } -void VCLXRegion::intersectRegion( const css::uno::Reference< css::awt::XRegion >& rxRegion ) throw(css::uno::RuntimeException, std::exception) +void VCLXRegion::intersectRegion( const css::uno::Reference< css::awt::XRegion >& rxRegion ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -121,7 +121,7 @@ void VCLXRegion::intersectRegion( const css::uno::Reference< css::awt::XRegion > maRegion.Intersect( VCLUnoHelper::GetRegion( rxRegion ) ); } -void VCLXRegion::excludeRegion( const css::uno::Reference< css::awt::XRegion >& rxRegion ) throw(css::uno::RuntimeException, std::exception) +void VCLXRegion::excludeRegion( const css::uno::Reference< css::awt::XRegion >& rxRegion ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -129,7 +129,7 @@ void VCLXRegion::excludeRegion( const css::uno::Reference< css::awt::XRegion >& maRegion.Exclude( VCLUnoHelper::GetRegion( rxRegion ) ); } -void VCLXRegion::xOrRegion( const css::uno::Reference< css::awt::XRegion >& rxRegion ) throw(css::uno::RuntimeException, std::exception) +void VCLXRegion::xOrRegion( const css::uno::Reference< css::awt::XRegion >& rxRegion ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -137,7 +137,7 @@ void VCLXRegion::xOrRegion( const css::uno::Reference< css::awt::XRegion >& rxRe maRegion.XOr( VCLUnoHelper::GetRegion( rxRegion ) ); } -css::uno::Sequence< css::awt::Rectangle > VCLXRegion::getRectangles() throw(css::uno::RuntimeException, std::exception) +css::uno::Sequence< css::awt::Rectangle > VCLXRegion::getRectangles() { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); diff --git a/toolkit/source/awt/vclxspinbutton.cxx b/toolkit/source/awt/vclxspinbutton.cxx index 30e44899f8f6..6c82ebb39ef0 100644 --- a/toolkit/source/awt/vclxspinbutton.cxx +++ b/toolkit/source/awt/vclxspinbutton.cxx @@ -65,7 +65,7 @@ namespace toolkit IMPLEMENT_FORWARD_XTYPEPROVIDER2( VCLXSpinButton, VCLXWindow, VCLXSpinButton_Base ) - void SAL_CALL VCLXSpinButton::dispose( ) throw(RuntimeException, std::exception) + void SAL_CALL VCLXSpinButton::dispose( ) { { SolarMutexGuard aGuard; @@ -79,14 +79,14 @@ namespace toolkit } - void SAL_CALL VCLXSpinButton::addAdjustmentListener( const Reference< XAdjustmentListener >& listener ) throw (RuntimeException, std::exception) + void SAL_CALL VCLXSpinButton::addAdjustmentListener( const Reference< XAdjustmentListener >& listener ) { if ( listener.is() ) maAdjustmentListeners.addInterface( listener ); } - void SAL_CALL VCLXSpinButton::removeAdjustmentListener( const Reference< XAdjustmentListener >& listener ) throw (RuntimeException, std::exception) + void SAL_CALL VCLXSpinButton::removeAdjustmentListener( const Reference< XAdjustmentListener >& listener ) { if ( listener.is() ) maAdjustmentListeners.removeInterface( listener ); @@ -121,13 +121,13 @@ namespace toolkit } - void SAL_CALL VCLXSpinButton::setValue( sal_Int32 n ) throw (RuntimeException, std::exception) + void SAL_CALL VCLXSpinButton::setValue( sal_Int32 n ) { lcl_setSpinButtonValue( GetWindow(), &SpinButton::SetValue, n ); } - void SAL_CALL VCLXSpinButton::setValues( sal_Int32 minValue, sal_Int32 maxValue, sal_Int32 currentValue ) throw (RuntimeException, std::exception) + void SAL_CALL VCLXSpinButton::setValues( sal_Int32 minValue, sal_Int32 maxValue, sal_Int32 currentValue ) { SolarMutexGuard aGuard; @@ -137,49 +137,49 @@ namespace toolkit } - sal_Int32 SAL_CALL VCLXSpinButton::getValue( ) throw (RuntimeException, std::exception) + sal_Int32 SAL_CALL VCLXSpinButton::getValue( ) { return lcl_getSpinButtonValue( GetWindow(), &SpinButton::GetValue ); } - void SAL_CALL VCLXSpinButton::setMinimum( sal_Int32 minValue ) throw (RuntimeException, std::exception) + void SAL_CALL VCLXSpinButton::setMinimum( sal_Int32 minValue ) { lcl_setSpinButtonValue( GetWindow(), &SpinButton::SetRangeMin, minValue ); } - void SAL_CALL VCLXSpinButton::setMaximum( sal_Int32 maxValue ) throw (RuntimeException, std::exception) + void SAL_CALL VCLXSpinButton::setMaximum( sal_Int32 maxValue ) { lcl_setSpinButtonValue( GetWindow(), &SpinButton::SetRangeMax, maxValue ); } - sal_Int32 SAL_CALL VCLXSpinButton::getMinimum( ) throw (RuntimeException, std::exception) + sal_Int32 SAL_CALL VCLXSpinButton::getMinimum( ) { return lcl_getSpinButtonValue( GetWindow(), &SpinButton::GetRangeMin ); } - sal_Int32 SAL_CALL VCLXSpinButton::getMaximum( ) throw (RuntimeException, std::exception) + sal_Int32 SAL_CALL VCLXSpinButton::getMaximum( ) { return lcl_getSpinButtonValue( GetWindow(), &SpinButton::GetRangeMax ); } - void SAL_CALL VCLXSpinButton::setSpinIncrement( sal_Int32 spinIncrement ) throw (RuntimeException, std::exception) + void SAL_CALL VCLXSpinButton::setSpinIncrement( sal_Int32 spinIncrement ) { lcl_setSpinButtonValue( GetWindow(), &SpinButton::SetValueStep, spinIncrement ); } - sal_Int32 SAL_CALL VCLXSpinButton::getSpinIncrement( ) throw (RuntimeException, std::exception) + sal_Int32 SAL_CALL VCLXSpinButton::getSpinIncrement( ) { return lcl_getSpinButtonValue( GetWindow(), &SpinButton::GetValueStep ); } - void SAL_CALL VCLXSpinButton::setOrientation( sal_Int32 orientation ) throw (NoSupportException, RuntimeException, std::exception) + void SAL_CALL VCLXSpinButton::setOrientation( sal_Int32 orientation ) { SolarMutexGuard aGuard; @@ -187,7 +187,7 @@ namespace toolkit } - sal_Int32 SAL_CALL VCLXSpinButton::getOrientation( ) throw (RuntimeException, std::exception) + sal_Int32 SAL_CALL VCLXSpinButton::getOrientation( ) { return ( 0 != ( GetWindow()->GetStyle() & WB_HSCROLL ) ) ? ScrollBarOrientation::HORIZONTAL @@ -227,7 +227,7 @@ namespace toolkit } - void SAL_CALL VCLXSpinButton::setProperty( const OUString& PropertyName, const Any& Value ) throw(RuntimeException, std::exception) + void SAL_CALL VCLXSpinButton::setProperty( const OUString& PropertyName, const Any& Value ) { SolarMutexGuard aGuard; @@ -277,7 +277,7 @@ namespace toolkit } - Any SAL_CALL VCLXSpinButton::getProperty( const OUString& PropertyName ) throw(RuntimeException, std::exception) + Any SAL_CALL VCLXSpinButton::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; diff --git a/toolkit/source/awt/vclxsystemdependentwindow.cxx b/toolkit/source/awt/vclxsystemdependentwindow.cxx index 6baa157cab9e..f661f265ce7c 100644 --- a/toolkit/source/awt/vclxsystemdependentwindow.cxx +++ b/toolkit/source/awt/vclxsystemdependentwindow.cxx @@ -50,7 +50,7 @@ VCLXSystemDependentWindow::~VCLXSystemDependentWindow() } // css::uno::XInterface -css::uno::Any VCLXSystemDependentWindow::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXSystemDependentWindow::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XSystemDependentWindowPeer* >(this)) ); @@ -63,7 +63,7 @@ IMPL_XTYPEPROVIDER_START( VCLXSystemDependentWindow ) VCLXWindow::getTypes() IMPL_XTYPEPROVIDER_END -css::uno::Any VCLXSystemDependentWindow::getWindowHandle( const css::uno::Sequence< sal_Int8 >& /*ProcessId*/, sal_Int16 SystemType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXSystemDependentWindow::getWindowHandle( const css::uno::Sequence< sal_Int8 >& /*ProcessId*/, sal_Int16 SystemType ) { SolarMutexGuard aGuard; diff --git a/toolkit/source/awt/vclxtabpagecontainer.cxx b/toolkit/source/awt/vclxtabpagecontainer.cxx index 8e28a28175d9..a882eec4321a 100644 --- a/toolkit/source/awt/vclxtabpagecontainer.cxx +++ b/toolkit/source/awt/vclxtabpagecontainer.cxx @@ -54,7 +54,7 @@ VCLXTabPageContainer::~VCLXTabPageContainer() SAL_INFO("toolkit", __FUNCTION__); } -void SAL_CALL VCLXTabPageContainer::draw( sal_Int32 nX, sal_Int32 nY ) throw(RuntimeException, std::exception) +void SAL_CALL VCLXTabPageContainer::draw( sal_Int32 nX, sal_Int32 nY ) { SolarMutexGuard aGuard; VclPtr<TabControl> pTabControl = GetAs<TabControl>(); @@ -77,13 +77,13 @@ void SAL_CALL VCLXTabPageContainer::draw( sal_Int32 nX, sal_Int32 nY ) throw(Run VCLXWindow::draw( nX, nY ); } -css::awt::DeviceInfo VCLXTabPageContainer::getInfo() throw(RuntimeException, std::exception) +css::awt::DeviceInfo VCLXTabPageContainer::getInfo() { css::awt::DeviceInfo aInfo = VCLXDevice::getInfo(); return aInfo; } -void SAL_CALL VCLXTabPageContainer::setProperty(const OUString& PropertyName, const Any& Value ) throw(RuntimeException, std::exception) +void SAL_CALL VCLXTabPageContainer::setProperty(const OUString& PropertyName, const Any& Value ) { SolarMutexGuard aGuard; VclPtr<TabControl> pTabPage = GetAs<TabControl>(); @@ -91,36 +91,36 @@ void SAL_CALL VCLXTabPageContainer::setProperty(const OUString& PropertyName, VCLXWindow::setProperty( PropertyName, Value ); } -::sal_Int16 SAL_CALL VCLXTabPageContainer::getActiveTabPageID() throw (RuntimeException, std::exception) +::sal_Int16 SAL_CALL VCLXTabPageContainer::getActiveTabPageID() { VclPtr<TabControl> pTabCtrl = GetAs<TabControl>(); return pTabCtrl ? pTabCtrl->GetCurPageId( ) : 0; } -void SAL_CALL VCLXTabPageContainer::setActiveTabPageID( ::sal_Int16 _activetabpageid ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXTabPageContainer::setActiveTabPageID( ::sal_Int16 _activetabpageid ) { VclPtr<TabControl> pTabCtrl = GetAs<TabControl>(); if ( pTabCtrl ) pTabCtrl->SelectTabPage(_activetabpageid); } -::sal_Int16 SAL_CALL VCLXTabPageContainer::getTabPageCount( ) throw (RuntimeException, std::exception) +::sal_Int16 SAL_CALL VCLXTabPageContainer::getTabPageCount( ) { VclPtr<TabControl> pTabCtrl = GetAs<TabControl>(); return pTabCtrl ? pTabCtrl->GetPageCount() : 0; } -sal_Bool SAL_CALL VCLXTabPageContainer::isTabPageActive( ::sal_Int16 tabPageIndex ) throw (RuntimeException, std::exception) +sal_Bool SAL_CALL VCLXTabPageContainer::isTabPageActive( ::sal_Int16 tabPageIndex ) { return (getActiveTabPageID() == tabPageIndex); } -Reference< css::awt::tab::XTabPage > SAL_CALL VCLXTabPageContainer::getTabPage( ::sal_Int16 tabPageIndex ) throw (RuntimeException, std::exception) +Reference< css::awt::tab::XTabPage > SAL_CALL VCLXTabPageContainer::getTabPage( ::sal_Int16 tabPageIndex ) { return (tabPageIndex >= 0 && tabPageIndex < static_cast<sal_Int16>(m_aTabPages.size())) ? m_aTabPages[tabPageIndex] : nullptr; } -Reference< css::awt::tab::XTabPage > SAL_CALL VCLXTabPageContainer::getTabPageByID( ::sal_Int16 tabPageID ) throw (RuntimeException, std::exception) +Reference< css::awt::tab::XTabPage > SAL_CALL VCLXTabPageContainer::getTabPageByID( ::sal_Int16 tabPageID ) { SolarMutexGuard aGuard; Reference< css::awt::tab::XTabPage > xTabPage; @@ -139,12 +139,12 @@ Reference< css::awt::tab::XTabPage > SAL_CALL VCLXTabPageContainer::getTabPageBy return xTabPage; } -void SAL_CALL VCLXTabPageContainer::addTabPageContainerListener( const Reference< css::awt::tab::XTabPageContainerListener >& listener ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXTabPageContainer::addTabPageContainerListener( const Reference< css::awt::tab::XTabPageContainerListener >& listener ) { m_aTabPageListeners.addInterface( listener ); } -void SAL_CALL VCLXTabPageContainer::removeTabPageContainerListener( const Reference< css::awt::tab::XTabPageContainerListener >& listener ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXTabPageContainer::removeTabPageContainerListener( const Reference< css::awt::tab::XTabPageContainerListener >& listener ) { m_aTabPageListeners.removeInterface( listener ); } @@ -171,10 +171,10 @@ void VCLXTabPageContainer::ProcessWindowEvent( const VclWindowEvent& _rVclWindow } } } -void SAL_CALL VCLXTabPageContainer::disposing( const css::lang::EventObject& /*Source*/ ) throw (css::uno::RuntimeException, std::exception) +void SAL_CALL VCLXTabPageContainer::disposing( const css::lang::EventObject& /*Source*/ ) { } -void SAL_CALL VCLXTabPageContainer::elementInserted( const css::container::ContainerEvent& Event ) throw (css::uno::RuntimeException, std::exception) +void SAL_CALL VCLXTabPageContainer::elementInserted( const css::container::ContainerEvent& Event ) { SolarMutexGuard aGuard; VclPtr<TabControl> pTabCtrl = GetAs<TabControl>(); @@ -198,7 +198,7 @@ void SAL_CALL VCLXTabPageContainer::elementInserted( const css::container::Conta m_aTabPages.push_back(xTabPage); } } -void SAL_CALL VCLXTabPageContainer::elementRemoved( const css::container::ContainerEvent& Event ) throw (css::uno::RuntimeException, std::exception) +void SAL_CALL VCLXTabPageContainer::elementRemoved( const css::container::ContainerEvent& Event ) { SolarMutexGuard aGuard; VclPtr<TabControl> pTabCtrl = GetAs<TabControl>(); @@ -211,7 +211,7 @@ void SAL_CALL VCLXTabPageContainer::elementRemoved( const css::container::Contai m_aTabPages.erase(::std::remove(m_aTabPages.begin(),m_aTabPages.end(),xTabPage)); } } -void SAL_CALL VCLXTabPageContainer::elementReplaced( const css::container::ContainerEvent& /*Event*/ ) throw (css::uno::RuntimeException, std::exception) +void SAL_CALL VCLXTabPageContainer::elementReplaced( const css::container::ContainerEvent& /*Event*/ ) { } diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 02eddc8a2850..b80d2607525a 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -217,116 +217,94 @@ public: VCLXToolkit(); // css::awt::XToolkitExperimental - virtual void SAL_CALL processEventsToIdle() - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL processEventsToIdle() override; - virtual sal_Int64 SAL_CALL getOpenGLBufferSwapCounter() - throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Int64 SAL_CALL getOpenGLBufferSwapCounter() override; - virtual void SAL_CALL setDeterministicScheduling(sal_Bool bDeterministicMode) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL setDeterministicScheduling(sal_Bool bDeterministicMode) override; - virtual void SAL_CALL pause(sal_Int32 nMilliseconds) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL pause(sal_Int32 nMilliseconds) override; // css::awt::XToolkit - css::uno::Reference< css::awt::XWindowPeer > SAL_CALL getDesktopWindow( ) throw(css::uno::RuntimeException, std::exception) override; - css::awt::Rectangle SAL_CALL getWorkArea( ) throw(css::uno::RuntimeException, std::exception) override; - css::uno::Reference< css::awt::XWindowPeer > SAL_CALL createWindow( const css::awt::WindowDescriptor& Descriptor ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; - css::uno::Sequence< css::uno::Reference< css::awt::XWindowPeer > > SAL_CALL createWindows( const css::uno::Sequence< css::awt::WindowDescriptor >& Descriptors ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; - css::uno::Reference< css::awt::XDevice > SAL_CALL createScreenCompatibleDevice( sal_Int32 Width, sal_Int32 Height ) throw -(css::uno::RuntimeException, std::exception) override; - css::uno::Reference< css::awt::XRegion > SAL_CALL createRegion( ) throw(css::uno::RuntimeException, std::exception) override; + css::uno::Reference< css::awt::XWindowPeer > SAL_CALL getDesktopWindow( ) override; + css::awt::Rectangle SAL_CALL getWorkArea( ) override; + css::uno::Reference< css::awt::XWindowPeer > SAL_CALL createWindow( const css::awt::WindowDescriptor& Descriptor ) override; + css::uno::Sequence< css::uno::Reference< css::awt::XWindowPeer > > SAL_CALL createWindows( const css::uno::Sequence< css::awt::WindowDescriptor >& Descriptors ) override; + css::uno::Reference< css::awt::XDevice > SAL_CALL createScreenCompatibleDevice( sal_Int32 Width, sal_Int32 Height ) override; + css::uno::Reference< css::awt::XRegion > SAL_CALL createRegion( ) override; // css::awt::XSystemChildFactory - css::uno::Reference< css::awt::XWindowPeer > SAL_CALL createSystemChild( const css::uno::Any& Parent, const css::uno::Sequence< sal_Int8 >& ProcessId, sal_Int16 SystemType ) throw(css::uno::RuntimeException, std::exception) override; + css::uno::Reference< css::awt::XWindowPeer > SAL_CALL createSystemChild( const css::uno::Any& Parent, const css::uno::Sequence< sal_Int8 >& ProcessId, sal_Int16 SystemType ) override; // css::awt::XMessageBoxFactory - virtual css::uno::Reference< css::awt::XMessageBox > SAL_CALL createMessageBox( const css::uno::Reference< css::awt::XWindowPeer >& aParent, css::awt::MessageBoxType eType, ::sal_Int32 aButtons, const OUString& aTitle, const OUString& aMessage ) throw (css::uno::RuntimeException, std::exception) override; + virtual css::uno::Reference< css::awt::XMessageBox > SAL_CALL createMessageBox( const css::uno::Reference< css::awt::XWindowPeer >& aParent, css::awt::MessageBoxType eType, ::sal_Int32 aButtons, const OUString& aTitle, const OUString& aMessage ) override; // css::awt::XDataTransfer - css::uno::Reference< css::datatransfer::dnd::XDragGestureRecognizer > SAL_CALL getDragGestureRecognizer( const css::uno::Reference< css::awt::XWindow >& window ) throw(css::uno::RuntimeException, std::exception) override; - css::uno::Reference< css::datatransfer::dnd::XDragSource > SAL_CALL getDragSource( const css::uno::Reference< css::awt::XWindow >& window ) throw(css::uno::RuntimeException, std::exception) override; - css::uno::Reference< css::datatransfer::dnd::XDropTarget > SAL_CALL getDropTarget( const css::uno::Reference< css::awt::XWindow >& window ) throw(css::uno::RuntimeException, std::exception) override; - css::uno::Reference< css::datatransfer::clipboard::XClipboard > SAL_CALL getClipboard( const OUString& clipboardName ) throw(css::uno::RuntimeException, std::exception) override; + css::uno::Reference< css::datatransfer::dnd::XDragGestureRecognizer > SAL_CALL getDragGestureRecognizer( const css::uno::Reference< css::awt::XWindow >& window ) override; + css::uno::Reference< css::datatransfer::dnd::XDragSource > SAL_CALL getDragSource( const css::uno::Reference< css::awt::XWindow >& window ) override; + css::uno::Reference< css::datatransfer::dnd::XDropTarget > SAL_CALL getDropTarget( const css::uno::Reference< css::awt::XWindow >& window ) override; + css::uno::Reference< css::datatransfer::clipboard::XClipboard > SAL_CALL getClipboard( const OUString& clipboardName ) override; // css::lang::XServiceInfo - OUString SAL_CALL getImplementationName( ) throw(css::uno::RuntimeException, std::exception) override; - sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw(css::uno::RuntimeException, std::exception) override; - css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception) override; + OUString SAL_CALL getImplementationName( ) override; + sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; + css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override; // css::awt::XExtendedToolkit: - virtual ::sal_Int32 SAL_CALL getTopWindowCount() - throw (css::uno::RuntimeException, std::exception) override; + virtual ::sal_Int32 SAL_CALL getTopWindowCount() override; virtual css::uno::Reference< css::awt::XTopWindow > - SAL_CALL getTopWindow(::sal_Int32 nIndex) - throw (css::uno::RuntimeException, std::exception) override; + SAL_CALL getTopWindow(::sal_Int32 nIndex) override; virtual css::uno::Reference< css::awt::XTopWindow > - SAL_CALL getActiveTopWindow() - throw (css::uno::RuntimeException, std::exception) override; + SAL_CALL getActiveTopWindow() override; virtual void SAL_CALL addTopWindowListener( css::uno::Reference< - css::awt::XTopWindowListener > const & rListener) - throw (css::uno::RuntimeException, std::exception) override; + css::awt::XTopWindowListener > const & rListener) override; virtual void SAL_CALL removeTopWindowListener( css::uno::Reference< - css::awt::XTopWindowListener > const & rListener) - throw (css::uno::RuntimeException, std::exception) override; + css::awt::XTopWindowListener > const & rListener) override; virtual void SAL_CALL addKeyHandler( css::uno::Reference< - css::awt::XKeyHandler > const & rHandler) - throw (css::uno::RuntimeException, std::exception) override; + css::awt::XKeyHandler > const & rHandler) override; virtual void SAL_CALL removeKeyHandler( css::uno::Reference< - css::awt::XKeyHandler > const & rHandler) - throw (css::uno::RuntimeException, std::exception) override; + css::awt::XKeyHandler > const & rHandler) override; virtual void SAL_CALL addFocusListener( css::uno::Reference< - css::awt::XFocusListener > const & rListener) - throw (css::uno::RuntimeException, std::exception) override; + css::awt::XFocusListener > const & rListener) override; virtual void SAL_CALL removeFocusListener( css::uno::Reference< - css::awt::XFocusListener > const & rListener) - throw (css::uno::RuntimeException, std::exception) override; + css::awt::XFocusListener > const & rListener) override; virtual void SAL_CALL fireFocusGained( css::uno::Reference< - css::uno::XInterface > const & source) - throw (css::uno::RuntimeException, std::exception) override; + css::uno::XInterface > const & source) override; virtual void SAL_CALL fireFocusLost( css::uno::Reference< - css::uno::XInterface > const & source) - throw (css::uno::RuntimeException, std::exception) override; + css::uno::XInterface > const & source) override; // css::awt::XReschedule: - virtual void SAL_CALL reschedule() - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL reschedule() override; // css:awt:XToolkitRobot - virtual void SAL_CALL keyPress( const css::awt::KeyEvent & aKeyEvent ) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL keyPress( const css::awt::KeyEvent & aKeyEvent ) override; - virtual void SAL_CALL keyRelease( const css::awt::KeyEvent & aKeyEvent ) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL keyRelease( const css::awt::KeyEvent & aKeyEvent ) override; - virtual void SAL_CALL mousePress( const css::awt::MouseEvent & aMouseEvent ) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL mousePress( const css::awt::MouseEvent & aMouseEvent ) override; - virtual void SAL_CALL mouseRelease( const css::awt::MouseEvent & aMouseEvent ) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL mouseRelease( const css::awt::MouseEvent & aMouseEvent ) override; - virtual void SAL_CALL mouseMove( const css::awt::MouseEvent & aMouseEvent ) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL mouseMove( const css::awt::MouseEvent & aMouseEvent ) override; }; @@ -765,14 +743,14 @@ void SAL_CALL VCLXToolkit::disposing() } -css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::getDesktopWindow( ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::getDesktopWindow( ) { css::uno::Reference< css::awt::XWindowPeer > xRef; // 07/00: AppWindow doesn't exist anymore... return xRef; } -css::awt::Rectangle VCLXToolkit::getWorkArea( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Rectangle VCLXToolkit::getWorkArea( ) { sal_Int32 nDisplay = Application::GetDisplayBuiltInScreen(); Rectangle aWorkRect = Application::GetScreenPosSizePixel( nDisplay ); @@ -784,12 +762,12 @@ css::awt::Rectangle VCLXToolkit::getWorkArea( ) throw(css::uno::RuntimeExceptio return aNotherRect; } -css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::createWindow( const css::awt::WindowDescriptor& rDescriptor ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::createWindow( const css::awt::WindowDescriptor& rDescriptor ) { return ImplCreateWindow( rDescriptor, WinBits(0) ); } -css::uno::Reference< css::awt::XDevice > VCLXToolkit::createScreenCompatibleDevice( sal_Int32 Width, sal_Int32 Height ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::awt::XDevice > VCLXToolkit::createScreenCompatibleDevice( sal_Int32 Width, sal_Int32 Height ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -806,7 +784,7 @@ css::uno::Reference< css::awt::XDevice > VCLXToolkit::createScreenCompatibleDevi return xRef; } -css::uno::Reference< css::awt::XRegion > VCLXToolkit::createRegion( ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::awt::XRegion > VCLXToolkit::createRegion( ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -1339,7 +1317,7 @@ css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::ImplCreateWindow( return xRef; } -css::uno::Sequence< css::uno::Reference< css::awt::XWindowPeer > > VCLXToolkit::createWindows( const css::uno::Sequence< css::awt::WindowDescriptor >& rDescriptors ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +css::uno::Sequence< css::uno::Reference< css::awt::XWindowPeer > > VCLXToolkit::createWindows( const css::uno::Sequence< css::awt::WindowDescriptor >& rDescriptors ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -1359,7 +1337,7 @@ css::uno::Sequence< css::uno::Reference< css::awt::XWindowPeer > > VCLXToolkit:: } // css::awt::XSystemChildFactory -css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::createSystemChild( const css::uno::Any& Parent, const css::uno::Sequence< sal_Int8 >& /*ProcessId*/, sal_Int16 nSystemType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::createSystemChild( const css::uno::Any& Parent, const css::uno::Sequence< sal_Int8 >& /*ProcessId*/, sal_Int16 nSystemType ) { VclPtr<vcl::Window> pChildWindow; if ( nSystemType == SYSTEM_DEPENDENT_TYPE ) @@ -1442,7 +1420,7 @@ css::uno::Reference< css::awt::XMessageBox > SAL_CALL VCLXToolkit::createMessage css::awt::MessageBoxType eType, ::sal_Int32 aButtons, const OUString& aTitle, - const OUString& aMessage ) throw (css::uno::RuntimeException, std::exception) + const OUString& aMessage ) { css::awt::WindowDescriptor aDescriptor; @@ -1505,7 +1483,7 @@ css::uno::Reference< css::awt::XMessageBox > SAL_CALL VCLXToolkit::createMessage return xMsgBox; } -css::uno::Reference< css::datatransfer::dnd::XDragGestureRecognizer > SAL_CALL VCLXToolkit::getDragGestureRecognizer( const css::uno::Reference< css::awt::XWindow >& window ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::datatransfer::dnd::XDragGestureRecognizer > SAL_CALL VCLXToolkit::getDragGestureRecognizer( const css::uno::Reference< css::awt::XWindow >& window ) { SolarMutexGuard g; @@ -1517,7 +1495,7 @@ css::uno::Reference< css::datatransfer::dnd::XDragGestureRecognizer > SAL_CALL V return css::uno::Reference< css::datatransfer::dnd::XDragGestureRecognizer >(); } -css::uno::Reference< css::datatransfer::dnd::XDragSource > SAL_CALL VCLXToolkit::getDragSource( const css::uno::Reference< css::awt::XWindow >& window ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::datatransfer::dnd::XDragSource > SAL_CALL VCLXToolkit::getDragSource( const css::uno::Reference< css::awt::XWindow >& window ) { SolarMutexGuard g; @@ -1529,7 +1507,7 @@ css::uno::Reference< css::datatransfer::dnd::XDragSource > SAL_CALL VCLXToolkit: return css::uno::Reference< css::datatransfer::dnd::XDragSource >(); } -css::uno::Reference< css::datatransfer::dnd::XDropTarget > SAL_CALL VCLXToolkit::getDropTarget( const css::uno::Reference< css::awt::XWindow >& window ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::datatransfer::dnd::XDropTarget > SAL_CALL VCLXToolkit::getDropTarget( const css::uno::Reference< css::awt::XWindow >& window ) { SolarMutexGuard g; @@ -1541,7 +1519,7 @@ css::uno::Reference< css::datatransfer::dnd::XDropTarget > SAL_CALL VCLXToolkit: return css::uno::Reference< css::datatransfer::dnd::XDropTarget >(); } -css::uno::Reference< css::datatransfer::clipboard::XClipboard > SAL_CALL VCLXToolkit::getClipboard( const OUString& clipboardName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::datatransfer::clipboard::XClipboard > SAL_CALL VCLXToolkit::getClipboard( const OUString& clipboardName ) { if( clipboardName.isEmpty() ) { @@ -1564,17 +1542,17 @@ css::uno::Reference< css::datatransfer::clipboard::XClipboard > SAL_CALL VCLXToo } // XServiceInfo -OUString VCLXToolkit::getImplementationName() throw(css::uno::RuntimeException, std::exception) +OUString VCLXToolkit::getImplementationName() { return OUString("stardiv.Toolkit.VCLXToolkit"); } -sal_Bool VCLXToolkit::supportsService( const OUString& rServiceName ) throw(css::uno::RuntimeException, std::exception) +sal_Bool VCLXToolkit::supportsService( const OUString& rServiceName ) { return cppu::supportsService(this, rServiceName); } -css::uno::Sequence< OUString > VCLXToolkit::getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) +css::uno::Sequence< OUString > VCLXToolkit::getSupportedServiceNames() { return css::uno::Sequence<OUString>{ "com.sun.star.awt.Toolkit", "stardiv.vcl.VclToolkit"}; @@ -1584,7 +1562,6 @@ css::uno::Sequence< OUString > VCLXToolkit::getSupportedServiceNames() throw(css // virtual ::sal_Int32 SAL_CALL VCLXToolkit::getTopWindowCount() - throw (css::uno::RuntimeException, std::exception) { return static_cast< ::sal_Int32 >(::Application::GetTopWindowCount()); // XXX numeric overflow @@ -1593,7 +1570,6 @@ css::uno::Sequence< OUString > VCLXToolkit::getSupportedServiceNames() throw(css // virtual css::uno::Reference< css::awt::XTopWindow > SAL_CALL VCLXToolkit::getTopWindow(::sal_Int32 nIndex) - throw (css::uno::RuntimeException, std::exception) { vcl::Window * p = ::Application::GetTopWindow(static_cast< long >(nIndex)); // XXX numeric overflow @@ -1604,7 +1580,7 @@ VCLXToolkit::getTopWindow(::sal_Int32 nIndex) // virtual css::uno::Reference< css::awt::XTopWindow > SAL_CALL -VCLXToolkit::getActiveTopWindow() throw (css::uno::RuntimeException, std::exception) +VCLXToolkit::getActiveTopWindow() { vcl::Window * p = ::Application::GetActiveTopWindow(); return css::uno::Reference< css::awt::XTopWindow >( @@ -1615,7 +1591,6 @@ VCLXToolkit::getActiveTopWindow() throw (css::uno::RuntimeException, std::except // virtual void SAL_CALL VCLXToolkit::addTopWindowListener( css::uno::Reference< css::awt::XTopWindowListener > const & rListener) - throw (css::uno::RuntimeException, std::exception) { OSL_ENSURE(rListener.is(), "Null rListener"); ::osl::ClearableMutexGuard aGuard(rBHelper.rMutex); @@ -1637,7 +1612,6 @@ void SAL_CALL VCLXToolkit::addTopWindowListener( // virtual void SAL_CALL VCLXToolkit::removeTopWindowListener( css::uno::Reference< css::awt::XTopWindowListener > const & rListener) - throw (css::uno::RuntimeException, std::exception) { ::osl::MutexGuard aGuard(rBHelper.rMutex); if (!(rBHelper.bDisposed || rBHelper.bInDispose) @@ -1652,7 +1626,6 @@ void SAL_CALL VCLXToolkit::removeTopWindowListener( // virtual void SAL_CALL VCLXToolkit::addKeyHandler( css::uno::Reference< css::awt::XKeyHandler > const & rHandler) - throw (css::uno::RuntimeException, std::exception) { OSL_ENSURE(rHandler.is(), "Null rHandler"); ::osl::ClearableMutexGuard aGuard(rBHelper.rMutex); @@ -1673,7 +1646,6 @@ void SAL_CALL VCLXToolkit::addKeyHandler( // virtual void SAL_CALL VCLXToolkit::removeKeyHandler( css::uno::Reference< css::awt::XKeyHandler > const & rHandler) - throw (css::uno::RuntimeException, std::exception) { ::osl::MutexGuard aGuard(rBHelper.rMutex); if (!(rBHelper.bDisposed || rBHelper.bInDispose) @@ -1687,7 +1659,6 @@ void SAL_CALL VCLXToolkit::removeKeyHandler( // virtual void SAL_CALL VCLXToolkit::addFocusListener( css::uno::Reference< css::awt::XFocusListener > const & rListener) - throw (css::uno::RuntimeException, std::exception) { OSL_ENSURE(rListener.is(), "Null rListener"); ::osl::ClearableMutexGuard aGuard(rBHelper.rMutex); @@ -1709,7 +1680,6 @@ void SAL_CALL VCLXToolkit::addFocusListener( // virtual void SAL_CALL VCLXToolkit::removeFocusListener( css::uno::Reference< css::awt::XFocusListener > const & rListener) - throw (css::uno::RuntimeException, std::exception) { ::osl::MutexGuard aGuard(rBHelper.rMutex); if (!(rBHelper.bDisposed || rBHelper.bInDispose) @@ -1725,7 +1695,6 @@ void SAL_CALL VCLXToolkit::removeFocusListener( void SAL_CALL VCLXToolkit::fireFocusGained( css::uno::Reference< css::uno::XInterface > const &) - throw (css::uno::RuntimeException, std::exception) { } @@ -1733,7 +1702,6 @@ void SAL_CALL VCLXToolkit::fireFocusGained( void SAL_CALL VCLXToolkit::fireFocusLost( css::uno::Reference< css::uno::XInterface > const &) - throw (css::uno::RuntimeException, std::exception) { } @@ -1919,7 +1887,6 @@ void VCLXToolkit::callFocusListeners(::VclSimpleEvent const * pEvent, // css::awt::XReschedule: void SAL_CALL VCLXToolkit::reschedule() - throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; Application::Reschedule(true); @@ -1928,14 +1895,12 @@ void SAL_CALL VCLXToolkit::reschedule() // css::awt::XToolkitExperimental void SAL_CALL VCLXToolkit::processEventsToIdle() - throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; Scheduler::ProcessEventsToIdle(); } sal_Int64 SAL_CALL VCLXToolkit::getOpenGLBufferSwapCounter() - throw (css::uno::RuntimeException, std::exception) { #if HAVE_FEATURE_OPENGL return OpenGLWrapper::getBufferSwapCounter(); @@ -1945,14 +1910,12 @@ sal_Int64 SAL_CALL VCLXToolkit::getOpenGLBufferSwapCounter() } void SAL_CALL VCLXToolkit::setDeterministicScheduling(sal_Bool bDeterministicMode) - throw (css::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; Scheduler::SetDeterministicMode(bDeterministicMode); } void SAL_CALL VCLXToolkit::pause(sal_Int32 nMilliseconds) - throw (css::uno::RuntimeException, std::exception) { new Pause(nMilliseconds); } @@ -1960,7 +1923,6 @@ void SAL_CALL VCLXToolkit::pause(sal_Int32 nMilliseconds) // css:awt:XToolkitRobot void SAL_CALL VCLXToolkit::keyPress( const css::awt::KeyEvent & aKeyEvent ) - throw (css::uno::RuntimeException, std::exception) { css::uno::Reference<css::awt::XWindow> xWindow ( aKeyEvent.Source, css::uno::UNO_QUERY ); if( !xWindow.is() ) @@ -1975,7 +1937,6 @@ void SAL_CALL VCLXToolkit::keyPress( const css::awt::KeyEvent & aKeyEvent ) } void SAL_CALL VCLXToolkit::keyRelease( const css::awt::KeyEvent & aKeyEvent ) - throw (css::uno::RuntimeException, std::exception) { css::uno::Reference<css::awt::XWindow> xWindow ( aKeyEvent.Source, css::uno::UNO_QUERY ); if( !xWindow.is() ) @@ -1991,7 +1952,6 @@ void SAL_CALL VCLXToolkit::keyRelease( const css::awt::KeyEvent & aKeyEvent ) void SAL_CALL VCLXToolkit::mousePress( const css::awt::MouseEvent & aMouseEvent ) - throw (css::uno::RuntimeException, std::exception) { css::uno::Reference<css::awt::XWindow> xWindow ( aMouseEvent.Source, css::uno::UNO_QUERY ); if( !xWindow.is() ) @@ -2006,7 +1966,6 @@ void SAL_CALL VCLXToolkit::mousePress( const css::awt::MouseEvent & aMouseEvent } void SAL_CALL VCLXToolkit::mouseRelease( const css::awt::MouseEvent & aMouseEvent ) - throw (css::uno::RuntimeException, std::exception) { css::uno::Reference<css::awt::XWindow> xWindow ( aMouseEvent.Source, css::uno::UNO_QUERY ); if( !xWindow.is() ) @@ -2021,7 +1980,6 @@ void SAL_CALL VCLXToolkit::mouseRelease( const css::awt::MouseEvent & aMouseEven } void SAL_CALL VCLXToolkit::mouseMove( const css::awt::MouseEvent & aMouseEvent ) - throw (css::uno::RuntimeException, std::exception) { css::uno::Reference<css::awt::XWindow> xWindow ( aMouseEvent.Source, css::uno::UNO_QUERY ); if( !xWindow.is() ) diff --git a/toolkit/source/awt/vclxtopwindow.cxx b/toolkit/source/awt/vclxtopwindow.cxx index e21d7bb2e416..3078b2753257 100644 --- a/toolkit/source/awt/vclxtopwindow.cxx +++ b/toolkit/source/awt/vclxtopwindow.cxx @@ -55,7 +55,7 @@ VCLXTopWindow_Base::~VCLXTopWindow_Base() { } -Any VCLXTopWindow_Base::queryInterface( const Type & rType ) throw(RuntimeException, std::exception) +Any VCLXTopWindow_Base::queryInterface( const Type & rType ) { css::uno::Any aRet( VCLXTopWindow_XBase::queryInterface( rType ) ); @@ -66,7 +66,7 @@ Any VCLXTopWindow_Base::queryInterface( const Type & rType ) throw(RuntimeExcept return aRet; } -Sequence< Type > VCLXTopWindow_Base::getTypes() throw(RuntimeException, std::exception) +Sequence< Type > VCLXTopWindow_Base::getTypes() { Sequence< Type > aTypes( VCLXTopWindow_XBase::getTypes() ); if ( m_bWHWND ) @@ -74,7 +74,7 @@ Sequence< Type > VCLXTopWindow_Base::getTypes() throw(RuntimeException, std::exc return aTypes; } -css::uno::Any VCLXTopWindow_Base::getWindowHandle( const css::uno::Sequence< sal_Int8 >& /*ProcessId*/, sal_Int16 SystemType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXTopWindow_Base::getWindowHandle( const css::uno::Sequence< sal_Int8 >& /*ProcessId*/, sal_Int16 SystemType ) { SolarMutexGuard aGuard; @@ -116,21 +116,21 @@ css::uno::Any VCLXTopWindow_Base::getWindowHandle( const css::uno::Sequence< sal return aRet; } -void VCLXTopWindow_Base::addTopWindowListener( const css::uno::Reference< css::awt::XTopWindowListener >& rxListener ) throw(css::uno::RuntimeException, std::exception) +void VCLXTopWindow_Base::addTopWindowListener( const css::uno::Reference< css::awt::XTopWindowListener >& rxListener ) { SolarMutexGuard aGuard; GetTopWindowListenersImpl().addInterface( rxListener ); } -void VCLXTopWindow_Base::removeTopWindowListener( const css::uno::Reference< css::awt::XTopWindowListener >& rxListener ) throw(css::uno::RuntimeException, std::exception) +void VCLXTopWindow_Base::removeTopWindowListener( const css::uno::Reference< css::awt::XTopWindowListener >& rxListener ) { SolarMutexGuard aGuard; GetTopWindowListenersImpl().removeInterface( rxListener ); } -void VCLXTopWindow_Base::toFront( ) throw(css::uno::RuntimeException, std::exception) +void VCLXTopWindow_Base::toFront( ) { SolarMutexGuard aGuard; @@ -139,11 +139,11 @@ void VCLXTopWindow_Base::toFront( ) throw(css::uno::RuntimeException, std::exce static_cast<WorkWindow*>(pWindow)->ToTop( ToTopFlags::RestoreWhenMin ); } -void VCLXTopWindow_Base::toBack( ) throw(css::uno::RuntimeException, std::exception) +void VCLXTopWindow_Base::toBack( ) { } -void VCLXTopWindow_Base::setMenuBar( const css::uno::Reference< css::awt::XMenuBar >& rxMenu ) throw(css::uno::RuntimeException, std::exception) +void VCLXTopWindow_Base::setMenuBar( const css::uno::Reference< css::awt::XMenuBar >& rxMenu ) { SolarMutexGuard aGuard; @@ -163,7 +163,7 @@ void VCLXTopWindow_Base::setMenuBar( const css::uno::Reference< css::awt::XMenuB } -sal_Bool SAL_CALL VCLXTopWindow_Base::getIsMaximized() throw (RuntimeException, std::exception) +sal_Bool SAL_CALL VCLXTopWindow_Base::getIsMaximized() { SolarMutexGuard aGuard; @@ -175,7 +175,7 @@ sal_Bool SAL_CALL VCLXTopWindow_Base::getIsMaximized() throw (RuntimeException, } -void SAL_CALL VCLXTopWindow_Base::setIsMaximized( sal_Bool _ismaximized ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXTopWindow_Base::setIsMaximized( sal_Bool _ismaximized ) { SolarMutexGuard aGuard; @@ -187,7 +187,7 @@ void SAL_CALL VCLXTopWindow_Base::setIsMaximized( sal_Bool _ismaximized ) throw } -sal_Bool SAL_CALL VCLXTopWindow_Base::getIsMinimized() throw (RuntimeException, std::exception) +sal_Bool SAL_CALL VCLXTopWindow_Base::getIsMinimized() { SolarMutexGuard aGuard; @@ -199,7 +199,7 @@ sal_Bool SAL_CALL VCLXTopWindow_Base::getIsMinimized() throw (RuntimeException, } -void SAL_CALL VCLXTopWindow_Base::setIsMinimized( sal_Bool _isMinimized ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXTopWindow_Base::setIsMinimized( sal_Bool _isMinimized ) { SolarMutexGuard aGuard; @@ -211,7 +211,7 @@ void SAL_CALL VCLXTopWindow_Base::setIsMinimized( sal_Bool _isMinimized ) throw } -::sal_Int32 SAL_CALL VCLXTopWindow_Base::getDisplay() throw (RuntimeException, std::exception) +::sal_Int32 SAL_CALL VCLXTopWindow_Base::getDisplay() { SolarMutexGuard aGuard; @@ -223,7 +223,7 @@ void SAL_CALL VCLXTopWindow_Base::setIsMinimized( sal_Bool _isMinimized ) throw } -void SAL_CALL VCLXTopWindow_Base::setDisplay( ::sal_Int32 _display ) throw (RuntimeException, IndexOutOfBoundsException, std::exception) +void SAL_CALL VCLXTopWindow_Base::setDisplay( ::sal_Int32 _display ) { SolarMutexGuard aGuard; @@ -266,7 +266,7 @@ vcl::Window* VCLXTopWindow::GetWindowImpl() } // css::uno::XInterface -css::uno::Any VCLXTopWindow::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXTopWindow::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet( VCLXTopWindow_Base::queryInterface( rType ) ); @@ -276,12 +276,12 @@ css::uno::Any VCLXTopWindow::queryInterface( const css::uno::Type & rType ) thro return aRet; } -css::uno::Sequence< sal_Int8 > VCLXTopWindow::getImplementationId() throw(css::uno::RuntimeException, std::exception) +css::uno::Sequence< sal_Int8 > VCLXTopWindow::getImplementationId() { return css::uno::Sequence<sal_Int8>(); } -css::uno::Sequence< css::uno::Type > VCLXTopWindow::getTypes() throw(css::uno::RuntimeException, std::exception) +css::uno::Sequence< css::uno::Type > VCLXTopWindow::getTypes() { return ::comphelper::concatSequences( VCLXTopWindow_Base::getTypes(), VCLXContainer::getTypes() ); } diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index 8b4da17e05a3..12fd7822a413 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -882,7 +882,7 @@ Size VCLXWindow::ImplCalcWindowSize( const Size& rOutSz ) const // css::lang::XUnoTunnel -sal_Int64 VCLXWindow::getSomething( const css::uno::Sequence< sal_Int8 >& rIdentifier ) throw(css::uno::RuntimeException, std::exception) +sal_Int64 VCLXWindow::getSomething( const css::uno::Sequence< sal_Int8 >& rIdentifier ) { if( ( rIdentifier.getLength() == 16 ) && ( 0 == memcmp( VCLXWindow::GetUnoTunnelId().getConstArray(), rIdentifier.getConstArray(), 16 ) ) ) { @@ -906,7 +906,7 @@ VCLXWindow* VCLXWindow::GetImplementation( const css::uno::Reference< css::uno:: // css::lang::Component -void VCLXWindow::dispose( ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::dispose( ) { SolarMutexGuard aGuard; @@ -945,14 +945,14 @@ void VCLXWindow::dispose( ) throw(css::uno::RuntimeException, std::exception) } } -void VCLXWindow::addEventListener( const css::uno::Reference< css::lang::XEventListener >& rxListener ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::addEventListener( const css::uno::Reference< css::lang::XEventListener >& rxListener ) { SolarMutexGuard aGuard; mpImpl->getEventListeners().addInterface( rxListener ); } -void VCLXWindow::removeEventListener( const css::uno::Reference< css::lang::XEventListener >& rxListener ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::removeEventListener( const css::uno::Reference< css::lang::XEventListener >& rxListener ) { SolarMutexGuard aGuard; @@ -961,7 +961,7 @@ void VCLXWindow::removeEventListener( const css::uno::Reference< css::lang::XEve // css::awt::XWindow -void VCLXWindow::setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int32 Height, sal_Int16 Flags ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int32 Height, sal_Int16 Flags ) { SolarMutexGuard aGuard; @@ -974,7 +974,7 @@ void VCLXWindow::setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int3 } } -css::awt::Rectangle VCLXWindow::getPosSize( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Rectangle VCLXWindow::getPosSize( ) { SolarMutexGuard aGuard; @@ -990,7 +990,7 @@ css::awt::Rectangle VCLXWindow::getPosSize( ) throw(css::uno::RuntimeException, return aBounds; } -void VCLXWindow::setVisible( sal_Bool bVisible ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::setVisible( sal_Bool bVisible ) { SolarMutexGuard aGuard; @@ -1002,7 +1002,7 @@ void VCLXWindow::setVisible( sal_Bool bVisible ) throw(css::uno::RuntimeExceptio } } -void VCLXWindow::setEnable( sal_Bool bEnable ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::setEnable( sal_Bool bEnable ) { SolarMutexGuard aGuard; @@ -1014,7 +1014,7 @@ void VCLXWindow::setEnable( sal_Bool bEnable ) throw(css::uno::RuntimeException, } } -void VCLXWindow::setFocus( ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::setFocus( ) { SolarMutexGuard aGuard; @@ -1022,7 +1022,7 @@ void VCLXWindow::setFocus( ) throw(css::uno::RuntimeException, std::exception) GetWindow()->GrabFocus(); } -void VCLXWindow::addWindowListener( const css::uno::Reference< css::awt::XWindowListener >& rxListener ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::addWindowListener( const css::uno::Reference< css::awt::XWindowListener >& rxListener ) { SolarMutexGuard aGuard; @@ -1037,7 +1037,7 @@ void VCLXWindow::addWindowListener( const css::uno::Reference< css::awt::XWindow GetWindow()->EnableAllResize(); } -void VCLXWindow::removeWindowListener( const css::uno::Reference< css::awt::XWindowListener >& rxListener ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::removeWindowListener( const css::uno::Reference< css::awt::XWindowListener >& rxListener ) { SolarMutexGuard aGuard; @@ -1048,75 +1048,75 @@ void VCLXWindow::removeWindowListener( const css::uno::Reference< css::awt::XWin mpImpl->getWindowListeners().removeInterface( rxListener ); } -void VCLXWindow::addFocusListener( const css::uno::Reference< css::awt::XFocusListener >& rxListener ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::addFocusListener( const css::uno::Reference< css::awt::XFocusListener >& rxListener ) { SolarMutexGuard aGuard; mpImpl->getFocusListeners().addInterface( rxListener ); } -void VCLXWindow::removeFocusListener( const css::uno::Reference< css::awt::XFocusListener >& rxListener ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::removeFocusListener( const css::uno::Reference< css::awt::XFocusListener >& rxListener ) { SolarMutexGuard aGuard; mpImpl->getFocusListeners().removeInterface( rxListener ); } -void VCLXWindow::addKeyListener( const css::uno::Reference< css::awt::XKeyListener >& rxListener ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::addKeyListener( const css::uno::Reference< css::awt::XKeyListener >& rxListener ) { SolarMutexGuard aGuard; mpImpl->getKeyListeners().addInterface( rxListener ); } -void VCLXWindow::removeKeyListener( const css::uno::Reference< css::awt::XKeyListener >& rxListener ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::removeKeyListener( const css::uno::Reference< css::awt::XKeyListener >& rxListener ) { SolarMutexGuard aGuard; mpImpl->getKeyListeners().removeInterface( rxListener ); } -void VCLXWindow::addMouseListener( const css::uno::Reference< css::awt::XMouseListener >& rxListener ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::addMouseListener( const css::uno::Reference< css::awt::XMouseListener >& rxListener ) { SolarMutexGuard aGuard; mpImpl->getMouseListeners().addInterface( rxListener ); } -void VCLXWindow::removeMouseListener( const css::uno::Reference< css::awt::XMouseListener >& rxListener ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::removeMouseListener( const css::uno::Reference< css::awt::XMouseListener >& rxListener ) { SolarMutexGuard aGuard; mpImpl->getMouseListeners().removeInterface( rxListener ); } -void VCLXWindow::addMouseMotionListener( const css::uno::Reference< css::awt::XMouseMotionListener >& rxListener ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::addMouseMotionListener( const css::uno::Reference< css::awt::XMouseMotionListener >& rxListener ) { SolarMutexGuard aGuard; mpImpl->getMouseMotionListeners().addInterface( rxListener ); } -void VCLXWindow::removeMouseMotionListener( const css::uno::Reference< css::awt::XMouseMotionListener >& rxListener ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::removeMouseMotionListener( const css::uno::Reference< css::awt::XMouseMotionListener >& rxListener ) { SolarMutexGuard aGuard; mpImpl->getMouseMotionListeners().removeInterface( rxListener ); } -void VCLXWindow::addPaintListener( const css::uno::Reference< css::awt::XPaintListener >& rxListener ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::addPaintListener( const css::uno::Reference< css::awt::XPaintListener >& rxListener ) { SolarMutexGuard aGuard; mpImpl->getPaintListeners().addInterface( rxListener ); } -void VCLXWindow::removePaintListener( const css::uno::Reference< css::awt::XPaintListener >& rxListener ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::removePaintListener( const css::uno::Reference< css::awt::XPaintListener >& rxListener ) { SolarMutexGuard aGuard; mpImpl->getPaintListeners().removeInterface( rxListener ); } // css::awt::XWindowPeer -css::uno::Reference< css::awt::XToolkit > VCLXWindow::getToolkit( ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::awt::XToolkit > VCLXWindow::getToolkit( ) { // no guard. nothing to guard here. // 82463 - 12/21/00 - fs return Application::GetVCLToolkit(); } -void VCLXWindow::setPointer( const css::uno::Reference< css::awt::XPointer >& rxPointer ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::setPointer( const css::uno::Reference< css::awt::XPointer >& rxPointer ) { SolarMutexGuard aGuard; @@ -1129,7 +1129,7 @@ void VCLXWindow::setPointer( const css::uno::Reference< css::awt::XPointer >& rx } } -void VCLXWindow::setBackground( sal_Int32 nColor ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::setBackground( sal_Int32 nColor ) { SolarMutexGuard aGuard; @@ -1149,7 +1149,7 @@ void VCLXWindow::setBackground( sal_Int32 nColor ) throw(css::uno::RuntimeExcept } } -void VCLXWindow::invalidate( sal_Int16 nInvalidateFlags ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::invalidate( sal_Int16 nInvalidateFlags ) { SolarMutexGuard aGuard; @@ -1157,7 +1157,7 @@ void VCLXWindow::invalidate( sal_Int16 nInvalidateFlags ) throw(css::uno::Runtim GetWindow()->Invalidate( static_cast<InvalidateFlags>(nInvalidateFlags) ); } -void VCLXWindow::invalidateRect( const css::awt::Rectangle& rRect, sal_Int16 nInvalidateFlags ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::invalidateRect( const css::awt::Rectangle& rRect, sal_Int16 nInvalidateFlags ) { SolarMutexGuard aGuard; @@ -1167,7 +1167,7 @@ void VCLXWindow::invalidateRect( const css::awt::Rectangle& rRect, sal_Int16 nIn // css::awt::XVclWindowPeer -sal_Bool VCLXWindow::isChild( const css::uno::Reference< css::awt::XWindowPeer >& rxPeer ) throw(css::uno::RuntimeException, std::exception) +sal_Bool VCLXWindow::isChild( const css::uno::Reference< css::awt::XWindowPeer >& rxPeer ) { SolarMutexGuard aGuard; @@ -1182,20 +1182,20 @@ sal_Bool VCLXWindow::isChild( const css::uno::Reference< css::awt::XWindowPeer > return bIsChild; } -void VCLXWindow::setDesignMode( sal_Bool bOn ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::setDesignMode( sal_Bool bOn ) { SolarMutexGuard aGuard; mpImpl->mbDesignMode = bOn; } -sal_Bool VCLXWindow::isDesignMode( ) throw(css::uno::RuntimeException, std::exception) +sal_Bool VCLXWindow::isDesignMode( ) { SolarMutexGuard aGuard; return mpImpl->mbDesignMode; } -void VCLXWindow::enableClipSiblings( sal_Bool bClip ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::enableClipSiblings( sal_Bool bClip ) { SolarMutexGuard aGuard; @@ -1203,7 +1203,7 @@ void VCLXWindow::enableClipSiblings( sal_Bool bClip ) throw(css::uno::RuntimeExc GetWindow()->EnableClipSiblings( bClip ); } -void VCLXWindow::setForeground( sal_Int32 nColor ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::setForeground( sal_Int32 nColor ) { SolarMutexGuard aGuard; @@ -1214,7 +1214,7 @@ void VCLXWindow::setForeground( sal_Int32 nColor ) throw(css::uno::RuntimeExcept } } -void VCLXWindow::setControlFont( const css::awt::FontDescriptor& rFont ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::setControlFont( const css::awt::FontDescriptor& rFont ) { SolarMutexGuard aGuard; @@ -1222,7 +1222,7 @@ void VCLXWindow::setControlFont( const css::awt::FontDescriptor& rFont ) throw(c GetWindow()->SetControlFont( VCLUnoHelper::CreateFont( rFont, GetWindow()->GetControlFont() ) ); } -void VCLXWindow::getStyles( sal_Int16 nType, css::awt::FontDescriptor& Font, sal_Int32& ForegroundColor, sal_Int32& BackgroundColor ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::getStyles( sal_Int16 nType, css::awt::FontDescriptor& Font, sal_Int32& ForegroundColor, sal_Int32& BackgroundColor ) { SolarMutexGuard aGuard; @@ -1377,8 +1377,6 @@ namespace } void VCLXWindow::setProperty( const OUString& PropertyName, const css::uno::Any& Value ) - throw(css::uno::RuntimeException, - std::exception) { SolarMutexGuard aGuard; @@ -1908,7 +1906,7 @@ void VCLXWindow::setProperty( const OUString& PropertyName, const css::uno::Any& } } -css::uno::Any VCLXWindow::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXWindow::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -2138,7 +2136,7 @@ css::uno::Any VCLXWindow::getProperty( const OUString& PropertyName ) throw(css: // css::awt::XLayoutConstrains -css::awt::Size VCLXWindow::getMinimumSize( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXWindow::getMinimumSize( ) { SolarMutexGuard aGuard; @@ -2176,12 +2174,12 @@ css::awt::Size VCLXWindow::getMinimumSize( ) throw(css::uno::RuntimeException, return css::awt::Size( aSz.Width(), aSz.Height() ); } -css::awt::Size VCLXWindow::getPreferredSize( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXWindow::getPreferredSize( ) { return getMinimumSize(); } -css::awt::Size VCLXWindow::calcAdjustedSize( const css::awt::Size& rNewSize ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXWindow::calcAdjustedSize( const css::awt::Size& rNewSize ) { SolarMutexGuard aGuard; @@ -2198,7 +2196,7 @@ css::awt::Size VCLXWindow::calcAdjustedSize( const css::awt::Size& rNewSize ) th // css::awt::XView -sal_Bool VCLXWindow::setGraphics( const css::uno::Reference< css::awt::XGraphics >& rxDevice ) throw(css::uno::RuntimeException, std::exception) +sal_Bool VCLXWindow::setGraphics( const css::uno::Reference< css::awt::XGraphics >& rxDevice ) { SolarMutexGuard aGuard; @@ -2210,14 +2208,14 @@ sal_Bool VCLXWindow::setGraphics( const css::uno::Reference< css::awt::XGraphics return mpImpl->mxViewGraphics.is(); } -css::uno::Reference< css::awt::XGraphics > VCLXWindow::getGraphics( ) throw(css::uno::RuntimeException, std::exception) +css::uno::Reference< css::awt::XGraphics > VCLXWindow::getGraphics( ) { SolarMutexGuard aGuard; return mpImpl->mxViewGraphics; } -css::awt::Size VCLXWindow::getSize( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXWindow::getSize( ) { SolarMutexGuard aGuard; @@ -2227,7 +2225,7 @@ css::awt::Size VCLXWindow::getSize( ) throw(css::uno::RuntimeException, std::ex return css::awt::Size( aSz.Width(), aSz.Height() ); } -void VCLXWindow::draw( sal_Int32 nX, sal_Int32 nY ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::draw( sal_Int32 nX, sal_Int32 nY ) { SolarMutexGuard aGuard; @@ -2321,7 +2319,7 @@ void VCLXWindow::draw( sal_Int32 nX, sal_Int32 nY ) throw(css::uno::RuntimeExcep } } -void VCLXWindow::setZoom( float fZoomX, float /*fZoomY*/ ) throw(css::uno::RuntimeException, std::exception) +void VCLXWindow::setZoom( float fZoomX, float /*fZoomY*/ ) { SolarMutexGuard aGuard; @@ -2338,7 +2336,7 @@ void VCLXWindow::setZoom( float fZoomX, float /*fZoomY*/ ) throw(css::uno::Runti } // css::lang::XEventListener -void SAL_CALL VCLXWindow::disposing( const css::lang::EventObject& _rSource ) throw (css::uno::RuntimeException, std::exception) +void SAL_CALL VCLXWindow::disposing( const css::lang::EventObject& _rSource ) { SolarMutexGuard aGuard; @@ -2353,7 +2351,7 @@ void SAL_CALL VCLXWindow::disposing( const css::lang::EventObject& _rSource ) th } // css::accessibility::XAccessible -css::uno::Reference< css::accessibility::XAccessibleContext > VCLXWindow::getAccessibleContext( ) throw (css::uno::RuntimeException, std::exception) +css::uno::Reference< css::accessibility::XAccessibleContext > VCLXWindow::getAccessibleContext( ) { using namespace ::com::sun::star; @@ -2379,7 +2377,7 @@ css::uno::Reference< css::accessibility::XAccessibleContext > VCLXWindow::getAcc } // css::awt::XDockable -void SAL_CALL VCLXWindow::addDockableWindowListener( const css::uno::Reference< css::awt::XDockableWindowListener >& xListener ) throw (css::uno::RuntimeException, std::exception) +void SAL_CALL VCLXWindow::addDockableWindowListener( const css::uno::Reference< css::awt::XDockableWindowListener >& xListener ) { SolarMutexGuard aGuard; @@ -2388,14 +2386,14 @@ void SAL_CALL VCLXWindow::addDockableWindowListener( const css::uno::Reference< } -void SAL_CALL VCLXWindow::removeDockableWindowListener( const css::uno::Reference< css::awt::XDockableWindowListener >& xListener ) throw (css::uno::RuntimeException, std::exception) +void SAL_CALL VCLXWindow::removeDockableWindowListener( const css::uno::Reference< css::awt::XDockableWindowListener >& xListener ) { SolarMutexGuard aGuard; mpImpl->getDockableWindowListeners().removeInterface( xListener ); } -void SAL_CALL VCLXWindow::enableDocking( sal_Bool bEnable ) throw (css::uno::RuntimeException, std::exception) +void SAL_CALL VCLXWindow::enableDocking( sal_Bool bEnable ) { SolarMutexGuard aGuard; @@ -2404,7 +2402,7 @@ void SAL_CALL VCLXWindow::enableDocking( sal_Bool bEnable ) throw (css::uno::Run pWindow->EnableDocking( bEnable ); } -sal_Bool SAL_CALL VCLXWindow::isFloating( ) throw (css::uno::RuntimeException, std::exception) +sal_Bool SAL_CALL VCLXWindow::isFloating( ) { SolarMutexGuard aGuard; @@ -2415,7 +2413,7 @@ sal_Bool SAL_CALL VCLXWindow::isFloating( ) throw (css::uno::RuntimeException, return false; } -void SAL_CALL VCLXWindow::setFloatingMode( sal_Bool bFloating ) throw (css::uno::RuntimeException, std::exception) +void SAL_CALL VCLXWindow::setFloatingMode( sal_Bool bFloating ) { SolarMutexGuard aGuard; @@ -2424,7 +2422,7 @@ void SAL_CALL VCLXWindow::setFloatingMode( sal_Bool bFloating ) throw (css::uno: vcl::Window::GetDockingManager()->SetFloatingMode( pWindow, bFloating ); } -sal_Bool SAL_CALL VCLXWindow::isLocked( ) throw (css::uno::RuntimeException, std::exception) +sal_Bool SAL_CALL VCLXWindow::isLocked( ) { SolarMutexGuard aGuard; @@ -2435,7 +2433,7 @@ sal_Bool SAL_CALL VCLXWindow::isLocked( ) throw (css::uno::RuntimeException, st return false; } -void SAL_CALL VCLXWindow::lock( ) throw (css::uno::RuntimeException, std::exception) +void SAL_CALL VCLXWindow::lock( ) { SolarMutexGuard aGuard; @@ -2444,7 +2442,7 @@ void SAL_CALL VCLXWindow::lock( ) throw (css::uno::RuntimeException, std::excep vcl::Window::GetDockingManager()->Lock( pWindow ); } -void SAL_CALL VCLXWindow::unlock( ) throw (css::uno::RuntimeException, std::exception) +void SAL_CALL VCLXWindow::unlock( ) { SolarMutexGuard aGuard; @@ -2453,12 +2451,12 @@ void SAL_CALL VCLXWindow::unlock( ) throw (css::uno::RuntimeException, std::exc vcl::Window::GetDockingManager()->Unlock( pWindow ); } -void SAL_CALL VCLXWindow::startPopupMode( const css::awt::Rectangle& ) throw (css::uno::RuntimeException, std::exception) +void SAL_CALL VCLXWindow::startPopupMode( const css::awt::Rectangle& ) { // TODO: remove interface in the next incompatible build } -sal_Bool SAL_CALL VCLXWindow::isInPopupMode( ) throw (css::uno::RuntimeException, std::exception) +sal_Bool SAL_CALL VCLXWindow::isInPopupMode( ) { // TODO: remove interface in the next incompatible build return false; @@ -2467,7 +2465,7 @@ sal_Bool SAL_CALL VCLXWindow::isInPopupMode( ) throw (css::uno::RuntimeExceptio // css::awt::XWindow2 -void SAL_CALL VCLXWindow::setOutputSize( const css::awt::Size& aSize ) throw (css::uno::RuntimeException, std::exception) +void SAL_CALL VCLXWindow::setOutputSize( const css::awt::Size& aSize ) { SolarMutexGuard aGuard; VclPtr<vcl::Window> pWindow; @@ -2481,7 +2479,7 @@ void SAL_CALL VCLXWindow::setOutputSize( const css::awt::Size& aSize ) throw (cs } } -css::awt::Size SAL_CALL VCLXWindow::getOutputSize( ) throw (css::uno::RuntimeException, std::exception) +css::awt::Size SAL_CALL VCLXWindow::getOutputSize( ) { SolarMutexGuard aGuard; VclPtr<vcl::Window> pWindow; @@ -2497,7 +2495,7 @@ css::awt::Size SAL_CALL VCLXWindow::getOutputSize( ) throw (css::uno::RuntimeEx return css::awt::Size(); } -sal_Bool SAL_CALL VCLXWindow::isVisible( ) throw (css::uno::RuntimeException, std::exception) +sal_Bool SAL_CALL VCLXWindow::isVisible( ) { SolarMutexGuard aGuard; if( GetWindow() ) @@ -2506,7 +2504,7 @@ sal_Bool SAL_CALL VCLXWindow::isVisible( ) throw (css::uno::RuntimeException, s return false; } -sal_Bool SAL_CALL VCLXWindow::isActive( ) throw (css::uno::RuntimeException, std::exception) +sal_Bool SAL_CALL VCLXWindow::isActive( ) { SolarMutexGuard aGuard; if( GetWindow() ) @@ -2516,7 +2514,7 @@ sal_Bool SAL_CALL VCLXWindow::isActive( ) throw (css::uno::RuntimeException, st } -sal_Bool SAL_CALL VCLXWindow::isEnabled( ) throw (css::uno::RuntimeException, std::exception) +sal_Bool SAL_CALL VCLXWindow::isEnabled( ) { SolarMutexGuard aGuard; if( GetWindow() ) @@ -2525,7 +2523,7 @@ sal_Bool SAL_CALL VCLXWindow::isEnabled( ) throw (css::uno::RuntimeException, s return false; } -sal_Bool SAL_CALL VCLXWindow::hasFocus( ) throw (css::uno::RuntimeException, std::exception) +sal_Bool SAL_CALL VCLXWindow::hasFocus( ) { SolarMutexGuard aGuard; if( GetWindow() ) @@ -2550,23 +2548,23 @@ VCLXWindow::GetPropHelper() } css::uno::Sequence< css::beans::Property > SAL_CALL -VCLXWindow::getProperties() throw (css::uno::RuntimeException, std::exception) +VCLXWindow::getProperties() { return GetPropHelper()->getProperties(); } css::beans::Property SAL_CALL -VCLXWindow::getPropertyByName( const OUString& rName ) throw (css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception) +VCLXWindow::getPropertyByName( const OUString& rName ) { return GetPropHelper()->getPropertyByName( rName ); } sal_Bool SAL_CALL -VCLXWindow::hasPropertyByName( const OUString& rName ) throw (css::uno::RuntimeException, std::exception) +VCLXWindow::hasPropertyByName( const OUString& rName ) { return GetPropHelper()->hasPropertyByName( rName ); } -Reference< XStyleSettings > SAL_CALL VCLXWindow::getStyleSettings() throw (RuntimeException, std::exception) +Reference< XStyleSettings > SAL_CALL VCLXWindow::getStyleSettings() { return mpImpl->getStyleSettings(); } diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index ff79b033bd37..278d67dfb544 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -216,7 +216,7 @@ void VCLXGraphicControl::ImplSetNewImage() pButton->SetModeImage( GetImage() ); } -void VCLXGraphicControl::setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int32 Height, short Flags ) throw(css::uno::RuntimeException, std::exception) +void VCLXGraphicControl::setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int32 Height, short Flags ) { SolarMutexGuard aGuard; @@ -229,7 +229,7 @@ void VCLXGraphicControl::setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, } } -void VCLXGraphicControl::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void VCLXGraphicControl::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -282,7 +282,7 @@ void VCLXGraphicControl::setProperty( const OUString& PropertyName, const css::u } } -css::uno::Any VCLXGraphicControl::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXGraphicControl::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -384,7 +384,7 @@ css::uno::Reference< css::accessibility::XAccessibleContext > VCLXButton::Create return getAccessibleFactory().createAccessibleContext( this ); } -void VCLXButton::dispose() throw(css::uno::RuntimeException, std::exception) +void VCLXButton::dispose() { SolarMutexGuard aGuard; @@ -395,31 +395,31 @@ void VCLXButton::dispose() throw(css::uno::RuntimeException, std::exception) VCLXGraphicControl::dispose(); } -void VCLXButton::addActionListener( const css::uno::Reference< css::awt::XActionListener > & l )throw(css::uno::RuntimeException, std::exception) +void VCLXButton::addActionListener( const css::uno::Reference< css::awt::XActionListener > & l ) { SolarMutexGuard aGuard; maActionListeners.addInterface( l ); } -void VCLXButton::removeActionListener( const css::uno::Reference< css::awt::XActionListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXButton::removeActionListener( const css::uno::Reference< css::awt::XActionListener > & l ) { SolarMutexGuard aGuard; maActionListeners.removeInterface( l ); } -void VCLXButton::addItemListener( const css::uno::Reference< css::awt::XItemListener > & l )throw(css::uno::RuntimeException, std::exception) +void VCLXButton::addItemListener( const css::uno::Reference< css::awt::XItemListener > & l ) { SolarMutexGuard aGuard; maItemListeners.addInterface( l ); } -void VCLXButton::removeItemListener( const css::uno::Reference< css::awt::XItemListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXButton::removeItemListener( const css::uno::Reference< css::awt::XItemListener > & l ) { SolarMutexGuard aGuard; maItemListeners.removeInterface( l ); } -void VCLXButton::setLabel( const OUString& rLabel ) throw(css::uno::RuntimeException, std::exception) +void VCLXButton::setLabel( const OUString& rLabel ) { SolarMutexGuard aGuard; @@ -428,14 +428,14 @@ void VCLXButton::setLabel( const OUString& rLabel ) throw(css::uno::RuntimeExcep pWindow->SetText( rLabel ); } -void VCLXButton::setActionCommand( const OUString& rCommand ) throw(css::uno::RuntimeException, std::exception) +void VCLXButton::setActionCommand( const OUString& rCommand ) { SolarMutexGuard aGuard; maActionCommand = rCommand; } -css::awt::Size VCLXButton::getMinimumSize( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXButton::getMinimumSize( ) { SolarMutexGuard aGuard; @@ -446,7 +446,7 @@ css::awt::Size VCLXButton::getMinimumSize( ) throw(css::uno::RuntimeException, return AWTSize(aSz); } -css::awt::Size VCLXButton::getPreferredSize( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXButton::getPreferredSize( ) { css::awt::Size aSz = getMinimumSize(); aSz.Width += 16; @@ -454,7 +454,7 @@ css::awt::Size VCLXButton::getPreferredSize( ) throw(css::uno::RuntimeException return aSz; } -css::awt::Size VCLXButton::calcAdjustedSize( const css::awt::Size& rNewSize ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXButton::calcAdjustedSize( const css::awt::Size& rNewSize ) { SolarMutexGuard aGuard; @@ -482,7 +482,7 @@ css::awt::Size VCLXButton::calcAdjustedSize( const css::awt::Size& rNewSize ) th return AWTSize(aSz); } -void VCLXButton::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void VCLXButton::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -527,7 +527,7 @@ void VCLXButton::setProperty( const OUString& PropertyName, const css::uno::Any& } } -css::uno::Any VCLXButton::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXButton::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -656,7 +656,7 @@ void VCLXImageControl::ImplSetNewImage() pControl->SetImage( GetImage() ); } -css::awt::Size VCLXImageControl::getMinimumSize( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXImageControl::getMinimumSize( ) { SolarMutexGuard aGuard; @@ -666,12 +666,12 @@ css::awt::Size VCLXImageControl::getMinimumSize( ) throw(css::uno::RuntimeExcep return AWTSize(aSz); } -css::awt::Size VCLXImageControl::getPreferredSize( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXImageControl::getPreferredSize( ) { return getMinimumSize(); } -css::awt::Size VCLXImageControl::calcAdjustedSize( const css::awt::Size& rNewSize ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXImageControl::calcAdjustedSize( const css::awt::Size& rNewSize ) { SolarMutexGuard aGuard; @@ -684,7 +684,7 @@ css::awt::Size VCLXImageControl::calcAdjustedSize( const css::awt::Size& rNewSiz return aSz; } -void VCLXImageControl::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void VCLXImageControl::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -720,7 +720,7 @@ void VCLXImageControl::setProperty( const OUString& PropertyName, const css::uno } } -css::uno::Any VCLXImageControl::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXImageControl::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -783,7 +783,7 @@ VCLXCheckBox::VCLXCheckBox() : maActionListeners( *this ), maItemListeners( *th } // css::uno::XInterface -css::uno::Any VCLXCheckBox::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXCheckBox::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XButton* >(this)), @@ -803,7 +803,7 @@ css::uno::Reference< css::accessibility::XAccessibleContext > VCLXCheckBox::Crea return getAccessibleFactory().createAccessibleContext( this ); } -void VCLXCheckBox::dispose() throw(css::uno::RuntimeException, std::exception) +void VCLXCheckBox::dispose() { SolarMutexGuard aGuard; @@ -813,37 +813,37 @@ void VCLXCheckBox::dispose() throw(css::uno::RuntimeException, std::exception) VCLXGraphicControl::dispose(); } -void VCLXCheckBox::addItemListener( const css::uno::Reference< css::awt::XItemListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXCheckBox::addItemListener( const css::uno::Reference< css::awt::XItemListener > & l ) { SolarMutexGuard aGuard; maItemListeners.addInterface( l ); } -void VCLXCheckBox::removeItemListener( const css::uno::Reference< css::awt::XItemListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXCheckBox::removeItemListener( const css::uno::Reference< css::awt::XItemListener > & l ) { SolarMutexGuard aGuard; maItemListeners.removeInterface( l ); } -void VCLXCheckBox::addActionListener( const css::uno::Reference< css::awt::XActionListener > & l )throw(css::uno::RuntimeException, std::exception) +void VCLXCheckBox::addActionListener( const css::uno::Reference< css::awt::XActionListener > & l ) { SolarMutexGuard aGuard; maActionListeners.addInterface( l ); } -void VCLXCheckBox::removeActionListener( const css::uno::Reference< css::awt::XActionListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXCheckBox::removeActionListener( const css::uno::Reference< css::awt::XActionListener > & l ) { SolarMutexGuard aGuard; maActionListeners.removeInterface( l ); } -void VCLXCheckBox::setActionCommand( const OUString& rCommand ) throw(css::uno::RuntimeException, std::exception) +void VCLXCheckBox::setActionCommand( const OUString& rCommand ) { SolarMutexGuard aGuard; maActionCommand = rCommand; } -void VCLXCheckBox::setLabel( const OUString& rLabel ) throw(css::uno::RuntimeException, std::exception) +void VCLXCheckBox::setLabel( const OUString& rLabel ) { SolarMutexGuard aGuard; @@ -852,7 +852,7 @@ void VCLXCheckBox::setLabel( const OUString& rLabel ) throw(css::uno::RuntimeExc pWindow->SetText( rLabel ); } -void VCLXCheckBox::setState( short n ) throw(css::uno::RuntimeException, std::exception) +void VCLXCheckBox::setState( short n ) { SolarMutexGuard aGuard; @@ -880,7 +880,7 @@ void VCLXCheckBox::setState( short n ) throw(css::uno::RuntimeException, std::ex } } -short VCLXCheckBox::getState() throw(css::uno::RuntimeException, std::exception) +short VCLXCheckBox::getState() { SolarMutexGuard aGuard; @@ -900,7 +900,7 @@ short VCLXCheckBox::getState() throw(css::uno::RuntimeException, std::exception) return nState; } -void VCLXCheckBox::enableTriState( sal_Bool b ) throw(css::uno::RuntimeException, std::exception) +void VCLXCheckBox::enableTriState( sal_Bool b ) { SolarMutexGuard aGuard; @@ -909,7 +909,7 @@ void VCLXCheckBox::enableTriState( sal_Bool b ) throw(css::uno::RuntimeException pCheckBox->EnableTriState( b ); } -css::awt::Size VCLXCheckBox::getMinimumSize() throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXCheckBox::getMinimumSize() { SolarMutexGuard aGuard; @@ -920,12 +920,12 @@ css::awt::Size VCLXCheckBox::getMinimumSize() throw(css::uno::RuntimeException, return AWTSize(aSz); } -css::awt::Size VCLXCheckBox::getPreferredSize() throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXCheckBox::getPreferredSize() { return getMinimumSize(); } -css::awt::Size VCLXCheckBox::calcAdjustedSize( const css::awt::Size& rNewSize ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXCheckBox::calcAdjustedSize( const css::awt::Size& rNewSize ) { SolarMutexGuard aGuard; @@ -942,7 +942,7 @@ css::awt::Size VCLXCheckBox::calcAdjustedSize( const css::awt::Size& rNewSize ) return AWTSize(aSz); } -void VCLXCheckBox::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void VCLXCheckBox::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -978,7 +978,7 @@ void VCLXCheckBox::setProperty( const OUString& PropertyName, const css::uno::An } } -css::uno::Any VCLXCheckBox::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXCheckBox::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -1084,7 +1084,7 @@ VCLXRadioButton::VCLXRadioButton() : maItemListeners( *this ), maActionListeners } // css::uno::XInterface -css::uno::Any VCLXRadioButton::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXRadioButton::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XRadioButton* >(this)), @@ -1104,7 +1104,7 @@ css::uno::Reference< css::accessibility::XAccessibleContext > VCLXRadioButton::C return getAccessibleFactory().createAccessibleContext( this ); } -void VCLXRadioButton::dispose() throw(css::uno::RuntimeException, std::exception) +void VCLXRadioButton::dispose() { SolarMutexGuard aGuard; @@ -1114,7 +1114,7 @@ void VCLXRadioButton::dispose() throw(css::uno::RuntimeException, std::exception VCLXGraphicControl::dispose(); } -void VCLXRadioButton::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void VCLXRadioButton::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -1156,7 +1156,7 @@ void VCLXRadioButton::setProperty( const OUString& PropertyName, const css::uno: } } -css::uno::Any VCLXRadioButton::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXRadioButton::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -1185,31 +1185,31 @@ css::uno::Any VCLXRadioButton::getProperty( const OUString& PropertyName ) throw return aProp; } -void VCLXRadioButton::addItemListener( const css::uno::Reference< css::awt::XItemListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXRadioButton::addItemListener( const css::uno::Reference< css::awt::XItemListener > & l ) { SolarMutexGuard aGuard; maItemListeners.addInterface( l ); } -void VCLXRadioButton::removeItemListener( const css::uno::Reference< css::awt::XItemListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXRadioButton::removeItemListener( const css::uno::Reference< css::awt::XItemListener > & l ) { SolarMutexGuard aGuard; maItemListeners.removeInterface( l ); } -void VCLXRadioButton::addActionListener( const css::uno::Reference< css::awt::XActionListener > & l )throw(css::uno::RuntimeException, std::exception) +void VCLXRadioButton::addActionListener( const css::uno::Reference< css::awt::XActionListener > & l ) { SolarMutexGuard aGuard; maActionListeners.addInterface( l ); } -void VCLXRadioButton::removeActionListener( const css::uno::Reference< css::awt::XActionListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXRadioButton::removeActionListener( const css::uno::Reference< css::awt::XActionListener > & l ) { SolarMutexGuard aGuard; maActionListeners.removeInterface( l ); } -void VCLXRadioButton::setLabel( const OUString& rLabel ) throw(css::uno::RuntimeException, std::exception) +void VCLXRadioButton::setLabel( const OUString& rLabel ) { SolarMutexGuard aGuard; @@ -1218,13 +1218,13 @@ void VCLXRadioButton::setLabel( const OUString& rLabel ) throw(css::uno::Runtime pWindow->SetText( rLabel ); } -void VCLXRadioButton::setActionCommand( const OUString& rCommand ) throw(css::uno::RuntimeException, std::exception) +void VCLXRadioButton::setActionCommand( const OUString& rCommand ) { SolarMutexGuard aGuard; maActionCommand = rCommand; } -void VCLXRadioButton::setState( sal_Bool b ) throw(css::uno::RuntimeException, std::exception) +void VCLXRadioButton::setState( sal_Bool b ) { SolarMutexGuard aGuard; @@ -1243,7 +1243,7 @@ void VCLXRadioButton::setState( sal_Bool b ) throw(css::uno::RuntimeException, s } } -sal_Bool VCLXRadioButton::getState() throw(css::uno::RuntimeException, std::exception) +sal_Bool VCLXRadioButton::getState() { SolarMutexGuard aGuard; @@ -1251,7 +1251,7 @@ sal_Bool VCLXRadioButton::getState() throw(css::uno::RuntimeException, std::exce return pRadioButton && pRadioButton->IsChecked(); } -css::awt::Size VCLXRadioButton::getMinimumSize( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXRadioButton::getMinimumSize( ) { SolarMutexGuard aGuard; @@ -1262,12 +1262,12 @@ css::awt::Size VCLXRadioButton::getMinimumSize( ) throw(css::uno::RuntimeExcept return AWTSize(aSz); } -css::awt::Size VCLXRadioButton::getPreferredSize( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXRadioButton::getPreferredSize( ) { return getMinimumSize(); } -css::awt::Size VCLXRadioButton::calcAdjustedSize( const css::awt::Size& rNewSize ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXRadioButton::calcAdjustedSize( const css::awt::Size& rNewSize ) { SolarMutexGuard aGuard; @@ -1345,7 +1345,7 @@ VCLXSpinField::VCLXSpinField() : maSpinListeners( *this ) } // css::uno::XInterface -css::uno::Any VCLXSpinField::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXSpinField::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XSpinField* >(this)) ); @@ -1358,19 +1358,19 @@ IMPL_XTYPEPROVIDER_START( VCLXSpinField ) VCLXEdit::getTypes() IMPL_XTYPEPROVIDER_END -void VCLXSpinField::addSpinListener( const css::uno::Reference< css::awt::XSpinListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXSpinField::addSpinListener( const css::uno::Reference< css::awt::XSpinListener > & l ) { SolarMutexGuard aGuard; maSpinListeners.addInterface( l ); } -void VCLXSpinField::removeSpinListener( const css::uno::Reference< css::awt::XSpinListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXSpinField::removeSpinListener( const css::uno::Reference< css::awt::XSpinListener > & l ) { SolarMutexGuard aGuard; maSpinListeners.removeInterface( l ); } -void VCLXSpinField::up() throw(css::uno::RuntimeException, std::exception) +void VCLXSpinField::up() { SolarMutexGuard aGuard; @@ -1379,7 +1379,7 @@ void VCLXSpinField::up() throw(css::uno::RuntimeException, std::exception) pSpinField->Up(); } -void VCLXSpinField::down() throw(css::uno::RuntimeException, std::exception) +void VCLXSpinField::down() { SolarMutexGuard aGuard; @@ -1388,7 +1388,7 @@ void VCLXSpinField::down() throw(css::uno::RuntimeException, std::exception) pSpinField->Down(); } -void VCLXSpinField::first() throw(css::uno::RuntimeException, std::exception) +void VCLXSpinField::first() { SolarMutexGuard aGuard; @@ -1397,7 +1397,7 @@ void VCLXSpinField::first() throw(css::uno::RuntimeException, std::exception) pSpinField->First(); } -void VCLXSpinField::last() throw(css::uno::RuntimeException, std::exception) +void VCLXSpinField::last() { SolarMutexGuard aGuard; @@ -1406,7 +1406,7 @@ void VCLXSpinField::last() throw(css::uno::RuntimeException, std::exception) pSpinField->Last(); } -void VCLXSpinField::enableRepeat( sal_Bool bRepeat ) throw(css::uno::RuntimeException, std::exception) +void VCLXSpinField::enableRepeat( sal_Bool bRepeat ) { SolarMutexGuard aGuard; @@ -1504,7 +1504,7 @@ VCLXListBox::VCLXListBox() { } -void VCLXListBox::dispose() throw(css::uno::RuntimeException, std::exception) +void VCLXListBox::dispose() { SolarMutexGuard aGuard; @@ -1515,31 +1515,31 @@ void VCLXListBox::dispose() throw(css::uno::RuntimeException, std::exception) VCLXWindow::dispose(); } -void VCLXListBox::addItemListener( const css::uno::Reference< css::awt::XItemListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXListBox::addItemListener( const css::uno::Reference< css::awt::XItemListener > & l ) { SolarMutexGuard aGuard; maItemListeners.addInterface( l ); } -void VCLXListBox::removeItemListener( const css::uno::Reference< css::awt::XItemListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXListBox::removeItemListener( const css::uno::Reference< css::awt::XItemListener > & l ) { SolarMutexGuard aGuard; maItemListeners.removeInterface( l ); } -void VCLXListBox::addActionListener( const css::uno::Reference< css::awt::XActionListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXListBox::addActionListener( const css::uno::Reference< css::awt::XActionListener > & l ) { SolarMutexGuard aGuard; maActionListeners.addInterface( l ); } -void VCLXListBox::removeActionListener( const css::uno::Reference< css::awt::XActionListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXListBox::removeActionListener( const css::uno::Reference< css::awt::XActionListener > & l ) { SolarMutexGuard aGuard; maActionListeners.removeInterface( l ); } -void VCLXListBox::addItem( const OUString& aItem, sal_Int16 nPos ) throw(css::uno::RuntimeException, std::exception) +void VCLXListBox::addItem( const OUString& aItem, sal_Int16 nPos ) { SolarMutexGuard aGuard; VclPtr< ListBox > pBox = GetAs< ListBox >(); @@ -1547,7 +1547,7 @@ void VCLXListBox::addItem( const OUString& aItem, sal_Int16 nPos ) throw(css::un pBox->InsertEntry( aItem, nPos ); } -void VCLXListBox::addItems( const css::uno::Sequence< OUString>& aItems, sal_Int16 nPos ) throw(css::uno::RuntimeException, std::exception) +void VCLXListBox::addItems( const css::uno::Sequence< OUString>& aItems, sal_Int16 nPos ) { SolarMutexGuard aGuard; VclPtr< ListBox > pBox = GetAs< ListBox >(); @@ -1570,7 +1570,7 @@ void VCLXListBox::addItems( const css::uno::Sequence< OUString>& aItems, sal_Int } } -void VCLXListBox::removeItems( sal_Int16 nPos, sal_Int16 nCount ) throw(css::uno::RuntimeException, std::exception) +void VCLXListBox::removeItems( sal_Int16 nPos, sal_Int16 nCount ) { SolarMutexGuard aGuard; VclPtr< ListBox > pBox = GetAs< ListBox >(); @@ -1581,7 +1581,7 @@ void VCLXListBox::removeItems( sal_Int16 nPos, sal_Int16 nCount ) throw(css::uno } } -sal_Int16 VCLXListBox::getItemCount() throw(css::uno::RuntimeException, std::exception) +sal_Int16 VCLXListBox::getItemCount() { SolarMutexGuard aGuard; @@ -1589,7 +1589,7 @@ sal_Int16 VCLXListBox::getItemCount() throw(css::uno::RuntimeException, std::exc return pBox ? pBox->GetEntryCount() : 0; } -OUString VCLXListBox::getItem( sal_Int16 nPos ) throw(css::uno::RuntimeException, std::exception) +OUString VCLXListBox::getItem( sal_Int16 nPos ) { SolarMutexGuard aGuard; @@ -1600,7 +1600,7 @@ OUString VCLXListBox::getItem( sal_Int16 nPos ) throw(css::uno::RuntimeException return aItem; } -css::uno::Sequence< OUString> VCLXListBox::getItems() throw(css::uno::RuntimeException, std::exception) +css::uno::Sequence< OUString> VCLXListBox::getItems() { SolarMutexGuard aGuard; @@ -1619,14 +1619,14 @@ css::uno::Sequence< OUString> VCLXListBox::getItems() throw(css::uno::RuntimeExc return aSeq; } -sal_Int16 VCLXListBox::getSelectedItemPos() throw(css::uno::RuntimeException, std::exception) +sal_Int16 VCLXListBox::getSelectedItemPos() { SolarMutexGuard aGuard; VclPtr< ListBox > pBox = GetAs< ListBox >(); return pBox ? pBox->GetSelectEntryPos() : 0; } -css::uno::Sequence<sal_Int16> VCLXListBox::getSelectedItemsPos() throw(css::uno::RuntimeException, std::exception) +css::uno::Sequence<sal_Int16> VCLXListBox::getSelectedItemsPos() { SolarMutexGuard aGuard; @@ -1642,7 +1642,7 @@ css::uno::Sequence<sal_Int16> VCLXListBox::getSelectedItemsPos() throw(css::uno: return aSeq; } -OUString VCLXListBox::getSelectedItem() throw(css::uno::RuntimeException, std::exception) +OUString VCLXListBox::getSelectedItem() { SolarMutexGuard aGuard; @@ -1653,7 +1653,7 @@ OUString VCLXListBox::getSelectedItem() throw(css::uno::RuntimeException, std::e return aItem; } -css::uno::Sequence< OUString> VCLXListBox::getSelectedItems() throw(css::uno::RuntimeException, std::exception) +css::uno::Sequence< OUString> VCLXListBox::getSelectedItems() { SolarMutexGuard aGuard; @@ -1669,7 +1669,7 @@ css::uno::Sequence< OUString> VCLXListBox::getSelectedItems() throw(css::uno::Ru return aSeq; } -void VCLXListBox::selectItemPos( sal_Int16 nPos, sal_Bool bSelect ) throw(css::uno::RuntimeException, std::exception) +void VCLXListBox::selectItemPos( sal_Int16 nPos, sal_Bool bSelect ) { SolarMutexGuard aGuard; @@ -1688,7 +1688,7 @@ void VCLXListBox::selectItemPos( sal_Int16 nPos, sal_Bool bSelect ) throw(css::u } } -void VCLXListBox::selectItemsPos( const css::uno::Sequence<sal_Int16>& aPositions, sal_Bool bSelect ) throw(css::uno::RuntimeException, std::exception) +void VCLXListBox::selectItemsPos( const css::uno::Sequence<sal_Int16>& aPositions, sal_Bool bSelect ) { SolarMutexGuard aGuard; @@ -1719,7 +1719,7 @@ void VCLXListBox::selectItemsPos( const css::uno::Sequence<sal_Int16>& aPosition } } -void VCLXListBox::selectItem( const OUString& rItemText, sal_Bool bSelect ) throw(css::uno::RuntimeException, std::exception) +void VCLXListBox::selectItem( const OUString& rItemText, sal_Bool bSelect ) { SolarMutexGuard aGuard; @@ -1730,7 +1730,7 @@ void VCLXListBox::selectItem( const OUString& rItemText, sal_Bool bSelect ) thro } } -void VCLXListBox::setDropDownLineCount( sal_Int16 nLines ) throw(css::uno::RuntimeException, std::exception) +void VCLXListBox::setDropDownLineCount( sal_Int16 nLines ) { SolarMutexGuard aGuard; VclPtr< ListBox > pBox = GetAs< ListBox >(); @@ -1738,7 +1738,7 @@ void VCLXListBox::setDropDownLineCount( sal_Int16 nLines ) throw(css::uno::Runti pBox->SetDropDownLineCount( nLines ); } -sal_Int16 VCLXListBox::getDropDownLineCount() throw(css::uno::RuntimeException, std::exception) +sal_Int16 VCLXListBox::getDropDownLineCount() { SolarMutexGuard aGuard; @@ -1749,7 +1749,7 @@ sal_Int16 VCLXListBox::getDropDownLineCount() throw(css::uno::RuntimeException, return nLines; } -sal_Bool VCLXListBox::isMutipleMode() throw(css::uno::RuntimeException, std::exception) +sal_Bool VCLXListBox::isMutipleMode() { SolarMutexGuard aGuard; bool bMulti = false; @@ -1759,7 +1759,7 @@ sal_Bool VCLXListBox::isMutipleMode() throw(css::uno::RuntimeException, std::exc return bMulti; } -void VCLXListBox::setMultipleMode( sal_Bool bMulti ) throw(css::uno::RuntimeException, std::exception) +void VCLXListBox::setMultipleMode( sal_Bool bMulti ) { SolarMutexGuard aGuard; VclPtr< ListBox > pBox = GetAs< ListBox >(); @@ -1767,7 +1767,7 @@ void VCLXListBox::setMultipleMode( sal_Bool bMulti ) throw(css::uno::RuntimeExce pBox->EnableMultiSelection( bMulti ); } -void VCLXListBox::makeVisible( sal_Int16 nEntry ) throw(css::uno::RuntimeException, std::exception) +void VCLXListBox::makeVisible( sal_Int16 nEntry ) { SolarMutexGuard aGuard; VclPtr< ListBox > pBox = GetAs< ListBox >(); @@ -1830,7 +1830,7 @@ css::uno::Reference< css::accessibility::XAccessibleContext > VCLXListBox::Creat return getAccessibleFactory().createAccessibleContext( this ); } -void VCLXListBox::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void VCLXListBox::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; VclPtr< ListBox > pListBox = GetAs< ListBox >(); @@ -1906,7 +1906,7 @@ void VCLXListBox::setProperty( const OUString& PropertyName, const css::uno::Any } } -css::uno::Any VCLXListBox::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXListBox::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; css::uno::Any aProp; @@ -1959,7 +1959,7 @@ css::uno::Any VCLXListBox::getProperty( const OUString& PropertyName ) throw(css return aProp; } -css::awt::Size VCLXListBox::getMinimumSize( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXListBox::getMinimumSize( ) { SolarMutexGuard aGuard; Size aSz; @@ -1969,7 +1969,7 @@ css::awt::Size VCLXListBox::getMinimumSize( ) throw(css::uno::RuntimeException, return AWTSize(aSz); } -css::awt::Size VCLXListBox::getPreferredSize( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXListBox::getPreferredSize( ) { SolarMutexGuard aGuard; Size aSz; @@ -1983,7 +1983,7 @@ css::awt::Size VCLXListBox::getPreferredSize( ) throw(css::uno::RuntimeExceptio return AWTSize(aSz); } -css::awt::Size VCLXListBox::calcAdjustedSize( const css::awt::Size& rNewSize ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXListBox::calcAdjustedSize( const css::awt::Size& rNewSize ) { SolarMutexGuard aGuard; Size aSz = VCLSize(rNewSize); @@ -1993,7 +1993,7 @@ css::awt::Size VCLXListBox::calcAdjustedSize( const css::awt::Size& rNewSize ) t return AWTSize(aSz); } -css::awt::Size VCLXListBox::getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXListBox::getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) { SolarMutexGuard aGuard; Size aSz; @@ -2003,7 +2003,7 @@ css::awt::Size VCLXListBox::getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) return AWTSize(aSz); } -void VCLXListBox::getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) throw(css::uno::RuntimeException, std::exception) +void VCLXListBox::getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) { SolarMutexGuard aGuard; nCols = nLines = 0; @@ -2055,7 +2055,7 @@ namespace return Image(); } } -void SAL_CALL VCLXListBox::listItemInserted( const ItemListEvent& i_rEvent ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXListBox::listItemInserted( const ItemListEvent& i_rEvent ) { SolarMutexGuard aGuard; VclPtr< ListBox > pListBox = GetAs< ListBox >(); @@ -2069,7 +2069,7 @@ void SAL_CALL VCLXListBox::listItemInserted( const ItemListEvent& i_rEvent ) thr i_rEvent.ItemPosition ); } -void SAL_CALL VCLXListBox::listItemRemoved( const ItemListEvent& i_rEvent ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXListBox::listItemRemoved( const ItemListEvent& i_rEvent ) { SolarMutexGuard aGuard; VclPtr< ListBox > pListBox = GetAs< ListBox >(); @@ -2081,7 +2081,7 @@ void SAL_CALL VCLXListBox::listItemRemoved( const ItemListEvent& i_rEvent ) thro pListBox->RemoveEntry( i_rEvent.ItemPosition ); } -void SAL_CALL VCLXListBox::listItemModified( const ItemListEvent& i_rEvent ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXListBox::listItemModified( const ItemListEvent& i_rEvent ) { SolarMutexGuard aGuard; VclPtr< ListBox > pListBox = GetAs< ListBox >(); @@ -2099,7 +2099,7 @@ void SAL_CALL VCLXListBox::listItemModified( const ItemListEvent& i_rEvent ) thr pListBox->InsertEntry( sNewText, aNewImage, i_rEvent.ItemPosition ); } -void SAL_CALL VCLXListBox::allItemsRemoved( const EventObject& i_rEvent ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXListBox::allItemsRemoved( const EventObject& i_rEvent ) { SolarMutexGuard aGuard; @@ -2111,7 +2111,7 @@ void SAL_CALL VCLXListBox::allItemsRemoved( const EventObject& i_rEvent ) throw (void)i_rEvent; } -void SAL_CALL VCLXListBox::itemListChanged( const EventObject& i_rEvent ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXListBox::itemListChanged( const EventObject& i_rEvent ) { SolarMutexGuard aGuard; @@ -2145,7 +2145,7 @@ void SAL_CALL VCLXListBox::itemListChanged( const EventObject& i_rEvent ) throw } } -void SAL_CALL VCLXListBox::disposing( const EventObject& i_rEvent ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXListBox::disposing( const EventObject& i_rEvent ) { // just disambiguate VCLXWindow::disposing( i_rEvent ); @@ -2169,7 +2169,7 @@ VCLXMessageBox::~VCLXMessageBox() } // css::uno::XInterface -css::uno::Any VCLXMessageBox::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXMessageBox::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XMessageBox* >(this)) ); @@ -2182,7 +2182,7 @@ IMPL_XTYPEPROVIDER_START( VCLXMessageBox ) VCLXTopWindow::getTypes() IMPL_XTYPEPROVIDER_END -void VCLXMessageBox::setCaptionText( const OUString& rText ) throw(css::uno::RuntimeException, std::exception) +void VCLXMessageBox::setCaptionText( const OUString& rText ) { SolarMutexGuard aGuard; @@ -2191,7 +2191,7 @@ void VCLXMessageBox::setCaptionText( const OUString& rText ) throw(css::uno::Run pWindow->SetText( rText ); } -OUString VCLXMessageBox::getCaptionText() throw(css::uno::RuntimeException, std::exception) +OUString VCLXMessageBox::getCaptionText() { SolarMutexGuard aGuard; @@ -2202,7 +2202,7 @@ OUString VCLXMessageBox::getCaptionText() throw(css::uno::RuntimeException, std: return aText; } -void VCLXMessageBox::setMessageText( const OUString& rText ) throw(css::uno::RuntimeException, std::exception) +void VCLXMessageBox::setMessageText( const OUString& rText ) { SolarMutexGuard aGuard; VclPtr< MessBox > pBox = GetAs< MessBox >(); @@ -2210,7 +2210,7 @@ void VCLXMessageBox::setMessageText( const OUString& rText ) throw(css::uno::Run pBox->SetMessText( rText ); } -OUString VCLXMessageBox::getMessageText() throw(css::uno::RuntimeException, std::exception) +OUString VCLXMessageBox::getMessageText() { SolarMutexGuard aGuard; OUString aText; @@ -2220,14 +2220,14 @@ OUString VCLXMessageBox::getMessageText() throw(css::uno::RuntimeException, std: return aText; } -sal_Int16 VCLXMessageBox::execute() throw(css::uno::RuntimeException, std::exception) +sal_Int16 VCLXMessageBox::execute() { SolarMutexGuard aGuard; VclPtr< MessBox > pBox = GetAs< MessBox >(); return pBox ? pBox->Execute() : 0; } -css::awt::Size SAL_CALL VCLXMessageBox::getMinimumSize() throw(css::uno::RuntimeException, std::exception) +css::awt::Size SAL_CALL VCLXMessageBox::getMinimumSize() { SolarMutexGuard aGuard; return css::awt::Size( 250, 100 ); @@ -2252,7 +2252,7 @@ VCLXDialog::~VCLXDialog() } // css::uno::XInterface -css::uno::Any VCLXDialog::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXDialog::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XDialog2* >(this)), @@ -2267,7 +2267,7 @@ IMPL_XTYPEPROVIDER_START( VCLXDialog ) VCLXTopWindow::getTypes() IMPL_XTYPEPROVIDER_END -void SAL_CALL VCLXDialog::endDialog( ::sal_Int32 i_result ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXDialog::endDialog( ::sal_Int32 i_result ) { SolarMutexGuard aGuard; VclPtr<Dialog> pDialog = GetAsDynamic< Dialog >(); @@ -2275,7 +2275,7 @@ void SAL_CALL VCLXDialog::endDialog( ::sal_Int32 i_result ) throw (RuntimeExcept pDialog->EndDialog( i_result ); } -void SAL_CALL VCLXDialog::setHelpId( const OUString& rId ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXDialog::setHelpId( const OUString& rId ) { SolarMutexGuard aGuard; VclPtr< vcl::Window > pWindow = GetWindow(); @@ -2283,7 +2283,7 @@ void SAL_CALL VCLXDialog::setHelpId( const OUString& rId ) throw (RuntimeExcepti pWindow->SetHelpId( OUStringToOString( rId, RTL_TEXTENCODING_UTF8 ) ); } -void VCLXDialog::setTitle( const OUString& Title ) throw(css::uno::RuntimeException, std::exception) +void VCLXDialog::setTitle( const OUString& Title ) { SolarMutexGuard aGuard; VclPtr< vcl::Window > pWindow = GetWindow(); @@ -2291,7 +2291,7 @@ void VCLXDialog::setTitle( const OUString& Title ) throw(css::uno::RuntimeExcept pWindow->SetText( Title ); } -OUString VCLXDialog::getTitle() throw(css::uno::RuntimeException, std::exception) +OUString VCLXDialog::getTitle() { SolarMutexGuard aGuard; @@ -2302,7 +2302,7 @@ OUString VCLXDialog::getTitle() throw(css::uno::RuntimeException, std::exception return aTitle; } -sal_Int16 VCLXDialog::execute() throw(css::uno::RuntimeException, std::exception) +sal_Int16 VCLXDialog::execute() { SolarMutexGuard aGuard; @@ -2334,12 +2334,12 @@ sal_Int16 VCLXDialog::execute() throw(css::uno::RuntimeException, std::exception return nRet; } -void VCLXDialog::endExecute() throw(css::uno::RuntimeException, std::exception) +void VCLXDialog::endExecute() { endDialog(0); } -void SAL_CALL VCLXDialog::draw( sal_Int32 nX, sal_Int32 nY ) throw(css::uno::RuntimeException, std::exception) +void SAL_CALL VCLXDialog::draw( sal_Int32 nX, sal_Int32 nY ) { SolarMutexGuard aGuard; VclPtr< vcl::Window > pWindow = GetWindow(); @@ -2356,7 +2356,7 @@ void SAL_CALL VCLXDialog::draw( sal_Int32 nX, sal_Int32 nY ) throw(css::uno::Run } } -css::awt::DeviceInfo VCLXDialog::getInfo() throw(css::uno::RuntimeException, std::exception) +css::awt::DeviceInfo VCLXDialog::getInfo() { css::awt::DeviceInfo aInfo = VCLXDevice::getInfo(); @@ -2371,7 +2371,6 @@ css::awt::DeviceInfo VCLXDialog::getInfo() throw(css::uno::RuntimeException, std void SAL_CALL VCLXDialog::setProperty( const OUString& PropertyName, const css::uno::Any& Value ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; VclPtr< Dialog > pDialog = GetAs< Dialog >(); @@ -2446,7 +2445,7 @@ void VCLXMultiPage::ImplGetPropertyIds( std::vector< sal_uInt16 > &rIds ) VCLXMultiPage::~VCLXMultiPage() { } -void SAL_CALL VCLXMultiPage::dispose() throw(css::uno::RuntimeException, std::exception) +void SAL_CALL VCLXMultiPage::dispose() { SolarMutexGuard aGuard; @@ -2456,7 +2455,6 @@ void SAL_CALL VCLXMultiPage::dispose() throw(css::uno::RuntimeException, std::ex VCLXContainer::dispose(); } css::uno::Any SAL_CALL VCLXMultiPage::queryInterface(const css::uno::Type & rType ) -throw(css::uno::RuntimeException, std::exception) { uno::Any aRet = ::cppu::queryInterface( rType, static_cast< awt::XSimpleTabController*>( this ) ); @@ -2470,7 +2468,6 @@ IMPL_XTYPEPROVIDER_END // css::awt::XView void SAL_CALL VCLXMultiPage::draw( sal_Int32 nX, sal_Int32 nY ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; VclPtr< vcl::Window > pWindow = GetWindow(); @@ -2490,13 +2487,12 @@ throw(css::uno::RuntimeException, std::exception) // css::awt::XDevice, css::awt::DeviceInfo SAL_CALL VCLXMultiPage::getInfo() -throw(css::uno::RuntimeException, std::exception) { css::awt::DeviceInfo aInfo = VCLXDevice::getInfo(); return aInfo; } -uno::Any SAL_CALL VCLXMultiPage::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +uno::Any SAL_CALL VCLXMultiPage::getProperty( const OUString& PropertyName ) { SAL_INFO("toolkit", " **** VCLXMultiPage::getProperty " << PropertyName ); SolarMutexGuard aGuard; @@ -2519,7 +2515,6 @@ uno::Any SAL_CALL VCLXMultiPage::getProperty( const OUString& PropertyName ) thr void SAL_CALL VCLXMultiPage::setProperty( const OUString& PropertyName, const css::uno::Any& Value ) -throw(css::uno::RuntimeException, std::exception) { SAL_INFO("toolkit", " **** VCLXMultiPage::setProperty " << PropertyName ); SolarMutexGuard aGuard; @@ -2574,14 +2569,14 @@ throw(css::uno::RuntimeException, std::exception) } } -TabControl *VCLXMultiPage::getTabControl() const throw (uno::RuntimeException) +TabControl *VCLXMultiPage::getTabControl() const { VclPtr<TabControl> pTabControl = GetAsDynamic< TabControl >(); if ( pTabControl ) return pTabControl; throw uno::RuntimeException(); } -sal_Int32 SAL_CALL VCLXMultiPage::insertTab() throw (uno::RuntimeException, std::exception) +sal_Int32 SAL_CALL VCLXMultiPage::insertTab() { TabControl *pTabControl = getTabControl(); VclPtrInstance<TabPage> pTab( pTabControl ); @@ -2598,7 +2593,7 @@ sal_uInt16 VCLXMultiPage::insertTab( TabPage* pPage, OUString& sTitle ) return id; } -void SAL_CALL VCLXMultiPage::removeTab( sal_Int32 ID ) throw (uno::RuntimeException, lang::IndexOutOfBoundsException, std::exception) +void SAL_CALL VCLXMultiPage::removeTab( sal_Int32 ID ) { TabControl *pTabControl = getTabControl(); if ( pTabControl->GetTabPage( sal::static_int_cast< sal_uInt16 >( ID ) ) == nullptr ) @@ -2606,7 +2601,7 @@ void SAL_CALL VCLXMultiPage::removeTab( sal_Int32 ID ) throw (uno::RuntimeExcept pTabControl->RemovePage( sal::static_int_cast< sal_uInt16 >( ID ) ); } -void SAL_CALL VCLXMultiPage::activateTab( sal_Int32 ID ) throw (uno::RuntimeException, lang::IndexOutOfBoundsException, std::exception) +void SAL_CALL VCLXMultiPage::activateTab( sal_Int32 ID ) { TabControl *pTabControl = getTabControl(); SAL_INFO( @@ -2618,24 +2613,24 @@ void SAL_CALL VCLXMultiPage::activateTab( sal_Int32 ID ) throw (uno::RuntimeExce pTabControl->SelectTabPage( sal::static_int_cast< sal_uInt16 >( ID ) ); } -sal_Int32 SAL_CALL VCLXMultiPage::getActiveTabID() throw (uno::RuntimeException, std::exception) +sal_Int32 SAL_CALL VCLXMultiPage::getActiveTabID() { return getTabControl()->GetCurPageId( ); } -void SAL_CALL VCLXMultiPage::addTabListener( const uno::Reference< awt::XTabListener >& xListener ) throw (uno::RuntimeException, std::exception) +void SAL_CALL VCLXMultiPage::addTabListener( const uno::Reference< awt::XTabListener >& xListener ) { SolarMutexGuard aGuard; maTabListeners.addInterface( xListener ); } -void SAL_CALL VCLXMultiPage::removeTabListener( const uno::Reference< awt::XTabListener >& xListener ) throw (uno::RuntimeException, std::exception) +void SAL_CALL VCLXMultiPage::removeTabListener( const uno::Reference< awt::XTabListener >& xListener ) { SolarMutexGuard aGuard; maTabListeners.addInterface( xListener ); } -void SAL_CALL VCLXMultiPage::setTabProps( sal_Int32 ID, const uno::Sequence< beans::NamedValue >& Properties ) throw (uno::RuntimeException, lang::IndexOutOfBoundsException, std::exception) +void SAL_CALL VCLXMultiPage::setTabProps( sal_Int32 ID, const uno::Sequence< beans::NamedValue >& Properties ) { SolarMutexGuard aGuard; TabControl *pTabControl = getTabControl(); @@ -2656,7 +2651,6 @@ void SAL_CALL VCLXMultiPage::setTabProps( sal_Int32 ID, const uno::Sequence< bea } uno::Sequence< beans::NamedValue > SAL_CALL VCLXMultiPage::getTabProps( sal_Int32 ID ) - throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; TabControl *pTabControl = getTabControl(); @@ -2733,7 +2727,6 @@ IMPL_XTYPEPROVIDER_END // css::awt::XView void SAL_CALL VCLXTabPage::draw( sal_Int32 nX, sal_Int32 nY ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; VclPtr< vcl::Window > pWindow = GetWindow(); @@ -2753,7 +2746,6 @@ throw(css::uno::RuntimeException, std::exception) // css::awt::XDevice, css::awt::DeviceInfo SAL_CALL VCLXTabPage::getInfo() -throw(css::uno::RuntimeException, std::exception) { css::awt::DeviceInfo aInfo = VCLXDevice::getInfo(); return aInfo; @@ -2762,7 +2754,6 @@ throw(css::uno::RuntimeException, std::exception) void SAL_CALL VCLXTabPage::setProperty( const OUString& PropertyName, const css::uno::Any& Value ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; VclPtr< TabPage > pTabPage = GetAs< TabPage >(); @@ -2813,7 +2804,7 @@ throw(css::uno::RuntimeException, std::exception) } } -TabPage *VCLXTabPage::getTabPage() const throw (uno::RuntimeException) +TabPage *VCLXTabPage::getTabPage() const { VclPtr< TabPage > pTabPage = GetAsDynamic< TabPage >(); if ( pTabPage ) @@ -2837,14 +2828,14 @@ VCLXFixedHyperlink::~VCLXFixedHyperlink() } // css::uno::XInterface -css::uno::Any VCLXFixedHyperlink::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXFixedHyperlink::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XFixedHyperlink* >(this)) ); return (aRet.hasValue() ? aRet : VCLXWindow::queryInterface( rType )); } -void VCLXFixedHyperlink::dispose() throw(css::uno::RuntimeException, std::exception) +void VCLXFixedHyperlink::dispose() { SolarMutexGuard aGuard; @@ -2907,7 +2898,7 @@ css::uno::Reference< css::accessibility::XAccessibleContext > VCLXFixedHyperlink return getAccessibleFactory().createAccessibleContext( this ); } -void VCLXFixedHyperlink::setText( const OUString& Text ) throw(css::uno::RuntimeException, std::exception) +void VCLXFixedHyperlink::setText( const OUString& Text ) { SolarMutexGuard aGuard; VclPtr< FixedHyperlink > pBase = GetAs< FixedHyperlink >(); @@ -2915,7 +2906,7 @@ void VCLXFixedHyperlink::setText( const OUString& Text ) throw(css::uno::Runtime pBase->SetText(Text); } -OUString VCLXFixedHyperlink::getText() throw(css::uno::RuntimeException, std::exception) +OUString VCLXFixedHyperlink::getText() { SolarMutexGuard aGuard; @@ -2926,7 +2917,7 @@ OUString VCLXFixedHyperlink::getText() throw(css::uno::RuntimeException, std::ex return aText; } -void VCLXFixedHyperlink::setURL( const OUString& URL ) throw(css::uno::RuntimeException, std::exception) +void VCLXFixedHyperlink::setURL( const OUString& URL ) { SolarMutexGuard aGuard; VclPtr< FixedHyperlink > pBase = GetAs< FixedHyperlink >(); @@ -2934,7 +2925,7 @@ void VCLXFixedHyperlink::setURL( const OUString& URL ) throw(css::uno::RuntimeEx pBase->SetURL( URL ); } -OUString VCLXFixedHyperlink::getURL( ) throw(css::uno::RuntimeException, std::exception) +OUString VCLXFixedHyperlink::getURL( ) { SolarMutexGuard aGuard; @@ -2945,7 +2936,7 @@ OUString VCLXFixedHyperlink::getURL( ) throw(css::uno::RuntimeException, std::e return aText; } -void VCLXFixedHyperlink::setAlignment( short nAlign ) throw(css::uno::RuntimeException, std::exception) +void VCLXFixedHyperlink::setAlignment( short nAlign ) { SolarMutexGuard aGuard; @@ -2966,7 +2957,7 @@ void VCLXFixedHyperlink::setAlignment( short nAlign ) throw(css::uno::RuntimeExc } } -short VCLXFixedHyperlink::getAlignment() throw(css::uno::RuntimeException, std::exception) +short VCLXFixedHyperlink::getAlignment() { SolarMutexGuard aGuard; @@ -2985,19 +2976,19 @@ short VCLXFixedHyperlink::getAlignment() throw(css::uno::RuntimeException, std:: return nAlign; } -void VCLXFixedHyperlink::addActionListener( const css::uno::Reference< css::awt::XActionListener > & l )throw(css::uno::RuntimeException, std::exception) +void VCLXFixedHyperlink::addActionListener( const css::uno::Reference< css::awt::XActionListener > & l ) { SolarMutexGuard aGuard; maActionListeners.addInterface( l ); } -void VCLXFixedHyperlink::removeActionListener( const css::uno::Reference< css::awt::XActionListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXFixedHyperlink::removeActionListener( const css::uno::Reference< css::awt::XActionListener > & l ) { SolarMutexGuard aGuard; maActionListeners.removeInterface( l ); } -css::awt::Size VCLXFixedHyperlink::getMinimumSize( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXFixedHyperlink::getMinimumSize( ) { SolarMutexGuard aGuard; Size aSz; @@ -3007,12 +2998,12 @@ css::awt::Size VCLXFixedHyperlink::getMinimumSize( ) throw(css::uno::RuntimeExc return AWTSize(aSz); } -css::awt::Size VCLXFixedHyperlink::getPreferredSize( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXFixedHyperlink::getPreferredSize( ) { return getMinimumSize(); } -css::awt::Size VCLXFixedHyperlink::calcAdjustedSize( const css::awt::Size& rNewSize ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXFixedHyperlink::calcAdjustedSize( const css::awt::Size& rNewSize ) { SolarMutexGuard aGuard; @@ -3024,7 +3015,7 @@ css::awt::Size VCLXFixedHyperlink::calcAdjustedSize( const css::awt::Size& rNewS return aSz; } -void VCLXFixedHyperlink::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void VCLXFixedHyperlink::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -3058,7 +3049,7 @@ void VCLXFixedHyperlink::setProperty( const OUString& PropertyName, const css::u } } -css::uno::Any VCLXFixedHyperlink::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXFixedHyperlink::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -3148,7 +3139,7 @@ VCLXFixedText::~VCLXFixedText() } // css::uno::XInterface -css::uno::Any VCLXFixedText::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXFixedText::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XFixedText* >(this)) ); @@ -3166,7 +3157,7 @@ css::uno::Reference< css::accessibility::XAccessibleContext > VCLXFixedText::Cre return getAccessibleFactory().createAccessibleContext( this ); } -void VCLXFixedText::setText( const OUString& Text ) throw(css::uno::RuntimeException, std::exception) +void VCLXFixedText::setText( const OUString& Text ) { SolarMutexGuard aGuard; @@ -3175,7 +3166,7 @@ void VCLXFixedText::setText( const OUString& Text ) throw(css::uno::RuntimeExcep pWindow->SetText( Text ); } -OUString VCLXFixedText::getText() throw(css::uno::RuntimeException, std::exception) +OUString VCLXFixedText::getText() { SolarMutexGuard aGuard; @@ -3186,7 +3177,7 @@ OUString VCLXFixedText::getText() throw(css::uno::RuntimeException, std::excepti return aText; } -void VCLXFixedText::setAlignment( short nAlign ) throw(css::uno::RuntimeException, std::exception) +void VCLXFixedText::setAlignment( short nAlign ) { SolarMutexGuard aGuard; @@ -3207,7 +3198,7 @@ void VCLXFixedText::setAlignment( short nAlign ) throw(css::uno::RuntimeExceptio } } -short VCLXFixedText::getAlignment() throw(css::uno::RuntimeException, std::exception) +short VCLXFixedText::getAlignment() { SolarMutexGuard aGuard; @@ -3226,7 +3217,7 @@ short VCLXFixedText::getAlignment() throw(css::uno::RuntimeException, std::excep return nAlign; } -css::awt::Size VCLXFixedText::getMinimumSize( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXFixedText::getMinimumSize( ) { SolarMutexGuard aGuard; @@ -3237,12 +3228,12 @@ css::awt::Size VCLXFixedText::getMinimumSize( ) throw(css::uno::RuntimeExceptio return AWTSize(aSz); } -css::awt::Size VCLXFixedText::getPreferredSize( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXFixedText::getPreferredSize( ) { return getMinimumSize(); } -css::awt::Size VCLXFixedText::calcAdjustedSize( const css::awt::Size& rMaxSize ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXFixedText::calcAdjustedSize( const css::awt::Size& rMaxSize ) { SolarMutexGuard aGuard; @@ -3290,7 +3281,7 @@ VCLXScrollBar::VCLXScrollBar() : maAdjustmentListeners( *this ) } // css::uno::XInterface -css::uno::Any VCLXScrollBar::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXScrollBar::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XScrollBar* >(this)) ); @@ -3309,7 +3300,7 @@ css::uno::Reference< css::accessibility::XAccessibleContext > VCLXScrollBar::Cre } // css::lang::XComponent -void VCLXScrollBar::dispose() throw(css::uno::RuntimeException, std::exception) +void VCLXScrollBar::dispose() { SolarMutexGuard aGuard; @@ -3320,19 +3311,19 @@ void VCLXScrollBar::dispose() throw(css::uno::RuntimeException, std::exception) } // css::awt::XScrollbar -void VCLXScrollBar::addAdjustmentListener( const css::uno::Reference< css::awt::XAdjustmentListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXScrollBar::addAdjustmentListener( const css::uno::Reference< css::awt::XAdjustmentListener > & l ) { SolarMutexGuard aGuard; maAdjustmentListeners.addInterface( l ); } -void VCLXScrollBar::removeAdjustmentListener( const css::uno::Reference< css::awt::XAdjustmentListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXScrollBar::removeAdjustmentListener( const css::uno::Reference< css::awt::XAdjustmentListener > & l ) { SolarMutexGuard aGuard; maAdjustmentListeners.removeInterface( l ); } -void VCLXScrollBar::setValue( sal_Int32 n ) throw(css::uno::RuntimeException, std::exception) +void VCLXScrollBar::setValue( sal_Int32 n ) { SolarMutexGuard aGuard; @@ -3341,7 +3332,7 @@ void VCLXScrollBar::setValue( sal_Int32 n ) throw(css::uno::RuntimeException, st pScrollBar->DoScroll( n ); } -void VCLXScrollBar::setValues( sal_Int32 nValue, sal_Int32 nVisible, sal_Int32 nMax ) throw(css::uno::RuntimeException, std::exception) +void VCLXScrollBar::setValues( sal_Int32 nValue, sal_Int32 nVisible, sal_Int32 nMax ) { SolarMutexGuard aGuard; @@ -3354,7 +3345,7 @@ void VCLXScrollBar::setValues( sal_Int32 nValue, sal_Int32 nVisible, sal_Int32 n } } -sal_Int32 VCLXScrollBar::getValue() throw(css::uno::RuntimeException, std::exception) +sal_Int32 VCLXScrollBar::getValue() { SolarMutexGuard aGuard; @@ -3362,7 +3353,7 @@ sal_Int32 VCLXScrollBar::getValue() throw(css::uno::RuntimeException, std::excep return pScrollBar ? pScrollBar->GetThumbPos() : 0; } -void VCLXScrollBar::setMaximum( sal_Int32 n ) throw(css::uno::RuntimeException, std::exception) +void VCLXScrollBar::setMaximum( sal_Int32 n ) { SolarMutexGuard aGuard; @@ -3371,7 +3362,7 @@ void VCLXScrollBar::setMaximum( sal_Int32 n ) throw(css::uno::RuntimeException, pScrollBar->SetRangeMax( n ); } -sal_Int32 VCLXScrollBar::getMaximum() throw(css::uno::RuntimeException, std::exception) +sal_Int32 VCLXScrollBar::getMaximum() { SolarMutexGuard aGuard; @@ -3379,7 +3370,7 @@ sal_Int32 VCLXScrollBar::getMaximum() throw(css::uno::RuntimeException, std::exc return pScrollBar ? pScrollBar->GetRangeMax() : 0; } -void VCLXScrollBar::setMinimum( sal_Int32 n ) throw(css::uno::RuntimeException) +void VCLXScrollBar::setMinimum( sal_Int32 n ) { SolarMutexGuard aGuard; @@ -3388,7 +3379,7 @@ void VCLXScrollBar::setMinimum( sal_Int32 n ) throw(css::uno::RuntimeException) pScrollBar->SetRangeMin( n ); } -sal_Int32 VCLXScrollBar::getMinimum() throw(css::uno::RuntimeException) +sal_Int32 VCLXScrollBar::getMinimum() { SolarMutexGuard aGuard; @@ -3396,7 +3387,7 @@ sal_Int32 VCLXScrollBar::getMinimum() throw(css::uno::RuntimeException) return pScrollBar ? pScrollBar->GetRangeMin() : 0; } -void VCLXScrollBar::setLineIncrement( sal_Int32 n ) throw(css::uno::RuntimeException, std::exception) +void VCLXScrollBar::setLineIncrement( sal_Int32 n ) { SolarMutexGuard aGuard; @@ -3405,7 +3396,7 @@ void VCLXScrollBar::setLineIncrement( sal_Int32 n ) throw(css::uno::RuntimeExcep pScrollBar->SetLineSize( n ); } -sal_Int32 VCLXScrollBar::getLineIncrement() throw(css::uno::RuntimeException, std::exception) +sal_Int32 VCLXScrollBar::getLineIncrement() { SolarMutexGuard aGuard; @@ -3413,7 +3404,7 @@ sal_Int32 VCLXScrollBar::getLineIncrement() throw(css::uno::RuntimeException, st return pScrollBar ? pScrollBar->GetLineSize() : 0; } -void VCLXScrollBar::setBlockIncrement( sal_Int32 n ) throw(css::uno::RuntimeException, std::exception) +void VCLXScrollBar::setBlockIncrement( sal_Int32 n ) { SolarMutexGuard aGuard; @@ -3422,7 +3413,7 @@ void VCLXScrollBar::setBlockIncrement( sal_Int32 n ) throw(css::uno::RuntimeExce pScrollBar->SetPageSize( n ); } -sal_Int32 VCLXScrollBar::getBlockIncrement() throw(css::uno::RuntimeException, std::exception) +sal_Int32 VCLXScrollBar::getBlockIncrement() { SolarMutexGuard aGuard; @@ -3430,7 +3421,7 @@ sal_Int32 VCLXScrollBar::getBlockIncrement() throw(css::uno::RuntimeException, s return pScrollBar ? pScrollBar->GetPageSize() : 0; } -void VCLXScrollBar::setVisibleSize( sal_Int32 n ) throw(css::uno::RuntimeException, std::exception) +void VCLXScrollBar::setVisibleSize( sal_Int32 n ) { SolarMutexGuard aGuard; @@ -3439,7 +3430,7 @@ void VCLXScrollBar::setVisibleSize( sal_Int32 n ) throw(css::uno::RuntimeExcepti pScrollBar->SetVisibleSize( n ); } -sal_Int32 VCLXScrollBar::getVisibleSize() throw(css::uno::RuntimeException, std::exception) +sal_Int32 VCLXScrollBar::getVisibleSize() { SolarMutexGuard aGuard; @@ -3447,7 +3438,7 @@ sal_Int32 VCLXScrollBar::getVisibleSize() throw(css::uno::RuntimeException, std: return pScrollBar ? pScrollBar->GetVisibleSize() : 0; } -void VCLXScrollBar::setOrientation( sal_Int32 n ) throw(css::uno::RuntimeException, std::exception) +void VCLXScrollBar::setOrientation( sal_Int32 n ) { SolarMutexGuard aGuard; @@ -3466,7 +3457,7 @@ void VCLXScrollBar::setOrientation( sal_Int32 n ) throw(css::uno::RuntimeExcepti } } -sal_Int32 VCLXScrollBar::getOrientation() throw(css::uno::RuntimeException, std::exception) +sal_Int32 VCLXScrollBar::getOrientation() { SolarMutexGuard aGuard; @@ -3485,7 +3476,7 @@ sal_Int32 VCLXScrollBar::getOrientation() throw(css::uno::RuntimeException, std: } // css::awt::VclWindowPeer -void VCLXScrollBar::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void VCLXScrollBar::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -3600,7 +3591,7 @@ void VCLXScrollBar::setProperty( const OUString& PropertyName, const css::uno::A } } -css::uno::Any VCLXScrollBar::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXScrollBar::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -3717,13 +3708,13 @@ void VCLXScrollBar::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) } } -css::awt::Size SAL_CALL VCLXScrollBar::implGetMinimumSize( vcl::Window* p ) throw(css::uno::RuntimeException) +css::awt::Size SAL_CALL VCLXScrollBar::implGetMinimumSize( vcl::Window* p ) { long n = p->GetSettings().GetStyleSettings().GetScrollBarSize(); return css::awt::Size( n, n ); } -css::awt::Size SAL_CALL VCLXScrollBar::getMinimumSize() throw(css::uno::RuntimeException, std::exception) +css::awt::Size SAL_CALL VCLXScrollBar::getMinimumSize() { SolarMutexGuard aGuard; return implGetMinimumSize( GetWindow() ); @@ -3773,7 +3764,7 @@ VCLXEdit::VCLXEdit() : maTextListeners( *this ) } // css::uno::XInterface -css::uno::Any VCLXEdit::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXEdit::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XTextComponent* >(this)), @@ -3795,7 +3786,7 @@ css::uno::Reference< css::accessibility::XAccessibleContext > VCLXEdit::CreateAc return getAccessibleFactory().createAccessibleContext( this ); } -void VCLXEdit::dispose() throw(css::uno::RuntimeException, std::exception) +void VCLXEdit::dispose() { SolarMutexGuard aGuard; @@ -3805,19 +3796,19 @@ void VCLXEdit::dispose() throw(css::uno::RuntimeException, std::exception) VCLXWindow::dispose(); } -void VCLXEdit::addTextListener( const css::uno::Reference< css::awt::XTextListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXEdit::addTextListener( const css::uno::Reference< css::awt::XTextListener > & l ) { SolarMutexGuard aGuard; GetTextListeners().addInterface( l ); } -void VCLXEdit::removeTextListener( const css::uno::Reference< css::awt::XTextListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXEdit::removeTextListener( const css::uno::Reference< css::awt::XTextListener > & l ) { SolarMutexGuard aGuard; GetTextListeners().removeInterface( l ); } -void VCLXEdit::setText( const OUString& aText ) throw(css::uno::RuntimeException, std::exception) +void VCLXEdit::setText( const OUString& aText ) { SolarMutexGuard aGuard; @@ -3834,7 +3825,7 @@ void VCLXEdit::setText( const OUString& aText ) throw(css::uno::RuntimeException } } -void VCLXEdit::insertText( const css::awt::Selection& rSel, const OUString& aText ) throw(css::uno::RuntimeException, std::exception) +void VCLXEdit::insertText( const css::awt::Selection& rSel, const OUString& aText ) { SolarMutexGuard aGuard; @@ -3852,7 +3843,7 @@ void VCLXEdit::insertText( const css::awt::Selection& rSel, const OUString& aTex } } -OUString VCLXEdit::getText() throw(css::uno::RuntimeException, std::exception) +OUString VCLXEdit::getText() { SolarMutexGuard aGuard; @@ -3863,7 +3854,7 @@ OUString VCLXEdit::getText() throw(css::uno::RuntimeException, std::exception) return aText; } -OUString VCLXEdit::getSelectedText() throw(css::uno::RuntimeException, std::exception) +OUString VCLXEdit::getSelectedText() { SolarMutexGuard aGuard; @@ -3875,7 +3866,7 @@ OUString VCLXEdit::getSelectedText() throw(css::uno::RuntimeException, std::exce } -void VCLXEdit::setSelection( const css::awt::Selection& aSelection ) throw(css::uno::RuntimeException, std::exception) +void VCLXEdit::setSelection( const css::awt::Selection& aSelection ) { SolarMutexGuard aGuard; @@ -3884,7 +3875,7 @@ void VCLXEdit::setSelection( const css::awt::Selection& aSelection ) throw(css:: pEdit->SetSelection( Selection( aSelection.Min, aSelection.Max ) ); } -css::awt::Selection VCLXEdit::getSelection() throw(css::uno::RuntimeException, std::exception) +css::awt::Selection VCLXEdit::getSelection() { SolarMutexGuard aGuard; @@ -3895,7 +3886,7 @@ css::awt::Selection VCLXEdit::getSelection() throw(css::uno::RuntimeException, s return css::awt::Selection( aSel.Min(), aSel.Max() ); } -sal_Bool VCLXEdit::isEditable() throw(css::uno::RuntimeException, std::exception) +sal_Bool VCLXEdit::isEditable() { SolarMutexGuard aGuard; @@ -3903,7 +3894,7 @@ sal_Bool VCLXEdit::isEditable() throw(css::uno::RuntimeException, std::exception return pEdit && !pEdit->IsReadOnly() && pEdit->IsEnabled(); } -void VCLXEdit::setEditable( sal_Bool bEditable ) throw(css::uno::RuntimeException, std::exception) +void VCLXEdit::setEditable( sal_Bool bEditable ) { SolarMutexGuard aGuard; @@ -3913,7 +3904,7 @@ void VCLXEdit::setEditable( sal_Bool bEditable ) throw(css::uno::RuntimeExceptio } -void VCLXEdit::setMaxTextLen( sal_Int16 nLen ) throw(css::uno::RuntimeException, std::exception) +void VCLXEdit::setMaxTextLen( sal_Int16 nLen ) { SolarMutexGuard aGuard; @@ -3922,7 +3913,7 @@ void VCLXEdit::setMaxTextLen( sal_Int16 nLen ) throw(css::uno::RuntimeException, pEdit->SetMaxTextLen( nLen ); } -sal_Int16 VCLXEdit::getMaxTextLen() throw(css::uno::RuntimeException, std::exception) +sal_Int16 VCLXEdit::getMaxTextLen() { SolarMutexGuard aGuard; @@ -3930,7 +3921,7 @@ sal_Int16 VCLXEdit::getMaxTextLen() throw(css::uno::RuntimeException, std::excep return pEdit ? pEdit->GetMaxTextLen() : 0; } -void VCLXEdit::setEchoChar( sal_Unicode cEcho ) throw(css::uno::RuntimeException, std::exception) +void VCLXEdit::setEchoChar( sal_Unicode cEcho ) { SolarMutexGuard aGuard; @@ -3939,7 +3930,7 @@ void VCLXEdit::setEchoChar( sal_Unicode cEcho ) throw(css::uno::RuntimeException pEdit->SetEchoChar( cEcho ); } -void VCLXEdit::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void VCLXEdit::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -3984,7 +3975,7 @@ void VCLXEdit::setProperty( const OUString& PropertyName, const css::uno::Any& V } } -css::uno::Any VCLXEdit::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXEdit::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -4016,7 +4007,7 @@ css::uno::Any VCLXEdit::getProperty( const OUString& PropertyName ) throw(css::u return aProp; } -css::awt::Size VCLXEdit::getMinimumSize( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXEdit::getMinimumSize( ) { SolarMutexGuard aGuard; @@ -4027,7 +4018,7 @@ css::awt::Size VCLXEdit::getMinimumSize( ) throw(css::uno::RuntimeException, st return AWTSize(aSz); } -css::awt::Size VCLXEdit::getPreferredSize( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXEdit::getPreferredSize( ) { SolarMutexGuard aGuard; @@ -4041,7 +4032,7 @@ css::awt::Size VCLXEdit::getPreferredSize( ) throw(css::uno::RuntimeException, return AWTSize(aSz); } -css::awt::Size VCLXEdit::calcAdjustedSize( const css::awt::Size& rNewSize ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXEdit::calcAdjustedSize( const css::awt::Size& rNewSize ) { SolarMutexGuard aGuard; @@ -4053,7 +4044,7 @@ css::awt::Size VCLXEdit::calcAdjustedSize( const css::awt::Size& rNewSize ) thro return aSz; } -css::awt::Size VCLXEdit::getMinimumSize( sal_Int16 nCols, sal_Int16 ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXEdit::getMinimumSize( sal_Int16 nCols, sal_Int16 ) { SolarMutexGuard aGuard; @@ -4069,7 +4060,7 @@ css::awt::Size VCLXEdit::getMinimumSize( sal_Int16 nCols, sal_Int16 ) throw(css: return AWTSize(aSz); } -void VCLXEdit::getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) throw(css::uno::RuntimeException, std::exception) +void VCLXEdit::getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) { SolarMutexGuard aGuard; @@ -4161,7 +4152,7 @@ css::uno::Reference< css::accessibility::XAccessibleContext > VCLXComboBox::Crea return getAccessibleFactory().createAccessibleContext( this ); } -void VCLXComboBox::dispose() throw(css::uno::RuntimeException, std::exception) +void VCLXComboBox::dispose() { SolarMutexGuard aGuard; @@ -4173,31 +4164,31 @@ void VCLXComboBox::dispose() throw(css::uno::RuntimeException, std::exception) } -void VCLXComboBox::addItemListener( const css::uno::Reference< css::awt::XItemListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXComboBox::addItemListener( const css::uno::Reference< css::awt::XItemListener > & l ) { SolarMutexGuard aGuard; maItemListeners.addInterface( l ); } -void VCLXComboBox::removeItemListener( const css::uno::Reference< css::awt::XItemListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXComboBox::removeItemListener( const css::uno::Reference< css::awt::XItemListener > & l ) { SolarMutexGuard aGuard; maItemListeners.removeInterface( l ); } -void VCLXComboBox::addActionListener( const css::uno::Reference< css::awt::XActionListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXComboBox::addActionListener( const css::uno::Reference< css::awt::XActionListener > & l ) { SolarMutexGuard aGuard; maActionListeners.addInterface( l ); } -void VCLXComboBox::removeActionListener( const css::uno::Reference< css::awt::XActionListener > & l ) throw(css::uno::RuntimeException, std::exception) +void VCLXComboBox::removeActionListener( const css::uno::Reference< css::awt::XActionListener > & l ) { SolarMutexGuard aGuard; maActionListeners.removeInterface( l ); } -void VCLXComboBox::addItem( const OUString& aItem, sal_Int16 nPos ) throw(css::uno::RuntimeException, std::exception) +void VCLXComboBox::addItem( const OUString& aItem, sal_Int16 nPos ) { SolarMutexGuard aGuard; @@ -4206,7 +4197,7 @@ void VCLXComboBox::addItem( const OUString& aItem, sal_Int16 nPos ) throw(css::u pBox->InsertEntry( aItem, nPos ); } -void VCLXComboBox::addItems( const css::uno::Sequence< OUString>& aItems, sal_Int16 nPos ) throw(css::uno::RuntimeException, std::exception) +void VCLXComboBox::addItems( const css::uno::Sequence< OUString>& aItems, sal_Int16 nPos ) { SolarMutexGuard aGuard; @@ -4227,7 +4218,7 @@ void VCLXComboBox::addItems( const css::uno::Sequence< OUString>& aItems, sal_In } } -void VCLXComboBox::removeItems( sal_Int16 nPos, sal_Int16 nCount ) throw(css::uno::RuntimeException, std::exception) +void VCLXComboBox::removeItems( sal_Int16 nPos, sal_Int16 nCount ) { SolarMutexGuard aGuard; @@ -4239,7 +4230,7 @@ void VCLXComboBox::removeItems( sal_Int16 nPos, sal_Int16 nCount ) throw(css::un } } -sal_Int16 VCLXComboBox::getItemCount() throw(css::uno::RuntimeException, std::exception) +sal_Int16 VCLXComboBox::getItemCount() { SolarMutexGuard aGuard; @@ -4247,7 +4238,7 @@ sal_Int16 VCLXComboBox::getItemCount() throw(css::uno::RuntimeException, std::ex return pBox ? pBox->GetEntryCount() : 0; } -OUString VCLXComboBox::getItem( sal_Int16 nPos ) throw(css::uno::RuntimeException, std::exception) +OUString VCLXComboBox::getItem( sal_Int16 nPos ) { SolarMutexGuard aGuard; @@ -4258,7 +4249,7 @@ OUString VCLXComboBox::getItem( sal_Int16 nPos ) throw(css::uno::RuntimeExceptio return aItem; } -css::uno::Sequence< OUString> VCLXComboBox::getItems() throw(css::uno::RuntimeException, std::exception) +css::uno::Sequence< OUString> VCLXComboBox::getItems() { SolarMutexGuard aGuard; @@ -4277,7 +4268,7 @@ css::uno::Sequence< OUString> VCLXComboBox::getItems() throw(css::uno::RuntimeEx return aSeq; } -void VCLXComboBox::setDropDownLineCount( sal_Int16 nLines ) throw(css::uno::RuntimeException, std::exception) +void VCLXComboBox::setDropDownLineCount( sal_Int16 nLines ) { SolarMutexGuard aGuard; @@ -4286,7 +4277,7 @@ void VCLXComboBox::setDropDownLineCount( sal_Int16 nLines ) throw(css::uno::Runt pBox->SetDropDownLineCount( nLines ); } -sal_Int16 VCLXComboBox::getDropDownLineCount() throw(css::uno::RuntimeException, std::exception) +sal_Int16 VCLXComboBox::getDropDownLineCount() { SolarMutexGuard aGuard; @@ -4297,7 +4288,7 @@ sal_Int16 VCLXComboBox::getDropDownLineCount() throw(css::uno::RuntimeException, return nLines; } -void VCLXComboBox::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void VCLXComboBox::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -4353,7 +4344,7 @@ void VCLXComboBox::setProperty( const OUString& PropertyName, const css::uno::An } } -css::uno::Any VCLXComboBox::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXComboBox::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -4440,7 +4431,7 @@ void VCLXComboBox::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) } } -css::awt::Size VCLXComboBox::getMinimumSize( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXComboBox::getMinimumSize( ) { SolarMutexGuard aGuard; @@ -4451,7 +4442,7 @@ css::awt::Size VCLXComboBox::getMinimumSize( ) throw(css::uno::RuntimeException return AWTSize(aSz); } -css::awt::Size VCLXComboBox::getPreferredSize( ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXComboBox::getPreferredSize( ) { SolarMutexGuard aGuard; @@ -4466,7 +4457,7 @@ css::awt::Size VCLXComboBox::getPreferredSize( ) throw(css::uno::RuntimeExcepti return AWTSize(aSz); } -css::awt::Size VCLXComboBox::calcAdjustedSize( const css::awt::Size& rNewSize ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXComboBox::calcAdjustedSize( const css::awt::Size& rNewSize ) { SolarMutexGuard aGuard; @@ -4477,7 +4468,7 @@ css::awt::Size VCLXComboBox::calcAdjustedSize( const css::awt::Size& rNewSize ) return AWTSize(aSz); } -css::awt::Size VCLXComboBox::getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) throw(css::uno::RuntimeException, std::exception) +css::awt::Size VCLXComboBox::getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) { SolarMutexGuard aGuard; @@ -4488,7 +4479,7 @@ css::awt::Size VCLXComboBox::getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) return AWTSize(aSz); } -void VCLXComboBox::getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) throw(css::uno::RuntimeException, std::exception) +void VCLXComboBox::getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) { SolarMutexGuard aGuard; @@ -4502,7 +4493,7 @@ void VCLXComboBox::getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) thr nLines = nL; } } -void SAL_CALL VCLXComboBox::listItemInserted( const ItemListEvent& i_rEvent ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXComboBox::listItemInserted( const ItemListEvent& i_rEvent ) { SolarMutexGuard aGuard; @@ -4517,7 +4508,7 @@ void SAL_CALL VCLXComboBox::listItemInserted( const ItemListEvent& i_rEvent ) th i_rEvent.ItemPosition ); } -void SAL_CALL VCLXComboBox::listItemRemoved( const ItemListEvent& i_rEvent ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXComboBox::listItemRemoved( const ItemListEvent& i_rEvent ) { SolarMutexGuard aGuard; @@ -4530,7 +4521,7 @@ void SAL_CALL VCLXComboBox::listItemRemoved( const ItemListEvent& i_rEvent ) thr pComboBox->RemoveEntryAt( i_rEvent.ItemPosition ); } -void SAL_CALL VCLXComboBox::listItemModified( const ItemListEvent& i_rEvent ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXComboBox::listItemModified( const ItemListEvent& i_rEvent ) { SolarMutexGuard aGuard; @@ -4549,7 +4540,7 @@ void SAL_CALL VCLXComboBox::listItemModified( const ItemListEvent& i_rEvent ) th pComboBox->InsertEntryWithImage(sNewText, aNewImage, i_rEvent.ItemPosition); } -void SAL_CALL VCLXComboBox::allItemsRemoved( const EventObject& i_rEvent ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXComboBox::allItemsRemoved( const EventObject& i_rEvent ) { SolarMutexGuard aGuard; @@ -4561,7 +4552,7 @@ void SAL_CALL VCLXComboBox::allItemsRemoved( const EventObject& i_rEvent ) throw (void)i_rEvent; } -void SAL_CALL VCLXComboBox::itemListChanged( const EventObject& i_rEvent ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXComboBox::itemListChanged( const EventObject& i_rEvent ) { SolarMutexGuard aGuard; @@ -4596,7 +4587,7 @@ void SAL_CALL VCLXComboBox::itemListChanged( const EventObject& i_rEvent ) throw lcl_getImageFromURL(aItems[i].Second)); } } -void SAL_CALL VCLXComboBox::disposing( const EventObject& i_rEvent ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXComboBox::disposing( const EventObject& i_rEvent ) { // just disambiguate VCLXEdit::disposing( i_rEvent ); @@ -4638,7 +4629,7 @@ bool VCLXFormattedSpinField::isStrictFormat() } -void VCLXFormattedSpinField::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void VCLXFormattedSpinField::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -4677,7 +4668,7 @@ void VCLXFormattedSpinField::setProperty( const OUString& PropertyName, const cs } } -css::uno::Any VCLXFormattedSpinField::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXFormattedSpinField::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -4768,7 +4759,7 @@ css::uno::Reference< css::accessibility::XAccessibleContext > VCLXDateField::Cre } // css::uno::XInterface -css::uno::Any VCLXDateField::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXDateField::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XDateField* >(this)) ); @@ -4781,7 +4772,7 @@ IMPL_XTYPEPROVIDER_START( VCLXDateField ) VCLXFormattedSpinField::getTypes() IMPL_XTYPEPROVIDER_END -void VCLXDateField::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void VCLXDateField::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -4850,7 +4841,7 @@ void VCLXDateField::setProperty( const OUString& PropertyName, const css::uno::A } } -css::uno::Any VCLXDateField::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXDateField::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -4896,7 +4887,7 @@ css::uno::Any VCLXDateField::getProperty( const OUString& PropertyName ) throw(c } -void VCLXDateField::setDate( const util::Date& aDate ) throw(css::uno::RuntimeException, std::exception) +void VCLXDateField::setDate( const util::Date& aDate ) { SolarMutexGuard aGuard; @@ -4913,7 +4904,7 @@ void VCLXDateField::setDate( const util::Date& aDate ) throw(css::uno::RuntimeEx } } -util::Date VCLXDateField::getDate() throw(css::uno::RuntimeException, std::exception) +util::Date VCLXDateField::getDate() { SolarMutexGuard aGuard; @@ -4924,7 +4915,7 @@ util::Date VCLXDateField::getDate() throw(css::uno::RuntimeException, std::excep return util::Date(); } -void VCLXDateField::setMin( const util::Date& aDate ) throw(css::uno::RuntimeException, std::exception) +void VCLXDateField::setMin( const util::Date& aDate ) { SolarMutexGuard aGuard; @@ -4933,7 +4924,7 @@ void VCLXDateField::setMin( const util::Date& aDate ) throw(css::uno::RuntimeExc pDateField->SetMin( aDate ); } -util::Date VCLXDateField::getMin() throw(css::uno::RuntimeException, std::exception) +util::Date VCLXDateField::getMin() { SolarMutexGuard aGuard; @@ -4944,7 +4935,7 @@ util::Date VCLXDateField::getMin() throw(css::uno::RuntimeException, std::except return util::Date(); } -void VCLXDateField::setMax( const util::Date& aDate ) throw(css::uno::RuntimeException, std::exception) +void VCLXDateField::setMax( const util::Date& aDate ) { SolarMutexGuard aGuard; @@ -4953,7 +4944,7 @@ void VCLXDateField::setMax( const util::Date& aDate ) throw(css::uno::RuntimeExc pDateField->SetMax( aDate ); } -util::Date VCLXDateField::getMax() throw(css::uno::RuntimeException, std::exception) +util::Date VCLXDateField::getMax() { SolarMutexGuard aGuard; @@ -4964,7 +4955,7 @@ util::Date VCLXDateField::getMax() throw(css::uno::RuntimeException, std::except return util::Date(); } -void VCLXDateField::setFirst( const util::Date& aDate ) throw(css::uno::RuntimeException, std::exception) +void VCLXDateField::setFirst( const util::Date& aDate ) { SolarMutexGuard aGuard; @@ -4973,7 +4964,7 @@ void VCLXDateField::setFirst( const util::Date& aDate ) throw(css::uno::RuntimeE pDateField->SetFirst( aDate ); } -util::Date VCLXDateField::getFirst() throw(css::uno::RuntimeException, std::exception) +util::Date VCLXDateField::getFirst() { SolarMutexGuard aGuard; @@ -4984,7 +4975,7 @@ util::Date VCLXDateField::getFirst() throw(css::uno::RuntimeException, std::exce return util::Date(); } -void VCLXDateField::setLast( const util::Date& aDate ) throw(css::uno::RuntimeException, std::exception) +void VCLXDateField::setLast( const util::Date& aDate ) { SolarMutexGuard aGuard; @@ -4993,7 +4984,7 @@ void VCLXDateField::setLast( const util::Date& aDate ) throw(css::uno::RuntimeEx pDateField->SetLast( aDate ); } -util::Date VCLXDateField::getLast() throw(css::uno::RuntimeException, std::exception) +util::Date VCLXDateField::getLast() { SolarMutexGuard aGuard; @@ -5004,7 +4995,7 @@ util::Date VCLXDateField::getLast() throw(css::uno::RuntimeException, std::excep return util::Date(); } -void VCLXDateField::setLongFormat( sal_Bool bLong ) throw(css::uno::RuntimeException, std::exception) +void VCLXDateField::setLongFormat( sal_Bool bLong ) { SolarMutexGuard aGuard; @@ -5013,7 +5004,7 @@ void VCLXDateField::setLongFormat( sal_Bool bLong ) throw(css::uno::RuntimeExcep pDateField->SetLongFormat( bLong ); } -sal_Bool VCLXDateField::isLongFormat() throw(css::uno::RuntimeException, std::exception) +sal_Bool VCLXDateField::isLongFormat() { SolarMutexGuard aGuard; @@ -5021,7 +5012,7 @@ sal_Bool VCLXDateField::isLongFormat() throw(css::uno::RuntimeException, std::ex return pDateField && pDateField->IsLongFormat(); } -void VCLXDateField::setEmpty() throw(css::uno::RuntimeException, std::exception) +void VCLXDateField::setEmpty() { SolarMutexGuard aGuard; @@ -5038,7 +5029,7 @@ void VCLXDateField::setEmpty() throw(css::uno::RuntimeException, std::exception) } } -sal_Bool VCLXDateField::isEmpty() throw(css::uno::RuntimeException, std::exception) +sal_Bool VCLXDateField::isEmpty() { SolarMutexGuard aGuard; @@ -5046,12 +5037,12 @@ sal_Bool VCLXDateField::isEmpty() throw(css::uno::RuntimeException, std::excepti return pDateField && pDateField->IsEmptyDate(); } -void VCLXDateField::setStrictFormat( sal_Bool bStrict ) throw(css::uno::RuntimeException, std::exception) +void VCLXDateField::setStrictFormat( sal_Bool bStrict ) { VCLXFormattedSpinField::setStrictFormat( bStrict ); } -sal_Bool VCLXDateField::isStrictFormat() throw(css::uno::RuntimeException, std::exception) +sal_Bool VCLXDateField::isStrictFormat() { return VCLXFormattedSpinField::isStrictFormat(); } @@ -5115,7 +5106,7 @@ css::uno::Reference< css::accessibility::XAccessibleContext > VCLXTimeField::Cre } // css::uno::XInterface -css::uno::Any VCLXTimeField::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXTimeField::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XTimeField* >(this)) ); @@ -5128,7 +5119,7 @@ IMPL_XTYPEPROVIDER_START( VCLXTimeField ) VCLXFormattedSpinField::getTypes() IMPL_XTYPEPROVIDER_END -void VCLXTimeField::setTime( const util::Time& aTime ) throw(css::uno::RuntimeException, std::exception) +void VCLXTimeField::setTime( const util::Time& aTime ) { SolarMutexGuard aGuard; @@ -5145,7 +5136,7 @@ void VCLXTimeField::setTime( const util::Time& aTime ) throw(css::uno::RuntimeEx } } -util::Time VCLXTimeField::getTime() throw(css::uno::RuntimeException, std::exception) +util::Time VCLXTimeField::getTime() { SolarMutexGuard aGuard; @@ -5156,7 +5147,7 @@ util::Time VCLXTimeField::getTime() throw(css::uno::RuntimeException, std::excep return util::Time(); } -void VCLXTimeField::setMin( const util::Time& aTime ) throw(css::uno::RuntimeException, std::exception) +void VCLXTimeField::setMin( const util::Time& aTime ) { SolarMutexGuard aGuard; @@ -5165,7 +5156,7 @@ void VCLXTimeField::setMin( const util::Time& aTime ) throw(css::uno::RuntimeExc pTimeField->SetMin( aTime ); } -util::Time VCLXTimeField::getMin() throw(css::uno::RuntimeException, std::exception) +util::Time VCLXTimeField::getMin() { SolarMutexGuard aGuard; @@ -5176,7 +5167,7 @@ util::Time VCLXTimeField::getMin() throw(css::uno::RuntimeException, std::except return util::Time(); } -void VCLXTimeField::setMax( const util::Time& aTime ) throw(css::uno::RuntimeException, std::exception) +void VCLXTimeField::setMax( const util::Time& aTime ) { SolarMutexGuard aGuard; @@ -5185,7 +5176,7 @@ void VCLXTimeField::setMax( const util::Time& aTime ) throw(css::uno::RuntimeExc pTimeField->SetMax( aTime ); } -util::Time VCLXTimeField::getMax() throw(css::uno::RuntimeException, std::exception) +util::Time VCLXTimeField::getMax() { SolarMutexGuard aGuard; @@ -5196,7 +5187,7 @@ util::Time VCLXTimeField::getMax() throw(css::uno::RuntimeException, std::except return util::Time(); } -void VCLXTimeField::setFirst( const util::Time& aTime ) throw(css::uno::RuntimeException, std::exception) +void VCLXTimeField::setFirst( const util::Time& aTime ) { SolarMutexGuard aGuard; @@ -5205,7 +5196,7 @@ void VCLXTimeField::setFirst( const util::Time& aTime ) throw(css::uno::RuntimeE pTimeField->SetFirst( aTime ); } -util::Time VCLXTimeField::getFirst() throw(css::uno::RuntimeException, std::exception) +util::Time VCLXTimeField::getFirst() { SolarMutexGuard aGuard; @@ -5216,7 +5207,7 @@ util::Time VCLXTimeField::getFirst() throw(css::uno::RuntimeException, std::exce return util::Time(); } -void VCLXTimeField::setLast( const util::Time& aTime ) throw(css::uno::RuntimeException, std::exception) +void VCLXTimeField::setLast( const util::Time& aTime ) { SolarMutexGuard aGuard; @@ -5225,7 +5216,7 @@ void VCLXTimeField::setLast( const util::Time& aTime ) throw(css::uno::RuntimeEx pTimeField->SetLast( aTime ); } -util::Time VCLXTimeField::getLast() throw(css::uno::RuntimeException, std::exception) +util::Time VCLXTimeField::getLast() { SolarMutexGuard aGuard; @@ -5236,7 +5227,7 @@ util::Time VCLXTimeField::getLast() throw(css::uno::RuntimeException, std::excep return util::Time(); } -void VCLXTimeField::setEmpty() throw(css::uno::RuntimeException, std::exception) +void VCLXTimeField::setEmpty() { SolarMutexGuard aGuard; @@ -5245,7 +5236,7 @@ void VCLXTimeField::setEmpty() throw(css::uno::RuntimeException, std::exception) pTimeField->SetEmptyTime(); } -sal_Bool VCLXTimeField::isEmpty() throw(css::uno::RuntimeException, std::exception) +sal_Bool VCLXTimeField::isEmpty() { SolarMutexGuard aGuard; @@ -5253,18 +5244,18 @@ sal_Bool VCLXTimeField::isEmpty() throw(css::uno::RuntimeException, std::excepti return pTimeField && pTimeField->IsEmptyTime(); } -void VCLXTimeField::setStrictFormat( sal_Bool bStrict ) throw(css::uno::RuntimeException, std::exception) +void VCLXTimeField::setStrictFormat( sal_Bool bStrict ) { VCLXFormattedSpinField::setStrictFormat( bStrict ); } -sal_Bool VCLXTimeField::isStrictFormat() throw(css::uno::RuntimeException, std::exception) +sal_Bool VCLXTimeField::isStrictFormat() { return VCLXFormattedSpinField::isStrictFormat(); } -void VCLXTimeField::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void VCLXTimeField::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -5326,7 +5317,7 @@ void VCLXTimeField::setProperty( const OUString& PropertyName, const css::uno::A } } -css::uno::Any VCLXTimeField::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXTimeField::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -5414,7 +5405,7 @@ VCLXNumericField::~VCLXNumericField() } // css::uno::XInterface -css::uno::Any VCLXNumericField::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXNumericField::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XNumericField* >(this)) ); @@ -5427,7 +5418,7 @@ IMPL_XTYPEPROVIDER_START( VCLXNumericField ) VCLXFormattedSpinField::getTypes() IMPL_XTYPEPROVIDER_END -void VCLXNumericField::setValue( double Value ) throw(css::uno::RuntimeException, std::exception) +void VCLXNumericField::setValue( double Value ) { SolarMutexGuard aGuard; @@ -5452,7 +5443,7 @@ void VCLXNumericField::setValue( double Value ) throw(css::uno::RuntimeException } } -double VCLXNumericField::getValue() throw(css::uno::RuntimeException, std::exception) +double VCLXNumericField::getValue() { SolarMutexGuard aGuard; @@ -5462,7 +5453,7 @@ double VCLXNumericField::getValue() throw(css::uno::RuntimeException, std::excep : 0; } -void VCLXNumericField::setMin( double Value ) throw(css::uno::RuntimeException, std::exception) +void VCLXNumericField::setMin( double Value ) { SolarMutexGuard aGuard; @@ -5472,7 +5463,7 @@ void VCLXNumericField::setMin( double Value ) throw(css::uno::RuntimeException, (long)ImplCalcLongValue( Value, pNumericFormatter->GetDecimalDigits() ) ); } -double VCLXNumericField::getMin() throw(css::uno::RuntimeException, std::exception) +double VCLXNumericField::getMin() { SolarMutexGuard aGuard; @@ -5482,7 +5473,7 @@ double VCLXNumericField::getMin() throw(css::uno::RuntimeException, std::excepti : 0; } -void VCLXNumericField::setMax( double Value ) throw(css::uno::RuntimeException, std::exception) +void VCLXNumericField::setMax( double Value ) { SolarMutexGuard aGuard; @@ -5492,7 +5483,7 @@ void VCLXNumericField::setMax( double Value ) throw(css::uno::RuntimeException, (long)ImplCalcLongValue( Value, pNumericFormatter->GetDecimalDigits() ) ); } -double VCLXNumericField::getMax() throw(css::uno::RuntimeException, std::exception) +double VCLXNumericField::getMax() { SolarMutexGuard aGuard; @@ -5502,7 +5493,7 @@ double VCLXNumericField::getMax() throw(css::uno::RuntimeException, std::excepti : 0; } -void VCLXNumericField::setFirst( double Value ) throw(css::uno::RuntimeException, std::exception) +void VCLXNumericField::setFirst( double Value ) { SolarMutexGuard aGuard; @@ -5512,7 +5503,7 @@ void VCLXNumericField::setFirst( double Value ) throw(css::uno::RuntimeException (long)ImplCalcLongValue( Value, pNumericField->GetDecimalDigits() ) ); } -double VCLXNumericField::getFirst() throw(css::uno::RuntimeException, std::exception) +double VCLXNumericField::getFirst() { SolarMutexGuard aGuard; @@ -5522,7 +5513,7 @@ double VCLXNumericField::getFirst() throw(css::uno::RuntimeException, std::excep : 0; } -void VCLXNumericField::setLast( double Value ) throw(css::uno::RuntimeException, std::exception) +void VCLXNumericField::setLast( double Value ) { SolarMutexGuard aGuard; @@ -5532,7 +5523,7 @@ void VCLXNumericField::setLast( double Value ) throw(css::uno::RuntimeException, (long)ImplCalcLongValue( Value, pNumericField->GetDecimalDigits() ) ); } -double VCLXNumericField::getLast() throw(css::uno::RuntimeException, std::exception) +double VCLXNumericField::getLast() { SolarMutexGuard aGuard; @@ -5542,18 +5533,18 @@ double VCLXNumericField::getLast() throw(css::uno::RuntimeException, std::except : 0; } -void VCLXNumericField::setStrictFormat( sal_Bool bStrict ) throw(css::uno::RuntimeException, std::exception) +void VCLXNumericField::setStrictFormat( sal_Bool bStrict ) { VCLXFormattedSpinField::setStrictFormat( bStrict ); } -sal_Bool VCLXNumericField::isStrictFormat() throw(css::uno::RuntimeException, std::exception) +sal_Bool VCLXNumericField::isStrictFormat() { return VCLXFormattedSpinField::isStrictFormat(); } -void VCLXNumericField::setSpinSize( double Value ) throw(css::uno::RuntimeException, std::exception) +void VCLXNumericField::setSpinSize( double Value ) { SolarMutexGuard aGuard; @@ -5563,7 +5554,7 @@ void VCLXNumericField::setSpinSize( double Value ) throw(css::uno::RuntimeExcept (long)ImplCalcLongValue( Value, pNumericField->GetDecimalDigits() ) ); } -double VCLXNumericField::getSpinSize() throw(css::uno::RuntimeException, std::exception) +double VCLXNumericField::getSpinSize() { SolarMutexGuard aGuard; @@ -5573,7 +5564,7 @@ double VCLXNumericField::getSpinSize() throw(css::uno::RuntimeException, std::ex : 0; } -void VCLXNumericField::setDecimalDigits( sal_Int16 Value ) throw(css::uno::RuntimeException, std::exception) +void VCLXNumericField::setDecimalDigits( sal_Int16 Value ) { SolarMutexGuard aGuard; @@ -5586,7 +5577,7 @@ void VCLXNumericField::setDecimalDigits( sal_Int16 Value ) throw(css::uno::Runti } } -sal_Int16 VCLXNumericField::getDecimalDigits() throw(css::uno::RuntimeException, std::exception) +sal_Int16 VCLXNumericField::getDecimalDigits() { SolarMutexGuard aGuard; @@ -5594,7 +5585,7 @@ sal_Int16 VCLXNumericField::getDecimalDigits() throw(css::uno::RuntimeException, return pNumericFormatter ? pNumericFormatter->GetDecimalDigits() : 0; } -void VCLXNumericField::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void VCLXNumericField::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -5663,7 +5654,7 @@ void VCLXNumericField::setProperty( const OUString& PropertyName, const css::uno } } -css::uno::Any VCLXNumericField::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXNumericField::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -5754,7 +5745,7 @@ VCLXMetricField::~VCLXMetricField() { } -MetricFormatter *VCLXMetricField::GetMetricFormatter() throw(css::uno::RuntimeException) +MetricFormatter *VCLXMetricField::GetMetricFormatter() { MetricFormatter *pFormatter = static_cast<MetricFormatter *>(GetFormatter()); if (!pFormatter) @@ -5762,7 +5753,7 @@ MetricFormatter *VCLXMetricField::GetMetricFormatter() throw(css::uno::RuntimeEx return pFormatter; } -MetricField *VCLXMetricField::GetMetricField() throw(css::uno::RuntimeException) +MetricField *VCLXMetricField::GetMetricField() { VclPtr< MetricField > pField = GetAs< MetricField >(); if (!pField) @@ -5771,7 +5762,7 @@ MetricField *VCLXMetricField::GetMetricField() throw(css::uno::RuntimeException) } // css::uno::XInterface -css::uno::Any VCLXMetricField::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXMetricField::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XMetricField* >(this)) ); @@ -5788,12 +5779,12 @@ IMPL_XTYPEPROVIDER_END #define MetricUnitUnoToVcl(a) ((FieldUnit)(a)) #define METRIC_MAP_PAIR(method,parent) \ - sal_Int64 VCLXMetricField::get##method( sal_Int16 nUnit ) throw (css::uno::RuntimeException, std::exception) \ + sal_Int64 VCLXMetricField::get##method( sal_Int16 nUnit ) \ { \ SolarMutexGuard aGuard; \ return GetMetric##parent()->Get##method( MetricUnitUnoToVcl( nUnit ) ); \ } \ - void VCLXMetricField::set##method( sal_Int64 nValue, sal_Int16 nUnit ) throw (css::uno::RuntimeException, std::exception) \ + void VCLXMetricField::set##method( sal_Int64 nValue, sal_Int16 nUnit ) \ { \ SolarMutexGuard aGuard; \ GetMetric##parent()->Set##method( nValue, MetricUnitUnoToVcl( nUnit ) ); \ @@ -5806,13 +5797,13 @@ METRIC_MAP_PAIR(Last, Field) #undef METRIC_MAP_PAIR -::sal_Int64 VCLXMetricField::getValue( ::sal_Int16 nUnit ) throw (css::uno::RuntimeException, std::exception) +::sal_Int64 VCLXMetricField::getValue( ::sal_Int16 nUnit ) { SolarMutexGuard aGuard; return GetMetricFormatter()->GetValue( MetricUnitUnoToVcl( nUnit ) ); } -::sal_Int64 VCLXMetricField::getCorrectedValue( ::sal_Int16 nUnit ) throw (css::uno::RuntimeException, std::exception) +::sal_Int64 VCLXMetricField::getCorrectedValue( ::sal_Int16 nUnit ) { SolarMutexGuard aGuard; return GetMetricFormatter()->GetCorrectedValue( MetricUnitUnoToVcl( nUnit ) ); @@ -5832,49 +5823,49 @@ void VCLXMetricField::CallListeners() } } -void VCLXMetricField::setValue( ::sal_Int64 Value, ::sal_Int16 Unit ) throw (css::uno::RuntimeException, std::exception) +void VCLXMetricField::setValue( ::sal_Int64 Value, ::sal_Int16 Unit ) { SolarMutexGuard aGuard; GetMetricFormatter()->SetValue( Value, MetricUnitUnoToVcl( Unit ) ); CallListeners(); } -void VCLXMetricField::setUserValue( ::sal_Int64 Value, ::sal_Int16 Unit ) throw (css::uno::RuntimeException, std::exception) +void VCLXMetricField::setUserValue( ::sal_Int64 Value, ::sal_Int16 Unit ) { SolarMutexGuard aGuard; GetMetricFormatter()->SetUserValue( Value, MetricUnitUnoToVcl( Unit ) ); CallListeners(); } -void VCLXMetricField::setStrictFormat( sal_Bool bStrict ) throw(css::uno::RuntimeException, std::exception) +void VCLXMetricField::setStrictFormat( sal_Bool bStrict ) { VCLXFormattedSpinField::setStrictFormat( bStrict ); } -sal_Bool VCLXMetricField::isStrictFormat() throw(css::uno::RuntimeException, std::exception) +sal_Bool VCLXMetricField::isStrictFormat() { return VCLXFormattedSpinField::isStrictFormat(); } -void VCLXMetricField::setSpinSize( sal_Int64 Value ) throw(css::uno::RuntimeException, std::exception) +void VCLXMetricField::setSpinSize( sal_Int64 Value ) { SolarMutexGuard aGuard; GetMetricField()->SetSpinSize( Value ); } -sal_Int64 VCLXMetricField::getSpinSize() throw(css::uno::RuntimeException, std::exception) +sal_Int64 VCLXMetricField::getSpinSize() { SolarMutexGuard aGuard; return GetMetricField()->GetSpinSize(); } -void VCLXMetricField::setDecimalDigits( sal_Int16 Value ) throw(css::uno::RuntimeException, std::exception) +void VCLXMetricField::setDecimalDigits( sal_Int16 Value ) { SolarMutexGuard aGuard; GetMetricFormatter()->SetDecimalDigits( Value ); } -sal_Int16 VCLXMetricField::getDecimalDigits() throw(css::uno::RuntimeException, std::exception) +sal_Int16 VCLXMetricField::getDecimalDigits() { SolarMutexGuard aGuard; @@ -5882,7 +5873,7 @@ sal_Int16 VCLXMetricField::getDecimalDigits() throw(css::uno::RuntimeException, return pNumericFormatter ? pNumericFormatter->GetDecimalDigits() : 0; } -void VCLXMetricField::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void VCLXMetricField::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -5928,7 +5919,7 @@ void VCLXMetricField::setProperty( const OUString& PropertyName, const css::uno: } } -css::uno::Any VCLXMetricField::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXMetricField::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -6009,7 +6000,7 @@ VCLXCurrencyField::~VCLXCurrencyField() } // css::uno::XInterface -css::uno::Any VCLXCurrencyField::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXCurrencyField::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XCurrencyField* >(this)) ); @@ -6022,7 +6013,7 @@ IMPL_XTYPEPROVIDER_START( VCLXCurrencyField ) VCLXFormattedSpinField::getTypes() IMPL_XTYPEPROVIDER_END -void VCLXCurrencyField::setValue( double Value ) throw(css::uno::RuntimeException, std::exception) +void VCLXCurrencyField::setValue( double Value ) { SolarMutexGuard aGuard; @@ -6047,7 +6038,7 @@ void VCLXCurrencyField::setValue( double Value ) throw(css::uno::RuntimeExceptio } } -double VCLXCurrencyField::getValue() throw(css::uno::RuntimeException, std::exception) +double VCLXCurrencyField::getValue() { SolarMutexGuard aGuard; @@ -6057,7 +6048,7 @@ double VCLXCurrencyField::getValue() throw(css::uno::RuntimeException, std::exce : 0; } -void VCLXCurrencyField::setMin( double Value ) throw(css::uno::RuntimeException, std::exception) +void VCLXCurrencyField::setMin( double Value ) { SolarMutexGuard aGuard; @@ -6067,7 +6058,7 @@ void VCLXCurrencyField::setMin( double Value ) throw(css::uno::RuntimeException, ImplCalcLongValue( Value, pCurrencyFormatter->GetDecimalDigits() ) ); } -double VCLXCurrencyField::getMin() throw(css::uno::RuntimeException, std::exception) +double VCLXCurrencyField::getMin() { SolarMutexGuard aGuard; @@ -6077,7 +6068,7 @@ double VCLXCurrencyField::getMin() throw(css::uno::RuntimeException, std::except : 0; } -void VCLXCurrencyField::setMax( double Value ) throw(css::uno::RuntimeException, std::exception) +void VCLXCurrencyField::setMax( double Value ) { SolarMutexGuard aGuard; @@ -6087,7 +6078,7 @@ void VCLXCurrencyField::setMax( double Value ) throw(css::uno::RuntimeException, ImplCalcLongValue( Value, pCurrencyFormatter->GetDecimalDigits() ) ); } -double VCLXCurrencyField::getMax() throw(css::uno::RuntimeException, std::exception) +double VCLXCurrencyField::getMax() { SolarMutexGuard aGuard; @@ -6097,7 +6088,7 @@ double VCLXCurrencyField::getMax() throw(css::uno::RuntimeException, std::except : 0; } -void VCLXCurrencyField::setFirst( double Value ) throw(css::uno::RuntimeException, std::exception) +void VCLXCurrencyField::setFirst( double Value ) { SolarMutexGuard aGuard; @@ -6107,7 +6098,7 @@ void VCLXCurrencyField::setFirst( double Value ) throw(css::uno::RuntimeExceptio ImplCalcLongValue( Value, pCurrencyField->GetDecimalDigits() ) ); } -double VCLXCurrencyField::getFirst() throw(css::uno::RuntimeException, std::exception) +double VCLXCurrencyField::getFirst() { SolarMutexGuard aGuard; @@ -6117,7 +6108,7 @@ double VCLXCurrencyField::getFirst() throw(css::uno::RuntimeException, std::exce : 0; } -void VCLXCurrencyField::setLast( double Value ) throw(css::uno::RuntimeException, std::exception) +void VCLXCurrencyField::setLast( double Value ) { SolarMutexGuard aGuard; @@ -6127,7 +6118,7 @@ void VCLXCurrencyField::setLast( double Value ) throw(css::uno::RuntimeException ImplCalcLongValue( Value, pCurrencyField->GetDecimalDigits() ) ); } -double VCLXCurrencyField::getLast() throw(css::uno::RuntimeException, std::exception) +double VCLXCurrencyField::getLast() { SolarMutexGuard aGuard; @@ -6137,7 +6128,7 @@ double VCLXCurrencyField::getLast() throw(css::uno::RuntimeException, std::excep : 0; } -void VCLXCurrencyField::setSpinSize( double Value ) throw(css::uno::RuntimeException, std::exception) +void VCLXCurrencyField::setSpinSize( double Value ) { SolarMutexGuard aGuard; @@ -6147,7 +6138,7 @@ void VCLXCurrencyField::setSpinSize( double Value ) throw(css::uno::RuntimeExcep ImplCalcLongValue( Value, pCurrencyField->GetDecimalDigits() ) ); } -double VCLXCurrencyField::getSpinSize() throw(css::uno::RuntimeException, std::exception) +double VCLXCurrencyField::getSpinSize() { SolarMutexGuard aGuard; @@ -6157,18 +6148,18 @@ double VCLXCurrencyField::getSpinSize() throw(css::uno::RuntimeException, std::e : 0; } -void VCLXCurrencyField::setStrictFormat( sal_Bool bStrict ) throw(css::uno::RuntimeException, std::exception) +void VCLXCurrencyField::setStrictFormat( sal_Bool bStrict ) { VCLXFormattedSpinField::setStrictFormat( bStrict ); } -sal_Bool VCLXCurrencyField::isStrictFormat() throw(css::uno::RuntimeException, std::exception) +sal_Bool VCLXCurrencyField::isStrictFormat() { return VCLXFormattedSpinField::isStrictFormat(); } -void VCLXCurrencyField::setDecimalDigits( sal_Int16 Value ) throw(css::uno::RuntimeException, std::exception) +void VCLXCurrencyField::setDecimalDigits( sal_Int16 Value ) { SolarMutexGuard aGuard; @@ -6181,7 +6172,7 @@ void VCLXCurrencyField::setDecimalDigits( sal_Int16 Value ) throw(css::uno::Runt } } -sal_Int16 VCLXCurrencyField::getDecimalDigits() throw(css::uno::RuntimeException, std::exception) +sal_Int16 VCLXCurrencyField::getDecimalDigits() { SolarMutexGuard aGuard; @@ -6189,7 +6180,7 @@ sal_Int16 VCLXCurrencyField::getDecimalDigits() throw(css::uno::RuntimeException return pCurrencyFormatter ? pCurrencyFormatter->GetDecimalDigits() : 0; } -void VCLXCurrencyField::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void VCLXCurrencyField::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -6265,7 +6256,7 @@ void VCLXCurrencyField::setProperty( const OUString& PropertyName, const css::un } } -css::uno::Any VCLXCurrencyField::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXCurrencyField::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -6358,7 +6349,7 @@ VCLXPatternField::~VCLXPatternField() } // css::uno::XInterface -css::uno::Any VCLXPatternField::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXPatternField::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XPatternField* >(this)) ); @@ -6371,7 +6362,7 @@ IMPL_XTYPEPROVIDER_START( VCLXPatternField ) VCLXFormattedSpinField::getTypes() IMPL_XTYPEPROVIDER_END -void VCLXPatternField::setMasks( const OUString& EditMask, const OUString& LiteralMask ) throw(css::uno::RuntimeException, std::exception) +void VCLXPatternField::setMasks( const OUString& EditMask, const OUString& LiteralMask ) { SolarMutexGuard aGuard; @@ -6382,7 +6373,7 @@ void VCLXPatternField::setMasks( const OUString& EditMask, const OUString& Liter } } -void VCLXPatternField::getMasks( OUString& EditMask, OUString& LiteralMask ) throw(css::uno::RuntimeException, std::exception) +void VCLXPatternField::getMasks( OUString& EditMask, OUString& LiteralMask ) { SolarMutexGuard aGuard; @@ -6394,7 +6385,7 @@ void VCLXPatternField::getMasks( OUString& EditMask, OUString& LiteralMask ) thr } } -void VCLXPatternField::setString( const OUString& Str ) throw(css::uno::RuntimeException, std::exception) +void VCLXPatternField::setString( const OUString& Str ) { SolarMutexGuard aGuard; VclPtr< PatternField > pPatternField = GetAs< PatternField >(); @@ -6402,7 +6393,7 @@ void VCLXPatternField::setString( const OUString& Str ) throw(css::uno::RuntimeE pPatternField->SetString( Str ); } -OUString VCLXPatternField::getString() throw(css::uno::RuntimeException, std::exception) +OUString VCLXPatternField::getString() { SolarMutexGuard aGuard; @@ -6413,17 +6404,17 @@ OUString VCLXPatternField::getString() throw(css::uno::RuntimeException, std::ex return aString; } -void VCLXPatternField::setStrictFormat( sal_Bool bStrict ) throw(css::uno::RuntimeException, std::exception) +void VCLXPatternField::setStrictFormat( sal_Bool bStrict ) { VCLXFormattedSpinField::setStrictFormat( bStrict ); } -sal_Bool VCLXPatternField::isStrictFormat() throw(css::uno::RuntimeException, std::exception) +sal_Bool VCLXPatternField::isStrictFormat() { return VCLXFormattedSpinField::isStrictFormat(); } -void VCLXPatternField::setProperty( const OUString& PropertyName, const css::uno::Any& Value) throw(css::uno::RuntimeException, std::exception) +void VCLXPatternField::setProperty( const OUString& PropertyName, const css::uno::Any& Value) { SolarMutexGuard aGuard; @@ -6456,7 +6447,7 @@ void VCLXPatternField::setProperty( const OUString& PropertyName, const css::uno } } -css::uno::Any VCLXPatternField::getProperty( const OUString& PropertyName ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXPatternField::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; @@ -6537,7 +6528,6 @@ IMPL_XTYPEPROVIDER_END // css::awt::XView void SAL_CALL VCLXFrame::draw( sal_Int32 nX, sal_Int32 nY ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; VclPtr< vcl::Window > pWindow = GetWindow(); @@ -6557,7 +6547,6 @@ throw(css::uno::RuntimeException, std::exception) // css::awt::XDevice, css::awt::DeviceInfo SAL_CALL VCLXFrame::getInfo() -throw(css::uno::RuntimeException, std::exception) { css::awt::DeviceInfo aInfo = VCLXDevice::getInfo(); return aInfo; @@ -6566,7 +6555,6 @@ throw(css::uno::RuntimeException, std::exception) void SAL_CALL VCLXFrame::setProperty( const OUString& PropertyName, const css::uno::Any& Value ) -throw(css::uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; |