summaryrefslogtreecommitdiff
path: root/toolkit/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-26 12:28:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-26 12:54:43 +0000
commite57ca02849c3d87142ff5ff9099a212e72b8139c (patch)
treebcce66b27261553c308779f3e8663a269ed3a671 /toolkit/source
parent8802ebd5172ec4bc412a59d136c82b77ab452281 (diff)
Remove dynamic exception specifications
...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html> "Dynamic Exception Specifications" for details. Most changes have been done automatically by the rewriting loplugin:dynexcspec (after enabling the rewriting mode, to be committed shortly). The way it only removes exception specs from declarations if it also sees a definition, it identified some dead declarations-w/o-definitions (that have been removed manually) and some cases where a definition appeared in multiple include files (which have also been cleaned up manually). There's also been cases of macro paramters (that were used to abstract over exception specs) that have become unused now (and been removed). Furthermore, some code needed to be cleaned up manually (avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no configurations available that would actually build that code. Missing @throws documentation has not been applied in such manual clean-up. Change-Id: I3408691256c9b0c12bc5332de976743626e13960 Reviewed-on: https://gerrit.libreoffice.org/33574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'toolkit/source')
-rw-r--r--toolkit/source/awt/animatedimagespeer.cxx22
-rw-r--r--toolkit/source/awt/asynccallback.cxx16
-rw-r--r--toolkit/source/awt/stylesettings.cxx212
-rw-r--r--toolkit/source/awt/stylesettings.hxx212
-rw-r--r--toolkit/source/awt/vclxaccessiblecomponent.cxx44
-rw-r--r--toolkit/source/awt/vclxbitmap.cxx8
-rw-r--r--toolkit/source/awt/vclxcontainer.cxx15
-rw-r--r--toolkit/source/awt/vclxdevice.cxx24
-rw-r--r--toolkit/source/awt/vclxfont.cxx17
-rw-r--r--toolkit/source/awt/vclxgraphics.cxx63
-rw-r--r--toolkit/source/awt/vclxmenu.cxx44
-rw-r--r--toolkit/source/awt/vclxpointer.cxx7
-rw-r--r--toolkit/source/awt/vclxprinter.cxx37
-rw-r--r--toolkit/source/awt/vclxregion.cxx26
-rw-r--r--toolkit/source/awt/vclxspinbutton.cxx32
-rw-r--r--toolkit/source/awt/vclxsystemdependentwindow.cxx4
-rw-r--r--toolkit/source/awt/vclxtabpagecontainer.cxx30
-rw-r--r--toolkit/source/awt/vclxtoolkit.cxx146
-rw-r--r--toolkit/source/awt/vclxtopwindow.cxx34
-rw-r--r--toolkit/source/awt/vclxwindow.cxx130
-rw-r--r--toolkit/source/awt/vclxwindows.cxx648
-rw-r--r--toolkit/source/controls/accessiblecontrolcontext.cxx28
-rw-r--r--toolkit/source/controls/animatedimages.cxx80
-rw-r--r--toolkit/source/controls/controlmodelcontainerbase.cxx98
-rw-r--r--toolkit/source/controls/dialogcontrol.cxx127
-rw-r--r--toolkit/source/controls/eventcontainer.cxx12
-rw-r--r--toolkit/source/controls/formattedcontrol.cxx18
-rw-r--r--toolkit/source/controls/geometrycontrolmodel.cxx20
-rw-r--r--toolkit/source/controls/grid/defaultgridcolumnmodel.cxx49
-rw-r--r--toolkit/source/controls/grid/defaultgriddatamodel.cxx92
-rw-r--r--toolkit/source/controls/grid/gridcolumn.cxx56
-rw-r--r--toolkit/source/controls/grid/gridcolumn.hxx56
-rw-r--r--toolkit/source/controls/grid/gridcontrol.cxx42
-rw-r--r--toolkit/source/controls/grid/gridcontrol.hxx54
-rw-r--r--toolkit/source/controls/grid/grideventforwarder.cxx16
-rw-r--r--toolkit/source/controls/grid/grideventforwarder.hxx16
-rw-r--r--toolkit/source/controls/grid/sortablegriddatamodel.cxx140
-rw-r--r--toolkit/source/controls/roadmapcontrol.cxx47
-rw-r--r--toolkit/source/controls/roadmapentry.cxx7
-rw-r--r--toolkit/source/controls/spinningprogress.cxx16
-rw-r--r--toolkit/source/controls/stdtabcontroller.cxx23
-rw-r--r--toolkit/source/controls/stdtabcontrollermodel.cxx27
-rw-r--r--toolkit/source/controls/tabpagecontainer.cxx48
-rw-r--r--toolkit/source/controls/tabpagemodel.cxx22
-rw-r--r--toolkit/source/controls/tkscrollbar.cxx46
-rw-r--r--toolkit/source/controls/tkspinbutton.cxx94
-rw-r--r--toolkit/source/controls/tree/treecontrol.cxx140
-rw-r--r--toolkit/source/controls/tree/treecontrol.hxx10
-rw-r--r--toolkit/source/controls/tree/treedatamodel.cxx132
-rw-r--r--toolkit/source/controls/unocontrol.cxx112
-rw-r--r--toolkit/source/controls/unocontrolcontainer.cxx52
-rw-r--r--toolkit/source/controls/unocontrolcontainermodel.cxx6
-rw-r--r--toolkit/source/controls/unocontrolmodel.cxx42
-rw-r--r--toolkit/source/controls/unocontrols.cxx688
-rw-r--r--toolkit/source/helper/listenermultiplexer.cxx16
-rw-r--r--toolkit/source/helper/unopropertyarrayhelper.cxx2
-rw-r--r--toolkit/source/helper/vclunohelper.cxx2
57 files changed, 1983 insertions, 2224 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;
diff --git a/toolkit/source/controls/accessiblecontrolcontext.cxx b/toolkit/source/controls/accessiblecontrolcontext.cxx
index 33e99cebdd3e..9be20827f287 100644
--- a/toolkit/source/controls/accessiblecontrolcontext.cxx
+++ b/toolkit/source/controls/accessiblecontrolcontext.cxx
@@ -118,21 +118,21 @@ namespace toolkit
}
- sal_Int32 SAL_CALL OAccessibleControlContext::getAccessibleChildCount( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL OAccessibleControlContext::getAccessibleChildCount( )
{
// we do not have children
return 0;
}
- Reference< XAccessible > SAL_CALL OAccessibleControlContext::getAccessibleChild( sal_Int32 ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ Reference< XAccessible > SAL_CALL OAccessibleControlContext::getAccessibleChild( sal_Int32 )
{
// we do not have children
throw IndexOutOfBoundsException();
}
- Reference< XAccessible > SAL_CALL OAccessibleControlContext::getAccessibleParent( ) throw (RuntimeException, std::exception)
+ Reference< XAccessible > SAL_CALL OAccessibleControlContext::getAccessibleParent( )
{
OContextEntryGuard aGuard( this );
OSL_ENSURE( implGetForeignControlledParent().is(), "OAccessibleControlContext::getAccessibleParent: somebody forgot to set a parent!" );
@@ -142,33 +142,33 @@ namespace toolkit
}
- sal_Int16 SAL_CALL OAccessibleControlContext::getAccessibleRole( ) throw (RuntimeException, std::exception)
+ sal_Int16 SAL_CALL OAccessibleControlContext::getAccessibleRole( )
{
return AccessibleRole::SHAPE;
}
- OUString SAL_CALL OAccessibleControlContext::getAccessibleDescription( ) throw (RuntimeException, std::exception)
+ OUString SAL_CALL OAccessibleControlContext::getAccessibleDescription( )
{
OContextEntryGuard aGuard( this );
return getModelStringProperty( "HelpText" );
}
- OUString SAL_CALL OAccessibleControlContext::getAccessibleName( ) throw (RuntimeException, std::exception)
+ OUString SAL_CALL OAccessibleControlContext::getAccessibleName( )
{
OContextEntryGuard aGuard( this );
return getModelStringProperty( "Name" );
}
- Reference< XAccessibleRelationSet > SAL_CALL OAccessibleControlContext::getAccessibleRelationSet( ) throw (RuntimeException, std::exception)
+ Reference< XAccessibleRelationSet > SAL_CALL OAccessibleControlContext::getAccessibleRelationSet( )
{
return nullptr;
}
- Reference< XAccessibleStateSet > SAL_CALL OAccessibleControlContext::getAccessibleStateSet( ) throw (RuntimeException, std::exception)
+ Reference< XAccessibleStateSet > SAL_CALL OAccessibleControlContext::getAccessibleStateSet( )
{
::osl::MutexGuard aGuard( GetMutex() );
// no OContextEntryGuard here, as we do not want to throw an exception in case we're not alive anymore
@@ -188,7 +188,7 @@ namespace toolkit
}
- void SAL_CALL OAccessibleControlContext::disposing( const EventObject& _rSource ) throw ( RuntimeException, std::exception )
+ void SAL_CALL OAccessibleControlContext::disposing( const EventObject& _rSource )
{
OSL_ENSURE( Reference< XPropertySet >( _rSource.Source, UNO_QUERY ).get() == m_xControlModel.get(),
"OAccessibleControlContext::disposing: where did this come from?" );
@@ -237,7 +237,7 @@ namespace toolkit
}
- awt::Rectangle OAccessibleControlContext::implGetBounds( ) throw (RuntimeException)
+ awt::Rectangle OAccessibleControlContext::implGetBounds( )
{
SolarMutexGuard aSolarGuard;
// want to do some VCL stuff here ...
@@ -297,20 +297,20 @@ namespace toolkit
}
- Reference< XAccessible > SAL_CALL OAccessibleControlContext::getAccessibleAtPoint( const awt::Point& /* _rPoint */ ) throw (RuntimeException, std::exception)
+ Reference< XAccessible > SAL_CALL OAccessibleControlContext::getAccessibleAtPoint( const awt::Point& /* _rPoint */ )
{
// no children at all
return nullptr;
}
- void SAL_CALL OAccessibleControlContext::grabFocus( ) throw (RuntimeException, std::exception)
+ void SAL_CALL OAccessibleControlContext::grabFocus( )
{
OSL_FAIL( "OAccessibleControlContext::grabFocus: !isFocusTraversable, but grabFocus!" );
}
- sal_Int32 SAL_CALL OAccessibleControlContext::getForeground( ) throw (css::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL OAccessibleControlContext::getForeground( )
{
SolarMutexGuard aSolarGuard;
// want to do some VCL stuff here ...
@@ -336,7 +336,7 @@ namespace toolkit
}
- sal_Int32 SAL_CALL OAccessibleControlContext::getBackground( ) throw (css::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL OAccessibleControlContext::getBackground( )
{
SolarMutexGuard aSolarGuard;
// want to do some VCL stuff here ...
diff --git a/toolkit/source/controls/animatedimages.cxx b/toolkit/source/controls/animatedimages.cxx
index 3a461083fa79..f50761cae167 100644
--- a/toolkit/source/controls/animatedimages.cxx
+++ b/toolkit/source/controls/animatedimages.cxx
@@ -57,26 +57,26 @@ public:
OUString GetComponentServiceName() override;
// XAnimation
- virtual void SAL_CALL startAnimation( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL stopAnimation( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL isAnimationRunning( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL startAnimation( ) override;
+ virtual void SAL_CALL stopAnimation( ) override;
+ virtual sal_Bool SAL_CALL isAnimationRunning( ) override;
// XServiceInfo
- OUString SAL_CALL getImplementationName( ) 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;
+ css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
// XControl
- sal_Bool SAL_CALL setModel( const css::uno::Reference< css::awt::XControlModel >& i_rModel ) throw ( css::uno::RuntimeException, std::exception ) override;
- void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit >& i_toolkit, const css::uno::Reference< css::awt::XWindowPeer >& i_parentPeer ) throw(css::uno::RuntimeException, std::exception) override;
+ sal_Bool SAL_CALL setModel( const css::uno::Reference< css::awt::XControlModel >& i_rModel ) override;
+ void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit >& i_toolkit, const css::uno::Reference< css::awt::XWindowPeer >& i_parentPeer ) override;
// XContainerListener
- virtual void SAL_CALL elementInserted( const css::container::ContainerEvent& Event ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL elementRemoved( const css::container::ContainerEvent& Event ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL elementReplaced( const css::container::ContainerEvent& Event ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL elementInserted( const css::container::ContainerEvent& Event ) override;
+ virtual void SAL_CALL elementRemoved( const css::container::ContainerEvent& Event ) override;
+ virtual void SAL_CALL elementReplaced( const css::container::ContainerEvent& Event ) override;
// XEventListener
- virtual void SAL_CALL disposing( const css::lang::EventObject& i_event ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& i_event ) override;
};
AnimatedImagesControl::AnimatedImagesControl()
@@ -91,7 +91,7 @@ public:
}
- void SAL_CALL AnimatedImagesControl::startAnimation( ) throw (RuntimeException, std::exception)
+ void SAL_CALL AnimatedImagesControl::startAnimation( )
{
Reference< XAnimation > xAnimation( getPeer(), UNO_QUERY );
if ( xAnimation.is() )
@@ -99,7 +99,7 @@ public:
}
- void SAL_CALL AnimatedImagesControl::stopAnimation( ) throw (RuntimeException, std::exception)
+ void SAL_CALL AnimatedImagesControl::stopAnimation( )
{
Reference< XAnimation > xAnimation( getPeer(), UNO_QUERY );
if ( xAnimation.is() )
@@ -107,7 +107,7 @@ public:
}
- sal_Bool SAL_CALL AnimatedImagesControl::isAnimationRunning( ) throw (RuntimeException, std::exception)
+ sal_Bool SAL_CALL AnimatedImagesControl::isAnimationRunning( )
{
Reference< XAnimation > xAnimation( getPeer(), UNO_QUERY );
if ( xAnimation.is() )
@@ -116,13 +116,13 @@ public:
}
- OUString SAL_CALL AnimatedImagesControl::getImplementationName( ) throw(RuntimeException, std::exception)
+ OUString SAL_CALL AnimatedImagesControl::getImplementationName( )
{
return OUString( "org.openoffice.comp.toolkit.AnimatedImagesControl" );
}
- Sequence< OUString > SAL_CALL AnimatedImagesControl::getSupportedServiceNames() throw(RuntimeException, std::exception)
+ Sequence< OUString > SAL_CALL AnimatedImagesControl::getSupportedServiceNames()
{
Sequence< OUString > aServices( AnimatedImagesControl_Base::getSupportedServiceNames() );
aServices.realloc( aServices.getLength() + 1 );
@@ -146,7 +146,7 @@ public:
}
- sal_Bool SAL_CALL AnimatedImagesControl::setModel( const Reference< XControlModel >& i_rModel ) throw ( RuntimeException, std::exception )
+ sal_Bool SAL_CALL AnimatedImagesControl::setModel( const Reference< XControlModel >& i_rModel )
{
const Reference< XAnimatedImages > xOldContainer( getModel(), UNO_QUERY );
const Reference< XAnimatedImages > xNewContainer( i_rModel, UNO_QUERY );
@@ -166,7 +166,7 @@ public:
}
- void SAL_CALL AnimatedImagesControl::createPeer( const Reference< XToolkit >& i_toolkit, const Reference< XWindowPeer >& i_parentPeer ) throw(RuntimeException, std::exception)
+ void SAL_CALL AnimatedImagesControl::createPeer( const Reference< XToolkit >& i_toolkit, const Reference< XWindowPeer >& i_parentPeer )
{
AnimatedImagesControl_Base::createPeer( i_toolkit, i_parentPeer );
@@ -174,7 +174,7 @@ public:
}
- void SAL_CALL AnimatedImagesControl::elementInserted( const ContainerEvent& i_event ) throw (RuntimeException, std::exception)
+ void SAL_CALL AnimatedImagesControl::elementInserted( const ContainerEvent& i_event )
{
const Reference< XContainerListener > xPeerListener( getPeer(), UNO_QUERY );
if ( xPeerListener.is() )
@@ -182,7 +182,7 @@ public:
}
- void SAL_CALL AnimatedImagesControl::elementRemoved( const ContainerEvent& i_event ) throw (RuntimeException, std::exception)
+ void SAL_CALL AnimatedImagesControl::elementRemoved( const ContainerEvent& i_event )
{
const Reference< XContainerListener > xPeerListener( getPeer(), UNO_QUERY );
if ( xPeerListener.is() )
@@ -190,7 +190,7 @@ public:
}
- void SAL_CALL AnimatedImagesControl::elementReplaced( const ContainerEvent& i_event ) throw (RuntimeException, std::exception)
+ void SAL_CALL AnimatedImagesControl::elementReplaced( const ContainerEvent& i_event )
{
const Reference< XContainerListener > xPeerListener( getPeer(), UNO_QUERY );
if ( xPeerListener.is() )
@@ -198,7 +198,7 @@ public:
}
- void SAL_CALL AnimatedImagesControl::disposing( const EventObject& i_event ) throw (RuntimeException, std::exception)
+ void SAL_CALL AnimatedImagesControl::disposing( const EventObject& i_event )
{
UnoControlBase::disposing( i_event );
}
@@ -275,26 +275,26 @@ namespace toolkit {
}
- Reference< css::beans::XPropertySetInfo > SAL_CALL AnimatedImagesControlModel::getPropertySetInfo( ) throw(RuntimeException, std::exception)
+ Reference< css::beans::XPropertySetInfo > SAL_CALL AnimatedImagesControlModel::getPropertySetInfo( )
{
static Reference< css::beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
- OUString SAL_CALL AnimatedImagesControlModel::getServiceName() throw(RuntimeException, std::exception)
+ OUString SAL_CALL AnimatedImagesControlModel::getServiceName()
{
return OUString("com.sun.star.awt.AnimatedImagesControlModel");
}
- OUString SAL_CALL AnimatedImagesControlModel::getImplementationName( ) throw(RuntimeException, std::exception)
+ OUString SAL_CALL AnimatedImagesControlModel::getImplementationName( )
{
return OUString("org.openoffice.comp.toolkit.AnimatedImagesControlModel");
}
- Sequence< OUString > SAL_CALL AnimatedImagesControlModel::getSupportedServiceNames() throw(RuntimeException, std::exception)
+ Sequence< OUString > SAL_CALL AnimatedImagesControlModel::getSupportedServiceNames()
{
Sequence< OUString > aServiceNames(2);
aServiceNames[0] = "com.sun.star.awt.AnimatedImagesControlModel";
@@ -303,7 +303,7 @@ namespace toolkit {
}
- void SAL_CALL AnimatedImagesControlModel::setFastPropertyValue_NoBroadcast( sal_Int32 i_handle, const Any& i_value ) throw (Exception, std::exception)
+ void SAL_CALL AnimatedImagesControlModel::setFastPropertyValue_NoBroadcast( sal_Int32 i_handle, const Any& i_value )
{
switch ( i_handle )
{
@@ -361,7 +361,7 @@ namespace toolkit {
}
- ::sal_Int32 SAL_CALL AnimatedImagesControlModel::getStepTime() throw (RuntimeException, std::exception)
+ ::sal_Int32 SAL_CALL AnimatedImagesControlModel::getStepTime()
{
sal_Int32 nStepTime( 100 );
OSL_VERIFY( getPropertyValue( GetPropertyName( BASEPROPERTY_STEP_TIME ) ) >>= nStepTime );
@@ -369,13 +369,13 @@ namespace toolkit {
}
- void SAL_CALL AnimatedImagesControlModel::setStepTime( ::sal_Int32 i_stepTime ) throw (RuntimeException, std::exception)
+ void SAL_CALL AnimatedImagesControlModel::setStepTime( ::sal_Int32 i_stepTime )
{
setPropertyValue( GetPropertyName( BASEPROPERTY_STEP_TIME ), makeAny( i_stepTime ) );
}
- sal_Bool SAL_CALL AnimatedImagesControlModel::getAutoRepeat() throw (RuntimeException, std::exception)
+ sal_Bool SAL_CALL AnimatedImagesControlModel::getAutoRepeat()
{
bool bAutoRepeat( true );
OSL_VERIFY( getPropertyValue( GetPropertyName( BASEPROPERTY_AUTO_REPEAT ) ) >>= bAutoRepeat );
@@ -383,13 +383,13 @@ namespace toolkit {
}
- void SAL_CALL AnimatedImagesControlModel::setAutoRepeat( sal_Bool i_autoRepeat ) throw (RuntimeException, std::exception)
+ void SAL_CALL AnimatedImagesControlModel::setAutoRepeat( sal_Bool i_autoRepeat )
{
setPropertyValue( GetPropertyName( BASEPROPERTY_AUTO_REPEAT ), makeAny( i_autoRepeat ) );
}
- ::sal_Int16 SAL_CALL AnimatedImagesControlModel::getScaleMode() throw (RuntimeException, std::exception)
+ ::sal_Int16 SAL_CALL AnimatedImagesControlModel::getScaleMode()
{
sal_Int16 nImageScaleMode( ImageScaleMode::ANISOTROPIC );
OSL_VERIFY( getPropertyValue( GetPropertyName( BASEPROPERTY_IMAGE_SCALE_MODE ) ) >>= nImageScaleMode );
@@ -397,13 +397,13 @@ namespace toolkit {
}
- void SAL_CALL AnimatedImagesControlModel::setScaleMode( ::sal_Int16 i_scaleMode ) throw (IllegalArgumentException, RuntimeException, std::exception)
+ void SAL_CALL AnimatedImagesControlModel::setScaleMode( ::sal_Int16 i_scaleMode )
{
setPropertyValue( GetPropertyName( BASEPROPERTY_IMAGE_SCALE_MODE ), makeAny( i_scaleMode ) );
}
- ::sal_Int32 SAL_CALL AnimatedImagesControlModel::getImageSetCount( ) throw (RuntimeException, std::exception)
+ ::sal_Int32 SAL_CALL AnimatedImagesControlModel::getImageSetCount( )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
if ( GetBroadcastHelper().bDisposed || GetBroadcastHelper().bInDispose )
@@ -413,7 +413,7 @@ namespace toolkit {
}
- Sequence< OUString > SAL_CALL AnimatedImagesControlModel::getImageSet( ::sal_Int32 i_index ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ Sequence< OUString > SAL_CALL AnimatedImagesControlModel::getImageSet( ::sal_Int32 i_index )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
if ( GetBroadcastHelper().bDisposed || GetBroadcastHelper().bInDispose )
@@ -425,7 +425,7 @@ namespace toolkit {
}
- void SAL_CALL AnimatedImagesControlModel::insertImageSet( ::sal_Int32 i_index, const Sequence< OUString >& i_imageURLs ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL AnimatedImagesControlModel::insertImageSet( ::sal_Int32 i_index, const Sequence< OUString >& i_imageURLs )
{
::osl::ClearableMutexGuard aGuard( GetMutex() );
// sanity checks
@@ -442,7 +442,7 @@ namespace toolkit {
}
- void SAL_CALL AnimatedImagesControlModel::replaceImageSet( ::sal_Int32 i_index, const Sequence< OUString >& i_imageURLs ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL AnimatedImagesControlModel::replaceImageSet( ::sal_Int32 i_index, const Sequence< OUString >& i_imageURLs )
{
::osl::ClearableMutexGuard aGuard( GetMutex() );
// sanity checks
@@ -459,7 +459,7 @@ namespace toolkit {
}
- void SAL_CALL AnimatedImagesControlModel::removeImageSet( ::sal_Int32 i_index ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL AnimatedImagesControlModel::removeImageSet( ::sal_Int32 i_index )
{
::osl::ClearableMutexGuard aGuard( GetMutex() );
// sanity checks
@@ -478,13 +478,13 @@ namespace toolkit {
}
- void SAL_CALL AnimatedImagesControlModel::addContainerListener( const Reference< XContainerListener >& i_listener ) throw (RuntimeException, std::exception)
+ void SAL_CALL AnimatedImagesControlModel::addContainerListener( const Reference< XContainerListener >& i_listener )
{
BrdcstHelper.addListener( cppu::UnoType<XContainerListener>::get(), i_listener );
}
- void SAL_CALL AnimatedImagesControlModel::removeContainerListener( const Reference< XContainerListener >& i_listener ) throw (RuntimeException, std::exception)
+ void SAL_CALL AnimatedImagesControlModel::removeContainerListener( const Reference< XContainerListener >& i_listener )
{
BrdcstHelper.removeListener( cppu::UnoType<XContainerListener>::get(), i_listener );
}
diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx
index 1294f41cef3f..5f88ae38faae 100644
--- a/toolkit/source/controls/controlmodelcontainerbase.cxx
+++ b/toolkit/source/controls/controlmodelcontainerbase.cxx
@@ -258,7 +258,7 @@ Any ControlModelContainerBase::ImplGetDefaultValue( sal_uInt16 nPropId ) const
return *pHelper;
}
-void SAL_CALL ControlModelContainerBase::dispose( ) throw(RuntimeException, std::exception)
+void SAL_CALL ControlModelContainerBase::dispose( )
{
// tell our listeners
@@ -296,7 +296,7 @@ void SAL_CALL ControlModelContainerBase::dispose( ) throw(RuntimeException, std
}
// XMultiPropertySet
-Reference< XPropertySetInfo > ControlModelContainerBase::getPropertySetInfo( ) throw(RuntimeException, std::exception)
+Reference< XPropertySetInfo > ControlModelContainerBase::getPropertySetInfo( )
{
static Reference< XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
@@ -324,7 +324,7 @@ ControlModelContainerBase::UnoControlModelHolderList::iterator ControlModelConta
}
// ::XMultiServiceFactory
-Reference< XInterface > ControlModelContainerBase::createInstance( const OUString& aServiceSpecifier ) throw(Exception, RuntimeException, std::exception)
+Reference< XInterface > ControlModelContainerBase::createInstance( const OUString& aServiceSpecifier )
{
SolarMutexGuard aGuard;
@@ -411,7 +411,7 @@ Reference< XInterface > ControlModelContainerBase::createInstance( const OUStrin
return xNewModel;
}
-Reference< XInterface > ControlModelContainerBase::createInstanceWithArguments( const OUString& ServiceSpecifier, const Sequence< Any >& i_arguments ) throw(Exception, RuntimeException, std::exception)
+Reference< XInterface > ControlModelContainerBase::createInstanceWithArguments( const OUString& ServiceSpecifier, const Sequence< Any >& i_arguments )
{
const Reference< XInterface > xInstance( createInstance( ServiceSpecifier ) );
const Reference< XInitialization > xInstanceInit( xInstance, UNO_QUERY );
@@ -420,7 +420,7 @@ Reference< XInterface > ControlModelContainerBase::createInstanceWithArguments(
return xInstance;
}
-Sequence< OUString > ControlModelContainerBase::getAvailableServiceNames() throw(RuntimeException, std::exception)
+Sequence< OUString > ControlModelContainerBase::getAvailableServiceNames()
{
static Sequence< OUString >* pNamesSeq = nullptr;
if ( !pNamesSeq )
@@ -454,30 +454,30 @@ Sequence< OUString > ControlModelContainerBase::getAvailableServiceNames() throw
}
// XContainer
-void ControlModelContainerBase::addContainerListener( const Reference< XContainerListener >& l ) throw(RuntimeException, std::exception)
+void ControlModelContainerBase::addContainerListener( const Reference< XContainerListener >& l )
{
maContainerListeners.addInterface( l );
}
-void ControlModelContainerBase::removeContainerListener( const Reference< XContainerListener >& l ) throw(RuntimeException, std::exception)
+void ControlModelContainerBase::removeContainerListener( const Reference< XContainerListener >& l )
{
maContainerListeners.removeInterface( l );
}
// XElementAcces
-Type ControlModelContainerBase::getElementType() throw(RuntimeException, std::exception)
+Type ControlModelContainerBase::getElementType()
{
Type aType = cppu::UnoType<XControlModel>::get();
return aType;
}
-sal_Bool ControlModelContainerBase::hasElements() throw(RuntimeException, std::exception)
+sal_Bool ControlModelContainerBase::hasElements()
{
return !maModels.empty();
}
// XNameContainer, XNameReplace, XNameAccess
-void ControlModelContainerBase::replaceByName( const OUString& aName, const Any& aElement ) throw(IllegalArgumentException, NoSuchElementException, WrappedTargetException, RuntimeException, std::exception)
+void ControlModelContainerBase::replaceByName( const OUString& aName, const Any& aElement )
{
SolarMutexGuard aGuard;
@@ -523,7 +523,7 @@ void ControlModelContainerBase::replaceByName( const OUString& aName, const Any&
implNotifyTabModelChange( aName );
}
-Any ControlModelContainerBase::getByName( const OUString& aName ) throw(NoSuchElementException, WrappedTargetException, RuntimeException, std::exception)
+Any ControlModelContainerBase::getByName( const OUString& aName )
{
UnoControlModelHolderList::iterator aElementPos = ImplFindElement( aName );
if ( maModels.end() == aElementPos )
@@ -532,7 +532,7 @@ Any ControlModelContainerBase::getByName( const OUString& aName ) throw(NoSuchEl
return makeAny( aElementPos->first );
}
-Sequence< OUString > ControlModelContainerBase::getElementNames() throw(RuntimeException, std::exception)
+Sequence< OUString > ControlModelContainerBase::getElementNames()
{
Sequence< OUString > aNames( maModels.size() );
@@ -546,12 +546,12 @@ Sequence< OUString > ControlModelContainerBase::getElementNames() throw(RuntimeE
return aNames;
}
-sal_Bool ControlModelContainerBase::hasByName( const OUString& aName ) throw(RuntimeException, std::exception)
+sal_Bool ControlModelContainerBase::hasByName( const OUString& aName )
{
return maModels.end() != ImplFindElement( aName );
}
-void ControlModelContainerBase::insertByName( const OUString& aName, const Any& aElement ) throw(IllegalArgumentException, ElementExistException, WrappedTargetException, RuntimeException, std::exception)
+void ControlModelContainerBase::insertByName( const OUString& aName, const Any& aElement )
{
SolarMutexGuard aGuard;
@@ -614,7 +614,7 @@ void ControlModelContainerBase::insertByName( const OUString& aName, const Any&
implNotifyTabModelChange( aName );
}
-void ControlModelContainerBase::removeByName( const OUString& aName ) throw(NoSuchElementException, WrappedTargetException, RuntimeException, std::exception)
+void ControlModelContainerBase::removeByName( const OUString& aName )
{
SolarMutexGuard aGuard;
@@ -659,19 +659,19 @@ void ControlModelContainerBase::removeByName( const OUString& aName ) throw(NoSu
}
-sal_Bool SAL_CALL ControlModelContainerBase::getGroupControl( ) throw (RuntimeException, std::exception)
+sal_Bool SAL_CALL ControlModelContainerBase::getGroupControl( )
{
return true;
}
-void SAL_CALL ControlModelContainerBase::setGroupControl( sal_Bool ) throw (RuntimeException, std::exception)
+void SAL_CALL ControlModelContainerBase::setGroupControl( sal_Bool )
{
SAL_WARN("toolkit", "explicit grouping not supported" );
}
-void SAL_CALL ControlModelContainerBase::setControlModels( const Sequence< Reference< XControlModel > >& _rControls ) throw (RuntimeException, std::exception)
+void SAL_CALL ControlModelContainerBase::setControlModels( const Sequence< Reference< XControlModel > >& _rControls )
{
SolarMutexGuard aGuard;
@@ -708,7 +708,7 @@ void SAL_CALL ControlModelContainerBase::setControlModels( const Sequence< Refer
typedef ::std::multimap< sal_Int32, Reference< XControlModel > > MapIndexToModel;
-Sequence< Reference< XControlModel > > SAL_CALL ControlModelContainerBase::getControlModels( ) throw (RuntimeException, std::exception)
+Sequence< Reference< XControlModel > > SAL_CALL ControlModelContainerBase::getControlModels( )
{
SolarMutexGuard aGuard;
@@ -757,7 +757,7 @@ Sequence< Reference< XControlModel > > SAL_CALL ControlModelContainerBase::getCo
}
-void SAL_CALL ControlModelContainerBase::setGroup( const Sequence< Reference< XControlModel > >&, const OUString& ) throw (RuntimeException, std::exception)
+void SAL_CALL ControlModelContainerBase::setGroup( const Sequence< Reference< XControlModel > >&, const OUString& )
{
// not supported. We have only implicit grouping:
// We only have a sequence of control models, and we _know_ (yes, that's a HACK relying on
@@ -767,7 +767,7 @@ void SAL_CALL ControlModelContainerBase::setGroup( const Sequence< Reference< XC
}
////----- XInitialization -------------------------------------------------------------------
-void SAL_CALL ControlModelContainerBase::initialize (const Sequence<Any>& rArguments) throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
+void SAL_CALL ControlModelContainerBase::initialize (const Sequence<Any>& rArguments)
{
if ( rArguments.getLength() == 1 )
{
@@ -779,19 +779,19 @@ void SAL_CALL ControlModelContainerBase::initialize (const Sequence<Any>& rArgum
else
m_nTabPageId = -1;
}
-::sal_Int16 SAL_CALL ControlModelContainerBase::getTabPageID() throw (css::uno::RuntimeException, std::exception)
+::sal_Int16 SAL_CALL ControlModelContainerBase::getTabPageID()
{
return m_nTabPageId;
}
-sal_Bool SAL_CALL ControlModelContainerBase::getEnabled() throw (css::uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL ControlModelContainerBase::getEnabled()
{
return m_bEnabled;
}
-void SAL_CALL ControlModelContainerBase::setEnabled( sal_Bool _enabled ) throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL ControlModelContainerBase::setEnabled( sal_Bool _enabled )
{
m_bEnabled = _enabled;
}
-OUString SAL_CALL ControlModelContainerBase::getTitle() throw (css::uno::RuntimeException, std::exception)
+OUString SAL_CALL ControlModelContainerBase::getTitle()
{
SolarMutexGuard aGuard;
Reference<XPropertySet> xThis(*this,UNO_QUERY);
@@ -799,25 +799,25 @@ OUString SAL_CALL ControlModelContainerBase::getTitle() throw (css::uno::Runtime
xThis->getPropertyValue(GetPropertyName(BASEPROPERTY_TITLE)) >>= sTitle;
return sTitle;
}
-void SAL_CALL ControlModelContainerBase::setTitle( const OUString& _title ) throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL ControlModelContainerBase::setTitle( const OUString& _title )
{
SolarMutexGuard aGuard;
Reference<XPropertySet> xThis(*this,UNO_QUERY);
xThis->setPropertyValue(GetPropertyName(BASEPROPERTY_TITLE),makeAny(_title));
}
-OUString SAL_CALL ControlModelContainerBase::getImageURL() throw (css::uno::RuntimeException, std::exception)
+OUString SAL_CALL ControlModelContainerBase::getImageURL()
{
return m_sImageURL;
}
-void SAL_CALL ControlModelContainerBase::setImageURL( const OUString& _imageurl ) throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL ControlModelContainerBase::setImageURL( const OUString& _imageurl )
{
m_sImageURL = _imageurl;
}
-OUString SAL_CALL ControlModelContainerBase::getToolTip() throw (css::uno::RuntimeException, std::exception)
+OUString SAL_CALL ControlModelContainerBase::getToolTip()
{
return m_sTooltip;
}
-void SAL_CALL ControlModelContainerBase::setToolTip( const OUString& _tooltip ) throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL ControlModelContainerBase::setToolTip( const OUString& _tooltip )
{
m_sTooltip = _tooltip;
}
@@ -849,7 +849,7 @@ namespace
}
-sal_Int32 SAL_CALL ControlModelContainerBase::getGroupCount( ) throw (RuntimeException, std::exception)
+sal_Int32 SAL_CALL ControlModelContainerBase::getGroupCount( )
{
SolarMutexGuard aGuard;
@@ -859,7 +859,7 @@ sal_Int32 SAL_CALL ControlModelContainerBase::getGroupCount( ) throw (RuntimeEx
}
-void SAL_CALL ControlModelContainerBase::getGroup( sal_Int32 _nGroup, Sequence< Reference< XControlModel > >& _rGroup, OUString& _rName ) throw (RuntimeException, std::exception)
+void SAL_CALL ControlModelContainerBase::getGroup( sal_Int32 _nGroup, Sequence< Reference< XControlModel > >& _rGroup, OUString& _rName )
{
SolarMutexGuard aGuard;
@@ -883,7 +883,7 @@ void SAL_CALL ControlModelContainerBase::getGroup( sal_Int32 _nGroup, Sequence<
}
-void SAL_CALL ControlModelContainerBase::getGroupByName( const OUString& _rName, Sequence< Reference< XControlModel > >& _rGroup ) throw (RuntimeException, std::exception)
+void SAL_CALL ControlModelContainerBase::getGroupByName( const OUString& _rName, Sequence< Reference< XControlModel > >& _rGroup )
{
SolarMutexGuard aGuard;
@@ -892,13 +892,13 @@ void SAL_CALL ControlModelContainerBase::getGroupByName( const OUString& _rName,
}
-void SAL_CALL ControlModelContainerBase::addChangesListener( const Reference< XChangesListener >& _rxListener ) throw (RuntimeException, std::exception)
+void SAL_CALL ControlModelContainerBase::addChangesListener( const Reference< XChangesListener >& _rxListener )
{
maChangeListeners.addInterface( _rxListener );
}
-void SAL_CALL ControlModelContainerBase::removeChangesListener( const Reference< XChangesListener >& _rxListener ) throw (RuntimeException, std::exception)
+void SAL_CALL ControlModelContainerBase::removeChangesListener( const Reference< XChangesListener >& _rxListener )
{
maChangeListeners.removeInterface( _rxListener );
}
@@ -1028,7 +1028,7 @@ void ControlModelContainerBase::implUpdateGroupStructure()
}
-void SAL_CALL ControlModelContainerBase::propertyChange( const PropertyChangeEvent& _rEvent ) throw (RuntimeException, std::exception)
+void SAL_CALL ControlModelContainerBase::propertyChange( const PropertyChangeEvent& _rEvent )
{
SolarMutexGuard aGuard;
@@ -1054,7 +1054,7 @@ void SAL_CALL ControlModelContainerBase::propertyChange( const PropertyChangeEve
}
-void SAL_CALL ControlModelContainerBase::disposing( const EventObject& /*rEvent*/ ) throw (RuntimeException, std::exception)
+void SAL_CALL ControlModelContainerBase::disposing( const EventObject& /*rEvent*/ )
{
}
@@ -1104,7 +1104,6 @@ ResourceListener::~ResourceListener()
// XInterface
Any SAL_CALL ResourceListener::queryInterface( const Type& rType )
-throw ( RuntimeException, std::exception )
{
Any a = ::cppu::queryInterface(
rType ,
@@ -1210,7 +1209,6 @@ void ResourceListener::stopListening()
// XModifyListener
void SAL_CALL ResourceListener::modified(
const lang::EventObject& aEvent )
-throw ( RuntimeException, std::exception )
{
Reference< util::XModifyListener > xListener;
@@ -1239,7 +1237,6 @@ throw ( RuntimeException, std::exception )
// XEventListener
void SAL_CALL ResourceListener::disposing(
const EventObject& Source )
-throw ( RuntimeException, std::exception )
{
Reference< lang::XEventListener > xListener;
Reference< resource::XStringResourceResolver > xResource;
@@ -1328,7 +1325,7 @@ ControlContainerBase::~ControlContainerBase()
{
}
-void ControlContainerBase::createPeer( const Reference< XToolkit > & rxToolkit, const Reference< XWindowPeer > & rParentPeer ) throw(RuntimeException, std::exception)
+void ControlContainerBase::createPeer( const Reference< XToolkit > & rxToolkit, const Reference< XWindowPeer > & rParentPeer )
{
SolarMutexGuard aGuard;
UnoControlContainer::createPeer( rxToolkit, rParentPeer );
@@ -1431,7 +1428,7 @@ void ControlContainerBase::ImplSetPosSize( Reference< XControl >& rxCtrl )
xW->setPosSize( nX, nY, nWidth, nHeight, PosSize::POSSIZE );
}
-void ControlContainerBase::dispose() throw(RuntimeException, std::exception)
+void ControlContainerBase::dispose()
{
EventObject aEvt;
aEvt.Source = static_cast< ::cppu::OWeakObject* >( this );
@@ -1451,12 +1448,11 @@ void ControlContainerBase::dispose() throw(RuntimeException, std::exception)
void SAL_CALL ControlContainerBase::disposing(
const EventObject& Source )
-throw(RuntimeException, std::exception)
{
UnoControlContainer::disposing( Source );
}
-sal_Bool ControlContainerBase::setModel( const Reference< XControlModel >& rxModel ) throw(RuntimeException, std::exception)
+sal_Bool ControlContainerBase::setModel( const Reference< XControlModel >& rxModel )
{
SolarMutexGuard aGuard;
@@ -1529,7 +1525,7 @@ sal_Bool ControlContainerBase::setModel( const Reference< XControlModel >& rxMod
return bRet;
}
-void ControlContainerBase::setDesignMode( sal_Bool bOn ) throw(RuntimeException, std::exception)
+void ControlContainerBase::setDesignMode( sal_Bool bOn )
{
SolarMutexGuard aGuard;
@@ -1548,7 +1544,7 @@ void ControlContainerBase::setDesignMode( sal_Bool bOn ) throw(RuntimeException,
mxTabController->activateTabOrder();
}
-void ControlContainerBase::elementInserted( const ContainerEvent& Event ) throw(RuntimeException, std::exception)
+void ControlContainerBase::elementInserted( const ContainerEvent& Event )
{
SolarMutexGuard aGuard;
@@ -1572,7 +1568,7 @@ void ControlContainerBase::elementInserted( const ContainerEvent& Event ) throw(
}
}
-void ControlContainerBase::elementRemoved( const ContainerEvent& Event ) throw(RuntimeException, std::exception)
+void ControlContainerBase::elementRemoved( const ContainerEvent& Event )
{
SolarMutexGuard aGuard;
@@ -1593,7 +1589,7 @@ void ControlContainerBase::elementRemoved( const ContainerEvent& Event ) throw(R
}
}
-void ControlContainerBase::elementReplaced( const ContainerEvent& Event ) throw(RuntimeException, std::exception)
+void ControlContainerBase::elementReplaced( const ContainerEvent& Event )
{
SolarMutexGuard aGuard;
@@ -1633,7 +1629,7 @@ void ControlContainerBase::elementReplaced( const ContainerEvent& Event ) throw(
}
// XPropertiesChangeListener
-void ControlContainerBase::ImplModelPropertiesChanged( const Sequence< PropertyChangeEvent >& rEvents ) throw(RuntimeException, std::exception)
+void ControlContainerBase::ImplModelPropertiesChanged( const Sequence< PropertyChangeEvent >& rEvents )
{
if( !isDesignMode() && !mbCreatingCompatiblePeer )
{
@@ -1712,7 +1708,7 @@ void ControlContainerBase::removingControl( const Reference< XControl >& _rxCont
}
-void SAL_CALL ControlContainerBase::changesOccurred( const ChangesEvent& ) throw (RuntimeException, std::exception)
+void SAL_CALL ControlContainerBase::changesOccurred( const ChangesEvent& )
{
SolarMutexGuard aGuard;
// a tab controller model may have changed
@@ -1840,7 +1836,7 @@ OUString getPhysicalLocation( const css::uno::Any& rbase, const css::uno::Any& r
}
void
-ControlModelContainerBase::updateUserFormChildren( const Reference< XNameContainer >& xAllChildren, const OUString& aName, ChildOperation Operation, const css::uno::Reference< css::awt::XControlModel >& xTarget ) throw(IllegalArgumentException, ElementExistException, WrappedTargetException, RuntimeException)
+ControlModelContainerBase::updateUserFormChildren( const Reference< XNameContainer >& xAllChildren, const OUString& aName, ChildOperation Operation, const css::uno::Reference< css::awt::XControlModel >& xTarget )
{
if ( Operation < Insert || Operation > Remove )
throw IllegalArgumentException();
diff --git a/toolkit/source/controls/dialogcontrol.cxx b/toolkit/source/controls/dialogcontrol.cxx
index e13026c91413..ba0d503e6231 100644
--- a/toolkit/source/controls/dialogcontrol.cxx
+++ b/toolkit/source/controls/dialogcontrol.cxx
@@ -81,7 +81,7 @@ class SimpleNamedThingContainer : public ::cppu::WeakImplHelper< container::XNam
::osl::Mutex m_aMutex;
public:
// css::container::XNameContainer, XNameReplace, XNameAccess
- virtual void SAL_CALL replaceByName( const OUString& aName, const Any& aElement ) throw(IllegalArgumentException, NoSuchElementException, WrappedTargetException, RuntimeException, std::exception) override
+ virtual void SAL_CALL replaceByName( const OUString& aName, const Any& aElement ) override
{
::osl::MutexGuard aGuard( m_aMutex );
if ( !hasByName( aName ) )
@@ -91,24 +91,24 @@ public:
throw IllegalArgumentException();
things[ aName ] = xElement;
}
- virtual Any SAL_CALL getByName( const OUString& aName ) throw(NoSuchElementException, WrappedTargetException, RuntimeException, std::exception) override
+ virtual Any SAL_CALL getByName( const OUString& aName ) override
{
::osl::MutexGuard aGuard( m_aMutex );
if ( !hasByName( aName ) )
throw NoSuchElementException();
return uno::makeAny( things[ aName ] );
}
- virtual Sequence< OUString > SAL_CALL getElementNames( ) throw(RuntimeException, std::exception) override
+ virtual Sequence< OUString > SAL_CALL getElementNames( ) override
{
::osl::MutexGuard aGuard( m_aMutex );
return comphelper::mapKeysToSequence( things );
}
- virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) throw(RuntimeException, std::exception) override
+ virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) override
{
::osl::MutexGuard aGuard( m_aMutex );
return ( things.find( aName ) != things.end() );
}
- virtual void SAL_CALL insertByName( const OUString& aName, const Any& aElement ) throw(IllegalArgumentException, ElementExistException, WrappedTargetException, RuntimeException, std::exception) override
+ virtual void SAL_CALL insertByName( const OUString& aName, const Any& aElement ) override
{
::osl::MutexGuard aGuard( m_aMutex );
if ( hasByName( aName ) )
@@ -118,18 +118,18 @@ public:
throw IllegalArgumentException();
things[ aName ] = xElement;
}
- virtual void SAL_CALL removeByName( const OUString& aName ) throw(NoSuchElementException, WrappedTargetException, RuntimeException, std::exception) override
+ virtual void SAL_CALL removeByName( const OUString& aName ) override
{
::osl::MutexGuard aGuard( m_aMutex );
if ( !hasByName( aName ) )
throw NoSuchElementException();
things.erase( things.find( aName ) );
}
- virtual Type SAL_CALL getElementType( ) throw (RuntimeException, std::exception) override
+ virtual Type SAL_CALL getElementType( ) override
{
return cppu::UnoType<T>::get();
}
- virtual sal_Bool SAL_CALL hasElements( ) throw (RuntimeException, std::exception) override
+ virtual sal_Bool SAL_CALL hasElements( ) override
{
::osl::MutexGuard aGuard( m_aMutex );
return ( !things.empty() );
@@ -145,25 +145,23 @@ protected:
css::uno::Any ImplGetDefaultValue( sal_uInt16 nPropId ) const override;
::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override;
// ::cppu::OPropertySetHelper
- void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue ) throw (css::uno::Exception, std::exception) override;
+ void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue ) override;
public:
explicit UnoControlDialogModel( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
UnoControlDialogModel( const UnoControlDialogModel& rModel );
UnoControlModel* Clone() const override;
// css::beans::XMultiPropertySet
- css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(css::uno::RuntimeException, std::exception) override;
+ css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
// css::io::XPersistObject
- OUString SAL_CALL getServiceName() throw(css::uno::RuntimeException, std::exception) override;
+ OUString SAL_CALL getServiceName() override;
// XServiceInfo
- OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception) override
+ OUString SAL_CALL getImplementationName() override
{ return OUString("stardiv.Toolkit.UnoControlDialogModel"); }
- css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception) override
+ css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
{
auto s(ControlModelContainerBase::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -236,7 +234,7 @@ UnoControlModel* UnoControlDialogModel::Clone() const
}
-OUString UnoControlDialogModel::getServiceName( ) throw(RuntimeException, std::exception)
+OUString UnoControlDialogModel::getServiceName( )
{
return OUString("stardiv.vcl.controlmodel.Dialog");
}
@@ -275,13 +273,13 @@ Any UnoControlDialogModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const
}
// XMultiPropertySet
-Reference< XPropertySetInfo > UnoControlDialogModel::getPropertySetInfo( ) throw(RuntimeException, std::exception)
+Reference< XPropertySetInfo > UnoControlDialogModel::getPropertySetInfo( )
{
static Reference< XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
-void SAL_CALL UnoControlDialogModel::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue ) throw (css::uno::Exception, std::exception)
+void SAL_CALL UnoControlDialogModel::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue )
{
ControlModelContainerBase::setFastPropertyValue_NoBroadcast( nHandle, rValue );
try
@@ -329,7 +327,7 @@ OUString UnoDialogControl::GetComponentServiceName()
return OUString("TabPage");
}
-void UnoDialogControl::dispose() throw(RuntimeException, std::exception)
+void UnoDialogControl::dispose()
{
SolarMutexGuard aGuard;
@@ -341,12 +339,11 @@ void UnoDialogControl::dispose() throw(RuntimeException, std::exception)
void SAL_CALL UnoDialogControl::disposing(
const EventObject& Source )
-throw(RuntimeException, std::exception)
{
ControlContainerBase::disposing( Source );
}
-sal_Bool UnoDialogControl::setModel( const Reference< XControlModel >& rxModel ) throw(RuntimeException, std::exception)
+sal_Bool UnoDialogControl::setModel( const Reference< XControlModel >& rxModel )
{
// #Can we move all the Resource stuff to the ControlContainerBase ?
SolarMutexGuard aGuard;
@@ -355,7 +352,7 @@ sal_Bool UnoDialogControl::setModel( const Reference< XControlModel >& rxModel )
return bRet;
}
-void UnoDialogControl::createPeer( const Reference< XToolkit > & rxToolkit, const Reference< XWindowPeer > & rParentPeer ) throw(RuntimeException, std::exception)
+void UnoDialogControl::createPeer( const Reference< XToolkit > & rxToolkit, const Reference< XWindowPeer > & rParentPeer )
{
SolarMutexGuard aGuard;
@@ -385,19 +382,16 @@ void UnoDialogControl::createPeer( const Reference< XToolkit > & rxToolkit, cons
}
OUString UnoDialogControl::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoDialogControl");
}
sal_Bool UnoDialogControl::supportsService(OUString const & ServiceName)
- throw (css::uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, ServiceName);
}
css::uno::Sequence<OUString> UnoDialogControl::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
return css::uno::Sequence<OUString>{
OUString::createFromAscii(szServiceName2_UnoControlDialog),
@@ -435,7 +429,7 @@ void UnoDialogControl::PrepareWindowDescriptor( css::awt::WindowDescriptor& rDes
}
}
-void UnoDialogControl::addTopWindowListener( const Reference< XTopWindowListener >& rxListener ) throw (RuntimeException, std::exception)
+void UnoDialogControl::addTopWindowListener( const Reference< XTopWindowListener >& rxListener )
{
maTopWindowListeners.addInterface( rxListener );
if( getPeer().is() && maTopWindowListeners.getLength() == 1 )
@@ -445,7 +439,7 @@ void UnoDialogControl::addTopWindowListener( const Reference< XTopWindowListener
}
}
-void UnoDialogControl::removeTopWindowListener( const Reference< XTopWindowListener >& rxListener ) throw (RuntimeException, std::exception)
+void UnoDialogControl::removeTopWindowListener( const Reference< XTopWindowListener >& rxListener )
{
if( getPeer().is() && maTopWindowListeners.getLength() == 1 )
{
@@ -455,7 +449,7 @@ void UnoDialogControl::removeTopWindowListener( const Reference< XTopWindowListe
maTopWindowListeners.removeInterface( rxListener );
}
-void UnoDialogControl::toFront( ) throw (RuntimeException, std::exception)
+void UnoDialogControl::toFront( )
{
SolarMutexGuard aGuard;
if ( getPeer().is() )
@@ -466,7 +460,7 @@ void UnoDialogControl::toFront( ) throw (RuntimeException, std::exception)
}
}
-void UnoDialogControl::toBack( ) throw (RuntimeException, std::exception)
+void UnoDialogControl::toBack( )
{
SolarMutexGuard aGuard;
if ( getPeer().is() )
@@ -477,7 +471,7 @@ void UnoDialogControl::toBack( ) throw (RuntimeException, std::exception)
}
}
-void UnoDialogControl::setMenuBar( const Reference< XMenuBar >& rxMenuBar ) throw (RuntimeException, std::exception)
+void UnoDialogControl::setMenuBar( const Reference< XMenuBar >& rxMenuBar )
{
SolarMutexGuard aGuard;
mxMenuBar = rxMenuBar;
@@ -495,7 +489,6 @@ static ::Size ImplMapPixelToAppFont( OutputDevice* pOutDev, const ::Size& aSize
}
// css::awt::XWindowListener
void SAL_CALL UnoDialogControl::windowResized( const css::awt::WindowEvent& e )
-throw (css::uno::RuntimeException, std::exception)
{
OutputDevice*pOutDev = Application::GetDefaultDevice();
DBG_ASSERT( pOutDev, "Missing Default Device!" );
@@ -536,7 +529,6 @@ throw (css::uno::RuntimeException, std::exception)
}
void SAL_CALL UnoDialogControl::windowMoved( const css::awt::WindowEvent& e )
-throw (css::uno::RuntimeException, std::exception)
{
OutputDevice*pOutDev = Application::GetDefaultDevice();
DBG_ASSERT( pOutDev, "Missing Default Device!" );
@@ -561,43 +553,43 @@ throw (css::uno::RuntimeException, std::exception)
}
}
-void SAL_CALL UnoDialogControl::windowShown( const EventObject& e ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoDialogControl::windowShown( const EventObject& e )
{
(void)e;
}
-void SAL_CALL UnoDialogControl::windowHidden( const EventObject& e ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoDialogControl::windowHidden( const EventObject& e )
{
(void)e;
}
-void SAL_CALL UnoDialogControl::endDialog( ::sal_Int32 i_result ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoDialogControl::endDialog( ::sal_Int32 i_result )
{
Reference< XDialog2 > xPeerDialog( getPeer(), UNO_QUERY );
if ( xPeerDialog.is() )
xPeerDialog->endDialog( i_result );
}
-void SAL_CALL UnoDialogControl::setHelpId( const OUString& i_id ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoDialogControl::setHelpId( const OUString& i_id )
{
Reference< XDialog2 > xPeerDialog( getPeer(), UNO_QUERY );
if ( xPeerDialog.is() )
xPeerDialog->setHelpId( i_id );
}
-void UnoDialogControl::setTitle( const OUString& Title ) throw(RuntimeException, std::exception)
+void UnoDialogControl::setTitle( const OUString& Title )
{
SolarMutexGuard aGuard;
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_TITLE ), uno::Any(Title), true );
}
-OUString UnoDialogControl::getTitle() throw(RuntimeException, std::exception)
+OUString UnoDialogControl::getTitle()
{
SolarMutexGuard aGuard;
return ImplGetPropertyValue_UString( BASEPROPERTY_TITLE );
}
-sal_Int16 UnoDialogControl::execute() throw(RuntimeException, std::exception)
+sal_Int16 UnoDialogControl::execute()
{
SolarMutexGuard aGuard;
sal_Int16 nDone = -1;
@@ -614,7 +606,7 @@ sal_Int16 UnoDialogControl::execute() throw(RuntimeException, std::exception)
return nDone;
}
-void UnoDialogControl::endExecute() throw(RuntimeException, std::exception)
+void UnoDialogControl::endExecute()
{
SolarMutexGuard aGuard;
if ( getPeer().is() )
@@ -631,12 +623,11 @@ void UnoDialogControl::endExecute() throw(RuntimeException, std::exception)
// XModifyListener
void SAL_CALL UnoDialogControl::modified(
const lang::EventObject& /*rEvent*/ )
-throw (RuntimeException, std::exception)
{
ImplUpdateResourceResolver();
}
-void UnoDialogControl::ImplModelPropertiesChanged( const Sequence< PropertyChangeEvent >& rEvents ) throw(RuntimeException, std::exception)
+void UnoDialogControl::ImplModelPropertiesChanged( const Sequence< PropertyChangeEvent >& rEvents )
{
sal_Int32 nLen = rEvents.getLength();
for( sal_Int32 i = 0; i < nLen; i++ )
@@ -680,29 +671,29 @@ UnoMultiPageControl::~UnoMultiPageControl()
}
// XTabListener
-void SAL_CALL UnoMultiPageControl::inserted( SAL_UNUSED_PARAMETER ::sal_Int32 ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoMultiPageControl::inserted( SAL_UNUSED_PARAMETER ::sal_Int32 )
{
}
-void SAL_CALL UnoMultiPageControl::removed( SAL_UNUSED_PARAMETER ::sal_Int32 ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoMultiPageControl::removed( SAL_UNUSED_PARAMETER ::sal_Int32 )
{
}
void SAL_CALL UnoMultiPageControl::changed( SAL_UNUSED_PARAMETER ::sal_Int32,
- SAL_UNUSED_PARAMETER const Sequence< NamedValue >& ) throw (RuntimeException, std::exception)
+ SAL_UNUSED_PARAMETER const Sequence< NamedValue >& )
{
}
-void SAL_CALL UnoMultiPageControl::activated( ::sal_Int32 ID ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoMultiPageControl::activated( ::sal_Int32 ID )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_MULTIPAGEVALUE ), uno::makeAny( ID ), false );
}
-void SAL_CALL UnoMultiPageControl::deactivated( SAL_UNUSED_PARAMETER ::sal_Int32 ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoMultiPageControl::deactivated( SAL_UNUSED_PARAMETER ::sal_Int32 )
{
}
-void SAL_CALL UnoMultiPageControl::disposing(const EventObject&) throw (RuntimeException, std::exception)
+void SAL_CALL UnoMultiPageControl::disposing(const EventObject&)
{
}
-void SAL_CALL UnoMultiPageControl::dispose() throw (RuntimeException, std::exception)
+void SAL_CALL UnoMultiPageControl::dispose()
{
lang::EventObject aEvt;
aEvt.Source = static_cast<cppu::OWeakObject*>(this);
@@ -711,7 +702,7 @@ void SAL_CALL UnoMultiPageControl::dispose() throw (RuntimeException, std::excep
}
// css::awt::XSimpleTabController
-::sal_Int32 SAL_CALL UnoMultiPageControl::insertTab() throw (RuntimeException, std::exception)
+::sal_Int32 SAL_CALL UnoMultiPageControl::insertTab()
{
Reference< XSimpleTabController > xMultiPage( getPeer(), UNO_QUERY );
if ( !xMultiPage.is() )
@@ -719,7 +710,7 @@ void SAL_CALL UnoMultiPageControl::dispose() throw (RuntimeException, std::excep
return xMultiPage->insertTab();
}
-void SAL_CALL UnoMultiPageControl::removeTab( ::sal_Int32 ID ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+void SAL_CALL UnoMultiPageControl::removeTab( ::sal_Int32 ID )
{
Reference< XSimpleTabController > xMultiPage( getPeer(), UNO_QUERY );
if ( !xMultiPage.is() )
@@ -727,7 +718,7 @@ void SAL_CALL UnoMultiPageControl::removeTab( ::sal_Int32 ID ) throw (IndexOutOf
xMultiPage->removeTab( ID );
}
-void SAL_CALL UnoMultiPageControl::setTabProps( ::sal_Int32 ID, const Sequence< NamedValue >& Properties ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+void SAL_CALL UnoMultiPageControl::setTabProps( ::sal_Int32 ID, const Sequence< NamedValue >& Properties )
{
Reference< XSimpleTabController > xMultiPage( getPeer(), UNO_QUERY );
if ( !xMultiPage.is() )
@@ -735,7 +726,7 @@ void SAL_CALL UnoMultiPageControl::setTabProps( ::sal_Int32 ID, const Sequence<
xMultiPage->setTabProps( ID, Properties );
}
-Sequence< NamedValue > SAL_CALL UnoMultiPageControl::getTabProps( ::sal_Int32 ID ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+Sequence< NamedValue > SAL_CALL UnoMultiPageControl::getTabProps( ::sal_Int32 ID )
{
Reference< XSimpleTabController > xMultiPage( getPeer(), UNO_QUERY );
if ( !xMultiPage.is() )
@@ -743,7 +734,7 @@ Sequence< NamedValue > SAL_CALL UnoMultiPageControl::getTabProps( ::sal_Int32 ID
return xMultiPage->getTabProps( ID );
}
-void SAL_CALL UnoMultiPageControl::activateTab( ::sal_Int32 ID ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+void SAL_CALL UnoMultiPageControl::activateTab( ::sal_Int32 ID )
{
Reference< XSimpleTabController > xMultiPage( getPeer(), UNO_QUERY );
if ( !xMultiPage.is() )
@@ -753,7 +744,7 @@ void SAL_CALL UnoMultiPageControl::activateTab( ::sal_Int32 ID ) throw (IndexOut
}
-::sal_Int32 SAL_CALL UnoMultiPageControl::getActiveTabID() throw (RuntimeException, std::exception)
+::sal_Int32 SAL_CALL UnoMultiPageControl::getActiveTabID()
{
Reference< XSimpleTabController > xMultiPage( getPeer(), UNO_QUERY );
if ( !xMultiPage.is() )
@@ -761,7 +752,7 @@ void SAL_CALL UnoMultiPageControl::activateTab( ::sal_Int32 ID ) throw (IndexOut
return xMultiPage->getActiveTabID();
}
-void SAL_CALL UnoMultiPageControl::addTabListener( const Reference< XTabListener >& Listener ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoMultiPageControl::addTabListener( const Reference< XTabListener >& Listener )
{
maTabListeners.addInterface( Listener );
Reference< XSimpleTabController > xMultiPage( getPeer(), UNO_QUERY );
@@ -769,7 +760,7 @@ void SAL_CALL UnoMultiPageControl::addTabListener( const Reference< XTabListener
xMultiPage->addTabListener( &maTabListeners );
}
-void SAL_CALL UnoMultiPageControl::removeTabListener( const Reference< XTabListener >& Listener ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoMultiPageControl::removeTabListener( const Reference< XTabListener >& Listener )
{
Reference< XSimpleTabController > xMultiPage( getPeer(), UNO_QUERY );
if ( xMultiPage.is() && maTabListeners.getLength() == 1 )
@@ -786,7 +777,7 @@ IMPL_XTYPEPROVIDER_START( UnoMultiPageControl )
IMPL_XTYPEPROVIDER_END
// uno::XInterface
-uno::Any UnoMultiPageControl::queryAggregation( const uno::Type & rType ) throw(uno::RuntimeException)
+uno::Any UnoMultiPageControl::queryAggregation( const uno::Type & rType )
{
uno::Any aRet = ::cppu::queryInterface( rType,
(static_cast< awt::XTabListener* >(this)), (static_cast< awt::XSimpleTabController* >(this)) );
@@ -824,7 +815,7 @@ void UnoMultiPageControl::bindPage( const uno::Reference< awt::XControl >& _rxCo
}
-void UnoMultiPageControl::createPeer( const Reference< XToolkit > & rxToolkit, const Reference< XWindowPeer > & rParentPeer ) throw(RuntimeException, std::exception)
+void UnoMultiPageControl::createPeer( const Reference< XToolkit > & rxToolkit, const Reference< XWindowPeer > & rParentPeer )
{
SolarMutexGuard aSolarGuard;
@@ -914,7 +905,7 @@ UnoMultiPageModel::Clone() const
return pClone;
}
-OUString UnoMultiPageModel::getServiceName() throw(css::uno::RuntimeException, std::exception)
+OUString UnoMultiPageModel::getServiceName()
{
return OUString( "com.sun.star.awt.UnoMultiPageModel" );
}
@@ -940,13 +931,13 @@ uno::Any UnoMultiPageModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const
}
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoMultiPageModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoMultiPageModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
-void UnoMultiPageModel::insertByName( const OUString& aName, const Any& aElement ) throw(IllegalArgumentException, ElementExistException, WrappedTargetException, RuntimeException, std::exception)
+void UnoMultiPageModel::insertByName( const OUString& aName, const Any& aElement )
{
Reference< XServiceInfo > xInfo;
aElement >>= xInfo;
@@ -962,7 +953,7 @@ void UnoMultiPageModel::insertByName( const OUString& aName, const Any& aElement
}
-sal_Bool SAL_CALL UnoMultiPageModel::getGroupControl( ) throw (RuntimeException, std::exception)
+sal_Bool SAL_CALL UnoMultiPageModel::getGroupControl( )
{
return true;
}
@@ -1032,7 +1023,7 @@ UnoPageModel::Clone() const
return pClone;
}
-OUString UnoPageModel::getServiceName() throw(css::uno::RuntimeException, std::exception)
+OUString UnoPageModel::getServiceName()
{
return OUString( "com.sun.star.awt.UnoPageModel" );
}
@@ -1058,14 +1049,14 @@ uno::Any UnoPageModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const
}
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoPageModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoPageModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
-sal_Bool SAL_CALL UnoPageModel::getGroupControl( ) throw (RuntimeException, std::exception)
+sal_Bool SAL_CALL UnoPageModel::getGroupControl( )
{
return false;
}
@@ -1195,7 +1186,7 @@ UnoFrameModel::Clone() const
return pClone;
}
-OUString UnoFrameModel::getServiceName() throw(css::uno::RuntimeException, std::exception)
+OUString UnoFrameModel::getServiceName()
{
return OUString( "com.sun.star.awt.UnoFrameModel" );
}
@@ -1234,7 +1225,7 @@ uno::Any UnoFrameModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const
}
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoFrameModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoFrameModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
diff --git a/toolkit/source/controls/eventcontainer.cxx b/toolkit/source/controls/eventcontainer.cxx
index 4687c7314793..a64f8094b07b 100644
--- a/toolkit/source/controls/eventcontainer.cxx
+++ b/toolkit/source/controls/eventcontainer.cxx
@@ -42,13 +42,11 @@ namespace toolkit
// Methods XElementAccess
Type ScriptEventContainer::getElementType()
- throw(RuntimeException, std::exception)
{
return mType;
}
sal_Bool ScriptEventContainer::hasElements()
- throw(RuntimeException, std::exception)
{
bool bRet = (mnElementCount > 0);
return bRet;
@@ -56,7 +54,6 @@ sal_Bool ScriptEventContainer::hasElements()
// Methods XNameAccess
Any ScriptEventContainer::getByName( const OUString& aName )
- throw(NoSuchElementException, WrappedTargetException, RuntimeException, std::exception)
{
NameContainerNameMap::iterator aIt = mHashMap.find( aName );
if( aIt == mHashMap.end() )
@@ -69,13 +66,11 @@ Any ScriptEventContainer::getByName( const OUString& aName )
}
Sequence< OUString > ScriptEventContainer::getElementNames()
- throw(RuntimeException, std::exception)
{
return mNames;
}
sal_Bool ScriptEventContainer::hasByName( const OUString& aName )
- throw(RuntimeException, std::exception)
{
NameContainerNameMap::iterator aIt = mHashMap.find( aName );
bool bRet = ( aIt != mHashMap.end() );
@@ -85,7 +80,6 @@ sal_Bool ScriptEventContainer::hasByName( const OUString& aName )
// Methods XNameReplace
void ScriptEventContainer::replaceByName( const OUString& aName, const Any& aElement )
- throw(IllegalArgumentException, NoSuchElementException, WrappedTargetException, RuntimeException, std::exception)
{
const Type& aAnyType = aElement.getValueType();
if( mType != aAnyType )
@@ -112,7 +106,6 @@ void ScriptEventContainer::replaceByName( const OUString& aName, const Any& aEle
// Methods XNameContainer
void ScriptEventContainer::insertByName( const OUString& aName, const Any& aElement )
- throw(IllegalArgumentException, ElementExistException, WrappedTargetException, RuntimeException, std::exception)
{
const Type& aAnyType = aElement.getValueType();
if( mType != aAnyType )
@@ -140,7 +133,6 @@ void ScriptEventContainer::insertByName( const OUString& aName, const Any& aElem
}
void ScriptEventContainer::removeByName( const OUString& Name )
- throw(NoSuchElementException, WrappedTargetException, RuntimeException, std::exception)
{
NameContainerNameMap::iterator aIt = mHashMap.find( Name );
if( aIt == mHashMap.end() )
@@ -172,12 +164,12 @@ void ScriptEventContainer::removeByName( const OUString& Name )
}
// Methods XContainer
-void ScriptEventContainer::addContainerListener( const css::uno::Reference< css::container::XContainerListener >& l ) throw(css::uno::RuntimeException, std::exception)
+void ScriptEventContainer::addContainerListener( const css::uno::Reference< css::container::XContainerListener >& l )
{
maContainerListeners.addInterface( l );
}
-void ScriptEventContainer::removeContainerListener( const css::uno::Reference< css::container::XContainerListener >& l ) throw(css::uno::RuntimeException, std::exception)
+void ScriptEventContainer::removeContainerListener( const css::uno::Reference< css::container::XContainerListener >& l )
{
maContainerListeners.removeInterface( l );
}
diff --git a/toolkit/source/controls/formattedcontrol.cxx b/toolkit/source/controls/formattedcontrol.cxx
index 8a567b27fa3b..5f9b13a7d9ea 100644
--- a/toolkit/source/controls/formattedcontrol.cxx
+++ b/toolkit/source/controls/formattedcontrol.cxx
@@ -164,13 +164,13 @@ namespace toolkit
}
- OUString UnoControlFormattedFieldModel::getServiceName() throw(RuntimeException, std::exception)
+ OUString UnoControlFormattedFieldModel::getServiceName()
{
return OUString::createFromAscii( szServiceName_UnoControlFormattedFieldModel );
}
- void SAL_CALL UnoControlFormattedFieldModel::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const Any& rValue ) throw (Exception, std::exception)
+ void SAL_CALL UnoControlFormattedFieldModel::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const Any& rValue )
{
UnoControlModel::setFastPropertyValue_NoBroadcast( nHandle, rValue );
@@ -261,7 +261,7 @@ namespace toolkit
}
- void UnoControlFormattedFieldModel::dispose( ) throw(RuntimeException, std::exception)
+ void UnoControlFormattedFieldModel::dispose( )
{
UnoControlModel::dispose();
@@ -303,7 +303,7 @@ namespace toolkit
}
- void SAL_CALL UnoControlFormattedFieldModel::setPropertyValues( const Sequence< OUString >& _rPropertyNames, const Sequence< Any >& _rValues ) throw(PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException, std::exception)
+ void SAL_CALL UnoControlFormattedFieldModel::setPropertyValues( const Sequence< OUString >& _rPropertyNames, const Sequence< Any >& _rValues )
{
bool bSettingValue = false;
bool bSettingText = false;
@@ -327,7 +327,7 @@ namespace toolkit
sal_Bool UnoControlFormattedFieldModel::convertFastPropertyValue(
Any& rConvertedValue, Any& rOldValue, sal_Int32 nPropId,
- const Any& rValue ) throw (IllegalArgumentException, std::exception)
+ const Any& rValue )
{
if ( BASEPROPERTY_EFFECTIVE_DEFAULT == nPropId && rValue.hasValue() )
{
@@ -412,21 +412,19 @@ namespace toolkit
// beans::XMultiPropertySet
- Reference< XPropertySetInfo > UnoControlFormattedFieldModel::getPropertySetInfo( ) throw(RuntimeException, std::exception)
+ Reference< XPropertySetInfo > UnoControlFormattedFieldModel::getPropertySetInfo( )
{
static Reference< XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
OUString UnoControlFormattedFieldModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlFormattedFieldModel");
}
css::uno::Sequence<OUString>
UnoControlFormattedFieldModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -450,7 +448,7 @@ namespace toolkit
}
- void UnoFormattedFieldControl::textChanged(const TextEvent& e) throw(RuntimeException, std::exception)
+ void UnoFormattedFieldControl::textChanged(const TextEvent& e)
{
Reference< XVclWindowPeer > xPeer(getPeer(), UNO_QUERY);
OSL_ENSURE(xPeer.is(), "UnoFormattedFieldControl::textChanged : what kind of peer do I have ?");
@@ -470,14 +468,12 @@ namespace toolkit
}
OUString UnoFormattedFieldControl::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoFormattedFieldControl");
}
css::uno::Sequence<OUString>
UnoFormattedFieldControl::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoEditControl::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
diff --git a/toolkit/source/controls/geometrycontrolmodel.cxx b/toolkit/source/controls/geometrycontrolmodel.cxx
index f4cc7cd1f8c6..5cd187c2fd42 100644
--- a/toolkit/source/controls/geometrycontrolmodel.cxx
+++ b/toolkit/source/controls/geometrycontrolmodel.cxx
@@ -134,7 +134,7 @@
}
- Sequence< Type > SAL_CALL OGeometryControlModel_Base::getTypes( ) throw (RuntimeException, std::exception)
+ Sequence< Type > SAL_CALL OGeometryControlModel_Base::getTypes( )
{
// our own types
Sequence< Type > aTypes = ::comphelper::concatSequences(
@@ -244,7 +244,7 @@
}
- Any SAL_CALL OGeometryControlModel_Base::queryAggregation( const Type& _rType ) throw(RuntimeException, std::exception)
+ Any SAL_CALL OGeometryControlModel_Base::queryAggregation( const Type& _rType )
{
Any aReturn;
if (_rType.equals(cppu::UnoType<XCloneable>::get()) && !m_bCloneable)
@@ -269,7 +269,7 @@
}
- Any SAL_CALL OGeometryControlModel_Base::queryInterface( const Type& _rType ) throw(RuntimeException, std::exception)
+ Any SAL_CALL OGeometryControlModel_Base::queryInterface( const Type& _rType )
{
return OGCM_Base::queryInterface(_rType);
}
@@ -303,13 +303,13 @@
sal_Bool SAL_CALL OGeometryControlModel_Base::convertFastPropertyValue(Any& _rConvertedValue, Any& _rOldValue,
- sal_Int32 _nHandle, const Any& _rValue) throw (IllegalArgumentException)
+ sal_Int32 _nHandle, const Any& _rValue)
{
return OPropertyContainer::convertFastPropertyValue(_rConvertedValue, _rOldValue, _nHandle, _rValue);
}
- void SAL_CALL OGeometryControlModel_Base::setFastPropertyValue_NoBroadcast(sal_Int32 _nHandle, const Any& _rValue) throw (Exception, std::exception)
+ void SAL_CALL OGeometryControlModel_Base::setFastPropertyValue_NoBroadcast(sal_Int32 _nHandle, const Any& _rValue)
{
OPropertyContainer::setFastPropertyValue_NoBroadcast(_nHandle, _rValue);
}
@@ -349,13 +349,13 @@
}
- Reference< XPropertySetInfo> SAL_CALL OGeometryControlModel_Base::getPropertySetInfo() throw(RuntimeException, std::exception)
+ Reference< XPropertySetInfo> SAL_CALL OGeometryControlModel_Base::getPropertySetInfo()
{
return OPropertySetAggregationHelper::createPropertySetInfo(getInfoHelper());
}
- Reference< XCloneable > SAL_CALL OGeometryControlModel_Base::createClone( ) throw(RuntimeException, std::exception)
+ Reference< XCloneable > SAL_CALL OGeometryControlModel_Base::createClone( )
{
OSL_ENSURE(m_bCloneable, "OGeometryControlModel_Base::createClone: invalid call!");
if (!m_bCloneable)
@@ -417,7 +417,7 @@
}
- Reference< XNameContainer > SAL_CALL OGeometryControlModel_Base::getEvents() throw(RuntimeException, std::exception)
+ Reference< XNameContainer > SAL_CALL OGeometryControlModel_Base::getEvents()
{
if( !mxEventContainer.is() )
mxEventContainer = static_cast<XNameContainer*>(new toolkit::ScriptEventContainer());
@@ -578,7 +578,7 @@
return new OCommonGeometryControlModel( _rxAggregateInstance, m_sServiceSpecifier );
}
- Sequence< sal_Int8 > SAL_CALL OCommonGeometryControlModel::getImplementationId( ) throw (RuntimeException, std::exception)
+ Sequence< sal_Int8 > SAL_CALL OCommonGeometryControlModel::getImplementationId( )
{
return css::uno::Sequence<sal_Int8>();
}
@@ -596,7 +596,7 @@
};
- void SAL_CALL OCommonGeometryControlModel::setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle, const Any& _rValue ) throw ( Exception, std::exception )
+ void SAL_CALL OCommonGeometryControlModel::setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle, const Any& _rValue )
{
OGeometryControlModel_Base::setFastPropertyValue_NoBroadcast( _nHandle, _rValue );
diff --git a/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx b/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
index 5f3c21d14b2e..9d6aeae9564d 100644
--- a/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
+++ b/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
@@ -58,25 +58,25 @@ public:
DefaultGridColumnModel( DefaultGridColumnModel const & i_copySource );
// XGridColumnModel
- virtual ::sal_Int32 SAL_CALL getColumnCount() throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::awt::grid::XGridColumn > SAL_CALL createColumn( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual ::sal_Int32 SAL_CALL addColumn(const css::uno::Reference< css::awt::grid::XGridColumn > & column) throw (css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception) override;
- virtual void SAL_CALL removeColumn( ::sal_Int32 i_columnIndex ) throw (css::uno::RuntimeException, css::lang::IndexOutOfBoundsException, std::exception) override;
- virtual css::uno::Sequence< css::uno::Reference< css::awt::grid::XGridColumn > > SAL_CALL getColumns() throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::awt::grid::XGridColumn > SAL_CALL getColumn(::sal_Int32 index) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setDefaultColumns(sal_Int32 rowElements) throw (css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Int32 SAL_CALL getColumnCount() override;
+ virtual css::uno::Reference< css::awt::grid::XGridColumn > SAL_CALL createColumn( ) override;
+ virtual ::sal_Int32 SAL_CALL addColumn(const css::uno::Reference< css::awt::grid::XGridColumn > & column) override;
+ virtual void SAL_CALL removeColumn( ::sal_Int32 i_columnIndex ) override;
+ virtual css::uno::Sequence< css::uno::Reference< css::awt::grid::XGridColumn > > SAL_CALL getColumns() override;
+ virtual css::uno::Reference< css::awt::grid::XGridColumn > SAL_CALL getColumn(::sal_Int32 index) override;
+ virtual void SAL_CALL setDefaultColumns(sal_Int32 rowElements) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName( ) override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
// XContainer
- virtual void SAL_CALL addContainerListener( const css::uno::Reference< css::container::XContainerListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeContainerListener( const css::uno::Reference< css::container::XContainerListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addContainerListener( const css::uno::Reference< css::container::XContainerListener >& xListener ) override;
+ virtual void SAL_CALL removeContainerListener( const css::uno::Reference< css::container::XContainerListener >& xListener ) override;
// XCloneable
- virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone( ) override;
// OComponentHelper
virtual void SAL_CALL disposing() override;
@@ -132,13 +132,13 @@ private:
m_aColumns.swap( aColumns );
}
- ::sal_Int32 SAL_CALL DefaultGridColumnModel::getColumnCount() throw (RuntimeException, std::exception)
+ ::sal_Int32 SAL_CALL DefaultGridColumnModel::getColumnCount()
{
return m_aColumns.size();
}
- Reference< XGridColumn > SAL_CALL DefaultGridColumnModel::createColumn( ) throw (RuntimeException, std::exception)
+ Reference< XGridColumn > SAL_CALL DefaultGridColumnModel::createColumn( )
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
return new GridColumn();
@@ -146,7 +146,6 @@ private:
::sal_Int32 SAL_CALL DefaultGridColumnModel::addColumn( const Reference< XGridColumn > & i_column )
- throw (RuntimeException, css::lang::IllegalArgumentException, std::exception)
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
@@ -172,7 +171,6 @@ private:
void SAL_CALL DefaultGridColumnModel::removeColumn( ::sal_Int32 i_columnIndex )
- throw (RuntimeException, css::lang::IndexOutOfBoundsException, std::exception)
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
@@ -221,7 +219,7 @@ private:
}
- Sequence< Reference< XGridColumn > > SAL_CALL DefaultGridColumnModel::getColumns() throw (RuntimeException, std::exception)
+ Sequence< Reference< XGridColumn > > SAL_CALL DefaultGridColumnModel::getColumns()
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
return ::comphelper::containerToSequence( m_aColumns );
@@ -229,7 +227,6 @@ private:
Reference< XGridColumn > SAL_CALL DefaultGridColumnModel::getColumn(::sal_Int32 index)
- throw (css::lang::IndexOutOfBoundsException, RuntimeException, std::exception)
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
@@ -240,7 +237,7 @@ private:
}
- void SAL_CALL DefaultGridColumnModel::setDefaultColumns(sal_Int32 rowElements) throw (RuntimeException, std::exception)
+ void SAL_CALL DefaultGridColumnModel::setDefaultColumns(sal_Int32 rowElements)
{
::std::vector< ContainerEvent > aRemovedColumns;
::std::vector< ContainerEvent > aInsertedColumns;
@@ -324,17 +321,17 @@ private:
}
- OUString SAL_CALL DefaultGridColumnModel::getImplementationName( ) throw (RuntimeException, std::exception)
+ OUString SAL_CALL DefaultGridColumnModel::getImplementationName( )
{
return OUString("stardiv.Toolkit.DefaultGridColumnModel");
}
- sal_Bool SAL_CALL DefaultGridColumnModel::supportsService( const OUString& i_serviceName ) throw (RuntimeException, std::exception)
+ sal_Bool SAL_CALL DefaultGridColumnModel::supportsService( const OUString& i_serviceName )
{
return cppu::supportsService(this, i_serviceName);
}
- Sequence< OUString > SAL_CALL DefaultGridColumnModel::getSupportedServiceNames( ) throw (RuntimeException, std::exception)
+ Sequence< OUString > SAL_CALL DefaultGridColumnModel::getSupportedServiceNames( )
{
const OUString aServiceName("com.sun.star.awt.grid.DefaultGridColumnModel");
const Sequence< OUString > aSeq( &aServiceName, 1 );
@@ -342,14 +339,14 @@ private:
}
- void SAL_CALL DefaultGridColumnModel::addContainerListener( const Reference< XContainerListener >& i_listener ) throw (RuntimeException, std::exception)
+ void SAL_CALL DefaultGridColumnModel::addContainerListener( const Reference< XContainerListener >& i_listener )
{
if ( i_listener.is() )
m_aContainerListeners.addInterface( i_listener );
}
- void SAL_CALL DefaultGridColumnModel::removeContainerListener( const Reference< XContainerListener >& i_listener ) throw (RuntimeException, std::exception)
+ void SAL_CALL DefaultGridColumnModel::removeContainerListener( const Reference< XContainerListener >& i_listener )
{
if ( i_listener.is() )
m_aContainerListeners.removeInterface( i_listener );
@@ -386,7 +383,7 @@ private:
}
- Reference< css::util::XCloneable > SAL_CALL DefaultGridColumnModel::createClone( ) throw (RuntimeException, std::exception)
+ Reference< css::util::XCloneable > SAL_CALL DefaultGridColumnModel::createClone( )
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
return new DefaultGridColumnModel( *this );
diff --git a/toolkit/source/controls/grid/defaultgriddatamodel.cxx b/toolkit/source/controls/grid/defaultgriddatamodel.cxx
index 4e96dfd0b2ce..cae8df334284 100644
--- a/toolkit/source/controls/grid/defaultgriddatamodel.cxx
+++ b/toolkit/source/controls/grid/defaultgriddatamodel.cxx
@@ -55,38 +55,38 @@ public:
DefaultGridDataModel( DefaultGridDataModel const & i_copySource );
// XMutableGridDataModel
- virtual void SAL_CALL addRow( const Any& i_heading, const css::uno::Sequence< css::uno::Any >& Data ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addRows( const css::uno::Sequence< css::uno::Any>& Headings, const css::uno::Sequence< css::uno::Sequence< css::uno::Any > >& Data ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL insertRow( ::sal_Int32 i_index, const css::uno::Any& i_heading, const css::uno::Sequence< css::uno::Any >& Data ) throw (css::uno::RuntimeException, css::lang::IndexOutOfBoundsException, std::exception) override;
- virtual void SAL_CALL insertRows( ::sal_Int32 i_index, const css::uno::Sequence< css::uno::Any>& Headings, const css::uno::Sequence< css::uno::Sequence< css::uno::Any > >& Data ) throw (css::lang::IllegalArgumentException, css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeRow( ::sal_Int32 RowIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeAllRows( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL updateCellData( ::sal_Int32 ColumnIndex, ::sal_Int32 RowIndex, const css::uno::Any& Value ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL updateRowData( const css::uno::Sequence< ::sal_Int32 >& ColumnIndexes, ::sal_Int32 RowIndex, const css::uno::Sequence< css::uno::Any >& Values ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL updateRowHeading( ::sal_Int32 RowIndex, const css::uno::Any& Heading ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL updateCellToolTip( ::sal_Int32 ColumnIndex, ::sal_Int32 RowIndex, const css::uno::Any& Value ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL updateRowToolTip( ::sal_Int32 RowIndex, const css::uno::Any& Value ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addGridDataListener( const css::uno::Reference< css::awt::grid::XGridDataListener >& Listener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeGridDataListener( const css::uno::Reference< css::awt::grid::XGridDataListener >& Listener ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addRow( const Any& i_heading, const css::uno::Sequence< css::uno::Any >& Data ) override;
+ virtual void SAL_CALL addRows( const css::uno::Sequence< css::uno::Any>& Headings, const css::uno::Sequence< css::uno::Sequence< css::uno::Any > >& Data ) override;
+ virtual void SAL_CALL insertRow( ::sal_Int32 i_index, const css::uno::Any& i_heading, const css::uno::Sequence< css::uno::Any >& Data ) override;
+ virtual void SAL_CALL insertRows( ::sal_Int32 i_index, const css::uno::Sequence< css::uno::Any>& Headings, const css::uno::Sequence< css::uno::Sequence< css::uno::Any > >& Data ) override;
+ virtual void SAL_CALL removeRow( ::sal_Int32 RowIndex ) override;
+ virtual void SAL_CALL removeAllRows( ) override;
+ virtual void SAL_CALL updateCellData( ::sal_Int32 ColumnIndex, ::sal_Int32 RowIndex, const css::uno::Any& Value ) override;
+ virtual void SAL_CALL updateRowData( const css::uno::Sequence< ::sal_Int32 >& ColumnIndexes, ::sal_Int32 RowIndex, const css::uno::Sequence< css::uno::Any >& Values ) override;
+ virtual void SAL_CALL updateRowHeading( ::sal_Int32 RowIndex, const css::uno::Any& Heading ) override;
+ virtual void SAL_CALL updateCellToolTip( ::sal_Int32 ColumnIndex, ::sal_Int32 RowIndex, const css::uno::Any& Value ) override;
+ virtual void SAL_CALL updateRowToolTip( ::sal_Int32 RowIndex, const css::uno::Any& Value ) override;
+ virtual void SAL_CALL addGridDataListener( const css::uno::Reference< css::awt::grid::XGridDataListener >& Listener ) override;
+ virtual void SAL_CALL removeGridDataListener( const css::uno::Reference< css::awt::grid::XGridDataListener >& Listener ) override;
// XGridDataModel
- virtual ::sal_Int32 SAL_CALL getRowCount() throw (css::uno::RuntimeException, std::exception) override;
- virtual ::sal_Int32 SAL_CALL getColumnCount() throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getCellData( ::sal_Int32 Column, ::sal_Int32 Row ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getCellToolTip( ::sal_Int32 Column, ::sal_Int32 Row ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getRowHeading( ::sal_Int32 RowIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< css::uno::Any > SAL_CALL getRowData( ::sal_Int32 RowIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Int32 SAL_CALL getRowCount() override;
+ virtual ::sal_Int32 SAL_CALL getColumnCount() override;
+ virtual css::uno::Any SAL_CALL getCellData( ::sal_Int32 Column, ::sal_Int32 Row ) override;
+ virtual css::uno::Any SAL_CALL getCellToolTip( ::sal_Int32 Column, ::sal_Int32 Row ) override;
+ virtual css::uno::Any SAL_CALL getRowHeading( ::sal_Int32 RowIndex ) override;
+ virtual css::uno::Sequence< css::uno::Any > SAL_CALL getRowData( ::sal_Int32 RowIndex ) override;
// OComponentHelper
virtual void SAL_CALL disposing() override;
// XCloneable
- virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone( ) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName( ) throw (RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (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;
private:
typedef ::std::pair< Any, Any > CellData;
@@ -141,14 +141,14 @@ private:
}
- ::sal_Int32 SAL_CALL DefaultGridDataModel::getRowCount() throw (css::uno::RuntimeException, std::exception)
+ ::sal_Int32 SAL_CALL DefaultGridDataModel::getRowCount()
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
return impl_getRowCount_nolck();
}
- ::sal_Int32 SAL_CALL DefaultGridDataModel::getColumnCount() throw (css::uno::RuntimeException, std::exception)
+ ::sal_Int32 SAL_CALL DefaultGridDataModel::getColumnCount()
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
return m_nColumnCount;
@@ -194,21 +194,21 @@ private:
}
- Any SAL_CALL DefaultGridDataModel::getCellData( ::sal_Int32 i_column, ::sal_Int32 i_row ) throw (RuntimeException, IndexOutOfBoundsException, std::exception)
+ Any SAL_CALL DefaultGridDataModel::getCellData( ::sal_Int32 i_column, ::sal_Int32 i_row )
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
return impl_getCellData_throw( i_column, i_row ).first;
}
- Any SAL_CALL DefaultGridDataModel::getCellToolTip( ::sal_Int32 i_column, ::sal_Int32 i_row ) throw (RuntimeException, IndexOutOfBoundsException, std::exception)
+ Any SAL_CALL DefaultGridDataModel::getCellToolTip( ::sal_Int32 i_column, ::sal_Int32 i_row )
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
return impl_getCellData_throw( i_column, i_row ).second;
}
- Any SAL_CALL DefaultGridDataModel::getRowHeading( ::sal_Int32 i_row ) throw (RuntimeException, IndexOutOfBoundsException, std::exception)
+ Any SAL_CALL DefaultGridDataModel::getRowHeading( ::sal_Int32 i_row )
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
@@ -219,7 +219,7 @@ private:
}
- Sequence< Any > SAL_CALL DefaultGridDataModel::getRowData( ::sal_Int32 i_rowIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ Sequence< Any > SAL_CALL DefaultGridDataModel::getRowData( ::sal_Int32 i_rowIndex )
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
@@ -252,19 +252,19 @@ private:
}
- void SAL_CALL DefaultGridDataModel::addRow( const Any& i_heading, const Sequence< Any >& i_data ) throw (RuntimeException, std::exception)
+ void SAL_CALL DefaultGridDataModel::addRow( const Any& i_heading, const Sequence< Any >& i_data )
{
insertRow( getRowCount(), i_heading, i_data );
}
- void SAL_CALL DefaultGridDataModel::addRows( const Sequence< Any >& i_headings, const Sequence< Sequence< Any > >& i_data ) throw (IllegalArgumentException, RuntimeException, std::exception)
+ void SAL_CALL DefaultGridDataModel::addRows( const Sequence< Any >& i_headings, const Sequence< Sequence< Any > >& i_data )
{
insertRows( getRowCount(), i_headings, i_data );
}
- void SAL_CALL DefaultGridDataModel::insertRow( ::sal_Int32 i_index, const Any& i_heading, const Sequence< Any >& i_data ) throw (RuntimeException, IndexOutOfBoundsException, std::exception)
+ void SAL_CALL DefaultGridDataModel::insertRow( ::sal_Int32 i_index, const Any& i_heading, const Sequence< Any >& i_data )
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
@@ -287,7 +287,7 @@ private:
}
- void SAL_CALL DefaultGridDataModel::insertRows( ::sal_Int32 i_index, const Sequence< Any>& i_headings, const Sequence< Sequence< Any > >& i_data ) throw (IllegalArgumentException, IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL DefaultGridDataModel::insertRows( ::sal_Int32 i_index, const Sequence< Any>& i_headings, const Sequence< Sequence< Any > >& i_data )
{
if ( i_headings.getLength() != i_data.getLength() )
throw IllegalArgumentException( OUString(), *this, -1 );
@@ -326,7 +326,7 @@ private:
}
- void SAL_CALL DefaultGridDataModel::removeRow( ::sal_Int32 i_rowIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL DefaultGridDataModel::removeRow( ::sal_Int32 i_rowIndex )
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
@@ -344,7 +344,7 @@ private:
}
- void SAL_CALL DefaultGridDataModel::removeAllRows( ) throw (RuntimeException, std::exception)
+ void SAL_CALL DefaultGridDataModel::removeAllRows( )
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
@@ -359,7 +359,7 @@ private:
}
- void SAL_CALL DefaultGridDataModel::updateCellData( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex, const Any& i_value ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL DefaultGridDataModel::updateCellData( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex, const Any& i_value )
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
@@ -373,7 +373,7 @@ private:
}
- void SAL_CALL DefaultGridDataModel::updateRowData( const Sequence< ::sal_Int32 >& i_columnIndexes, ::sal_Int32 i_rowIndex, const Sequence< Any >& i_values ) throw (IndexOutOfBoundsException, IllegalArgumentException, RuntimeException, std::exception)
+ void SAL_CALL DefaultGridDataModel::updateRowData( const Sequence< ::sal_Int32 >& i_columnIndexes, ::sal_Int32 i_rowIndex, const Sequence< Any >& i_values )
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
@@ -413,7 +413,7 @@ private:
}
- void SAL_CALL DefaultGridDataModel::updateRowHeading( ::sal_Int32 i_rowIndex, const Any& i_heading ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL DefaultGridDataModel::updateRowHeading( ::sal_Int32 i_rowIndex, const Any& i_heading )
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
@@ -430,14 +430,14 @@ private:
}
- void SAL_CALL DefaultGridDataModel::updateCellToolTip( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex, const Any& i_value ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL DefaultGridDataModel::updateCellToolTip( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex, const Any& i_value )
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
impl_getCellDataAccess_throw( i_columnIndex, i_rowIndex ).second = i_value;
}
- void SAL_CALL DefaultGridDataModel::updateRowToolTip( ::sal_Int32 i_rowIndex, const Any& i_value ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL DefaultGridDataModel::updateRowToolTip( ::sal_Int32 i_rowIndex, const Any& i_value )
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
@@ -447,13 +447,13 @@ private:
}
- void SAL_CALL DefaultGridDataModel::addGridDataListener( const Reference< grid::XGridDataListener >& i_listener ) throw (RuntimeException, std::exception)
+ void SAL_CALL DefaultGridDataModel::addGridDataListener( const Reference< grid::XGridDataListener >& i_listener )
{
rBHelper.addListener( cppu::UnoType<XGridDataListener>::get(), i_listener );
}
- void SAL_CALL DefaultGridDataModel::removeGridDataListener( const Reference< grid::XGridDataListener >& i_listener ) throw (RuntimeException, std::exception)
+ void SAL_CALL DefaultGridDataModel::removeGridDataListener( const Reference< grid::XGridDataListener >& i_listener )
{
rBHelper.removeListener( cppu::UnoType<XGridDataListener>::get(), i_listener );
}
@@ -476,24 +476,24 @@ private:
}
- OUString SAL_CALL DefaultGridDataModel::getImplementationName( ) throw (RuntimeException, std::exception)
+ OUString SAL_CALL DefaultGridDataModel::getImplementationName( )
{
return OUString("stardiv.Toolkit.DefaultGridDataModel");
}
- sal_Bool SAL_CALL DefaultGridDataModel::supportsService( const OUString& ServiceName ) throw (RuntimeException, std::exception)
+ sal_Bool SAL_CALL DefaultGridDataModel::supportsService( const OUString& ServiceName )
{
return cppu::supportsService(this, ServiceName);
}
- Sequence< OUString > SAL_CALL DefaultGridDataModel::getSupportedServiceNames( ) throw (RuntimeException, std::exception)
+ Sequence< OUString > SAL_CALL DefaultGridDataModel::getSupportedServiceNames( )
{
Sequence<OUString> aSeq { "com.sun.star.awt.grid.DefaultGridDataModel" };
return aSeq;
}
- Reference< css::util::XCloneable > SAL_CALL DefaultGridDataModel::createClone( ) throw (RuntimeException, std::exception)
+ Reference< css::util::XCloneable > SAL_CALL DefaultGridDataModel::createClone( )
{
return new DefaultGridDataModel( *this );
}
diff --git a/toolkit/source/controls/grid/gridcolumn.cxx b/toolkit/source/controls/grid/gridcolumn.cxx
index 90f79dae8fa8..55623f29a1ed 100644
--- a/toolkit/source/controls/grid/gridcolumn.cxx
+++ b/toolkit/source/controls/grid/gridcolumn.cxx
@@ -93,106 +93,106 @@ namespace toolkit
}
- css::uno::Any SAL_CALL GridColumn::getIdentifier() throw (css::uno::RuntimeException, std::exception)
+ css::uno::Any SAL_CALL GridColumn::getIdentifier()
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
return m_aIdentifier;
}
- void SAL_CALL GridColumn::setIdentifier(const css::uno::Any & value) throw (css::uno::RuntimeException, std::exception)
+ void SAL_CALL GridColumn::setIdentifier(const css::uno::Any & value)
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
m_aIdentifier = value;
}
- ::sal_Int32 SAL_CALL GridColumn::getColumnWidth() throw (css::uno::RuntimeException, std::exception)
+ ::sal_Int32 SAL_CALL GridColumn::getColumnWidth()
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
return m_nColumnWidth;
}
- void SAL_CALL GridColumn::setColumnWidth(::sal_Int32 value) throw (css::uno::RuntimeException, std::exception)
+ void SAL_CALL GridColumn::setColumnWidth(::sal_Int32 value)
{
impl_set( m_nColumnWidth, value, "ColumnWidth" );
}
- ::sal_Int32 SAL_CALL GridColumn::getMaxWidth() throw (css::uno::RuntimeException, std::exception)
+ ::sal_Int32 SAL_CALL GridColumn::getMaxWidth()
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
return m_nMaxWidth;
}
- void SAL_CALL GridColumn::setMaxWidth(::sal_Int32 value) throw (css::uno::RuntimeException, std::exception)
+ void SAL_CALL GridColumn::setMaxWidth(::sal_Int32 value)
{
impl_set( m_nMaxWidth, value, "MaxWidth" );
}
- ::sal_Int32 SAL_CALL GridColumn::getMinWidth() throw (css::uno::RuntimeException, std::exception)
+ ::sal_Int32 SAL_CALL GridColumn::getMinWidth()
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
return m_nMinWidth;
}
- void SAL_CALL GridColumn::setMinWidth(::sal_Int32 value) throw (css::uno::RuntimeException, std::exception)
+ void SAL_CALL GridColumn::setMinWidth(::sal_Int32 value)
{
impl_set( m_nMinWidth, value, "MinWidth" );
}
- OUString SAL_CALL GridColumn::getTitle() throw (css::uno::RuntimeException, std::exception)
+ OUString SAL_CALL GridColumn::getTitle()
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
return m_sTitle;
}
- void SAL_CALL GridColumn::setTitle(const OUString & value) throw (css::uno::RuntimeException, std::exception)
+ void SAL_CALL GridColumn::setTitle(const OUString & value)
{
impl_set( m_sTitle, value, "Title" );
}
- OUString SAL_CALL GridColumn::getHelpText() throw (RuntimeException, std::exception)
+ OUString SAL_CALL GridColumn::getHelpText()
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
return m_sHelpText;
}
- void SAL_CALL GridColumn::setHelpText( const OUString & value ) throw (RuntimeException, std::exception)
+ void SAL_CALL GridColumn::setHelpText( const OUString & value )
{
impl_set( m_sHelpText, value, "HelpText" );
}
- sal_Bool SAL_CALL GridColumn::getResizeable() throw (css::uno::RuntimeException, std::exception)
+ sal_Bool SAL_CALL GridColumn::getResizeable()
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
return m_bResizeable;
}
- void SAL_CALL GridColumn::setResizeable(sal_Bool value) throw (css::uno::RuntimeException, std::exception)
+ void SAL_CALL GridColumn::setResizeable(sal_Bool value)
{
impl_set( m_bResizeable, bool(value), "Resizeable" );
}
- ::sal_Int32 SAL_CALL GridColumn::getFlexibility() throw (RuntimeException, std::exception)
+ ::sal_Int32 SAL_CALL GridColumn::getFlexibility()
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
return m_nFlexibility;
}
- void SAL_CALL GridColumn::setFlexibility( ::sal_Int32 i_value ) throw (IllegalArgumentException, RuntimeException, std::exception)
+ void SAL_CALL GridColumn::setFlexibility( ::sal_Int32 i_value )
{
if ( i_value < 0 )
throw IllegalArgumentException( OUString(), *this, 1 );
@@ -200,26 +200,26 @@ namespace toolkit
}
- HorizontalAlignment SAL_CALL GridColumn::getHorizontalAlign() throw (css::uno::RuntimeException, std::exception)
+ HorizontalAlignment SAL_CALL GridColumn::getHorizontalAlign()
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
return m_eHorizontalAlign;
}
- void SAL_CALL GridColumn::setHorizontalAlign(HorizontalAlignment align) throw (css::uno::RuntimeException, std::exception)
+ void SAL_CALL GridColumn::setHorizontalAlign(HorizontalAlignment align)
{
impl_set( m_eHorizontalAlign, align, "HorizontalAlign" );
}
- void SAL_CALL GridColumn::addGridColumnListener( const Reference< XGridColumnListener >& xListener ) throw (RuntimeException, std::exception)
+ void SAL_CALL GridColumn::addGridColumnListener( const Reference< XGridColumnListener >& xListener )
{
rBHelper.addListener( cppu::UnoType<XGridColumnListener>::get(), xListener );
}
- void SAL_CALL GridColumn::removeGridColumnListener( const Reference< XGridColumnListener >& xListener ) throw (RuntimeException, std::exception)
+ void SAL_CALL GridColumn::removeGridColumnListener( const Reference< XGridColumnListener >& xListener )
{
rBHelper.removeListener( cppu::UnoType<XGridColumnListener>::get(), xListener );
}
@@ -234,7 +234,7 @@ namespace toolkit
}
- ::sal_Int32 SAL_CALL GridColumn::getIndex() throw (RuntimeException, std::exception)
+ ::sal_Int32 SAL_CALL GridColumn::getIndex()
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
return m_nIndex;
@@ -248,30 +248,30 @@ namespace toolkit
}
- ::sal_Int32 SAL_CALL GridColumn::getDataColumnIndex() throw(RuntimeException, std::exception)
+ ::sal_Int32 SAL_CALL GridColumn::getDataColumnIndex()
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
return m_nDataColumnIndex;
}
- void SAL_CALL GridColumn::setDataColumnIndex( ::sal_Int32 i_dataColumnIndex ) throw(RuntimeException, std::exception)
+ void SAL_CALL GridColumn::setDataColumnIndex( ::sal_Int32 i_dataColumnIndex )
{
impl_set( m_nDataColumnIndex, i_dataColumnIndex, "DataColumnIndex" );
}
- OUString SAL_CALL GridColumn::getImplementationName( ) throw (RuntimeException, std::exception)
+ OUString SAL_CALL GridColumn::getImplementationName( )
{
return OUString( "org.openoffice.comp.toolkit.GridColumn" );
}
- sal_Bool SAL_CALL GridColumn::supportsService( const OUString& i_serviceName ) throw (RuntimeException, std::exception)
+ sal_Bool SAL_CALL GridColumn::supportsService( const OUString& i_serviceName )
{
return cppu::supportsService(this, i_serviceName);
}
- css::uno::Sequence< OUString > SAL_CALL GridColumn::getSupportedServiceNames( ) throw (RuntimeException, std::exception)
+ css::uno::Sequence< OUString > SAL_CALL GridColumn::getSupportedServiceNames( )
{
const OUString aServiceName("com.sun.star.awt.grid.GridColumn");
const Sequence< OUString > aSeq( &aServiceName, 1 );
@@ -279,13 +279,13 @@ namespace toolkit
}
- Reference< XCloneable > SAL_CALL GridColumn::createClone( ) throw (RuntimeException, std::exception)
+ Reference< XCloneable > SAL_CALL GridColumn::createClone( )
{
return new GridColumn( *this );
}
- sal_Int64 SAL_CALL GridColumn::getSomething( const Sequence< sal_Int8 >& i_identifier ) throw(RuntimeException, std::exception)
+ sal_Int64 SAL_CALL GridColumn::getSomething( const Sequence< sal_Int8 >& i_identifier )
{
if ( ( i_identifier.getLength() == 16 ) && ( i_identifier == getUnoTunnelId() ) )
return ::sal::static_int_cast< sal_Int64 >( reinterpret_cast< sal_IntPtr >( this ) );
diff --git a/toolkit/source/controls/grid/gridcolumn.hxx b/toolkit/source/controls/grid/gridcolumn.hxx
index d0001b0c20cb..65a61363d7e6 100644
--- a/toolkit/source/controls/grid/gridcolumn.hxx
+++ b/toolkit/source/controls/grid/gridcolumn.hxx
@@ -50,43 +50,43 @@ public:
virtual ~GridColumn() override;
// css::awt::grid::XGridColumn
- virtual css::uno::Any SAL_CALL getIdentifier() throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setIdentifier(const css::uno::Any & value) throw (css::uno::RuntimeException, std::exception) override;
- virtual ::sal_Int32 SAL_CALL getColumnWidth() throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setColumnWidth(::sal_Int32 the_value) throw (css::uno::RuntimeException, std::exception) override;
- virtual ::sal_Int32 SAL_CALL getMaxWidth() throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setMaxWidth(::sal_Int32 the_value) throw (css::uno::RuntimeException, std::exception) override;
- virtual ::sal_Int32 SAL_CALL getMinWidth() throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setMinWidth(::sal_Int32 the_value) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL getResizeable() throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setResizeable(sal_Bool the_value) throw (css::uno::RuntimeException, std::exception) override;
- virtual ::sal_Int32 SAL_CALL getFlexibility() throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setFlexibility( ::sal_Int32 _flexibility ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getTitle() throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setTitle(const OUString & value) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getHelpText() throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setHelpText(const OUString & value) throw (css::uno::RuntimeException, std::exception) override;
- virtual ::sal_Int32 SAL_CALL getIndex() throw (css::uno::RuntimeException, std::exception) override;
- virtual ::sal_Int32 SAL_CALL getDataColumnIndex() throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setDataColumnIndex( ::sal_Int32 i_dataColumnIndex ) throw(css::uno::RuntimeException, std::exception) override;
- virtual css::style::HorizontalAlignment SAL_CALL getHorizontalAlign() throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setHorizontalAlign(css::style::HorizontalAlignment align) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addGridColumnListener( const css::uno::Reference< css::awt::grid::XGridColumnListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeGridColumnListener( const css::uno::Reference< css::awt::grid::XGridColumnListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL getIdentifier() override;
+ virtual void SAL_CALL setIdentifier(const css::uno::Any & value) override;
+ virtual ::sal_Int32 SAL_CALL getColumnWidth() override;
+ virtual void SAL_CALL setColumnWidth(::sal_Int32 the_value) override;
+ virtual ::sal_Int32 SAL_CALL getMaxWidth() override;
+ virtual void SAL_CALL setMaxWidth(::sal_Int32 the_value) override;
+ virtual ::sal_Int32 SAL_CALL getMinWidth() override;
+ virtual void SAL_CALL setMinWidth(::sal_Int32 the_value) override;
+ virtual sal_Bool SAL_CALL getResizeable() override;
+ virtual void SAL_CALL setResizeable(sal_Bool the_value) override;
+ virtual ::sal_Int32 SAL_CALL getFlexibility() override;
+ virtual void SAL_CALL setFlexibility( ::sal_Int32 _flexibility ) override;
+ virtual OUString SAL_CALL getTitle() override;
+ virtual void SAL_CALL setTitle(const OUString & value) override;
+ virtual OUString SAL_CALL getHelpText() override;
+ virtual void SAL_CALL setHelpText(const OUString & value) override;
+ virtual ::sal_Int32 SAL_CALL getIndex() override;
+ virtual ::sal_Int32 SAL_CALL getDataColumnIndex() override;
+ virtual void SAL_CALL setDataColumnIndex( ::sal_Int32 i_dataColumnIndex ) override;
+ virtual css::style::HorizontalAlignment SAL_CALL getHorizontalAlign() override;
+ virtual void SAL_CALL setHorizontalAlign(css::style::HorizontalAlignment align) override;
+ virtual void SAL_CALL addGridColumnListener( const css::uno::Reference< css::awt::grid::XGridColumnListener >& xListener ) override;
+ virtual void SAL_CALL removeGridColumnListener( const css::uno::Reference< css::awt::grid::XGridColumnListener >& xListener ) override;
// OComponentHelper
virtual void SAL_CALL disposing() override;
// XCloneable (base of XGridColumn)
- virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone( ) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName( ) override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
// XUnoTunnel and friends
- virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& i_identifier ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& i_identifier ) override;
static css::uno::Sequence< sal_Int8 > getUnoTunnelId() throw();
static GridColumn* getImplementation( const css::uno::Reference< css::uno::XInterface >& i_component );
diff --git a/toolkit/source/controls/grid/gridcontrol.cxx b/toolkit/source/controls/grid/gridcontrol.cxx
index 62709421d1f5..c18a1e4e56a9 100644
--- a/toolkit/source/controls/grid/gridcontrol.cxx
+++ b/toolkit/source/controls/grid/gridcontrol.cxx
@@ -180,7 +180,7 @@ namespace
}
-void SAL_CALL UnoGridModel::dispose( ) throw(RuntimeException, std::exception)
+void SAL_CALL UnoGridModel::dispose( )
{
lcl_dispose_nothrow( getFastPropertyValue( BASEPROPERTY_GRID_COLUMNMODEL ) );
lcl_dispose_nothrow( getFastPropertyValue( BASEPROPERTY_GRID_DATAMODEL ) );
@@ -189,7 +189,7 @@ void SAL_CALL UnoGridModel::dispose( ) throw(RuntimeException, std::exception)
}
-void SAL_CALL UnoGridModel::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const Any& rValue ) throw (Exception, std::exception)
+void SAL_CALL UnoGridModel::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const Any& rValue )
{
Any aOldSubModel;
if ( ( nHandle == BASEPROPERTY_GRID_COLUMNMODEL ) || ( nHandle == BASEPROPERTY_GRID_DATAMODEL ) )
@@ -210,7 +210,7 @@ void SAL_CALL UnoGridModel::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle,
}
-OUString UnoGridModel::getServiceName() throw(RuntimeException, std::exception)
+OUString UnoGridModel::getServiceName()
{
return OUString("com.sun.star.awt.grid.UnoControlGridModel");
}
@@ -262,7 +262,7 @@ Any UnoGridModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const
// XMultiPropertySet
-Reference< XPropertySetInfo > UnoGridModel::getPropertySetInfo( ) throw(RuntimeException, std::exception)
+Reference< XPropertySetInfo > UnoGridModel::getPropertySetInfo( )
{
static Reference< XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
@@ -290,7 +290,7 @@ OUString UnoGridControl::GetComponentServiceName()
}
-void SAL_CALL UnoGridControl::dispose( ) throw(RuntimeException, std::exception)
+void SAL_CALL UnoGridControl::dispose( )
{
lang::EventObject aEvt;
aEvt.Source = static_cast<cppu::OWeakObject*>(this);
@@ -299,7 +299,7 @@ void SAL_CALL UnoGridControl::dispose( ) throw(RuntimeException, std::exception
}
-void SAL_CALL UnoGridControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer ) throw(uno::RuntimeException, std::exception)
+void SAL_CALL UnoGridControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer )
{
UnoControlBase::createPeer( rxToolkit, rParentPeer );
@@ -348,7 +348,7 @@ namespace
}
-sal_Bool SAL_CALL UnoGridControl::setModel( const Reference< XControlModel >& i_model ) throw(RuntimeException, std::exception)
+sal_Bool SAL_CALL UnoGridControl::setModel( const Reference< XControlModel >& i_model )
{
lcl_setEventForwarding( getModel(), m_pEventForwarder, false );
if ( !UnoGridControl_Base::setModel( i_model ) )
@@ -358,90 +358,90 @@ sal_Bool SAL_CALL UnoGridControl::setModel( const Reference< XControlModel >& i_
}
-::sal_Int32 UnoGridControl::getRowAtPoint(::sal_Int32 x, ::sal_Int32 y) throw (css::uno::RuntimeException, std::exception)
+::sal_Int32 UnoGridControl::getRowAtPoint(::sal_Int32 x, ::sal_Int32 y)
{
Reference< XGridControl > const xGrid ( getPeer(), UNO_QUERY_THROW );
return xGrid->getRowAtPoint( x, y );
}
-::sal_Int32 UnoGridControl::getColumnAtPoint(::sal_Int32 x, ::sal_Int32 y) throw (css::uno::RuntimeException, std::exception)
+::sal_Int32 UnoGridControl::getColumnAtPoint(::sal_Int32 x, ::sal_Int32 y)
{
Reference< XGridControl > const xGrid ( getPeer(), UNO_QUERY_THROW );
return xGrid->getColumnAtPoint( x, y );
}
-::sal_Int32 SAL_CALL UnoGridControl::getCurrentColumn( ) throw (RuntimeException, std::exception)
+::sal_Int32 SAL_CALL UnoGridControl::getCurrentColumn( )
{
Reference< XGridControl > const xGrid ( getPeer(), UNO_QUERY_THROW );
return xGrid->getCurrentColumn();
}
-::sal_Int32 SAL_CALL UnoGridControl::getCurrentRow( ) throw (RuntimeException, std::exception)
+::sal_Int32 SAL_CALL UnoGridControl::getCurrentRow( )
{
Reference< XGridControl > const xGrid ( getPeer(), UNO_QUERY_THROW );
return xGrid->getCurrentRow();
}
-void SAL_CALL UnoGridControl::goToCell( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex ) throw (RuntimeException, IndexOutOfBoundsException, VetoException, std::exception)
+void SAL_CALL UnoGridControl::goToCell( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex )
{
Reference< XGridControl > const xGrid ( getPeer(), UNO_QUERY_THROW );
xGrid->goToCell( i_columnIndex, i_rowIndex );
}
-void SAL_CALL UnoGridControl::selectRow( ::sal_Int32 i_rowIndex ) throw (RuntimeException, IndexOutOfBoundsException, std::exception )
+void SAL_CALL UnoGridControl::selectRow( ::sal_Int32 i_rowIndex )
{
Reference< XGridRowSelection >( getPeer(), UNO_QUERY_THROW )->selectRow( i_rowIndex );
}
-void SAL_CALL UnoGridControl::selectAllRows() throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL UnoGridControl::selectAllRows()
{
Reference< XGridRowSelection >( getPeer(), UNO_QUERY_THROW )->selectAllRows();
}
-void SAL_CALL UnoGridControl::deselectRow( ::sal_Int32 i_rowIndex ) throw (RuntimeException, IndexOutOfBoundsException, std::exception )
+void SAL_CALL UnoGridControl::deselectRow( ::sal_Int32 i_rowIndex )
{
Reference< XGridRowSelection >( getPeer(), UNO_QUERY_THROW )->deselectRow( i_rowIndex );
}
-void SAL_CALL UnoGridControl::deselectAllRows() throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL UnoGridControl::deselectAllRows()
{
Reference< XGridRowSelection >( getPeer(), UNO_QUERY_THROW )->deselectAllRows();
}
-css::uno::Sequence< ::sal_Int32 > SAL_CALL UnoGridControl::getSelectedRows() throw (css::uno::RuntimeException, std::exception)
+css::uno::Sequence< ::sal_Int32 > SAL_CALL UnoGridControl::getSelectedRows()
{
return Reference< XGridRowSelection >( getPeer(), UNO_QUERY_THROW )->getSelectedRows();
}
-sal_Bool SAL_CALL UnoGridControl::hasSelectedRows() throw (css::uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL UnoGridControl::hasSelectedRows()
{
return Reference< XGridRowSelection >( getPeer(), UNO_QUERY_THROW )->hasSelectedRows();
}
-sal_Bool SAL_CALL UnoGridControl::isRowSelected(::sal_Int32 index) throw (css::uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL UnoGridControl::isRowSelected(::sal_Int32 index)
{
return Reference< XGridRowSelection >( getPeer(), UNO_QUERY_THROW )->isRowSelected( index );
}
-void SAL_CALL UnoGridControl::addSelectionListener(const css::uno::Reference< css::awt::grid::XGridSelectionListener > & listener) throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL UnoGridControl::addSelectionListener(const css::uno::Reference< css::awt::grid::XGridSelectionListener > & listener)
{
m_aSelectionListeners.addInterface( listener );
}
-void SAL_CALL UnoGridControl::removeSelectionListener(const css::uno::Reference< css::awt::grid::XGridSelectionListener > & listener) throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL UnoGridControl::removeSelectionListener(const css::uno::Reference< css::awt::grid::XGridSelectionListener > & listener)
{
m_aSelectionListeners.removeInterface( listener );
}
diff --git a/toolkit/source/controls/grid/gridcontrol.hxx b/toolkit/source/controls/grid/gridcontrol.hxx
index afc22b760c00..a4f8a1f5b026 100644
--- a/toolkit/source/controls/grid/gridcontrol.hxx
+++ b/toolkit/source/controls/grid/gridcontrol.hxx
@@ -53,24 +53,22 @@ public:
UnoControlModel* Clone() const override;
// css::lang::XComponent
- void SAL_CALL dispose( ) throw(css::uno::RuntimeException, std::exception) override;
+ void SAL_CALL dispose( ) override;
// css::beans::XMultiPropertySet
- css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(css::uno::RuntimeException, std::exception) override;
+ css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
// css::io::XPersistObject
- OUString SAL_CALL getServiceName() throw(css::uno::RuntimeException, std::exception) override;
+ OUString SAL_CALL getServiceName() override;
// OPropertySetHelper
- void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue ) throw (css::uno::Exception, std::exception) override;
+ void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue ) override;
// XServiceInfo
- OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception) override
+ OUString SAL_CALL getImplementationName() override
{ return OUString("stardiv.Toolkit.GridControlModel"); }
- css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception) override
+ css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
{
auto s(UnoControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 1);
@@ -93,37 +91,35 @@ public:
OUString GetComponentServiceName() override;
// css::lang::XComponent
- void SAL_CALL dispose( ) throw(css::uno::RuntimeException, std::exception) override;
+ void SAL_CALL dispose( ) override;
// css::awt::XControl
- void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit >& Toolkit, const css::uno::Reference< css::awt::XWindowPeer >& Parent ) throw(css::uno::RuntimeException, std::exception) override;
- sal_Bool SAL_CALL setModel( const css::uno::Reference< css::awt::XControlModel >& rxModel ) throw(css::uno::RuntimeException, std::exception) override;
+ void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit >& Toolkit, const css::uno::Reference< css::awt::XWindowPeer >& Parent ) override;
+ sal_Bool SAL_CALL setModel( const css::uno::Reference< css::awt::XControlModel >& rxModel ) override;
// css::awt::grid::XGridControl
- virtual ::sal_Int32 SAL_CALL getColumnAtPoint(::sal_Int32 x, ::sal_Int32 y) throw (css::uno::RuntimeException, std::exception) override;
- virtual ::sal_Int32 SAL_CALL getRowAtPoint(::sal_Int32 x, ::sal_Int32 y) throw (css::uno::RuntimeException, std::exception) override;
- virtual ::sal_Int32 SAL_CALL getCurrentColumn( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual ::sal_Int32 SAL_CALL getCurrentRow( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL goToCell( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex ) throw (css::uno::RuntimeException, css::lang::IndexOutOfBoundsException, css::util::VetoException, std::exception) override;
+ virtual ::sal_Int32 SAL_CALL getColumnAtPoint(::sal_Int32 x, ::sal_Int32 y) override;
+ virtual ::sal_Int32 SAL_CALL getRowAtPoint(::sal_Int32 x, ::sal_Int32 y) override;
+ virtual ::sal_Int32 SAL_CALL getCurrentColumn( ) override;
+ virtual ::sal_Int32 SAL_CALL getCurrentRow( ) override;
+ virtual void SAL_CALL goToCell( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex ) override;
// css::awt::grid::XGridRowSelection
- virtual void SAL_CALL selectRow( ::sal_Int32 i_rowIndex ) throw (css::uno::RuntimeException, css::lang::IndexOutOfBoundsException, std::exception ) override;
- virtual void SAL_CALL selectAllRows() throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL deselectRow( ::sal_Int32 i_rowIndex ) throw (css::uno::RuntimeException, css::lang::IndexOutOfBoundsException, std::exception ) override;
- virtual void SAL_CALL deselectAllRows() throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< ::sal_Int32 > SAL_CALL getSelectedRows() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL hasSelectedRows() throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL isRowSelected(::sal_Int32 index) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addSelectionListener(const css::uno::Reference< css::awt::grid::XGridSelectionListener > & listener) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeSelectionListener(const css::uno::Reference< css::awt::grid::XGridSelectionListener > & listener) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL selectRow( ::sal_Int32 i_rowIndex ) override;
+ virtual void SAL_CALL selectAllRows() override;
+ virtual void SAL_CALL deselectRow( ::sal_Int32 i_rowIndex ) override;
+ virtual void SAL_CALL deselectAllRows() override;
+ virtual css::uno::Sequence< ::sal_Int32 > SAL_CALL getSelectedRows() override;
+ virtual sal_Bool SAL_CALL hasSelectedRows() override;
+ virtual sal_Bool SAL_CALL isRowSelected(::sal_Int32 index) override;
+ virtual void SAL_CALL addSelectionListener(const css::uno::Reference< css::awt::grid::XGridSelectionListener > & listener) override;
+ virtual void SAL_CALL removeSelectionListener(const css::uno::Reference< css::awt::grid::XGridSelectionListener > & listener) override;
// css::lang::XServiceInfo
- OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception) override
+ OUString SAL_CALL getImplementationName() override
{ return OUString("stardiv.Toolkit.GridControl"); }
- css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception) override
+ css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
{
auto s(UnoControlBase::getSupportedServiceNames());
s.realloc(s.getLength() + 1);
diff --git a/toolkit/source/controls/grid/grideventforwarder.cxx b/toolkit/source/controls/grid/grideventforwarder.cxx
index a85d47c4a471..9de7a9a56d1b 100644
--- a/toolkit/source/controls/grid/grideventforwarder.cxx
+++ b/toolkit/source/controls/grid/grideventforwarder.cxx
@@ -59,7 +59,7 @@ namespace toolkit
}
- void SAL_CALL GridEventForwarder::rowsInserted( const GridDataEvent& i_event ) throw (RuntimeException, std::exception)
+ void SAL_CALL GridEventForwarder::rowsInserted( const GridDataEvent& i_event )
{
Reference< XGridDataListener > xPeer( m_parent.getPeer(), UNO_QUERY );
if ( xPeer.is() )
@@ -67,7 +67,7 @@ namespace toolkit
}
- void SAL_CALL GridEventForwarder::rowsRemoved( const GridDataEvent& i_event ) throw (RuntimeException, std::exception)
+ void SAL_CALL GridEventForwarder::rowsRemoved( const GridDataEvent& i_event )
{
Reference< XGridDataListener > xPeer( m_parent.getPeer(), UNO_QUERY );
if ( xPeer.is() )
@@ -75,7 +75,7 @@ namespace toolkit
}
- void SAL_CALL GridEventForwarder::dataChanged( const GridDataEvent& i_event ) throw (RuntimeException, std::exception)
+ void SAL_CALL GridEventForwarder::dataChanged( const GridDataEvent& i_event )
{
Reference< XGridDataListener > xPeer( m_parent.getPeer(), UNO_QUERY );
if ( xPeer.is() )
@@ -83,7 +83,7 @@ namespace toolkit
}
- void SAL_CALL GridEventForwarder::rowHeadingChanged( const GridDataEvent& i_event ) throw (RuntimeException, std::exception)
+ void SAL_CALL GridEventForwarder::rowHeadingChanged( const GridDataEvent& i_event )
{
Reference< XGridDataListener > xPeer( m_parent.getPeer(), UNO_QUERY );
if ( xPeer.is() )
@@ -91,7 +91,7 @@ namespace toolkit
}
- void SAL_CALL GridEventForwarder::elementInserted( const ContainerEvent& i_event ) throw (RuntimeException, std::exception)
+ void SAL_CALL GridEventForwarder::elementInserted( const ContainerEvent& i_event )
{
Reference< XContainerListener > xPeer( m_parent.getPeer(), UNO_QUERY );
if ( xPeer.is() )
@@ -99,7 +99,7 @@ namespace toolkit
}
- void SAL_CALL GridEventForwarder::elementRemoved( const ContainerEvent& i_event ) throw (RuntimeException, std::exception)
+ void SAL_CALL GridEventForwarder::elementRemoved( const ContainerEvent& i_event )
{
Reference< XContainerListener > xPeer( m_parent.getPeer(), UNO_QUERY );
if ( xPeer.is() )
@@ -107,7 +107,7 @@ namespace toolkit
}
- void SAL_CALL GridEventForwarder::elementReplaced( const ContainerEvent& i_event ) throw (RuntimeException, std::exception)
+ void SAL_CALL GridEventForwarder::elementReplaced( const ContainerEvent& i_event )
{
Reference< XContainerListener > xPeer( m_parent.getPeer(), UNO_QUERY );
if ( xPeer.is() )
@@ -115,7 +115,7 @@ namespace toolkit
}
- void SAL_CALL GridEventForwarder::disposing( const EventObject& i_event ) throw (RuntimeException, std::exception)
+ void SAL_CALL GridEventForwarder::disposing( const EventObject& i_event )
{
Reference< XEventListener > xPeer( m_parent.getPeer(), UNO_QUERY );
if ( xPeer.is() )
diff --git a/toolkit/source/controls/grid/grideventforwarder.hxx b/toolkit/source/controls/grid/grideventforwarder.hxx
index da9a6cd269f3..50a3fd4501da 100644
--- a/toolkit/source/controls/grid/grideventforwarder.hxx
+++ b/toolkit/source/controls/grid/grideventforwarder.hxx
@@ -52,18 +52,18 @@ namespace toolkit
virtual void SAL_CALL release() throw() override;
// XGridDataListener
- virtual void SAL_CALL rowsInserted( const css::awt::grid::GridDataEvent& Event ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL rowsRemoved( const css::awt::grid::GridDataEvent& Event ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL dataChanged( const css::awt::grid::GridDataEvent& Event ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL rowHeadingChanged( const css::awt::grid::GridDataEvent& Event ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL rowsInserted( const css::awt::grid::GridDataEvent& Event ) override;
+ virtual void SAL_CALL rowsRemoved( const css::awt::grid::GridDataEvent& Event ) override;
+ virtual void SAL_CALL dataChanged( const css::awt::grid::GridDataEvent& Event ) override;
+ virtual void SAL_CALL rowHeadingChanged( const css::awt::grid::GridDataEvent& Event ) override;
// XContainerListener
- virtual void SAL_CALL elementInserted( const css::container::ContainerEvent& Event ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL elementRemoved( const css::container::ContainerEvent& Event ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL elementReplaced( const css::container::ContainerEvent& Event ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL elementInserted( const css::container::ContainerEvent& Event ) override;
+ virtual void SAL_CALL elementRemoved( const css::container::ContainerEvent& Event ) override;
+ virtual void SAL_CALL elementReplaced( const css::container::ContainerEvent& Event ) override;
// XEventListener
- virtual void SAL_CALL disposing( const css::lang::EventObject& i_event ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& i_event ) override;
private:
UnoGridControl& m_parent;
diff --git a/toolkit/source/controls/grid/sortablegriddatamodel.cxx b/toolkit/source/controls/grid/sortablegriddatamodel.cxx
index 59463e8696b5..8df02feb14b6 100644
--- a/toolkit/source/controls/grid/sortablegriddatamodel.cxx
+++ b/toolkit/source/controls/grid/sortablegriddatamodel.cxx
@@ -72,64 +72,64 @@ protected:
public:
// XSortableGridData
- virtual void SAL_CALL sortByColumn( ::sal_Int32 ColumnIndex, sal_Bool SortAscending ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeColumnSort( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::beans::Pair< ::sal_Int32, sal_Bool > SAL_CALL getCurrentSortOrder( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL sortByColumn( ::sal_Int32 ColumnIndex, sal_Bool SortAscending ) override;
+ virtual void SAL_CALL removeColumnSort( ) override;
+ virtual css::beans::Pair< ::sal_Int32, sal_Bool > SAL_CALL getCurrentSortOrder( ) override;
// XMutableGridDataModel
- virtual void SAL_CALL addRow( const css::uno::Any& Heading, const css::uno::Sequence< css::uno::Any >& Data ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addRows( const css::uno::Sequence< css::uno::Any >& Headings, const css::uno::Sequence< css::uno::Sequence< css::uno::Any > >& Data ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL insertRow( ::sal_Int32 i_index, const css::uno::Any& i_heading, const css::uno::Sequence< css::uno::Any >& Data ) throw (css::uno::RuntimeException, css::lang::IndexOutOfBoundsException, std::exception) override;
- virtual void SAL_CALL insertRows( ::sal_Int32 i_index, const css::uno::Sequence< css::uno::Any>& Headings, const css::uno::Sequence< css::uno::Sequence< css::uno::Any > >& Data ) throw (css::lang::IllegalArgumentException, css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeRow( ::sal_Int32 RowIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeAllRows( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL updateCellData( ::sal_Int32 ColumnIndex, ::sal_Int32 RowIndex, const css::uno::Any& Value ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL updateRowData( const css::uno::Sequence< ::sal_Int32 >& ColumnIndexes, ::sal_Int32 RowIndex, const css::uno::Sequence< css::uno::Any >& Values ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL updateRowHeading( ::sal_Int32 RowIndex, const css::uno::Any& Heading ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL updateCellToolTip( ::sal_Int32 ColumnIndex, ::sal_Int32 RowIndex, const css::uno::Any& Value ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL updateRowToolTip( ::sal_Int32 RowIndex, const css::uno::Any& Value ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addGridDataListener( const css::uno::Reference< css::awt::grid::XGridDataListener >& Listener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeGridDataListener( const css::uno::Reference< css::awt::grid::XGridDataListener >& Listener ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addRow( const css::uno::Any& Heading, const css::uno::Sequence< css::uno::Any >& Data ) override;
+ virtual void SAL_CALL addRows( const css::uno::Sequence< css::uno::Any >& Headings, const css::uno::Sequence< css::uno::Sequence< css::uno::Any > >& Data ) override;
+ virtual void SAL_CALL insertRow( ::sal_Int32 i_index, const css::uno::Any& i_heading, const css::uno::Sequence< css::uno::Any >& Data ) override;
+ virtual void SAL_CALL insertRows( ::sal_Int32 i_index, const css::uno::Sequence< css::uno::Any>& Headings, const css::uno::Sequence< css::uno::Sequence< css::uno::Any > >& Data ) override;
+ virtual void SAL_CALL removeRow( ::sal_Int32 RowIndex ) override;
+ virtual void SAL_CALL removeAllRows( ) override;
+ virtual void SAL_CALL updateCellData( ::sal_Int32 ColumnIndex, ::sal_Int32 RowIndex, const css::uno::Any& Value ) override;
+ virtual void SAL_CALL updateRowData( const css::uno::Sequence< ::sal_Int32 >& ColumnIndexes, ::sal_Int32 RowIndex, const css::uno::Sequence< css::uno::Any >& Values ) override;
+ virtual void SAL_CALL updateRowHeading( ::sal_Int32 RowIndex, const css::uno::Any& Heading ) override;
+ virtual void SAL_CALL updateCellToolTip( ::sal_Int32 ColumnIndex, ::sal_Int32 RowIndex, const css::uno::Any& Value ) override;
+ virtual void SAL_CALL updateRowToolTip( ::sal_Int32 RowIndex, const css::uno::Any& Value ) override;
+ virtual void SAL_CALL addGridDataListener( const css::uno::Reference< css::awt::grid::XGridDataListener >& Listener ) override;
+ virtual void SAL_CALL removeGridDataListener( const css::uno::Reference< css::awt::grid::XGridDataListener >& Listener ) override;
// XGridDataModel
- virtual ::sal_Int32 SAL_CALL getRowCount() throw (css::uno::RuntimeException, std::exception) override;
- virtual ::sal_Int32 SAL_CALL getColumnCount() throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getCellData( ::sal_Int32 Column, ::sal_Int32 RowIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getCellToolTip( ::sal_Int32 Column, ::sal_Int32 RowIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getRowHeading( ::sal_Int32 RowIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< css::uno::Any > SAL_CALL getRowData( ::sal_Int32 RowIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Int32 SAL_CALL getRowCount() override;
+ virtual ::sal_Int32 SAL_CALL getColumnCount() override;
+ virtual css::uno::Any SAL_CALL getCellData( ::sal_Int32 Column, ::sal_Int32 RowIndex ) override;
+ virtual css::uno::Any SAL_CALL getCellToolTip( ::sal_Int32 Column, ::sal_Int32 RowIndex ) override;
+ virtual css::uno::Any SAL_CALL getRowHeading( ::sal_Int32 RowIndex ) override;
+ virtual css::uno::Sequence< css::uno::Any > SAL_CALL getRowData( ::sal_Int32 RowIndex ) override;
// OComponentHelper
virtual void SAL_CALL disposing() override;
// XCloneable
- virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone( ) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName( ) override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
// XInitialization
- virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override;
// XGridDataListener
- virtual void SAL_CALL rowsInserted( const css::awt::grid::GridDataEvent& Event ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL rowsRemoved( const css::awt::grid::GridDataEvent& Event ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL dataChanged( const css::awt::grid::GridDataEvent& Event ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL rowHeadingChanged( const css::awt::grid::GridDataEvent& Event ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL rowsInserted( const css::awt::grid::GridDataEvent& Event ) override;
+ virtual void SAL_CALL rowsRemoved( const css::awt::grid::GridDataEvent& Event ) override;
+ virtual void SAL_CALL dataChanged( const css::awt::grid::GridDataEvent& Event ) override;
+ virtual void SAL_CALL rowHeadingChanged( const css::awt::grid::GridDataEvent& Event ) override;
// XEventListener
- virtual void SAL_CALL disposing( const css::lang::EventObject& i_event ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& i_event ) override;
// XInterface
- virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) override;
virtual void SAL_CALL acquire( ) throw () final override;
virtual void SAL_CALL release( ) throw () override;
// XTypeProvider
- virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL getImplementationId( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) override;
+ virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL getImplementationId( ) override;
private:
/** translates the given public index into one to be passed to our delegator
@@ -261,7 +261,7 @@ public:
}
- Any SAL_CALL SortableGridDataModel::queryInterface( const Type& aType ) throw (RuntimeException, std::exception)
+ Any SAL_CALL SortableGridDataModel::queryInterface( const Type& aType )
{
Any aReturn( SortableGridDataModel_Base::queryInterface( aType ) );
if ( !aReturn.hasValue() )
@@ -282,14 +282,14 @@ public:
}
- Sequence< Type > SAL_CALL SortableGridDataModel::getTypes( ) throw (RuntimeException, std::exception)
+ Sequence< Type > SAL_CALL SortableGridDataModel::getTypes( )
{
return SortableGridDataModel_Base::getTypes();
// don't expose the types got via SortableGridDataModel_PrivateBase - they're private, after all
}
- Sequence< ::sal_Int8 > SAL_CALL SortableGridDataModel::getImplementationId( ) throw (RuntimeException, std::exception)
+ Sequence< ::sal_Int8 > SAL_CALL SortableGridDataModel::getImplementationId( )
{
return css::uno::Sequence<sal_Int8>();
}
@@ -306,7 +306,7 @@ public:
}
- void SAL_CALL SortableGridDataModel::initialize( const Sequence< Any >& i_arguments ) throw (Exception, RuntimeException, std::exception)
+ void SAL_CALL SortableGridDataModel::initialize( const Sequence< Any >& i_arguments )
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
@@ -363,7 +363,7 @@ public:
}
- void SAL_CALL SortableGridDataModel::rowsInserted( const GridDataEvent& i_event ) throw (RuntimeException, std::exception)
+ void SAL_CALL SortableGridDataModel::rowsInserted( const GridDataEvent& i_event )
{
MethodGuard aGuard( *this, rBHelper );
@@ -422,7 +422,7 @@ public:
}
- void SAL_CALL SortableGridDataModel::rowsRemoved( const GridDataEvent& i_event ) throw (RuntimeException, std::exception)
+ void SAL_CALL SortableGridDataModel::rowsRemoved( const GridDataEvent& i_event )
{
MethodGuard aGuard( *this, rBHelper );
@@ -482,7 +482,7 @@ public:
}
- void SAL_CALL SortableGridDataModel::dataChanged( const GridDataEvent& i_event ) throw (RuntimeException, std::exception)
+ void SAL_CALL SortableGridDataModel::dataChanged( const GridDataEvent& i_event )
{
MethodGuard aGuard( *this, rBHelper );
@@ -491,7 +491,7 @@ public:
}
- void SAL_CALL SortableGridDataModel::rowHeadingChanged( const GridDataEvent& i_event ) throw (RuntimeException, std::exception)
+ void SAL_CALL SortableGridDataModel::rowHeadingChanged( const GridDataEvent& i_event )
{
MethodGuard aGuard( *this, rBHelper );
@@ -500,7 +500,7 @@ public:
}
- void SAL_CALL SortableGridDataModel::disposing( const EventObject& ) throw (RuntimeException, std::exception)
+ void SAL_CALL SortableGridDataModel::disposing( const EventObject& )
{
}
@@ -592,7 +592,7 @@ public:
}
- void SAL_CALL SortableGridDataModel::sortByColumn( ::sal_Int32 i_columnIndex, sal_Bool i_sortAscending ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL SortableGridDataModel::sortByColumn( ::sal_Int32 i_columnIndex, sal_Bool i_sortAscending )
{
MethodGuard aGuard( *this, rBHelper );
@@ -634,14 +634,14 @@ public:
}
- void SAL_CALL SortableGridDataModel::removeColumnSort( ) throw (RuntimeException, std::exception)
+ void SAL_CALL SortableGridDataModel::removeColumnSort( )
{
MethodGuard aGuard( *this, rBHelper );
impl_removeColumnSort( aGuard );
}
- css::beans::Pair< ::sal_Int32, sal_Bool > SAL_CALL SortableGridDataModel::getCurrentSortOrder( ) throw (RuntimeException, std::exception)
+ css::beans::Pair< ::sal_Int32, sal_Bool > SAL_CALL SortableGridDataModel::getCurrentSortOrder( )
{
MethodGuard aGuard( *this, rBHelper );
@@ -649,7 +649,7 @@ public:
}
- void SAL_CALL SortableGridDataModel::addRow( const Any& i_heading, const Sequence< Any >& i_data ) throw (RuntimeException, std::exception)
+ void SAL_CALL SortableGridDataModel::addRow( const Any& i_heading, const Sequence< Any >& i_data )
{
MethodGuard aGuard( *this, rBHelper );
@@ -659,7 +659,7 @@ public:
}
- void SAL_CALL SortableGridDataModel::addRows( const Sequence< Any >& i_headings, const Sequence< Sequence< Any > >& i_data ) throw (IllegalArgumentException, RuntimeException, std::exception)
+ void SAL_CALL SortableGridDataModel::addRows( const Sequence< Any >& i_headings, const Sequence< Sequence< Any > >& i_data )
{
MethodGuard aGuard( *this, rBHelper );
@@ -669,7 +669,7 @@ public:
}
- void SAL_CALL SortableGridDataModel::insertRow( ::sal_Int32 i_index, const Any& i_heading, const Sequence< Any >& i_data ) throw (RuntimeException, IndexOutOfBoundsException, std::exception)
+ void SAL_CALL SortableGridDataModel::insertRow( ::sal_Int32 i_index, const Any& i_heading, const Sequence< Any >& i_data )
{
MethodGuard aGuard( *this, rBHelper );
@@ -682,7 +682,7 @@ public:
}
- void SAL_CALL SortableGridDataModel::insertRows( ::sal_Int32 i_index, const Sequence< Any>& i_headings, const Sequence< Sequence< Any > >& i_data ) throw (IllegalArgumentException, IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL SortableGridDataModel::insertRows( ::sal_Int32 i_index, const Sequence< Any>& i_headings, const Sequence< Sequence< Any > >& i_data )
{
MethodGuard aGuard( *this, rBHelper );
@@ -695,7 +695,7 @@ public:
}
- void SAL_CALL SortableGridDataModel::removeRow( ::sal_Int32 i_rowIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL SortableGridDataModel::removeRow( ::sal_Int32 i_rowIndex )
{
MethodGuard aGuard( *this, rBHelper );
@@ -707,7 +707,7 @@ public:
}
- void SAL_CALL SortableGridDataModel::removeAllRows( ) throw (RuntimeException, std::exception)
+ void SAL_CALL SortableGridDataModel::removeAllRows( )
{
MethodGuard aGuard( *this, rBHelper );
@@ -717,7 +717,7 @@ public:
}
- void SAL_CALL SortableGridDataModel::updateCellData( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex, const Any& i_value ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL SortableGridDataModel::updateCellData( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex, const Any& i_value )
{
MethodGuard aGuard( *this, rBHelper );
@@ -729,7 +729,7 @@ public:
}
- void SAL_CALL SortableGridDataModel::updateRowData( const Sequence< ::sal_Int32 >& i_columnIndexes, ::sal_Int32 i_rowIndex, const Sequence< Any >& i_values ) throw (IndexOutOfBoundsException, IllegalArgumentException, RuntimeException, std::exception)
+ void SAL_CALL SortableGridDataModel::updateRowData( const Sequence< ::sal_Int32 >& i_columnIndexes, ::sal_Int32 i_rowIndex, const Sequence< Any >& i_values )
{
MethodGuard aGuard( *this, rBHelper );
@@ -741,7 +741,7 @@ public:
}
- void SAL_CALL SortableGridDataModel::updateRowHeading( ::sal_Int32 i_rowIndex, const Any& i_heading ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL SortableGridDataModel::updateRowHeading( ::sal_Int32 i_rowIndex, const Any& i_heading )
{
MethodGuard aGuard( *this, rBHelper );
@@ -753,7 +753,7 @@ public:
}
- void SAL_CALL SortableGridDataModel::updateCellToolTip( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex, const Any& i_value ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL SortableGridDataModel::updateCellToolTip( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex, const Any& i_value )
{
MethodGuard aGuard( *this, rBHelper );
@@ -765,7 +765,7 @@ public:
}
- void SAL_CALL SortableGridDataModel::updateRowToolTip( ::sal_Int32 i_rowIndex, const Any& i_value ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL SortableGridDataModel::updateRowToolTip( ::sal_Int32 i_rowIndex, const Any& i_value )
{
MethodGuard aGuard( *this, rBHelper );
@@ -777,19 +777,19 @@ public:
}
- void SAL_CALL SortableGridDataModel::addGridDataListener( const Reference< XGridDataListener >& i_listener ) throw (RuntimeException, std::exception)
+ void SAL_CALL SortableGridDataModel::addGridDataListener( const Reference< XGridDataListener >& i_listener )
{
rBHelper.addListener( cppu::UnoType<XGridDataListener>::get(), i_listener );
}
- void SAL_CALL SortableGridDataModel::removeGridDataListener( const Reference< XGridDataListener >& i_listener ) throw (RuntimeException, std::exception)
+ void SAL_CALL SortableGridDataModel::removeGridDataListener( const Reference< XGridDataListener >& i_listener )
{
rBHelper.removeListener( cppu::UnoType<XGridDataListener>::get(), i_listener );
}
- ::sal_Int32 SAL_CALL SortableGridDataModel::getRowCount() throw (RuntimeException, std::exception)
+ ::sal_Int32 SAL_CALL SortableGridDataModel::getRowCount()
{
MethodGuard aGuard( *this, rBHelper );
@@ -799,7 +799,7 @@ public:
}
- ::sal_Int32 SAL_CALL SortableGridDataModel::getColumnCount() throw (RuntimeException, std::exception)
+ ::sal_Int32 SAL_CALL SortableGridDataModel::getColumnCount()
{
MethodGuard aGuard( *this, rBHelper );
@@ -809,7 +809,7 @@ public:
}
- Any SAL_CALL SortableGridDataModel::getCellData( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ Any SAL_CALL SortableGridDataModel::getCellData( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex )
{
MethodGuard aGuard( *this, rBHelper );
@@ -821,7 +821,7 @@ public:
}
- Any SAL_CALL SortableGridDataModel::getCellToolTip( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ Any SAL_CALL SortableGridDataModel::getCellToolTip( ::sal_Int32 i_columnIndex, ::sal_Int32 i_rowIndex )
{
MethodGuard aGuard( *this, rBHelper );
@@ -833,7 +833,7 @@ public:
}
- Any SAL_CALL SortableGridDataModel::getRowHeading( ::sal_Int32 i_rowIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ Any SAL_CALL SortableGridDataModel::getRowHeading( ::sal_Int32 i_rowIndex )
{
MethodGuard aGuard( *this, rBHelper );
@@ -845,7 +845,7 @@ public:
}
- Sequence< Any > SAL_CALL SortableGridDataModel::getRowData( ::sal_Int32 i_rowIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ Sequence< Any > SAL_CALL SortableGridDataModel::getRowData( ::sal_Int32 i_rowIndex )
{
MethodGuard aGuard( *this, rBHelper );
@@ -876,7 +876,7 @@ public:
}
- Reference< css::util::XCloneable > SAL_CALL SortableGridDataModel::createClone( ) throw (RuntimeException, std::exception)
+ Reference< css::util::XCloneable > SAL_CALL SortableGridDataModel::createClone( )
{
MethodGuard aGuard( *this, rBHelper );
@@ -884,17 +884,17 @@ public:
}
- OUString SAL_CALL SortableGridDataModel::getImplementationName( ) throw (RuntimeException, std::exception)
+ OUString SAL_CALL SortableGridDataModel::getImplementationName( )
{
return OUString( "org.openoffice.comp.toolkit.SortableGridDataModel" );
}
- sal_Bool SAL_CALL SortableGridDataModel::supportsService( const OUString& i_serviceName ) throw (RuntimeException, std::exception)
+ sal_Bool SAL_CALL SortableGridDataModel::supportsService( const OUString& i_serviceName )
{
return cppu::supportsService(this, i_serviceName);
}
- Sequence< OUString > SAL_CALL SortableGridDataModel::getSupportedServiceNames( ) throw (RuntimeException, std::exception)
+ Sequence< OUString > SAL_CALL SortableGridDataModel::getSupportedServiceNames( )
{
Sequence< OUString > aServiceNames { "com.sun.star.awt.grid.SortableGridDataModel" };
return aServiceNames;
diff --git a/toolkit/source/controls/roadmapcontrol.cxx b/toolkit/source/controls/roadmapcontrol.cxx
index c6359a108272..59c99d314194 100644
--- a/toolkit/source/controls/roadmapcontrol.cxx
+++ b/toolkit/source/controls/roadmapcontrol.cxx
@@ -76,20 +76,18 @@ static void lcl_throwIndexOutOfBoundsException( )
}
- OUString UnoControlRoadmapModel::getServiceName() throw(RuntimeException, std::exception)
+ OUString UnoControlRoadmapModel::getServiceName()
{
return OUString::createFromAscii( szServiceName_UnoControlRoadmapModel );
}
OUString UnoControlRoadmapModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlRoadmapModel");
}
css::uno::Sequence<OUString>
UnoControlRoadmapModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlRoadmapModel_Base::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -127,7 +125,7 @@ static void lcl_throwIndexOutOfBoundsException( )
}
- Reference< XInterface > SAL_CALL UnoControlRoadmapModel::createInstance( ) throw (Exception, css::uno::RuntimeException, std::exception)
+ Reference< XInterface > SAL_CALL UnoControlRoadmapModel::createInstance( )
{
ORoadmapEntry* pRoadmapItem = new ORoadmapEntry();
Reference< XInterface > xNewRoadmapItem = static_cast<cppu::OWeakObject*>(pRoadmapItem);
@@ -135,7 +133,7 @@ static void lcl_throwIndexOutOfBoundsException( )
}
- Reference< XInterface > SAL_CALL UnoControlRoadmapModel::createInstanceWithArguments( const Sequence< Any >& /*aArguments*/ ) throw (Exception, RuntimeException, std::exception)
+ Reference< XInterface > SAL_CALL UnoControlRoadmapModel::createInstanceWithArguments( const Sequence< Any >& /*aArguments*/ )
{
// Todo: implementation of the arguments handling
ORoadmapEntry* pRoadmapItem = new ORoadmapEntry();
@@ -147,7 +145,7 @@ static void lcl_throwIndexOutOfBoundsException( )
IMPLEMENT_FORWARD_XTYPEPROVIDER2( UnoControlRoadmapModel, UnoControlRoadmapModel_Base, UnoControlRoadmapModel_IBase )
- css::uno::Any SAL_CALL UnoControlRoadmapModel::queryAggregation( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception)
+ css::uno::Any SAL_CALL UnoControlRoadmapModel::queryAggregation( const css::uno::Type & rType )
{
Any aRet = UnoControlRoadmapModel_Base::queryAggregation( rType );
if ( !aRet.hasValue() )
@@ -170,19 +168,19 @@ static void lcl_throwIndexOutOfBoundsException( )
// beans::XMultiPropertySet
- Reference< XPropertySetInfo > UnoControlRoadmapModel::getPropertySetInfo( ) throw(RuntimeException, std::exception)
+ Reference< XPropertySetInfo > UnoControlRoadmapModel::getPropertySetInfo( )
{
static Reference< XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
- sal_Int32 SAL_CALL UnoControlRoadmapModel::getCount() throw(RuntimeException, std::exception)
+ sal_Int32 SAL_CALL UnoControlRoadmapModel::getCount()
{
return maRoadmapItems.size();
}
- Any SAL_CALL UnoControlRoadmapModel::getByIndex( sal_Int32 Index ) throw (IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception )
+ Any SAL_CALL UnoControlRoadmapModel::getByIndex( sal_Int32 Index )
{
if (( Index >= (sal_Int32)maRoadmapItems.size()) || (Index < 0))
lcl_throwIndexOutOfBoundsException( );
@@ -273,7 +271,6 @@ static void lcl_throwIndexOutOfBoundsException( )
void SAL_CALL UnoControlRoadmapModel::insertByIndex( const sal_Int32 Index, const Any& Element)
- throw (IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception )
{
if ( ( Index >= ( (sal_Int32)maRoadmapItems.size() + 1 ) ) || (Index < 0))
lcl_throwIndexOutOfBoundsException( );
@@ -295,7 +292,6 @@ static void lcl_throwIndexOutOfBoundsException( )
void SAL_CALL UnoControlRoadmapModel::removeByIndex( sal_Int32 Index)
- throw (IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception )
{
if (( Index > (sal_Int32)maRoadmapItems.size()) || (Index < 0))
lcl_throwIndexOutOfBoundsException( );
@@ -326,7 +322,6 @@ static void lcl_throwIndexOutOfBoundsException( )
void SAL_CALL UnoControlRoadmapModel::replaceByIndex( const sal_Int32 Index, const Any& Element)
- throw (IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception )
{
Reference< XInterface > xRoadmapItem;
Element >>= xRoadmapItem;
@@ -339,25 +334,25 @@ static void lcl_throwIndexOutOfBoundsException( )
}
- Type SAL_CALL UnoControlRoadmapModel::getElementType() throw(RuntimeException, std::exception)
+ Type SAL_CALL UnoControlRoadmapModel::getElementType()
{
Type aType = cppu::UnoType<XPropertySet>::get();
return aType;
}
- sal_Bool SAL_CALL UnoControlRoadmapModel::hasElements() throw(RuntimeException, std::exception)
+ sal_Bool SAL_CALL UnoControlRoadmapModel::hasElements()
{
return !maRoadmapItems.empty();
}
- void SAL_CALL UnoControlRoadmapModel::addContainerListener( const css::uno::Reference< css::container::XContainerListener >& xListener ) throw (css::uno::RuntimeException, std::exception)
+ void SAL_CALL UnoControlRoadmapModel::addContainerListener( const css::uno::Reference< css::container::XContainerListener >& xListener )
{
maContainerListeners.addInterface( xListener );
}
- void SAL_CALL UnoControlRoadmapModel::removeContainerListener( const css::uno::Reference< css::container::XContainerListener >& xListener ) throw (css::uno::RuntimeException, std::exception)
+ void SAL_CALL UnoControlRoadmapModel::removeContainerListener( const css::uno::Reference< css::container::XContainerListener >& xListener )
{
maContainerListeners.removeInterface( xListener );
}
@@ -376,7 +371,7 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( UnoRoadmapControl, UnoControlRoadmap_Base, Uno
IMPLEMENT_FORWARD_XINTERFACE2( UnoRoadmapControl, UnoControlRoadmap_Base, UnoControlRoadmap_IBase )
-sal_Bool SAL_CALL UnoRoadmapControl::setModel(const Reference< XControlModel >& _rModel) throw ( RuntimeException, std::exception )
+sal_Bool SAL_CALL UnoRoadmapControl::setModel(const Reference< XControlModel >& _rModel)
{
@@ -400,7 +395,7 @@ sal_Bool SAL_CALL UnoRoadmapControl::setModel(const Reference< XControlModel >&
}
- void UnoRoadmapControl::dispose() throw(RuntimeException, std::exception)
+ void UnoRoadmapControl::dispose()
{
EventObject aEvt;
aEvt.Source = static_cast<cppu::OWeakObject*>(this);
@@ -409,7 +404,7 @@ sal_Bool SAL_CALL UnoRoadmapControl::setModel(const Reference< XControlModel >&
}
-void UnoRoadmapControl::elementInserted( const ContainerEvent& rEvent )throw(RuntimeException, std::exception)
+void UnoRoadmapControl::elementInserted( const ContainerEvent& rEvent )
{
Reference< XInterface > xRoadmapItem;
rEvent.Element >>= xRoadmapItem;
@@ -428,7 +423,7 @@ void UnoRoadmapControl::elementInserted( const ContainerEvent& rEvent )throw(Run
}
-void UnoRoadmapControl::elementRemoved( const ContainerEvent& rEvent )throw(RuntimeException, std::exception)
+void UnoRoadmapControl::elementRemoved( const ContainerEvent& rEvent )
{
Reference< XContainerListener > xPeer(getPeer(), UNO_QUERY);
if ( xPeer.is() )
@@ -441,7 +436,7 @@ void UnoRoadmapControl::elementRemoved( const ContainerEvent& rEvent )throw(Runt
}
-void UnoRoadmapControl::elementReplaced( const ContainerEvent& rEvent )throw(RuntimeException, std::exception)
+void UnoRoadmapControl::elementReplaced( const ContainerEvent& rEvent )
{
Reference< XContainerListener > xPeer(getPeer(), UNO_QUERY);
if ( xPeer.is() )
@@ -449,7 +444,7 @@ void UnoRoadmapControl::elementReplaced( const ContainerEvent& rEvent )throw(Run
}
-void SAL_CALL UnoRoadmapControl::itemStateChanged( const ItemEvent& rEvent ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoRoadmapControl::itemStateChanged( const ItemEvent& rEvent )
{
sal_Int16 CurItemIndex = sal::static_int_cast< sal_Int16 >(rEvent.ItemId);
Reference< XControlModel > xModel( getModel( ), UNO_QUERY );
@@ -460,7 +455,7 @@ void SAL_CALL UnoRoadmapControl::itemStateChanged( const ItemEvent& rEvent ) thr
}
-void SAL_CALL UnoRoadmapControl::addItemListener( const Reference< XItemListener >& l ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoRoadmapControl::addItemListener( const Reference< XItemListener >& l )
{
maItemListeners.addInterface( l );
if( getPeer().is() && maItemListeners.getLength() == 1 )
@@ -471,7 +466,7 @@ void SAL_CALL UnoRoadmapControl::addItemListener( const Reference< XItemListener
}
-void SAL_CALL UnoRoadmapControl::removeItemListener( const Reference< XItemListener >& l ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoRoadmapControl::removeItemListener( const Reference< XItemListener >& l )
{
if( getPeer().is() && maItemListeners.getLength() == 1 )
{
@@ -483,7 +478,7 @@ void SAL_CALL UnoRoadmapControl::removeItemListener( const Reference< XItemListe
}
-void SAL_CALL UnoRoadmapControl::propertyChange( const PropertyChangeEvent& evt ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoRoadmapControl::propertyChange( const PropertyChangeEvent& evt )
{
Reference< XPropertyChangeListener > xPeer(getPeer(), UNO_QUERY);
if ( xPeer.is() )
@@ -491,13 +486,11 @@ void SAL_CALL UnoRoadmapControl::propertyChange( const PropertyChangeEvent& evt
}
OUString UnoRoadmapControl::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoRoadmapControl");
}
css::uno::Sequence<OUString> UnoRoadmapControl::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlBase::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
diff --git a/toolkit/source/controls/roadmapentry.cxx b/toolkit/source/controls/roadmapentry.cxx
index 2327d0248690..3238b6e5d578 100644
--- a/toolkit/source/controls/roadmapentry.cxx
+++ b/toolkit/source/controls/roadmapentry.cxx
@@ -69,24 +69,23 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( ORoadmapEntry, ORoadmapEntry_Base, ::comphelpe
css::uno::Reference< css:: beans::XPropertySetInfo > SAL_CALL
ORoadmapEntry::getPropertySetInfo()
- throw(css::uno::RuntimeException, std::exception)
{
return css::uno::Reference< css::beans::XPropertySetInfo >(
createPropertySetInfo( getInfoHelper() ) );
}
-OUString SAL_CALL ORoadmapEntry::getImplementationName( ) throw (css::uno::RuntimeException, std::exception)
+OUString SAL_CALL ORoadmapEntry::getImplementationName( )
{
OUString aStr("com.sun.star.comp.toolkit.RoadmapItem");
return aStr;
}
-sal_Bool SAL_CALL ORoadmapEntry::supportsService( const OUString& ServiceName ) throw (css::uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL ORoadmapEntry::supportsService( const OUString& ServiceName )
{
return cppu::supportsService(this, ServiceName);
}
-css::uno::Sequence< OUString > SAL_CALL ORoadmapEntry::getSupportedServiceNames( ) throw (css::uno::RuntimeException, std::exception)
+css::uno::Sequence< OUString > SAL_CALL ORoadmapEntry::getSupportedServiceNames( )
{
css::uno::Sequence<OUString> aRet { "com.sun.star.awt.RoadmapItem" };
return aRet;
diff --git a/toolkit/source/controls/spinningprogress.cxx b/toolkit/source/controls/spinningprogress.cxx
index 231a3e85f534..fbb44bcbc7ba 100644
--- a/toolkit/source/controls/spinningprogress.cxx
+++ b/toolkit/source/controls/spinningprogress.cxx
@@ -38,14 +38,14 @@ public:
virtual UnoControlModel* Clone() const override;
// XPropertySet
- css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(css::uno::RuntimeException, std::exception) override;
+ css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
// XPersistObject
- OUString SAL_CALL getServiceName() throw(css::uno::RuntimeException, std::exception) override;
+ OUString SAL_CALL getServiceName() override;
// XServiceInfo
- OUString SAL_CALL getImplementationName( ) 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;
+ css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
protected:
virtual ~SpinningProgressControlModel() override;
@@ -96,26 +96,26 @@ protected:
}
- Reference< beans::XPropertySetInfo > SAL_CALL SpinningProgressControlModel::getPropertySetInfo( ) throw(RuntimeException, std::exception)
+ Reference< beans::XPropertySetInfo > SAL_CALL SpinningProgressControlModel::getPropertySetInfo( )
{
static Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
- OUString SAL_CALL SpinningProgressControlModel::getServiceName() throw(RuntimeException, std::exception)
+ OUString SAL_CALL SpinningProgressControlModel::getServiceName()
{
return OUString("com.sun.star.awt.SpinningProgressControlModel");
}
- OUString SAL_CALL SpinningProgressControlModel::getImplementationName( ) throw(RuntimeException, std::exception)
+ OUString SAL_CALL SpinningProgressControlModel::getImplementationName( )
{
return OUString("org.openoffice.comp.toolkit.SpinningProgressControlModel");
}
- Sequence< OUString > SAL_CALL SpinningProgressControlModel::getSupportedServiceNames() throw(RuntimeException, std::exception)
+ Sequence< OUString > SAL_CALL SpinningProgressControlModel::getSupportedServiceNames()
{
Sequence< OUString > aServiceNames(3);
aServiceNames[0] = "com.sun.star.awt.SpinningProgressControlModel";
diff --git a/toolkit/source/controls/stdtabcontroller.cxx b/toolkit/source/controls/stdtabcontroller.cxx
index 6603e86caa4a..6b3456969c26 100644
--- a/toolkit/source/controls/stdtabcontroller.cxx
+++ b/toolkit/source/controls/stdtabcontroller.cxx
@@ -161,7 +161,7 @@ void StdTabController::ImplActivateControl( bool bFirst ) const
}
// XInterface
-Any StdTabController::queryAggregation( const Type & rType ) throw(RuntimeException, std::exception)
+Any StdTabController::queryAggregation( const Type & rType )
{
Any aRet = ::cppu::queryInterface( rType,
(static_cast< XTabController* >(this)),
@@ -176,35 +176,35 @@ IMPL_XTYPEPROVIDER_START( StdTabController )
cppu::UnoType<XServiceInfo>::get()
IMPL_XTYPEPROVIDER_END
-void StdTabController::setModel( const Reference< XTabControllerModel >& Model ) throw(RuntimeException, std::exception)
+void StdTabController::setModel( const Reference< XTabControllerModel >& Model )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
mxModel = Model;
}
-Reference< XTabControllerModel > StdTabController::getModel( ) throw(RuntimeException, std::exception)
+Reference< XTabControllerModel > StdTabController::getModel( )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
return mxModel;
}
-void StdTabController::setContainer( const Reference< XControlContainer >& Container ) throw(RuntimeException, std::exception)
+void StdTabController::setContainer( const Reference< XControlContainer >& Container )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
mxControlContainer = Container;
}
-Reference< XControlContainer > StdTabController::getContainer( ) throw(RuntimeException, std::exception)
+Reference< XControlContainer > StdTabController::getContainer( )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
return mxControlContainer;
}
-Sequence< Reference< XControl > > StdTabController::getControls( ) throw(RuntimeException, std::exception)
+Sequence< Reference< XControl > > StdTabController::getControls( )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -230,7 +230,7 @@ Sequence< Reference< XControl > > StdTabController::getControls( ) throw(Runtim
return aSeq;
}
-void StdTabController::autoTabOrder( ) throw(RuntimeException, std::exception)
+void StdTabController::autoTabOrder( )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -295,7 +295,7 @@ void StdTabController::autoTabOrder( ) throw(RuntimeException, std::exception)
mxModel->setControlModels( aNewSeq );
}
-void StdTabController::activateTabOrder( ) throw(RuntimeException, std::exception)
+void StdTabController::activateTabOrder( )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -350,7 +350,7 @@ void StdTabController::activateTabOrder( ) throw(RuntimeException, std::excepti
}
}
-void StdTabController::activateFirst( ) throw(RuntimeException, std::exception)
+void StdTabController::activateFirst( )
{
SolarMutexGuard aSolarGuard;
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); //TODO: necessary?
@@ -358,7 +358,7 @@ void StdTabController::activateFirst( ) throw(RuntimeException, std::exception)
ImplActivateControl( true );
}
-void StdTabController::activateLast( ) throw(RuntimeException, std::exception)
+void StdTabController::activateLast( )
{
SolarMutexGuard aSolarGuard;
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); //TODO: necessary?
@@ -367,19 +367,16 @@ void StdTabController::activateLast( ) throw(RuntimeException, std::exception)
}
OUString StdTabController::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.StdTabController");
}
sal_Bool StdTabController::supportsService(OUString const & ServiceName)
- throw (css::uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, ServiceName);
}
css::uno::Sequence<OUString> StdTabController::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
return css::uno::Sequence<OUString>{
OUString::createFromAscii(szServiceName2_TabController),
diff --git a/toolkit/source/controls/stdtabcontrollermodel.cxx b/toolkit/source/controls/stdtabcontrollermodel.cxx
index 184d56c0fdcf..a9b2786bb42a 100644
--- a/toolkit/source/controls/stdtabcontrollermodel.cxx
+++ b/toolkit/source/controls/stdtabcontrollermodel.cxx
@@ -213,7 +213,7 @@ css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > ImplReadCon
// css::uno::XInterface
-css::uno::Any StdTabControllerModel::queryAggregation( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception)
+css::uno::Any StdTabControllerModel::queryAggregation( const css::uno::Type & rType )
{
css::uno::Any aRet = ::cppu::queryInterface( rType,
(static_cast< css::awt::XTabControllerModel* >(this)),
@@ -230,21 +230,21 @@ IMPL_XTYPEPROVIDER_START( StdTabControllerModel )
cppu::UnoType<css::io::XPersistObject>::get()
IMPL_XTYPEPROVIDER_END
-sal_Bool StdTabControllerModel::getGroupControl( ) throw(css::uno::RuntimeException, std::exception)
+sal_Bool StdTabControllerModel::getGroupControl( )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
return mbGroupControl;
}
-void StdTabControllerModel::setGroupControl( sal_Bool GroupControl ) throw(css::uno::RuntimeException, std::exception)
+void StdTabControllerModel::setGroupControl( sal_Bool GroupControl )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
mbGroupControl = GroupControl;
}
-void StdTabControllerModel::setControlModels( const css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > >& Controls ) throw(css::uno::RuntimeException, std::exception)
+void StdTabControllerModel::setControlModels( const css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > >& Controls )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -252,7 +252,7 @@ void StdTabControllerModel::setControlModels( const css::uno::Sequence< css::uno
ImplSetControlModels( maControls, Controls );
}
-css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > StdTabControllerModel::getControlModels( ) throw(css::uno::RuntimeException, std::exception)
+css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > StdTabControllerModel::getControlModels( )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -262,7 +262,7 @@ css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > > StdTabContr
return aSeq;
}
-void StdTabControllerModel::setGroup( const css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > >& Group, const OUString& GroupName ) throw(css::uno::RuntimeException, std::exception)
+void StdTabControllerModel::setGroup( const css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > >& Group, const OUString& GroupName )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -300,7 +300,7 @@ void StdTabControllerModel::setGroup( const css::uno::Sequence< css::uno::Refere
maControls.push_back( pNewEntry );
}
-sal_Int32 StdTabControllerModel::getGroupCount( ) throw(css::uno::RuntimeException, std::exception)
+sal_Int32 StdTabControllerModel::getGroupCount( )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -318,7 +318,7 @@ sal_Int32 StdTabControllerModel::getGroupCount( ) throw(css::uno::RuntimeExcept
return nGroups;
}
-void StdTabControllerModel::getGroup( sal_Int32 nGroup, css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > >& rGroup, OUString& rName ) throw(css::uno::RuntimeException, std::exception)
+void StdTabControllerModel::getGroup( sal_Int32 nGroup, css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > >& rGroup, OUString& rName )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -345,7 +345,7 @@ void StdTabControllerModel::getGroup( sal_Int32 nGroup, css::uno::Sequence< css:
rGroup = aSeq;
}
-void StdTabControllerModel::getGroupByName( const OUString& rName, css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > >& rGroup ) throw(css::uno::RuntimeException, std::exception)
+void StdTabControllerModel::getGroupByName( const OUString& rName, css::uno::Sequence< css::uno::Reference< css::awt::XControlModel > >& rGroup )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -369,12 +369,12 @@ void StdTabControllerModel::getGroupByName( const OUString& rName, css::uno::Seq
// css::io::XPersistObject
-OUString StdTabControllerModel::getServiceName( ) throw(css::uno::RuntimeException, std::exception)
+OUString StdTabControllerModel::getServiceName( )
{
return OUString::createFromAscii( szServiceName_TabControllerModel );
}
-void StdTabControllerModel::write( const css::uno::Reference< css::io::XObjectOutputStream >& OutStream ) throw(css::io::IOException, css::uno::RuntimeException, std::exception)
+void StdTabControllerModel::write( const css::uno::Reference< css::io::XObjectOutputStream >& OutStream )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -398,7 +398,7 @@ void StdTabControllerModel::write( const css::uno::Reference< css::io::XObjectOu
}
}
-void StdTabControllerModel::read( const css::uno::Reference< css::io::XObjectInputStream >& InStream ) throw(css::io::IOException, css::uno::RuntimeException, std::exception)
+void StdTabControllerModel::read( const css::uno::Reference< css::io::XObjectInputStream >& InStream )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -415,19 +415,16 @@ void StdTabControllerModel::read( const css::uno::Reference< css::io::XObjectInp
}
OUString StdTabControllerModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.StdTabControllerModel");
}
sal_Bool StdTabControllerModel::supportsService(OUString const & ServiceName)
- throw (css::uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, ServiceName);
}
css::uno::Sequence<OUString> StdTabControllerModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
return css::uno::Sequence<OUString>{
OUString::createFromAscii(szServiceName2_TabControllerModel),
diff --git a/toolkit/source/controls/tabpagecontainer.cxx b/toolkit/source/controls/tabpagecontainer.cxx
index 0e4939947f7a..1a7319d96693 100644
--- a/toolkit/source/controls/tabpagecontainer.cxx
+++ b/toolkit/source/controls/tabpagecontainer.cxx
@@ -61,7 +61,7 @@ UnoControlTabPageContainerModel::UnoControlTabPageContainerModel( const Referenc
ImplRegisterProperty( BASEPROPERTY_TEXT );
}
-OUString UnoControlTabPageContainerModel::getServiceName() throw(RuntimeException, std::exception)
+OUString UnoControlTabPageContainerModel::getServiceName()
{
return OUString("com.sun.star.awt.tab.UnoControlTabPageContainerModel");
}
@@ -89,7 +89,7 @@ uno::Any UnoControlTabPageContainerModel::ImplGetDefaultValue( sal_uInt16 nPropI
}
return *pHelper;
}
-Reference< css::beans::XPropertySetInfo > UnoControlTabPageContainerModel::getPropertySetInfo( ) throw(RuntimeException, std::exception)
+Reference< css::beans::XPropertySetInfo > UnoControlTabPageContainerModel::getPropertySetInfo( )
{
static Reference< css::beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
@@ -129,14 +129,14 @@ namespace
}
}
-Reference< XTabPageModel > SAL_CALL UnoControlTabPageContainerModel::createTabPage( ::sal_Int16 i_tabPageID ) throw (RuntimeException, std::exception)
+Reference< XTabPageModel > SAL_CALL UnoControlTabPageContainerModel::createTabPage( ::sal_Int16 i_tabPageID )
{
Sequence< Any > aInitArgs(1);
aInitArgs[0] <<= i_tabPageID;
return lcl_createTabPageModel( m_xContext, aInitArgs, this );
}
-Reference< XTabPageModel > SAL_CALL UnoControlTabPageContainerModel::loadTabPage( ::sal_Int16 i_tabPageID, const OUString& i_resourceURL ) throw (RuntimeException, std::exception)
+Reference< XTabPageModel > SAL_CALL UnoControlTabPageContainerModel::loadTabPage( ::sal_Int16 i_tabPageID, const OUString& i_resourceURL )
{
Sequence< Any > aInitArgs(2);
aInitArgs[0] <<= i_tabPageID;
@@ -144,7 +144,7 @@ Reference< XTabPageModel > SAL_CALL UnoControlTabPageContainerModel::loadTabPage
return lcl_createTabPageModel( m_xContext, aInitArgs, this );
}
-void SAL_CALL UnoControlTabPageContainerModel::insertByIndex( ::sal_Int32 nIndex, const css::uno::Any& aElement) throw (IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetException, uno::RuntimeException, std::exception)
+void SAL_CALL UnoControlTabPageContainerModel::insertByIndex( ::sal_Int32 nIndex, const css::uno::Any& aElement)
{
SolarMutexGuard aSolarGuard;
uno::Reference < XTabPageModel > xTabPageModel;
@@ -170,22 +170,22 @@ void SAL_CALL UnoControlTabPageContainerModel::insertByIndex( ::sal_Int32 nIndex
throw IllegalArgumentException( WRONG_TYPE_EXCEPTION, static_cast<OWeakObject *>(this), 2 );
}
-void SAL_CALL UnoControlTabPageContainerModel::removeByIndex( ::sal_Int32 /*Index*/ ) throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
+void SAL_CALL UnoControlTabPageContainerModel::removeByIndex( ::sal_Int32 /*Index*/ )
{
}
// XIndexReplace
-void SAL_CALL UnoControlTabPageContainerModel::replaceByIndex( ::sal_Int32 /*Index*/, const uno::Any& /*Element*/ ) throw (lang::IllegalArgumentException, lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
+void SAL_CALL UnoControlTabPageContainerModel::replaceByIndex( ::sal_Int32 /*Index*/, const uno::Any& /*Element*/ )
{
}
// XIndexAccess
-::sal_Int32 SAL_CALL UnoControlTabPageContainerModel::getCount( ) throw (uno::RuntimeException, std::exception)
+::sal_Int32 SAL_CALL UnoControlTabPageContainerModel::getCount( )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
return sal_Int32( m_aTabPageVector.size());
}
-uno::Any SAL_CALL UnoControlTabPageContainerModel::getByIndex( ::sal_Int32 nIndex ) throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
+uno::Any SAL_CALL UnoControlTabPageContainerModel::getByIndex( ::sal_Int32 nIndex )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
if ( nIndex < 0 || nIndex > sal_Int32(m_aTabPageVector.size()) )
@@ -194,23 +194,23 @@ uno::Any SAL_CALL UnoControlTabPageContainerModel::getByIndex( ::sal_Int32 nInde
}
// XElementAccess
-uno::Type SAL_CALL UnoControlTabPageContainerModel::getElementType( ) throw (uno::RuntimeException, std::exception)
+uno::Type SAL_CALL UnoControlTabPageContainerModel::getElementType( )
{
return cppu::UnoType<css::awt::XControlModel>::get();
}
-sal_Bool SAL_CALL UnoControlTabPageContainerModel::hasElements( ) throw (uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL UnoControlTabPageContainerModel::hasElements( )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
return !m_aTabPageVector.empty();
}
// XContainer
-void UnoControlTabPageContainerModel::addContainerListener( const Reference< XContainerListener >& l ) throw(RuntimeException, std::exception)
+void UnoControlTabPageContainerModel::addContainerListener( const Reference< XContainerListener >& l )
{
maContainerListeners.addInterface( l );
}
-void UnoControlTabPageContainerModel::removeContainerListener( const Reference< XContainerListener >& l ) throw(RuntimeException, std::exception)
+void UnoControlTabPageContainerModel::removeContainerListener( const Reference< XContainerListener >& l )
{
maContainerListeners.removeInterface( l );
}
@@ -229,7 +229,7 @@ OUString UnoControlTabPageContainer::GetComponentServiceName()
return OUString("TabPageContainer");
}
-void SAL_CALL UnoControlTabPageContainer::dispose( ) throw(RuntimeException, std::exception)
+void SAL_CALL UnoControlTabPageContainer::dispose( )
{
lang::EventObject aEvt;
aEvt.Source = static_cast<cppu::OWeakObject*>(this);
@@ -237,7 +237,7 @@ void SAL_CALL UnoControlTabPageContainer::dispose( ) throw(RuntimeException, st
UnoControl::dispose();
}
-void UnoControlTabPageContainer::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer ) throw(uno::RuntimeException, std::exception)
+void UnoControlTabPageContainer::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer )
{
UnoControlBase::createPeer( rxToolkit, rParentPeer );
@@ -249,43 +249,43 @@ void UnoControlTabPageContainer::createPeer( const uno::Reference< awt::XToolkit
// XTabPageContainer
-::sal_Int16 SAL_CALL UnoControlTabPageContainer::getActiveTabPageID() throw (RuntimeException, std::exception)
+::sal_Int16 SAL_CALL UnoControlTabPageContainer::getActiveTabPageID()
{
SolarMutexGuard aSolarGuard;
Reference< XTabPageContainer > xTPContainer( getPeer(), UNO_QUERY_THROW );
return xTPContainer->getActiveTabPageID();
}
-void SAL_CALL UnoControlTabPageContainer::setActiveTabPageID( ::sal_Int16 _activetabpageid ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoControlTabPageContainer::setActiveTabPageID( ::sal_Int16 _activetabpageid )
{
SolarMutexGuard aSolarGuard;
Reference< XTabPageContainer > xTPContainer( getPeer(), UNO_QUERY_THROW );
xTPContainer->setActiveTabPageID(_activetabpageid);
}
-::sal_Int16 SAL_CALL UnoControlTabPageContainer::getTabPageCount( ) throw (RuntimeException, std::exception)
+::sal_Int16 SAL_CALL UnoControlTabPageContainer::getTabPageCount( )
{
SolarMutexGuard aSolarGuard;
Reference< XTabPageContainer > xTPContainer( getPeer(), UNO_QUERY_THROW );
return xTPContainer->getTabPageCount();
}
-sal_Bool SAL_CALL UnoControlTabPageContainer::isTabPageActive( ::sal_Int16 tabPageIndex ) throw (RuntimeException, std::exception)
+sal_Bool SAL_CALL UnoControlTabPageContainer::isTabPageActive( ::sal_Int16 tabPageIndex )
{
SolarMutexGuard aSolarGuard;
Reference< XTabPageContainer > xTPContainer( getPeer(), UNO_QUERY_THROW );
return xTPContainer->isTabPageActive(tabPageIndex);
}
-Reference< css::awt::tab::XTabPage > SAL_CALL UnoControlTabPageContainer::getTabPage( ::sal_Int16 tabPageIndex ) throw (RuntimeException, std::exception)
+Reference< css::awt::tab::XTabPage > SAL_CALL UnoControlTabPageContainer::getTabPage( ::sal_Int16 tabPageIndex )
{
SolarMutexGuard aSolarGuard;
Reference< XTabPageContainer > xTPContainer( getPeer(), UNO_QUERY_THROW );
return xTPContainer->getTabPage(tabPageIndex);
}
-Reference< css::awt::tab::XTabPage > SAL_CALL UnoControlTabPageContainer::getTabPageByID( ::sal_Int16 tabPageID ) throw (RuntimeException, std::exception)
+Reference< css::awt::tab::XTabPage > SAL_CALL UnoControlTabPageContainer::getTabPageByID( ::sal_Int16 tabPageID )
{
SolarMutexGuard aSolarGuard;
Reference< XTabPageContainer > xTPContainer( getPeer(), UNO_QUERY_THROW );
return xTPContainer->getTabPageByID(tabPageID);
}
-void SAL_CALL UnoControlTabPageContainer::addTabPageContainerListener( const Reference< css::awt::tab::XTabPageContainerListener >& listener ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoControlTabPageContainer::addTabPageContainerListener( const Reference< css::awt::tab::XTabPageContainerListener >& listener )
{
m_aTabPageListeners.addInterface( listener );
if( getPeer().is() && m_aTabPageListeners.getLength() == 1 )
@@ -294,7 +294,7 @@ void SAL_CALL UnoControlTabPageContainer::addTabPageContainerListener( const Ref
xTabPageContainer->addTabPageContainerListener( &m_aTabPageListeners );
}
}
-void SAL_CALL UnoControlTabPageContainer::removeTabPageContainerListener( const Reference< css::awt::tab::XTabPageContainerListener >& listener ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoControlTabPageContainer::removeTabPageContainerListener( const Reference< css::awt::tab::XTabPageContainerListener >& listener )
{
if( getPeer().is() && m_aTabPageListeners.getLength() == 1 )
{
@@ -322,7 +322,7 @@ void UnoControlTabPageContainer::updateFromModel()
xContainerListener->elementInserted( aEvent );
}
}
-void SAL_CALL UnoControlTabPageContainer::addControl( const OUString& Name, const Reference< css::awt::XControl >& Control ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoControlTabPageContainer::addControl( const OUString& Name, const Reference< css::awt::XControl >& Control )
{
SolarMutexGuard aSolarGuard;
ControlContainerBase::addControl(Name,Control);
diff --git a/toolkit/source/controls/tabpagemodel.cxx b/toolkit/source/controls/tabpagemodel.cxx
index 488d72a325ed..b8f67f88f86c 100644
--- a/toolkit/source/controls/tabpagemodel.cxx
+++ b/toolkit/source/controls/tabpagemodel.cxx
@@ -59,12 +59,12 @@ UnoControlTabPageModel::UnoControlTabPageModel( Reference< XComponentContext > c
ImplRegisterProperty( BASEPROPERTY_HELPURL );
}
-OUString SAL_CALL UnoControlTabPageModel::getImplementationName() throw(css::uno::RuntimeException, std::exception)
+OUString SAL_CALL UnoControlTabPageModel::getImplementationName()
{
return OUString("stardiv.Toolkit.UnoControlTabPageModel");
}
-css::uno::Sequence< OUString > SAL_CALL UnoControlTabPageModel::getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception)
+css::uno::Sequence< OUString > SAL_CALL UnoControlTabPageModel::getSupportedServiceNames()
{
css::uno::Sequence< OUString > aNames = ControlModelContainerBase::getSupportedServiceNames( );
aNames.realloc( aNames.getLength() + 1 );
@@ -72,7 +72,7 @@ css::uno::Sequence< OUString > SAL_CALL UnoControlTabPageModel::getSupportedServ
return aNames;
}
-OUString UnoControlTabPageModel::getServiceName( ) throw(RuntimeException, std::exception)
+OUString UnoControlTabPageModel::getServiceName( )
{
return OUString("com.sun.star.awt.tab.UnoControlTabPageModel");
}
@@ -104,14 +104,13 @@ Any UnoControlTabPageModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const
return *pHelper;
}
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoControlTabPageModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoControlTabPageModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
////----- XInitialization -------------------------------------------------------------------
void SAL_CALL UnoControlTabPageModel::initialize (const Sequence<Any>& rArguments)
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
{
sal_Int16 nPageId = -1;
if ( rArguments.getLength() == 1 )
@@ -181,25 +180,22 @@ OUString UnoControlTabPage::GetComponentServiceName()
}
OUString SAL_CALL UnoControlTabPage::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlTabPage");
}
sal_Bool SAL_CALL UnoControlTabPage::supportsService(OUString const & ServiceName)
- throw (css::uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, ServiceName);
}
css::uno::Sequence<OUString> SAL_CALL UnoControlTabPage::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
css::uno::Sequence< OUString > aSeq { "com.sun.star.awt.tab.UnoControlTabPage" };
return aSeq;
}
-void UnoControlTabPage::dispose() throw(RuntimeException, std::exception)
+void UnoControlTabPage::dispose()
{
SolarMutexGuard aSolarGuard;
@@ -208,12 +204,12 @@ void UnoControlTabPage::dispose() throw(RuntimeException, std::exception)
ControlContainerBase::dispose();
}
-void SAL_CALL UnoControlTabPage::disposing( const lang::EventObject& Source )throw(RuntimeException, std::exception)
+void SAL_CALL UnoControlTabPage::disposing( const lang::EventObject& Source )
{
ControlContainerBase::disposing( Source );
}
-void UnoControlTabPage::createPeer( const Reference< XToolkit > & rxToolkit, const Reference< XWindowPeer > & rParentPeer ) throw(RuntimeException, std::exception)
+void UnoControlTabPage::createPeer( const Reference< XToolkit > & rxToolkit, const Reference< XWindowPeer > & rParentPeer )
{
SolarMutexGuard aSolarGuard;
ImplUpdateResourceResolver();
@@ -239,7 +235,6 @@ static ::Size ImplMapPixelToAppFont( OutputDevice* pOutDev, const ::Size& aSize
}
// css::awt::XWindowListener
void SAL_CALL UnoControlTabPage::windowResized( const css::awt::WindowEvent& e )
-throw (css::uno::RuntimeException, std::exception)
{
OutputDevice*pOutDev = Application::GetDefaultDevice();
DBG_ASSERT( pOutDev, "Missing Default Device!" );
@@ -277,7 +272,6 @@ throw (css::uno::RuntimeException, std::exception)
}
void SAL_CALL UnoControlTabPage::windowMoved( const css::awt::WindowEvent& e )
-throw (css::uno::RuntimeException, std::exception)
{
OutputDevice*pOutDev = Application::GetDefaultDevice();
DBG_ASSERT( pOutDev, "Missing Default Device!" );
@@ -303,13 +297,11 @@ throw (css::uno::RuntimeException, std::exception)
}
void SAL_CALL UnoControlTabPage::windowShown( const css::lang::EventObject& e )
-throw (css::uno::RuntimeException, std::exception)
{
(void)e;
}
void SAL_CALL UnoControlTabPage::windowHidden( const css::lang::EventObject& e )
-throw (css::uno::RuntimeException, std::exception)
{
(void)e;
}
diff --git a/toolkit/source/controls/tkscrollbar.cxx b/toolkit/source/controls/tkscrollbar.cxx
index 3c42011c0b08..8acda6794406 100644
--- a/toolkit/source/controls/tkscrollbar.cxx
+++ b/toolkit/source/controls/tkscrollbar.cxx
@@ -44,20 +44,18 @@ namespace toolkit
}
- OUString UnoControlScrollBarModel::getServiceName( ) throw(css::uno::RuntimeException, std::exception)
+ OUString UnoControlScrollBarModel::getServiceName( )
{
return OUString::createFromAscii( szServiceName_UnoControlScrollBarModel );
}
OUString UnoControlScrollBarModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlScrollBarModel");
}
css::uno::Sequence<OUString>
UnoControlScrollBarModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -93,7 +91,7 @@ namespace toolkit
}
- uno::Reference< beans::XPropertySetInfo > UnoControlScrollBarModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+ uno::Reference< beans::XPropertySetInfo > UnoControlScrollBarModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
@@ -114,7 +112,7 @@ namespace toolkit
}
// css::uno::XInterface
- uno::Any UnoScrollBarControl::queryAggregation( const uno::Type & rType ) throw(uno::RuntimeException, std::exception)
+ uno::Any UnoScrollBarControl::queryAggregation( const uno::Type & rType )
{
uno::Any aRet = ::cppu::queryInterface( rType,
(static_cast< awt::XAdjustmentListener* >(this)),
@@ -129,7 +127,7 @@ namespace toolkit
UnoControlBase::getTypes()
IMPL_XTYPEPROVIDER_END
- void UnoScrollBarControl::dispose() throw(uno::RuntimeException, std::exception)
+ void UnoScrollBarControl::dispose()
{
lang::EventObject aEvt;
aEvt.Source = static_cast<cppu::OWeakObject*>(this);
@@ -137,7 +135,7 @@ namespace toolkit
UnoControl::dispose();
}
- void UnoScrollBarControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer ) throw(uno::RuntimeException, std::exception)
+ void UnoScrollBarControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer )
{
UnoControl::createPeer( rxToolkit, rParentPeer );
@@ -146,7 +144,7 @@ namespace toolkit
}
// css::awt::XAdjustmentListener
- void UnoScrollBarControl::adjustmentValueChanged( const css::awt::AdjustmentEvent& rEvent ) throw(css::uno::RuntimeException, std::exception)
+ void UnoScrollBarControl::adjustmentValueChanged( const css::awt::AdjustmentEvent& rEvent )
{
switch ( rEvent.Type )
{
@@ -174,29 +172,29 @@ namespace toolkit
}
// css::awt::XScrollBar
- void UnoScrollBarControl::addAdjustmentListener( const css::uno::Reference< css::awt::XAdjustmentListener > & l ) throw(css::uno::RuntimeException, std::exception)
+ void UnoScrollBarControl::addAdjustmentListener( const css::uno::Reference< css::awt::XAdjustmentListener > & l )
{
maAdjustmentListeners.addInterface( l );
}
- void UnoScrollBarControl::removeAdjustmentListener( const css::uno::Reference< css::awt::XAdjustmentListener > & l ) throw(css::uno::RuntimeException, std::exception)
+ void UnoScrollBarControl::removeAdjustmentListener( const css::uno::Reference< css::awt::XAdjustmentListener > & l )
{
maAdjustmentListeners.removeInterface( l );
}
- void UnoScrollBarControl::setValue( sal_Int32 n ) throw(css::uno::RuntimeException, std::exception)
+ void UnoScrollBarControl::setValue( sal_Int32 n )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_SCROLLVALUE ), uno::makeAny( n ), true );
}
- void UnoScrollBarControl::setValues( sal_Int32 nValue, sal_Int32 nVisible, sal_Int32 nMax ) throw(css::uno::RuntimeException, std::exception)
+ void UnoScrollBarControl::setValues( sal_Int32 nValue, sal_Int32 nVisible, sal_Int32 nMax )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_SCROLLVALUE ), uno::Any(nValue), true );
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_VISIBLESIZE ), uno::Any(nVisible), true );
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_SCROLLVALUE_MAX ), uno::Any(nMax), true );
}
- sal_Int32 UnoScrollBarControl::getValue() throw(css::uno::RuntimeException, std::exception)
+ sal_Int32 UnoScrollBarControl::getValue()
{
sal_Int32 n = 0;
if ( getPeer().is() )
@@ -207,12 +205,12 @@ namespace toolkit
return n;
}
- void UnoScrollBarControl::setMaximum( sal_Int32 n ) throw(css::uno::RuntimeException, std::exception)
+ void UnoScrollBarControl::setMaximum( sal_Int32 n )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_SCROLLVALUE_MAX ), uno::makeAny( n ), true );
}
- sal_Int32 UnoScrollBarControl::getMaximum() throw(css::uno::RuntimeException, std::exception)
+ sal_Int32 UnoScrollBarControl::getMaximum()
{
sal_Int32 n = 0;
if ( getPeer().is() )
@@ -223,12 +221,12 @@ namespace toolkit
return n;
}
- void UnoScrollBarControl::setLineIncrement( sal_Int32 n ) throw(css::uno::RuntimeException, std::exception)
+ void UnoScrollBarControl::setLineIncrement( sal_Int32 n )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_LINEINCREMENT ), uno::makeAny( n ), true );
}
- sal_Int32 UnoScrollBarControl::getLineIncrement() throw(css::uno::RuntimeException, std::exception)
+ sal_Int32 UnoScrollBarControl::getLineIncrement()
{
sal_Int32 n = 0;
if ( getPeer().is() )
@@ -239,12 +237,12 @@ namespace toolkit
return n;
}
- void UnoScrollBarControl::setBlockIncrement( sal_Int32 n ) throw(css::uno::RuntimeException, std::exception)
+ void UnoScrollBarControl::setBlockIncrement( sal_Int32 n )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_BLOCKINCREMENT ), uno::makeAny( n ), true );
}
- sal_Int32 UnoScrollBarControl::getBlockIncrement() throw(css::uno::RuntimeException, std::exception)
+ sal_Int32 UnoScrollBarControl::getBlockIncrement()
{
sal_Int32 n = 0;
if ( getPeer().is() )
@@ -255,12 +253,12 @@ namespace toolkit
return n;
}
- void UnoScrollBarControl::setVisibleSize( sal_Int32 n ) throw(css::uno::RuntimeException, std::exception)
+ void UnoScrollBarControl::setVisibleSize( sal_Int32 n )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_VISIBLESIZE ), uno::makeAny( n ), true );
}
- sal_Int32 UnoScrollBarControl::getVisibleSize() throw(css::uno::RuntimeException, std::exception)
+ sal_Int32 UnoScrollBarControl::getVisibleSize()
{
sal_Int32 n = 0;
if ( getPeer().is() )
@@ -271,12 +269,12 @@ namespace toolkit
return n;
}
- void UnoScrollBarControl::setOrientation( sal_Int32 n ) throw(css::uno::RuntimeException, std::exception)
+ void UnoScrollBarControl::setOrientation( sal_Int32 n )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_ORIENTATION ), uno::makeAny( n ), true );
}
- sal_Int32 UnoScrollBarControl::getOrientation() throw(css::uno::RuntimeException, std::exception)
+ sal_Int32 UnoScrollBarControl::getOrientation()
{
sal_Int32 n = 0;
if ( getPeer().is() )
@@ -288,13 +286,11 @@ namespace toolkit
}
OUString UnoScrollBarControl::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoScrollBarControl");
}
css::uno::Sequence<OUString> UnoScrollBarControl::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlBase::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
diff --git a/toolkit/source/controls/tkspinbutton.cxx b/toolkit/source/controls/tkspinbutton.cxx
index d69051025218..9807970109b7 100644
--- a/toolkit/source/controls/tkspinbutton.cxx
+++ b/toolkit/source/controls/tkspinbutton.cxx
@@ -52,14 +52,14 @@ public:
UnoControlModel* Clone() const override { return new UnoSpinButtonModel( *this ); }
// XMultiPropertySet
- css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(css::uno::RuntimeException, std::exception) override;
+ css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
// XPersistObject
- OUString SAL_CALL getServiceName() throw(css::uno::RuntimeException, std::exception) override;
+ OUString SAL_CALL getServiceName() override;
// XServiceInfo
- OUString SAL_CALL getImplementationName( ) 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;
+ css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
@@ -81,36 +81,36 @@ public:
OUString GetComponentServiceName() override;
DECLARE_UNO3_AGG_DEFAULTS( UnoSpinButtonControl, UnoControlBase )
- css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) override;
+ css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
- void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit >& Toolkit, const css::uno::Reference< css::awt::XWindowPeer >& Parent ) throw(css::uno::RuntimeException, std::exception) override;
- void SAL_CALL disposing( const css::lang::EventObject& Source ) throw(css::uno::RuntimeException, std::exception) override { UnoControlBase::disposing( Source ); }
- void SAL_CALL dispose( ) throw(css::uno::RuntimeException, std::exception) override;
+ void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit >& Toolkit, const css::uno::Reference< css::awt::XWindowPeer >& Parent ) override;
+ void SAL_CALL disposing( const css::lang::EventObject& Source ) override { UnoControlBase::disposing( Source ); }
+ void SAL_CALL dispose( ) override;
// XTypeProvider
DECLARE_XTYPEPROVIDER()
// XAdjustmentListener
- void SAL_CALL adjustmentValueChanged( const css::awt::AdjustmentEvent& rEvent ) throw(css::uno::RuntimeException, std::exception) override;
+ void SAL_CALL adjustmentValueChanged( const css::awt::AdjustmentEvent& rEvent ) override;
// XSpinValue
- virtual void SAL_CALL addAdjustmentListener( const css::uno::Reference< css::awt::XAdjustmentListener >& listener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeAdjustmentListener( const css::uno::Reference< css::awt::XAdjustmentListener >& listener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setValue( sal_Int32 value ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setValues( sal_Int32 minValue, sal_Int32 maxValue, sal_Int32 currentValue ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getValue( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setMinimum( sal_Int32 minValue ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setMaximum( sal_Int32 maxValue ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getMinimum( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getMaximum( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setSpinIncrement( sal_Int32 spinIncrement ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getSpinIncrement( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setOrientation( sal_Int32 orientation ) throw (css::lang::NoSupportException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL getOrientation( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addAdjustmentListener( const css::uno::Reference< css::awt::XAdjustmentListener >& listener ) override;
+ virtual void SAL_CALL removeAdjustmentListener( const css::uno::Reference< css::awt::XAdjustmentListener >& listener ) override;
+ virtual void SAL_CALL setValue( sal_Int32 value ) override;
+ virtual void SAL_CALL setValues( sal_Int32 minValue, sal_Int32 maxValue, sal_Int32 currentValue ) override;
+ virtual sal_Int32 SAL_CALL getValue( ) override;
+ virtual void SAL_CALL setMinimum( sal_Int32 minValue ) override;
+ virtual void SAL_CALL setMaximum( sal_Int32 maxValue ) override;
+ virtual sal_Int32 SAL_CALL getMinimum( ) override;
+ virtual sal_Int32 SAL_CALL getMaximum( ) override;
+ virtual void SAL_CALL setSpinIncrement( sal_Int32 spinIncrement ) override;
+ virtual sal_Int32 SAL_CALL getSpinIncrement( ) override;
+ virtual void SAL_CALL setOrientation( sal_Int32 orientation ) override;
+ virtual sal_Int32 SAL_CALL getOrientation( ) override;
// XServiceInfo
- OUString SAL_CALL getImplementationName( ) 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;
+ css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
@@ -143,7 +143,7 @@ public:
}
- OUString UnoSpinButtonModel::getServiceName( ) throw (RuntimeException, std::exception)
+ OUString UnoSpinButtonModel::getServiceName( )
{
return OUString("com.sun.star.awt.UnoControlSpinButtonModel");
}
@@ -180,20 +180,20 @@ public:
}
- Reference< XPropertySetInfo > UnoSpinButtonModel::getPropertySetInfo( ) throw(RuntimeException, std::exception)
+ Reference< XPropertySetInfo > UnoSpinButtonModel::getPropertySetInfo( )
{
static Reference< XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
- OUString SAL_CALL UnoSpinButtonModel::getImplementationName( ) throw(RuntimeException, std::exception)
+ OUString SAL_CALL UnoSpinButtonModel::getImplementationName( )
{
return OUString( "stardiv.Toolkit.UnoSpinButtonModel" );
}
- Sequence< OUString > SAL_CALL UnoSpinButtonModel::getSupportedServiceNames() throw(RuntimeException, std::exception)
+ Sequence< OUString > SAL_CALL UnoSpinButtonModel::getSupportedServiceNames()
{
Sequence< OUString > aServices( UnoControlModel::getSupportedServiceNames() );
aServices.realloc( aServices.getLength() + 1 );
@@ -218,7 +218,7 @@ public:
}
- Any UnoSpinButtonControl::queryAggregation( const Type & rType ) throw(RuntimeException, std::exception)
+ Any UnoSpinButtonControl::queryAggregation( const Type & rType )
{
Any aRet = UnoControlBase::queryAggregation( rType );
if ( !aRet.hasValue() )
@@ -230,7 +230,7 @@ public:
IMPLEMENT_FORWARD_XTYPEPROVIDER2( UnoSpinButtonControl, UnoControlBase, UnoSpinButtonControl_Base )
- void UnoSpinButtonControl::dispose() throw(RuntimeException, std::exception)
+ void UnoSpinButtonControl::dispose()
{
::osl::ClearableMutexGuard aGuard( GetMutex() );
if ( maAdjustmentListeners.getLength() )
@@ -250,13 +250,13 @@ public:
}
- OUString SAL_CALL UnoSpinButtonControl::getImplementationName( ) throw(RuntimeException, std::exception)
+ OUString SAL_CALL UnoSpinButtonControl::getImplementationName( )
{
return OUString( "stardiv.Toolkit.UnoSpinButtonControl" );
}
- Sequence< OUString > SAL_CALL UnoSpinButtonControl::getSupportedServiceNames() throw(RuntimeException, std::exception)
+ Sequence< OUString > SAL_CALL UnoSpinButtonControl::getSupportedServiceNames()
{
Sequence< OUString > aServices( UnoControlBase::getSupportedServiceNames() );
aServices.realloc( aServices.getLength() + 1 );
@@ -265,7 +265,7 @@ public:
}
- void UnoSpinButtonControl::createPeer( const Reference< XToolkit > & rxToolkit, const Reference< XWindowPeer > & rParentPeer ) throw(RuntimeException, std::exception)
+ void UnoSpinButtonControl::createPeer( const Reference< XToolkit > & rxToolkit, const Reference< XWindowPeer > & rParentPeer )
{
UnoControl::createPeer( rxToolkit, rParentPeer );
@@ -275,7 +275,7 @@ public:
}
- void UnoSpinButtonControl::adjustmentValueChanged( const AdjustmentEvent& rEvent ) throw(RuntimeException, std::exception)
+ void UnoSpinButtonControl::adjustmentValueChanged( const AdjustmentEvent& rEvent )
{
switch ( rEvent.Type )
{
@@ -297,27 +297,27 @@ public:
}
- void UnoSpinButtonControl::addAdjustmentListener( const Reference< XAdjustmentListener > & listener ) throw(RuntimeException, std::exception)
+ void UnoSpinButtonControl::addAdjustmentListener( const Reference< XAdjustmentListener > & listener )
{
::osl::MutexGuard aGuard( GetMutex() );
maAdjustmentListeners.addInterface( listener );
}
- void UnoSpinButtonControl::removeAdjustmentListener( const Reference< XAdjustmentListener > & listener ) throw(RuntimeException, std::exception)
+ void UnoSpinButtonControl::removeAdjustmentListener( const Reference< XAdjustmentListener > & listener )
{
::osl::MutexGuard aGuard( GetMutex() );
maAdjustmentListeners.removeInterface( listener );
}
- void SAL_CALL UnoSpinButtonControl::setValue( sal_Int32 value ) throw (RuntimeException, std::exception)
+ void SAL_CALL UnoSpinButtonControl::setValue( sal_Int32 value )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_SPINVALUE ), makeAny( value ), true );
}
- void SAL_CALL UnoSpinButtonControl::setValues( sal_Int32 minValue, sal_Int32 maxValue, sal_Int32 currentValue ) throw (RuntimeException, std::exception)
+ void SAL_CALL UnoSpinButtonControl::setValues( sal_Int32 minValue, sal_Int32 maxValue, sal_Int32 currentValue )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_SPINVALUE_MIN ), makeAny( minValue ), true );
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_SPINVALUE_MAX ), makeAny( maxValue ), true );
@@ -325,7 +325,7 @@ public:
}
- sal_Int32 SAL_CALL UnoSpinButtonControl::getValue( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL UnoSpinButtonControl::getValue( )
{
::osl::MutexGuard aGuard( GetMutex() );
sal_Int32 nValue = 0;
@@ -338,19 +338,19 @@ public:
}
- void SAL_CALL UnoSpinButtonControl::setMinimum( sal_Int32 minValue ) throw (RuntimeException, std::exception)
+ void SAL_CALL UnoSpinButtonControl::setMinimum( sal_Int32 minValue )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_SPINVALUE_MIN ), makeAny( minValue ), true );
}
- void SAL_CALL UnoSpinButtonControl::setMaximum( sal_Int32 maxValue ) throw (RuntimeException, std::exception)
+ void SAL_CALL UnoSpinButtonControl::setMaximum( sal_Int32 maxValue )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_SPINVALUE_MAX ), makeAny( maxValue ), true );
}
- sal_Int32 SAL_CALL UnoSpinButtonControl::getMinimum( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL UnoSpinButtonControl::getMinimum( )
{
::osl::MutexGuard aGuard( GetMutex() );
sal_Int32 nMin = 0;
@@ -363,7 +363,7 @@ public:
}
- sal_Int32 SAL_CALL UnoSpinButtonControl::getMaximum( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL UnoSpinButtonControl::getMaximum( )
{
::osl::MutexGuard aGuard( GetMutex() );
sal_Int32 nMax = 0;
@@ -376,13 +376,13 @@ public:
}
- void SAL_CALL UnoSpinButtonControl::setSpinIncrement( sal_Int32 spinIncrement ) throw (RuntimeException, std::exception)
+ void SAL_CALL UnoSpinButtonControl::setSpinIncrement( sal_Int32 spinIncrement )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_SPININCREMENT ), makeAny( spinIncrement ), true );
}
- sal_Int32 SAL_CALL UnoSpinButtonControl::getSpinIncrement( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL UnoSpinButtonControl::getSpinIncrement( )
{
::osl::MutexGuard aGuard( GetMutex() );
sal_Int32 nIncrement = 0;
@@ -395,13 +395,13 @@ public:
}
- void SAL_CALL UnoSpinButtonControl::setOrientation( sal_Int32 orientation ) throw (NoSupportException, RuntimeException, std::exception)
+ void SAL_CALL UnoSpinButtonControl::setOrientation( sal_Int32 orientation )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_ORIENTATION ), makeAny( orientation ), true );
}
- sal_Int32 SAL_CALL UnoSpinButtonControl::getOrientation( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL UnoSpinButtonControl::getOrientation( )
{
::osl::MutexGuard aGuard( GetMutex() );
sal_Int32 nOrientation = ScrollBarOrientation::HORIZONTAL;
diff --git a/toolkit/source/controls/tree/treecontrol.cxx b/toolkit/source/controls/tree/treecontrol.cxx
index 428d5b9ddfcc..3cba6623cd6c 100644
--- a/toolkit/source/controls/tree/treecontrol.cxx
+++ b/toolkit/source/controls/tree/treecontrol.cxx
@@ -79,7 +79,7 @@ UnoControlModel* UnoTreeModel::Clone() const
return new UnoTreeModel( *this );
}
-OUString UnoTreeModel::getServiceName() throw(RuntimeException, std::exception)
+OUString UnoTreeModel::getServiceName()
{
return OUString( "com.sun.star.awt.tree.TreeControlModel" );
}
@@ -120,7 +120,7 @@ Any UnoTreeModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const
}
// XMultiPropertySet
-Reference< XPropertySetInfo > UnoTreeModel::getPropertySetInfo( ) throw(RuntimeException, std::exception)
+Reference< XPropertySetInfo > UnoTreeModel::getPropertySetInfo( )
{
static Reference< XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
@@ -138,47 +138,47 @@ public:
OUString GetComponentServiceName() override;
// css::lang::XComponent
- void SAL_CALL dispose( ) throw(css::uno::RuntimeException, std::exception) override;
+ void SAL_CALL dispose( ) override;
// css::awt::XControl
- void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit >& Toolkit, const css::uno::Reference< css::awt::XWindowPeer >& Parent ) throw(css::uno::RuntimeException, std::exception) override;
+ void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit >& Toolkit, const css::uno::Reference< css::awt::XWindowPeer >& Parent ) override;
// css::view::XSelectionSupplier
- virtual sal_Bool SAL_CALL select( const css::uno::Any& xSelection ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getSelection( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addSelectionChangeListener( const css::uno::Reference< css::view::XSelectionChangeListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeSelectionChangeListener( const css::uno::Reference< css::view::XSelectionChangeListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL select( const css::uno::Any& xSelection ) override;
+ virtual css::uno::Any SAL_CALL getSelection( ) override;
+ virtual void SAL_CALL addSelectionChangeListener( const css::uno::Reference< css::view::XSelectionChangeListener >& xListener ) override;
+ virtual void SAL_CALL removeSelectionChangeListener( const css::uno::Reference< css::view::XSelectionChangeListener >& xListener ) override;
// css::view::XMultiSelectionSupplier
- virtual sal_Bool SAL_CALL addSelection( const css::uno::Any& Selection ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeSelection( const css::uno::Any& Selection ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL clearSelection( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual ::sal_Int32 SAL_CALL getSelectionCount( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createSelectionEnumeration( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createReverseSelectionEnumeration( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL addSelection( const css::uno::Any& Selection ) override;
+ virtual void SAL_CALL removeSelection( const css::uno::Any& Selection ) override;
+ virtual void SAL_CALL clearSelection( ) override;
+ virtual ::sal_Int32 SAL_CALL getSelectionCount( ) override;
+ virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createSelectionEnumeration( ) override;
+ virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createReverseSelectionEnumeration( ) override;
// css::awt::XTreeControl
- virtual OUString SAL_CALL getDefaultExpandedGraphicURL() throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setDefaultExpandedGraphicURL( const OUString& _defaultexpandedgraphicurl ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getDefaultCollapsedGraphicURL() throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setDefaultCollapsedGraphicURL( const OUString& _defaultcollapsedgraphicurl ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL isNodeExpanded( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL isNodeCollapsed( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL makeNodeVisible( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) throw (css::lang::IllegalArgumentException, css::awt::tree::ExpandVetoException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL isNodeVisible( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL expandNode( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) throw (css::lang::IllegalArgumentException, css::awt::tree::ExpandVetoException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL collapseNode( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) throw (css::lang::IllegalArgumentException, css::awt::tree::ExpandVetoException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addTreeExpansionListener( const css::uno::Reference< css::awt::tree::XTreeExpansionListener >& Listener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeTreeExpansionListener( const css::uno::Reference< css::awt::tree::XTreeExpansionListener >& Listener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::awt::tree::XTreeNode > SAL_CALL getNodeForLocation( ::sal_Int32 x, ::sal_Int32 y ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::awt::tree::XTreeNode > SAL_CALL getClosestNodeForLocation( ::sal_Int32 x, ::sal_Int32 y ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::awt::Rectangle SAL_CALL getNodeRect( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL isEditing( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL stopEditing( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL cancelEditing( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL startEditingAtNode( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addTreeEditListener( const css::uno::Reference< css::awt::tree::XTreeEditListener >& Listener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeTreeEditListener( const css::uno::Reference< css::awt::tree::XTreeEditListener >& Listener ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getDefaultExpandedGraphicURL() override;
+ virtual void SAL_CALL setDefaultExpandedGraphicURL( const OUString& _defaultexpandedgraphicurl ) override;
+ virtual OUString SAL_CALL getDefaultCollapsedGraphicURL() override;
+ virtual void SAL_CALL setDefaultCollapsedGraphicURL( const OUString& _defaultcollapsedgraphicurl ) override;
+ virtual sal_Bool SAL_CALL isNodeExpanded( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) override;
+ virtual sal_Bool SAL_CALL isNodeCollapsed( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) override;
+ virtual void SAL_CALL makeNodeVisible( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) override;
+ virtual sal_Bool SAL_CALL isNodeVisible( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) override;
+ virtual void SAL_CALL expandNode( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) override;
+ virtual void SAL_CALL collapseNode( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) override;
+ virtual void SAL_CALL addTreeExpansionListener( const css::uno::Reference< css::awt::tree::XTreeExpansionListener >& Listener ) override;
+ virtual void SAL_CALL removeTreeExpansionListener( const css::uno::Reference< css::awt::tree::XTreeExpansionListener >& Listener ) override;
+ virtual css::uno::Reference< css::awt::tree::XTreeNode > SAL_CALL getNodeForLocation( ::sal_Int32 x, ::sal_Int32 y ) override;
+ virtual css::uno::Reference< css::awt::tree::XTreeNode > SAL_CALL getClosestNodeForLocation( ::sal_Int32 x, ::sal_Int32 y ) override;
+ virtual css::awt::Rectangle SAL_CALL getNodeRect( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) override;
+ virtual sal_Bool SAL_CALL isEditing( ) override;
+ virtual sal_Bool SAL_CALL stopEditing( ) override;
+ virtual void SAL_CALL cancelEditing( ) override;
+ virtual void SAL_CALL startEditingAtNode( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) override;
+ virtual void SAL_CALL addTreeEditListener( const css::uno::Reference< css::awt::tree::XTreeEditListener >& Listener ) override;
+ virtual void SAL_CALL removeTreeEditListener( const css::uno::Reference< css::awt::tree::XTreeEditListener >& Listener ) override;
// css::lang::XServiceInfo
DECLIMPL_SERVICEINFO_DERIVED( UnoTreeControl, UnoControlBase, "com.sun.star.awt.tree.TreeControl" )
@@ -207,19 +207,19 @@ OUString UnoTreeControl::GetComponentServiceName()
// css::view::XSelectionSupplier
-sal_Bool SAL_CALL UnoTreeControl::select( const Any& rSelection ) throw (IllegalArgumentException, RuntimeException, std::exception)
+sal_Bool SAL_CALL UnoTreeControl::select( const Any& rSelection )
{
return Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->select( rSelection );
}
-Any SAL_CALL UnoTreeControl::getSelection() throw (RuntimeException, std::exception)
+Any SAL_CALL UnoTreeControl::getSelection()
{
return Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->getSelection();
}
-void SAL_CALL UnoTreeControl::addSelectionChangeListener( const Reference< XSelectionChangeListener >& xListener ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoTreeControl::addSelectionChangeListener( const Reference< XSelectionChangeListener >& xListener )
{
maSelectionListeners.addInterface( xListener );
if( getPeer().is() && (maSelectionListeners.getLength() == 1) )
@@ -231,7 +231,7 @@ void SAL_CALL UnoTreeControl::addSelectionChangeListener( const Reference< XSele
}
-void SAL_CALL UnoTreeControl::removeSelectionChangeListener( const Reference< XSelectionChangeListener >& xListener ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoTreeControl::removeSelectionChangeListener( const Reference< XSelectionChangeListener >& xListener )
{
if( getPeer().is() && (maSelectionListeners.getLength() == 1) )
{
@@ -246,37 +246,37 @@ void SAL_CALL UnoTreeControl::removeSelectionChangeListener( const Reference< XS
// css::view::XMultiSelectionSupplier
-sal_Bool SAL_CALL UnoTreeControl::addSelection( const Any& rSelection ) throw (IllegalArgumentException, RuntimeException, std::exception)
+sal_Bool SAL_CALL UnoTreeControl::addSelection( const Any& rSelection )
{
return Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->addSelection(rSelection);
}
-void SAL_CALL UnoTreeControl::removeSelection( const Any& rSelection ) throw (IllegalArgumentException, RuntimeException, std::exception)
+void SAL_CALL UnoTreeControl::removeSelection( const Any& rSelection )
{
Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->removeSelection(rSelection);
}
-void SAL_CALL UnoTreeControl::clearSelection() throw (RuntimeException, std::exception)
+void SAL_CALL UnoTreeControl::clearSelection()
{
Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->clearSelection();
}
-sal_Int32 SAL_CALL UnoTreeControl::getSelectionCount() throw (RuntimeException, std::exception)
+sal_Int32 SAL_CALL UnoTreeControl::getSelectionCount()
{
return Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->getSelectionCount();
}
-Reference< XEnumeration > SAL_CALL UnoTreeControl::createSelectionEnumeration() throw (RuntimeException, std::exception)
+Reference< XEnumeration > SAL_CALL UnoTreeControl::createSelectionEnumeration()
{
return Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->createSelectionEnumeration();
}
-Reference< XEnumeration > SAL_CALL UnoTreeControl::createReverseSelectionEnumeration() throw (RuntimeException, std::exception)
+Reference< XEnumeration > SAL_CALL UnoTreeControl::createReverseSelectionEnumeration()
{
return Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->createReverseSelectionEnumeration();
}
@@ -285,67 +285,67 @@ Reference< XEnumeration > SAL_CALL UnoTreeControl::createReverseSelectionEnumera
// XTreeControl
-OUString SAL_CALL UnoTreeControl::getDefaultExpandedGraphicURL() throw (RuntimeException, std::exception)
+OUString SAL_CALL UnoTreeControl::getDefaultExpandedGraphicURL()
{
return Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->getDefaultExpandedGraphicURL();
}
-void SAL_CALL UnoTreeControl::setDefaultExpandedGraphicURL( const OUString& _defaultexpansiongraphicurl ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoTreeControl::setDefaultExpandedGraphicURL( const OUString& _defaultexpansiongraphicurl )
{
Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->setDefaultExpandedGraphicURL(_defaultexpansiongraphicurl);
}
-OUString SAL_CALL UnoTreeControl::getDefaultCollapsedGraphicURL() throw (RuntimeException, std::exception)
+OUString SAL_CALL UnoTreeControl::getDefaultCollapsedGraphicURL()
{
return Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->getDefaultCollapsedGraphicURL();
}
-void SAL_CALL UnoTreeControl::setDefaultCollapsedGraphicURL( const OUString& _defaultcollapsedgraphicurl ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoTreeControl::setDefaultCollapsedGraphicURL( const OUString& _defaultcollapsedgraphicurl )
{
Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->setDefaultCollapsedGraphicURL(_defaultcollapsedgraphicurl);
}
-sal_Bool SAL_CALL UnoTreeControl::isNodeExpanded( const Reference< XTreeNode >& xNode ) throw (RuntimeException, IllegalArgumentException, std::exception)
+sal_Bool SAL_CALL UnoTreeControl::isNodeExpanded( const Reference< XTreeNode >& xNode )
{
return Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->isNodeExpanded(xNode);
}
-sal_Bool SAL_CALL UnoTreeControl::isNodeCollapsed( const Reference< XTreeNode >& xNode ) throw (RuntimeException, IllegalArgumentException, std::exception)
+sal_Bool SAL_CALL UnoTreeControl::isNodeCollapsed( const Reference< XTreeNode >& xNode )
{
return Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->isNodeCollapsed(xNode);
}
-void SAL_CALL UnoTreeControl::makeNodeVisible( const Reference< XTreeNode >& xNode ) throw (RuntimeException, ExpandVetoException, IllegalArgumentException, std::exception)
+void SAL_CALL UnoTreeControl::makeNodeVisible( const Reference< XTreeNode >& xNode )
{
Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->makeNodeVisible(xNode);
}
-sal_Bool SAL_CALL UnoTreeControl::isNodeVisible( const Reference< XTreeNode >& xNode ) throw (RuntimeException, IllegalArgumentException, std::exception)
+sal_Bool SAL_CALL UnoTreeControl::isNodeVisible( const Reference< XTreeNode >& xNode )
{
return Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->isNodeVisible(xNode);
}
-void SAL_CALL UnoTreeControl::expandNode( const Reference< XTreeNode >& xNode ) throw (RuntimeException, ExpandVetoException, IllegalArgumentException, std::exception)
+void SAL_CALL UnoTreeControl::expandNode( const Reference< XTreeNode >& xNode )
{
Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->expandNode(xNode);
}
-void SAL_CALL UnoTreeControl::collapseNode( const Reference< XTreeNode >& xNode ) throw (RuntimeException, ExpandVetoException, IllegalArgumentException, std::exception)
+void SAL_CALL UnoTreeControl::collapseNode( const Reference< XTreeNode >& xNode )
{
Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->collapseNode(xNode);
}
-void SAL_CALL UnoTreeControl::addTreeExpansionListener( const Reference< XTreeExpansionListener >& xListener ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoTreeControl::addTreeExpansionListener( const Reference< XTreeExpansionListener >& xListener )
{
maTreeExpansionListeners.addInterface( xListener );
if( getPeer().is() && (maTreeExpansionListeners.getLength() == 1) )
@@ -357,7 +357,7 @@ void SAL_CALL UnoTreeControl::addTreeExpansionListener( const Reference< XTreeEx
}
-void SAL_CALL UnoTreeControl::removeTreeExpansionListener( const Reference< XTreeExpansionListener >& xListener ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoTreeControl::removeTreeExpansionListener( const Reference< XTreeExpansionListener >& xListener )
{
if( getPeer().is() && (maTreeExpansionListeners.getLength() == 1) )
{
@@ -369,49 +369,49 @@ void SAL_CALL UnoTreeControl::removeTreeExpansionListener( const Reference< XTre
}
-Reference< XTreeNode > SAL_CALL UnoTreeControl::getNodeForLocation( sal_Int32 x, sal_Int32 y ) throw (RuntimeException, std::exception)
+Reference< XTreeNode > SAL_CALL UnoTreeControl::getNodeForLocation( sal_Int32 x, sal_Int32 y )
{
return Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->getNodeForLocation(x,y);
}
-Reference< XTreeNode > SAL_CALL UnoTreeControl::getClosestNodeForLocation( sal_Int32 x, sal_Int32 y ) throw (RuntimeException, std::exception)
+Reference< XTreeNode > SAL_CALL UnoTreeControl::getClosestNodeForLocation( sal_Int32 x, sal_Int32 y )
{
return Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->getClosestNodeForLocation(x,y);
}
-awt::Rectangle SAL_CALL UnoTreeControl::getNodeRect( const Reference< XTreeNode >& Node ) throw (IllegalArgumentException, RuntimeException, std::exception)
+awt::Rectangle SAL_CALL UnoTreeControl::getNodeRect( const Reference< XTreeNode >& Node )
{
return Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->getNodeRect( Node );
}
-sal_Bool SAL_CALL UnoTreeControl::isEditing( ) throw (RuntimeException, std::exception)
+sal_Bool SAL_CALL UnoTreeControl::isEditing( )
{
return Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->isEditing();
}
-sal_Bool SAL_CALL UnoTreeControl::stopEditing() throw (RuntimeException, std::exception)
+sal_Bool SAL_CALL UnoTreeControl::stopEditing()
{
return Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->stopEditing();
}
-void SAL_CALL UnoTreeControl::cancelEditing() throw (RuntimeException, std::exception)
+void SAL_CALL UnoTreeControl::cancelEditing()
{
Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->cancelEditing();
}
-void SAL_CALL UnoTreeControl::startEditingAtNode( const Reference< XTreeNode >& xNode ) throw (IllegalArgumentException, RuntimeException, std::exception)
+void SAL_CALL UnoTreeControl::startEditingAtNode( const Reference< XTreeNode >& xNode )
{
Reference< XTreeControl >( getPeer(), UNO_QUERY_THROW )->startEditingAtNode(xNode);
}
-void SAL_CALL UnoTreeControl::addTreeEditListener( const Reference< XTreeEditListener >& xListener ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoTreeControl::addTreeEditListener( const Reference< XTreeEditListener >& xListener )
{
maTreeEditListeners.addInterface( xListener );
if( getPeer().is() && (maTreeEditListeners.getLength() == 1) )
@@ -423,7 +423,7 @@ void SAL_CALL UnoTreeControl::addTreeEditListener( const Reference< XTreeEditLis
}
-void SAL_CALL UnoTreeControl::removeTreeEditListener( const Reference< XTreeEditListener >& xListener ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoTreeControl::removeTreeEditListener( const Reference< XTreeEditListener >& xListener )
{
if( getPeer().is() && (maTreeEditListeners.getLength() == 1) )
{
@@ -438,7 +438,7 @@ void SAL_CALL UnoTreeControl::removeTreeEditListener( const Reference< XTreeEdit
// XComponent
-void SAL_CALL UnoTreeControl::dispose( ) throw(RuntimeException, std::exception)
+void SAL_CALL UnoTreeControl::dispose( )
{
lang::EventObject aEvt;
aEvt.Source = static_cast< ::cppu::OWeakObject* >(this);
@@ -447,7 +447,7 @@ void SAL_CALL UnoTreeControl::dispose( ) throw(RuntimeException, std::exception
UnoControl::dispose();
}
-void UnoTreeControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer ) throw(uno::RuntimeException, std::exception)
+void UnoTreeControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer )
{
UnoControlBase::createPeer( rxToolkit, rParentPeer );
@@ -460,7 +460,7 @@ void UnoTreeControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolk
}
-void SAL_CALL TreeEditListenerMultiplexer::nodeEditing( const Reference< XTreeNode >& Node ) throw (RuntimeException, css::util::VetoException, std::exception)
+void SAL_CALL TreeEditListenerMultiplexer::nodeEditing( const Reference< XTreeNode >& Node )
{
::comphelper::OInterfaceIteratorHelper2 aIt( *this );
while( aIt.hasMoreElements() )
@@ -484,7 +484,7 @@ void SAL_CALL TreeEditListenerMultiplexer::nodeEditing( const Reference< XTreeNo
}
}
-void SAL_CALL TreeEditListenerMultiplexer::nodeEdited( const Reference< XTreeNode >& Node, const OUString& NewText ) throw (RuntimeException, std::exception)
+void SAL_CALL TreeEditListenerMultiplexer::nodeEdited( const Reference< XTreeNode >& Node, const OUString& NewText )
{
::comphelper::OInterfaceIteratorHelper2 aIt( *this );
while( aIt.hasMoreElements() )
diff --git a/toolkit/source/controls/tree/treecontrol.hxx b/toolkit/source/controls/tree/treecontrol.hxx
index 6b014d84d5e1..e40f9410185e 100644
--- a/toolkit/source/controls/tree/treecontrol.hxx
+++ b/toolkit/source/controls/tree/treecontrol.hxx
@@ -43,18 +43,16 @@ public:
UnoControlModel* Clone() const override;
// css::beans::XMultiPropertySet
- css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(css::uno::RuntimeException, std::exception) override;
+ css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
// css::io::XPersistObject
- OUString SAL_CALL getServiceName() throw(css::uno::RuntimeException, std::exception) override;
+ OUString SAL_CALL getServiceName() override;
// XServiceInfo
- OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception) override
+ OUString SAL_CALL getImplementationName() override
{ return OUString("stardiv.Toolkit.TreeControlModel"); }
- css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception) override
+ css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
{
auto s(UnoControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 1);
diff --git a/toolkit/source/controls/tree/treedatamodel.cxx b/toolkit/source/controls/tree/treedatamodel.cxx
index 0f925a5566fa..d150b242cc13 100644
--- a/toolkit/source/controls/tree/treedatamodel.cxx
+++ b/toolkit/source/controls/tree/treedatamodel.cxx
@@ -53,23 +53,23 @@ public:
void broadcast( broadcast_type eType, const Reference< XTreeNode >& xParentNode, const Reference< XTreeNode >& rNode );
// XMutableTreeDataModel
- virtual css::uno::Reference< css::awt::tree::XMutableTreeNode > SAL_CALL createNode( const css::uno::Any& DisplayValue, sal_Bool ChildrenOnDemand ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setRoot( const css::uno::Reference< css::awt::tree::XMutableTreeNode >& RootNode ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::awt::tree::XMutableTreeNode > SAL_CALL createNode( const css::uno::Any& DisplayValue, sal_Bool ChildrenOnDemand ) override;
+ virtual void SAL_CALL setRoot( const css::uno::Reference< css::awt::tree::XMutableTreeNode >& RootNode ) override;
// XTreeDataModel
- virtual css::uno::Reference< css::awt::tree::XTreeNode > SAL_CALL getRoot( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addTreeDataModelListener( const css::uno::Reference< css::awt::tree::XTreeDataModelListener >& Listener ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeTreeDataModelListener( const css::uno::Reference< css::awt::tree::XTreeDataModelListener >& Listener ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::awt::tree::XTreeNode > SAL_CALL getRoot( ) override;
+ virtual void SAL_CALL addTreeDataModelListener( const css::uno::Reference< css::awt::tree::XTreeDataModelListener >& Listener ) override;
+ virtual void SAL_CALL removeTreeDataModelListener( const css::uno::Reference< css::awt::tree::XTreeDataModelListener >& Listener ) override;
// XComponent
- virtual void SAL_CALL dispose( ) throw (RuntimeException, std::exception) override;
- virtual void SAL_CALL addEventListener( const Reference< XEventListener >& xListener ) throw (RuntimeException, std::exception) override;
- virtual void SAL_CALL removeEventListener( const Reference< XEventListener >& aListener ) throw (RuntimeException, std::exception) override;
+ virtual void SAL_CALL dispose( ) override;
+ virtual void SAL_CALL addEventListener( const Reference< XEventListener >& xListener ) override;
+ virtual void SAL_CALL removeEventListener( const Reference< XEventListener >& aListener ) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName( ) throw (RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (RuntimeException, std::exception) override;
- virtual Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName( ) override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
private:
bool mbDisposed;
@@ -89,32 +89,32 @@ public:
void broadcast_changes(const Reference< XTreeNode >& xNode, bool bNew);
// XMutableTreeNode
- virtual css::uno::Any SAL_CALL getDataValue() throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setDataValue( const css::uno::Any& _datavalue ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL appendChild( const css::uno::Reference< css::awt::tree::XMutableTreeNode >& ChildNode ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL insertChildByIndex( ::sal_Int32 Index, const css::uno::Reference< css::awt::tree::XMutableTreeNode >& ChildNode ) throw (css::lang::IllegalArgumentException, css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeChildByIndex( ::sal_Int32 Index ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setHasChildrenOnDemand( sal_Bool ChildrenOnDemand ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setDisplayValue( const css::uno::Any& Value ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setNodeGraphicURL( const OUString& URL ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setExpandedGraphicURL( const OUString& URL ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setCollapsedGraphicURL( const OUString& URL ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL getDataValue() override;
+ virtual void SAL_CALL setDataValue( const css::uno::Any& _datavalue ) override;
+ virtual void SAL_CALL appendChild( const css::uno::Reference< css::awt::tree::XMutableTreeNode >& ChildNode ) override;
+ virtual void SAL_CALL insertChildByIndex( ::sal_Int32 Index, const css::uno::Reference< css::awt::tree::XMutableTreeNode >& ChildNode ) override;
+ virtual void SAL_CALL removeChildByIndex( ::sal_Int32 Index ) override;
+ virtual void SAL_CALL setHasChildrenOnDemand( sal_Bool ChildrenOnDemand ) override;
+ virtual void SAL_CALL setDisplayValue( const css::uno::Any& Value ) override;
+ virtual void SAL_CALL setNodeGraphicURL( const OUString& URL ) override;
+ virtual void SAL_CALL setExpandedGraphicURL( const OUString& URL ) override;
+ virtual void SAL_CALL setCollapsedGraphicURL( const OUString& URL ) override;
// XTreeNode
- virtual css::uno::Reference< css::awt::tree::XTreeNode > SAL_CALL getChildAt( ::sal_Int32 Index ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) override;
- virtual ::sal_Int32 SAL_CALL getChildCount( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Reference< css::awt::tree::XTreeNode > SAL_CALL getParent( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual ::sal_Int32 SAL_CALL getIndex( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL hasChildrenOnDemand( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Any SAL_CALL getDisplayValue( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getNodeGraphicURL( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getExpandedGraphicURL( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getCollapsedGraphicURL( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Reference< css::awt::tree::XTreeNode > SAL_CALL getChildAt( ::sal_Int32 Index ) override;
+ virtual ::sal_Int32 SAL_CALL getChildCount( ) override;
+ virtual css::uno::Reference< css::awt::tree::XTreeNode > SAL_CALL getParent( ) override;
+ virtual ::sal_Int32 SAL_CALL getIndex( const css::uno::Reference< css::awt::tree::XTreeNode >& Node ) override;
+ virtual sal_Bool SAL_CALL hasChildrenOnDemand( ) override;
+ virtual css::uno::Any SAL_CALL getDisplayValue( ) override;
+ virtual OUString SAL_CALL getNodeGraphicURL( ) override;
+ virtual OUString SAL_CALL getExpandedGraphicURL( ) override;
+ virtual OUString SAL_CALL getCollapsedGraphicURL( ) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName( ) throw (RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (RuntimeException, std::exception) override;
- virtual Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName( ) override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
static Reference< XTreeNode > getReference( MutableTreeNode* pNode )
{
@@ -164,12 +164,12 @@ void MutableTreeDataModel::broadcast( broadcast_type eType, const Reference< XTr
}
}
-Reference< XMutableTreeNode > SAL_CALL MutableTreeDataModel::createNode( const Any& aValue, sal_Bool bChildrenOnDemand ) throw (RuntimeException, std::exception)
+Reference< XMutableTreeNode > SAL_CALL MutableTreeDataModel::createNode( const Any& aValue, sal_Bool bChildrenOnDemand )
{
return new MutableTreeNode( this, aValue, bChildrenOnDemand );
}
-void SAL_CALL MutableTreeDataModel::setRoot( const Reference< XMutableTreeNode >& xNode ) throw (IllegalArgumentException, RuntimeException, std::exception)
+void SAL_CALL MutableTreeDataModel::setRoot( const Reference< XMutableTreeNode >& xNode )
{
if( !xNode.is() )
throw IllegalArgumentException();
@@ -196,23 +196,23 @@ void SAL_CALL MutableTreeDataModel::setRoot( const Reference< XMutableTreeNode >
}
}
-Reference< XTreeNode > SAL_CALL MutableTreeDataModel::getRoot( ) throw (RuntimeException, std::exception)
+Reference< XTreeNode > SAL_CALL MutableTreeDataModel::getRoot( )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
return mxRootNode;
}
-void SAL_CALL MutableTreeDataModel::addTreeDataModelListener( const Reference< XTreeDataModelListener >& xListener ) throw (RuntimeException, std::exception)
+void SAL_CALL MutableTreeDataModel::addTreeDataModelListener( const Reference< XTreeDataModelListener >& xListener )
{
BrdcstHelper.addListener( cppu::UnoType<XTreeDataModelListener>::get(), xListener );
}
-void SAL_CALL MutableTreeDataModel::removeTreeDataModelListener( const Reference< XTreeDataModelListener >& xListener ) throw (RuntimeException, std::exception)
+void SAL_CALL MutableTreeDataModel::removeTreeDataModelListener( const Reference< XTreeDataModelListener >& xListener )
{
BrdcstHelper.removeListener( cppu::UnoType<XTreeDataModelListener>::get(), xListener );
}
-void SAL_CALL MutableTreeDataModel::dispose() throw (RuntimeException, std::exception)
+void SAL_CALL MutableTreeDataModel::dispose()
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -225,27 +225,27 @@ void SAL_CALL MutableTreeDataModel::dispose() throw (RuntimeException, std::exce
}
}
-void SAL_CALL MutableTreeDataModel::addEventListener( const Reference< XEventListener >& xListener ) throw (RuntimeException, std::exception)
+void SAL_CALL MutableTreeDataModel::addEventListener( const Reference< XEventListener >& xListener )
{
BrdcstHelper.addListener( cppu::UnoType<XEventListener>::get(), xListener );
}
-void SAL_CALL MutableTreeDataModel::removeEventListener( const Reference< XEventListener >& xListener ) throw (RuntimeException, std::exception)
+void SAL_CALL MutableTreeDataModel::removeEventListener( const Reference< XEventListener >& xListener )
{
BrdcstHelper.removeListener( cppu::UnoType<XEventListener>::get(), xListener );
}
-OUString SAL_CALL MutableTreeDataModel::getImplementationName( ) throw (RuntimeException, std::exception)
+OUString SAL_CALL MutableTreeDataModel::getImplementationName( )
{
return OUString( "toolkit.MutableTreeDataModel" );
}
-sal_Bool SAL_CALL MutableTreeDataModel::supportsService( const OUString& ServiceName ) throw (RuntimeException, std::exception)
+sal_Bool SAL_CALL MutableTreeDataModel::supportsService( const OUString& ServiceName )
{
return cppu::supportsService(this, ServiceName);
}
-Sequence< OUString > SAL_CALL MutableTreeDataModel::getSupportedServiceNames( ) throw (RuntimeException, std::exception)
+Sequence< OUString > SAL_CALL MutableTreeDataModel::getSupportedServiceNames( )
{
Sequence<OUString> aSeq { "com.sun.star.awt.tree.MutableTreeDataModel" };
return aSeq;
@@ -291,19 +291,19 @@ void MutableTreeNode::broadcast_changes(const Reference< XTreeNode >& xNode, boo
}
}
-Any SAL_CALL MutableTreeNode::getDataValue() throw (RuntimeException, std::exception)
+Any SAL_CALL MutableTreeNode::getDataValue()
{
::osl::Guard< ::osl::Mutex > aGuard( maMutex );
return maDataValue;
}
-void SAL_CALL MutableTreeNode::setDataValue( const Any& _datavalue ) throw (RuntimeException, std::exception)
+void SAL_CALL MutableTreeNode::setDataValue( const Any& _datavalue )
{
::osl::Guard< ::osl::Mutex > aGuard( maMutex );
maDataValue = _datavalue;
}
-void SAL_CALL MutableTreeNode::appendChild( const Reference< XMutableTreeNode >& xChildNode ) throw (IllegalArgumentException, RuntimeException, std::exception)
+void SAL_CALL MutableTreeNode::appendChild( const Reference< XMutableTreeNode >& xChildNode )
{
::osl::Guard< ::osl::Mutex > aGuard( maMutex );
Reference< XTreeNode > xNode( xChildNode.get() );
@@ -319,7 +319,7 @@ void SAL_CALL MutableTreeNode::appendChild( const Reference< XMutableTreeNode >&
broadcast_changes( xNode, true );
}
-void SAL_CALL MutableTreeNode::insertChildByIndex( sal_Int32 nChildIndex, const Reference< XMutableTreeNode >& xChildNode ) throw (IllegalArgumentException, IndexOutOfBoundsException, RuntimeException, std::exception)
+void SAL_CALL MutableTreeNode::insertChildByIndex( sal_Int32 nChildIndex, const Reference< XMutableTreeNode >& xChildNode )
{
::osl::Guard< ::osl::Mutex > aGuard( maMutex );
@@ -343,7 +343,7 @@ void SAL_CALL MutableTreeNode::insertChildByIndex( sal_Int32 nChildIndex, const
broadcast_changes( xNode, true );
}
-void SAL_CALL MutableTreeNode::removeChildByIndex( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+void SAL_CALL MutableTreeNode::removeChildByIndex( sal_Int32 nChildIndex )
{
::osl::Guard< ::osl::Mutex > aGuard( maMutex );
@@ -367,7 +367,7 @@ void SAL_CALL MutableTreeNode::removeChildByIndex( sal_Int32 nChildIndex ) throw
broadcast_changes( getReference( xImpl.get() ), false );
}
-void SAL_CALL MutableTreeNode::setHasChildrenOnDemand( sal_Bool bChildrenOnDemand ) throw (RuntimeException, std::exception)
+void SAL_CALL MutableTreeNode::setHasChildrenOnDemand( sal_Bool bChildrenOnDemand )
{
bool bChanged;
@@ -381,7 +381,7 @@ void SAL_CALL MutableTreeNode::setHasChildrenOnDemand( sal_Bool bChildrenOnDeman
broadcast_changes();
}
-void SAL_CALL MutableTreeNode::setDisplayValue( const Any& aValue ) throw (RuntimeException, std::exception)
+void SAL_CALL MutableTreeNode::setDisplayValue( const Any& aValue )
{
{
::osl::Guard< ::osl::Mutex > aGuard( maMutex );
@@ -391,7 +391,7 @@ void SAL_CALL MutableTreeNode::setDisplayValue( const Any& aValue ) throw (Runti
broadcast_changes();
}
-void SAL_CALL MutableTreeNode::setNodeGraphicURL( const OUString& rURL ) throw (RuntimeException, std::exception)
+void SAL_CALL MutableTreeNode::setNodeGraphicURL( const OUString& rURL )
{
bool bChanged;
@@ -405,7 +405,7 @@ void SAL_CALL MutableTreeNode::setNodeGraphicURL( const OUString& rURL ) throw (
broadcast_changes();
}
-void SAL_CALL MutableTreeNode::setExpandedGraphicURL( const OUString& rURL ) throw (RuntimeException, std::exception)
+void SAL_CALL MutableTreeNode::setExpandedGraphicURL( const OUString& rURL )
{
bool bChanged;
@@ -419,7 +419,7 @@ void SAL_CALL MutableTreeNode::setExpandedGraphicURL( const OUString& rURL ) thr
broadcast_changes();
}
-void SAL_CALL MutableTreeNode::setCollapsedGraphicURL( const OUString& rURL ) throw (RuntimeException, std::exception)
+void SAL_CALL MutableTreeNode::setCollapsedGraphicURL( const OUString& rURL )
{
bool bChanged;
@@ -433,7 +433,7 @@ void SAL_CALL MutableTreeNode::setCollapsedGraphicURL( const OUString& rURL ) th
broadcast_changes();
}
-Reference< XTreeNode > SAL_CALL MutableTreeNode::getChildAt( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException,RuntimeException, std::exception)
+Reference< XTreeNode > SAL_CALL MutableTreeNode::getChildAt( sal_Int32 nChildIndex )
{
::osl::Guard< ::osl::Mutex > aGuard( maMutex );
@@ -442,19 +442,19 @@ Reference< XTreeNode > SAL_CALL MutableTreeNode::getChildAt( sal_Int32 nChildInd
return getReference( maChildren[nChildIndex].get() );
}
-sal_Int32 SAL_CALL MutableTreeNode::getChildCount( ) throw (RuntimeException, std::exception)
+sal_Int32 SAL_CALL MutableTreeNode::getChildCount( )
{
::osl::Guard< ::osl::Mutex > aGuard( maMutex );
return (sal_Int32)maChildren.size();
}
-Reference< XTreeNode > SAL_CALL MutableTreeNode::getParent( ) throw (RuntimeException, std::exception)
+Reference< XTreeNode > SAL_CALL MutableTreeNode::getParent( )
{
::osl::Guard< ::osl::Mutex > aGuard( maMutex );
return getReference( mpParent );
}
-sal_Int32 SAL_CALL MutableTreeNode::getIndex( const Reference< XTreeNode >& xNode ) throw (RuntimeException, std::exception)
+sal_Int32 SAL_CALL MutableTreeNode::getIndex( const Reference< XTreeNode >& xNode )
{
::osl::Guard< ::osl::Mutex > aGuard( maMutex );
@@ -472,47 +472,47 @@ sal_Int32 SAL_CALL MutableTreeNode::getIndex( const Reference< XTreeNode >& xNod
return -1;
}
-sal_Bool SAL_CALL MutableTreeNode::hasChildrenOnDemand( ) throw (RuntimeException, std::exception)
+sal_Bool SAL_CALL MutableTreeNode::hasChildrenOnDemand( )
{
::osl::Guard< ::osl::Mutex > aGuard( maMutex );
return mbHasChildrenOnDemand;
}
-Any SAL_CALL MutableTreeNode::getDisplayValue( ) throw (RuntimeException, std::exception)
+Any SAL_CALL MutableTreeNode::getDisplayValue( )
{
::osl::Guard< ::osl::Mutex > aGuard( maMutex );
return maDisplayValue;
}
-OUString SAL_CALL MutableTreeNode::getNodeGraphicURL( ) throw (RuntimeException, std::exception)
+OUString SAL_CALL MutableTreeNode::getNodeGraphicURL( )
{
::osl::Guard< ::osl::Mutex > aGuard( maMutex );
return maNodeGraphicURL;
}
-OUString SAL_CALL MutableTreeNode::getExpandedGraphicURL( ) throw (RuntimeException, std::exception)
+OUString SAL_CALL MutableTreeNode::getExpandedGraphicURL( )
{
::osl::Guard< ::osl::Mutex > aGuard( maMutex );
return maExpandedGraphicURL;
}
-OUString SAL_CALL MutableTreeNode::getCollapsedGraphicURL( ) throw (RuntimeException, std::exception)
+OUString SAL_CALL MutableTreeNode::getCollapsedGraphicURL( )
{
::osl::Guard< ::osl::Mutex > aGuard( maMutex );
return maCollapsedGraphicURL;
}
-OUString SAL_CALL MutableTreeNode::getImplementationName( ) throw (RuntimeException, std::exception)
+OUString SAL_CALL MutableTreeNode::getImplementationName( )
{
return OUString( "toolkit.MutableTreeNode" );
}
-sal_Bool SAL_CALL MutableTreeNode::supportsService( const OUString& ServiceName ) throw (RuntimeException, std::exception)
+sal_Bool SAL_CALL MutableTreeNode::supportsService( const OUString& ServiceName )
{
return cppu::supportsService(this, ServiceName);
}
-Sequence< OUString > SAL_CALL MutableTreeNode::getSupportedServiceNames( ) throw (RuntimeException, std::exception)
+Sequence< OUString > SAL_CALL MutableTreeNode::getSupportedServiceNames( )
{
Sequence<OUString> aSeq { "com.sun.star.awt.tree.MutableTreeNode" };
return aSeq;
diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx
index 3bf3d5d51d43..c074859e02ba 100644
--- a/toolkit/source/controls/unocontrol.cxx
+++ b/toolkit/source/controls/unocontrol.cxx
@@ -341,7 +341,7 @@ UnoControl::DisposeAccessibleContext(Reference<XComponent> const& xContextComp)
}
}
-void UnoControl::dispose( ) throw(RuntimeException, std::exception)
+void UnoControl::dispose( )
{
Reference< XWindowPeer > xPeer;
Reference<XComponent> xAccessibleComp;
@@ -380,14 +380,14 @@ void UnoControl::dispose( ) throw(RuntimeException, std::exception)
setContext( Reference< XInterface > () );
}
-void UnoControl::addEventListener( const Reference< XEventListener >& rxListener ) throw(RuntimeException, std::exception)
+void UnoControl::addEventListener( const Reference< XEventListener >& rxListener )
{
::osl::MutexGuard aGuard( GetMutex() );
maDisposeListeners.addInterface( rxListener );
}
-void UnoControl::removeEventListener( const Reference< XEventListener >& rxListener ) throw(RuntimeException, std::exception)
+void UnoControl::removeEventListener( const Reference< XEventListener >& rxListener )
{
::osl::MutexGuard aGuard( GetMutex() );
@@ -400,7 +400,7 @@ bool UnoControl::requiresNewPeer( const OUString& /* _rPropertyName */ ) const
}
// XPropertiesChangeListener
-void UnoControl::propertiesChange( const Sequence< PropertyChangeEvent >& rEvents ) throw(RuntimeException, std::exception)
+void UnoControl::propertiesChange( const Sequence< PropertyChangeEvent >& rEvents )
{
Sequence< PropertyChangeEvent > aEvents( rEvents );
{
@@ -660,7 +660,7 @@ void UnoControl::ImplModelPropertiesChanged( const Sequence< PropertyChangeEvent
}
}
-void UnoControl::disposing( const EventObject& rEvt ) throw(RuntimeException, std::exception)
+void UnoControl::disposing( const EventObject& rEvt )
{
::osl::ClearableMutexGuard aGuard( GetMutex() );
// do not compare differing types in case of multiple inheritance
@@ -684,7 +684,7 @@ void UnoControl::disposing( const EventObject& rEvt ) throw(RuntimeException, st
}
-void SAL_CALL UnoControl::setOutputSize( const awt::Size& aSize ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoControl::setOutputSize( const awt::Size& aSize )
{
Reference< XWindow2 > xPeerWindow;
{
@@ -711,33 +711,33 @@ namespace
}
}
-awt::Size SAL_CALL UnoControl::getOutputSize( ) throw (RuntimeException, std::exception)
+awt::Size SAL_CALL UnoControl::getOutputSize( )
{
return lcl_askPeer( getPeer(), &XWindow2::getOutputSize, awt::Size() );
}
-sal_Bool SAL_CALL UnoControl::isVisible( ) throw (RuntimeException, std::exception)
+sal_Bool SAL_CALL UnoControl::isVisible( )
{
return lcl_askPeer( getPeer(), &XWindow2::isVisible, maComponentInfos.bVisible );
}
-sal_Bool SAL_CALL UnoControl::isActive( ) throw (RuntimeException, std::exception)
+sal_Bool SAL_CALL UnoControl::isActive( )
{
return lcl_askPeer( getPeer(), &XWindow2::isActive, false );
}
-sal_Bool SAL_CALL UnoControl::isEnabled( ) throw (RuntimeException, std::exception)
+sal_Bool SAL_CALL UnoControl::isEnabled( )
{
return lcl_askPeer( getPeer(), &XWindow2::isEnabled, maComponentInfos.bEnable );
}
-sal_Bool SAL_CALL UnoControl::hasFocus( ) throw (RuntimeException, std::exception)
+sal_Bool SAL_CALL UnoControl::hasFocus( )
{
return lcl_askPeer( getPeer(), &XWindow2::hasFocus, false );
}
// XWindow
-void UnoControl::setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int32 Height, sal_Int16 Flags ) throw(RuntimeException, std::exception)
+void UnoControl::setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int32 Height, sal_Int16 Flags )
{
Reference< XWindow > xWindow;
{
@@ -760,7 +760,7 @@ void UnoControl::setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int3
xWindow->setPosSize( X, Y, Width, Height, Flags );
}
-awt::Rectangle UnoControl::getPosSize( ) throw(RuntimeException, std::exception)
+awt::Rectangle UnoControl::getPosSize( )
{
awt::Rectangle aRect( maComponentInfos.nX, maComponentInfos.nY, maComponentInfos.nWidth, maComponentInfos.nHeight);
Reference< XWindow > xWindow;
@@ -775,7 +775,7 @@ awt::Rectangle UnoControl::getPosSize( ) throw(RuntimeException, std::exception
return aRect;
}
-void UnoControl::setVisible( sal_Bool bVisible ) throw(RuntimeException, std::exception)
+void UnoControl::setVisible( sal_Bool bVisible )
{
Reference< XWindow > xWindow;
{
@@ -789,7 +789,7 @@ void UnoControl::setVisible( sal_Bool bVisible ) throw(RuntimeException, std::ex
xWindow->setVisible( bVisible );
}
-void UnoControl::setEnable( sal_Bool bEnable ) throw(RuntimeException, std::exception)
+void UnoControl::setEnable( sal_Bool bEnable )
{
Reference< XWindow > xWindow;
{
@@ -803,7 +803,7 @@ void UnoControl::setEnable( sal_Bool bEnable ) throw(RuntimeException, std::exce
xWindow->setEnable( bEnable );
}
-void UnoControl::setFocus( ) throw(RuntimeException, std::exception)
+void UnoControl::setFocus( )
{
Reference< XWindow > xWindow;
{
@@ -814,7 +814,7 @@ void UnoControl::setFocus( ) throw(RuntimeException, std::exception)
xWindow->setFocus();
}
-void UnoControl::addWindowListener( const Reference< XWindowListener >& rxListener ) throw(RuntimeException, std::exception)
+void UnoControl::addWindowListener( const Reference< XWindowListener >& rxListener )
{
Reference< XWindow > xPeerWindow;
{
@@ -827,7 +827,7 @@ void UnoControl::addWindowListener( const Reference< XWindowListener >& rxListen
xPeerWindow->addWindowListener( &maWindowListeners );
}
-void UnoControl::removeWindowListener( const Reference< XWindowListener >& rxListener ) throw(RuntimeException, std::exception)
+void UnoControl::removeWindowListener( const Reference< XWindowListener >& rxListener )
{
Reference< XWindow > xPeerWindow;
{
@@ -840,7 +840,7 @@ void UnoControl::removeWindowListener( const Reference< XWindowListener >& rxLis
xPeerWindow->removeWindowListener( &maWindowListeners );
}
-void UnoControl::addFocusListener( const Reference< XFocusListener >& rxListener ) throw(RuntimeException, std::exception)
+void UnoControl::addFocusListener( const Reference< XFocusListener >& rxListener )
{
Reference< XWindow > xPeerWindow;
{
@@ -853,7 +853,7 @@ void UnoControl::addFocusListener( const Reference< XFocusListener >& rxListener
xPeerWindow->addFocusListener( &maFocusListeners );
}
-void UnoControl::removeFocusListener( const Reference< XFocusListener >& rxListener ) throw(RuntimeException, std::exception)
+void UnoControl::removeFocusListener( const Reference< XFocusListener >& rxListener )
{
Reference< XWindow > xPeerWindow;
{
@@ -866,7 +866,7 @@ void UnoControl::removeFocusListener( const Reference< XFocusListener >& rxListe
xPeerWindow->removeFocusListener( &maFocusListeners );
}
-void UnoControl::addKeyListener( const Reference< XKeyListener >& rxListener ) throw(RuntimeException, std::exception)
+void UnoControl::addKeyListener( const Reference< XKeyListener >& rxListener )
{
Reference< XWindow > xPeerWindow;
{
@@ -879,7 +879,7 @@ void UnoControl::addKeyListener( const Reference< XKeyListener >& rxListener ) t
xPeerWindow->addKeyListener( &maKeyListeners);
}
-void UnoControl::removeKeyListener( const Reference< XKeyListener >& rxListener ) throw(RuntimeException, std::exception)
+void UnoControl::removeKeyListener( const Reference< XKeyListener >& rxListener )
{
Reference< XWindow > xPeerWindow;
{
@@ -892,7 +892,7 @@ void UnoControl::removeKeyListener( const Reference< XKeyListener >& rxListener
xPeerWindow->removeKeyListener( &maKeyListeners);
}
-void UnoControl::addMouseListener( const Reference< XMouseListener >& rxListener ) throw(RuntimeException, std::exception)
+void UnoControl::addMouseListener( const Reference< XMouseListener >& rxListener )
{
Reference< XWindow > xPeerWindow;
{
@@ -905,7 +905,7 @@ void UnoControl::addMouseListener( const Reference< XMouseListener >& rxListener
xPeerWindow->addMouseListener( &maMouseListeners);
}
-void UnoControl::removeMouseListener( const Reference< XMouseListener >& rxListener ) throw(RuntimeException, std::exception)
+void UnoControl::removeMouseListener( const Reference< XMouseListener >& rxListener )
{
Reference< XWindow > xPeerWindow;
{
@@ -918,7 +918,7 @@ void UnoControl::removeMouseListener( const Reference< XMouseListener >& rxListe
xPeerWindow->removeMouseListener( &maMouseListeners );
}
-void UnoControl::addMouseMotionListener( const Reference< XMouseMotionListener >& rxListener ) throw(RuntimeException, std::exception)
+void UnoControl::addMouseMotionListener( const Reference< XMouseMotionListener >& rxListener )
{
Reference< XWindow > xPeerWindow;
{
@@ -931,7 +931,7 @@ void UnoControl::addMouseMotionListener( const Reference< XMouseMotionListener >
xPeerWindow->addMouseMotionListener( &maMouseMotionListeners);
}
-void UnoControl::removeMouseMotionListener( const Reference< XMouseMotionListener >& rxListener ) throw(RuntimeException, std::exception)
+void UnoControl::removeMouseMotionListener( const Reference< XMouseMotionListener >& rxListener )
{
Reference< XWindow > xPeerWindow;
{
@@ -944,7 +944,7 @@ void UnoControl::removeMouseMotionListener( const Reference< XMouseMotionListene
xPeerWindow->removeMouseMotionListener( &maMouseMotionListeners );
}
-void UnoControl::addPaintListener( const Reference< XPaintListener >& rxListener ) throw(RuntimeException, std::exception)
+void UnoControl::addPaintListener( const Reference< XPaintListener >& rxListener )
{
Reference< XWindow > xPeerWindow;
{
@@ -957,7 +957,7 @@ void UnoControl::addPaintListener( const Reference< XPaintListener >& rxListener
xPeerWindow->addPaintListener( &maPaintListeners);
}
-void UnoControl::removePaintListener( const Reference< XPaintListener >& rxListener ) throw(RuntimeException, std::exception)
+void UnoControl::removePaintListener( const Reference< XPaintListener >& rxListener )
{
Reference< XWindow > xPeerWindow;
{
@@ -971,7 +971,7 @@ void UnoControl::removePaintListener( const Reference< XPaintListener >& rxListe
}
// XView
-sal_Bool UnoControl::setGraphics( const Reference< XGraphics >& rDevice ) throw(RuntimeException, std::exception)
+sal_Bool UnoControl::setGraphics( const Reference< XGraphics >& rDevice )
{
Reference< XView > xView;
{
@@ -983,18 +983,18 @@ sal_Bool UnoControl::setGraphics( const Reference< XGraphics >& rDevice ) throw(
return !xView.is() || xView->setGraphics( rDevice );
}
-Reference< XGraphics > UnoControl::getGraphics( ) throw(RuntimeException, std::exception)
+Reference< XGraphics > UnoControl::getGraphics( )
{
return mxGraphics;
}
-awt::Size UnoControl::getSize( ) throw(RuntimeException, std::exception)
+awt::Size UnoControl::getSize( )
{
::osl::MutexGuard aGuard( GetMutex() );
return awt::Size( maComponentInfos.nWidth, maComponentInfos.nHeight );
}
-void UnoControl::draw( sal_Int32 x, sal_Int32 y ) throw(RuntimeException, std::exception)
+void UnoControl::draw( sal_Int32 x, sal_Int32 y )
{
Reference< XWindowPeer > xDrawPeer;
Reference< XView > xDrawPeerView;
@@ -1023,7 +1023,7 @@ void UnoControl::draw( sal_Int32 x, sal_Int32 y ) throw(RuntimeException, std::e
xDrawPeer->dispose();
}
-void UnoControl::setZoom( float fZoomX, float fZoomY ) throw(RuntimeException, std::exception)
+void UnoControl::setZoom( float fZoomX, float fZoomY )
{
Reference< XView > xView;
{
@@ -1039,14 +1039,14 @@ void UnoControl::setZoom( float fZoomX, float fZoomY ) throw(RuntimeException, s
}
// XControl
-void UnoControl::setContext( const Reference< XInterface >& rxContext ) throw(RuntimeException, std::exception)
+void UnoControl::setContext( const Reference< XInterface >& rxContext )
{
::osl::MutexGuard aGuard( GetMutex() );
mxContext = rxContext;
}
-Reference< XInterface > UnoControl::getContext( ) throw(RuntimeException, std::exception)
+Reference< XInterface > UnoControl::getContext( )
{
::osl::MutexGuard aGuard( GetMutex() );
@@ -1078,7 +1078,7 @@ void UnoControl::peerCreated()
xWindow->addPaintListener( &maPaintListeners );
}
-void UnoControl::createPeer( const Reference< XToolkit >& rxToolkit, const Reference< XWindowPeer >& rParentPeer ) throw(RuntimeException, std::exception)
+void UnoControl::createPeer( const Reference< XToolkit >& rxToolkit, const Reference< XWindowPeer >& rParentPeer )
{
::osl::ClearableMutexGuard aGuard( GetMutex() );
if ( !mxModel.is() )
@@ -1320,13 +1320,13 @@ void UnoControl::createPeer( const Reference< XToolkit >& rxToolkit, const Refer
}
}
-Reference< XWindowPeer > UnoControl::getPeer() throw(RuntimeException, std::exception)
+Reference< XWindowPeer > UnoControl::getPeer()
{
::osl::MutexGuard aGuard( GetMutex() );
return mxPeer;
}
-sal_Bool UnoControl::setModel( const Reference< XControlModel >& rxModel ) throw(RuntimeException, std::exception)
+sal_Bool UnoControl::setModel( const Reference< XControlModel >& rxModel )
{
::osl::MutexGuard aGuard( GetMutex() );
@@ -1364,17 +1364,17 @@ sal_Bool UnoControl::setModel( const Reference< XControlModel >& rxModel ) throw
return mxModel.is();
}
-Reference< XControlModel > UnoControl::getModel( ) throw(RuntimeException, std::exception)
+Reference< XControlModel > UnoControl::getModel( )
{
return mxModel;
}
-Reference< XView > UnoControl::getView( ) throw(RuntimeException, std::exception)
+Reference< XView > UnoControl::getView( )
{
return static_cast< XView* >( this );
}
-void UnoControl::setDesignMode( sal_Bool bOn ) throw(RuntimeException, std::exception)
+void UnoControl::setDesignMode( sal_Bool bOn )
{
ModeChangeEvent aModeChangeEvent;
@@ -1409,36 +1409,36 @@ void UnoControl::setDesignMode( sal_Bool bOn ) throw(RuntimeException, std::exce
maModeChangeListeners.notifyEach( &XModeChangeListener::modeChanged, aModeChangeEvent );
}
-sal_Bool UnoControl::isDesignMode( ) throw(RuntimeException, std::exception)
+sal_Bool UnoControl::isDesignMode( )
{
return mbDesignMode;
}
-sal_Bool UnoControl::isTransparent( ) throw(RuntimeException, std::exception)
+sal_Bool UnoControl::isTransparent( )
{
return false;
}
// XServiceInfo
-OUString UnoControl::getImplementationName( ) throw(RuntimeException, std::exception)
+OUString UnoControl::getImplementationName( )
{
OSL_FAIL( "This method should be overridden!" );
return OUString();
}
-sal_Bool UnoControl::supportsService( const OUString& rServiceName ) throw(RuntimeException, std::exception)
+sal_Bool UnoControl::supportsService( const OUString& rServiceName )
{
return cppu::supportsService(this, rServiceName);
}
-Sequence< OUString > UnoControl::getSupportedServiceNames( ) throw(RuntimeException, std::exception)
+Sequence< OUString > UnoControl::getSupportedServiceNames( )
{
OUString sName( "com.sun.star.awt.UnoControl" );
return Sequence< OUString >( &sName, 1 );
}
-Reference< XAccessibleContext > SAL_CALL UnoControl::getAccessibleContext( ) throw (RuntimeException, std::exception)
+Reference< XAccessibleContext > SAL_CALL UnoControl::getAccessibleContext( )
{
// creation of the context will certainly require the SolarMutex ...
SolarMutexGuard aSolarGuard;
@@ -1473,30 +1473,30 @@ Reference< XAccessibleContext > SAL_CALL UnoControl::getAccessibleContext( ) th
return xCurrentContext;
}
-void SAL_CALL UnoControl::addModeChangeListener( const Reference< XModeChangeListener >& _rxListener ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoControl::addModeChangeListener( const Reference< XModeChangeListener >& _rxListener )
{
::osl::MutexGuard aGuard( GetMutex() );
maModeChangeListeners.addInterface( _rxListener );
}
-void SAL_CALL UnoControl::removeModeChangeListener( const Reference< XModeChangeListener >& _rxListener ) throw (RuntimeException, std::exception)
+void SAL_CALL UnoControl::removeModeChangeListener( const Reference< XModeChangeListener >& _rxListener )
{
::osl::MutexGuard aGuard( GetMutex() );
maModeChangeListeners.removeInterface( _rxListener );
}
-void SAL_CALL UnoControl::addModeChangeApproveListener( const Reference< XModeChangeApproveListener >& ) throw (NoSupportException, RuntimeException, std::exception)
+void SAL_CALL UnoControl::addModeChangeApproveListener( const Reference< XModeChangeApproveListener >& )
{
throw NoSupportException( );
}
-void SAL_CALL UnoControl::removeModeChangeApproveListener( const Reference< XModeChangeApproveListener >& ) throw (NoSupportException, RuntimeException, std::exception)
+void SAL_CALL UnoControl::removeModeChangeApproveListener( const Reference< XModeChangeApproveListener >& )
{
throw NoSupportException( );
}
-awt::Point SAL_CALL UnoControl::convertPointToLogic( const awt::Point& i_Point, ::sal_Int16 i_TargetUnit ) throw (IllegalArgumentException, RuntimeException, std::exception)
+awt::Point SAL_CALL UnoControl::convertPointToLogic( const awt::Point& i_Point, ::sal_Int16 i_TargetUnit )
{
Reference< XUnitConversion > xPeerConversion;
{
@@ -1509,7 +1509,7 @@ awt::Point SAL_CALL UnoControl::convertPointToLogic( const awt::Point& i_Point,
}
-awt::Point SAL_CALL UnoControl::convertPointToPixel( const awt::Point& i_Point, ::sal_Int16 i_SourceUnit ) throw (IllegalArgumentException, RuntimeException, std::exception)
+awt::Point SAL_CALL UnoControl::convertPointToPixel( const awt::Point& i_Point, ::sal_Int16 i_SourceUnit )
{
Reference< XUnitConversion > xPeerConversion;
{
@@ -1522,7 +1522,7 @@ awt::Point SAL_CALL UnoControl::convertPointToPixel( const awt::Point& i_Point,
}
-awt::Size SAL_CALL UnoControl::convertSizeToLogic( const awt::Size& i_Size, ::sal_Int16 i_TargetUnit ) throw (IllegalArgumentException, RuntimeException, std::exception)
+awt::Size SAL_CALL UnoControl::convertSizeToLogic( const awt::Size& i_Size, ::sal_Int16 i_TargetUnit )
{
Reference< XUnitConversion > xPeerConversion;
{
@@ -1535,7 +1535,7 @@ awt::Size SAL_CALL UnoControl::convertSizeToLogic( const awt::Size& i_Size, ::sa
}
-awt::Size SAL_CALL UnoControl::convertSizeToPixel( const awt::Size& i_Size, ::sal_Int16 i_SourceUnit ) throw (IllegalArgumentException, RuntimeException, std::exception)
+awt::Size SAL_CALL UnoControl::convertSizeToPixel( const awt::Size& i_Size, ::sal_Int16 i_SourceUnit )
{
Reference< XUnitConversion > xPeerConversion;
{
@@ -1548,7 +1548,7 @@ awt::Size SAL_CALL UnoControl::convertSizeToPixel( const awt::Size& i_Size, ::sa
}
-uno::Reference< awt::XStyleSettings > SAL_CALL UnoControl::getStyleSettings() throw (RuntimeException, std::exception)
+uno::Reference< awt::XStyleSettings > SAL_CALL UnoControl::getStyleSettings()
{
Reference< awt::XStyleSettingsSupplier > xPeerSupplier;
{
diff --git a/toolkit/source/controls/unocontrolcontainer.cxx b/toolkit/source/controls/unocontrolcontainer.cxx
index d752eb177b9a..d64d9f75562c 100644
--- a/toolkit/source/controls/unocontrolcontainer.cxx
+++ b/toolkit/source/controls/unocontrolcontainer.cxx
@@ -354,21 +354,19 @@ public:
: mxControlContainer( xControlContainer ) {}
// XEventListener
- virtual void SAL_CALL disposing( const lang::EventObject& Source ) throw( uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing( const lang::EventObject& Source ) override;
// XPropertyChangeListener
- virtual void SAL_CALL propertyChange( const beans::PropertyChangeEvent& evt ) throw( uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL propertyChange( const beans::PropertyChangeEvent& evt ) override;
};
void SAL_CALL DialogStepChangedListener::disposing( const lang::EventObject& /*_rSource*/)
- throw( uno::RuntimeException, std::exception)
{
mxControlContainer.clear();
}
void SAL_CALL DialogStepChangedListener::propertyChange( const beans::PropertyChangeEvent& evt )
- throw( uno::RuntimeException, std::exception)
{
// evt.PropertyName HAS to be "Step" because we only use the listener for that
sal_Int32 nDialogStep = 0;
@@ -411,7 +409,7 @@ void UnoControlContainer::ImplActivateTabControllers()
}
// lang::XComponent
-void UnoControlContainer::dispose( ) throw(uno::RuntimeException, std::exception)
+void UnoControlContainer::dispose( )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -444,7 +442,7 @@ void UnoControlContainer::dispose( ) throw(uno::RuntimeException, std::exceptio
}
// lang::XEventListener
-void UnoControlContainer::disposing( const lang::EventObject& _rEvt ) throw(uno::RuntimeException, std::exception)
+void UnoControlContainer::disposing( const lang::EventObject& _rEvt )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -456,14 +454,14 @@ void UnoControlContainer::disposing( const lang::EventObject& _rEvt ) throw(uno:
}
// container::XContainer
-void UnoControlContainer::addContainerListener( const uno::Reference< container::XContainerListener >& rxListener ) throw(uno::RuntimeException, std::exception)
+void UnoControlContainer::addContainerListener( const uno::Reference< container::XContainerListener >& rxListener )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
maCListeners.addInterface( rxListener );
}
-void UnoControlContainer::removeContainerListener( const uno::Reference< container::XContainerListener >& rxListener ) throw(uno::RuntimeException, std::exception)
+void UnoControlContainer::removeContainerListener( const uno::Reference< container::XContainerListener >& rxListener )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -471,7 +469,7 @@ void UnoControlContainer::removeContainerListener( const uno::Reference< contain
}
-::sal_Int32 SAL_CALL UnoControlContainer::insert( const uno::Any& _rElement ) throw (lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
+::sal_Int32 SAL_CALL UnoControlContainer::insert( const uno::Any& _rElement )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -486,7 +484,7 @@ void UnoControlContainer::removeContainerListener( const uno::Reference< contain
return impl_addControl( xControl );
}
-void SAL_CALL UnoControlContainer::removeByIdentifier( ::sal_Int32 _nIdentifier ) throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
+void SAL_CALL UnoControlContainer::removeByIdentifier( ::sal_Int32 _nIdentifier )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -500,7 +498,7 @@ void SAL_CALL UnoControlContainer::removeByIdentifier( ::sal_Int32 _nIdentifier
impl_removeControl( _nIdentifier, xControl );
}
-void SAL_CALL UnoControlContainer::replaceByIdentifer( ::sal_Int32 _nIdentifier, const uno::Any& _rElement ) throw (lang::IllegalArgumentException, container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
+void SAL_CALL UnoControlContainer::replaceByIdentifer( ::sal_Int32 _nIdentifier, const uno::Any& _rElement )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -538,7 +536,7 @@ void SAL_CALL UnoControlContainer::replaceByIdentifer( ::sal_Int32 _nIdentifier,
}
}
-uno::Any SAL_CALL UnoControlContainer::getByIdentifier( ::sal_Int32 _nIdentifier ) throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
+uno::Any SAL_CALL UnoControlContainer::getByIdentifier( ::sal_Int32 _nIdentifier )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -548,7 +546,7 @@ uno::Any SAL_CALL UnoControlContainer::getByIdentifier( ::sal_Int32 _nIdentifier
return uno::makeAny( xControl );
}
-uno::Sequence< ::sal_Int32 > SAL_CALL UnoControlContainer::getIdentifiers( ) throw (uno::RuntimeException, std::exception)
+uno::Sequence< ::sal_Int32 > SAL_CALL UnoControlContainer::getIdentifiers( )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -558,19 +556,19 @@ uno::Sequence< ::sal_Int32 > SAL_CALL UnoControlContainer::getIdentifiers( ) th
}
// container::XElementAccess
-uno::Type SAL_CALL UnoControlContainer::getElementType( ) throw (uno::RuntimeException, std::exception)
+uno::Type SAL_CALL UnoControlContainer::getElementType( )
{
return cppu::UnoType<awt::XControlModel>::get();
}
-sal_Bool SAL_CALL UnoControlContainer::hasElements( ) throw (uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL UnoControlContainer::hasElements( )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
return !mpControls->empty();
}
// awt::XControlContainer
-void UnoControlContainer::setStatusText( const OUString& rStatusText ) throw(uno::RuntimeException, std::exception)
+void UnoControlContainer::setStatusText( const OUString& rStatusText )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -580,7 +578,7 @@ void UnoControlContainer::setStatusText( const OUString& rStatusText ) throw(uno
xContainer->setStatusText( rStatusText );
}
-uno::Sequence< uno::Reference< awt::XControl > > UnoControlContainer::getControls( ) throw(uno::RuntimeException, std::exception)
+uno::Sequence< uno::Reference< awt::XControl > > UnoControlContainer::getControls( )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
uno::Sequence< uno::Reference< awt::XControl > > aControls;
@@ -588,7 +586,7 @@ uno::Sequence< uno::Reference< awt::XControl > > UnoControlContainer::getControl
return aControls;
}
-uno::Reference< awt::XControl > UnoControlContainer::getControl( const OUString& rName ) throw(uno::RuntimeException, std::exception)
+uno::Reference< awt::XControl > UnoControlContainer::getControl( const OUString& rName )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
return mpControls->getControlForName( rName );
@@ -642,7 +640,7 @@ sal_Int32 UnoControlContainer::impl_addControl( const uno::Reference< awt::XCont
return id;
}
-void UnoControlContainer::addControl( const OUString& rName, const uno::Reference< awt::XControl >& rControl ) throw(uno::RuntimeException, std::exception)
+void UnoControlContainer::addControl( const OUString& rName, const uno::Reference< awt::XControl >& rControl )
{
if ( rControl.is() )
impl_addControl( rControl, &rName );
@@ -680,7 +678,7 @@ void UnoControlContainer::impl_removeControl( sal_Int32 _nId, const uno::Referen
}
}
-void UnoControlContainer::removeControl( const uno::Reference< awt::XControl >& _rxControl ) throw(uno::RuntimeException, std::exception)
+void UnoControlContainer::removeControl( const uno::Reference< awt::XControl >& _rxControl )
{
if ( _rxControl.is() )
{
@@ -694,21 +692,21 @@ void UnoControlContainer::removeControl( const uno::Reference< awt::XControl >&
// awt::XUnoControlContainer
-void UnoControlContainer::setTabControllers( const uno::Sequence< uno::Reference< awt::XTabController > >& TabControllers ) throw(uno::RuntimeException, std::exception)
+void UnoControlContainer::setTabControllers( const uno::Sequence< uno::Reference< awt::XTabController > >& TabControllers )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
maTabControllers = TabControllers;
}
-uno::Sequence< uno::Reference< awt::XTabController > > UnoControlContainer::getTabControllers( ) throw(uno::RuntimeException, std::exception)
+uno::Sequence< uno::Reference< awt::XTabController > > UnoControlContainer::getTabControllers( )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
return maTabControllers;
}
-void UnoControlContainer::addTabController( const uno::Reference< awt::XTabController >& TabController ) throw(uno::RuntimeException, std::exception)
+void UnoControlContainer::addTabController( const uno::Reference< awt::XTabController >& TabController )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -717,7 +715,7 @@ void UnoControlContainer::addTabController( const uno::Reference< awt::XTabContr
maTabControllers[ nCount ] = TabController;
}
-void UnoControlContainer::removeTabController( const uno::Reference< awt::XTabController >& TabController ) throw(uno::RuntimeException, std::exception)
+void UnoControlContainer::removeTabController( const uno::Reference< awt::XTabController >& TabController )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -734,7 +732,7 @@ void UnoControlContainer::removeTabController( const uno::Reference< awt::XTabCo
}
// awt::XControl
-void UnoControlContainer::createPeer( const uno::Reference< awt::XToolkit >& rxToolkit, const uno::Reference< awt::XWindowPeer >& rParent ) throw(uno::RuntimeException, std::exception)
+void UnoControlContainer::createPeer( const uno::Reference< awt::XToolkit >& rxToolkit, const uno::Reference< awt::XWindowPeer >& rParent )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -793,7 +791,7 @@ void UnoControlContainer::createPeer( const uno::Reference< awt::XToolkit >& rxT
// awt::XWindow
-void UnoControlContainer::setVisible( sal_Bool bVisible ) throw(uno::RuntimeException, std::exception)
+void UnoControlContainer::setVisible( sal_Bool bVisible )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -804,13 +802,11 @@ void UnoControlContainer::setVisible( sal_Bool bVisible ) throw(uno::RuntimeExce
}
OUString UnoControlContainer::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlContainer");
}
css::uno::Sequence<OUString> UnoControlContainer::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlBase::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
diff --git a/toolkit/source/controls/unocontrolcontainermodel.cxx b/toolkit/source/controls/unocontrolcontainermodel.cxx
index 342c4626bc26..f4a2d50f5d13 100644
--- a/toolkit/source/controls/unocontrolcontainermodel.cxx
+++ b/toolkit/source/controls/unocontrolcontainermodel.cxx
@@ -40,20 +40,18 @@ UnoControlContainerModel::UnoControlContainerModel( const css::uno::Reference< c
ImplRegisterProperty( BASEPROPERTY_TEXT );
}
-OUString UnoControlContainerModel::getServiceName() throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlContainerModel::getServiceName()
{
return OUString::createFromAscii( szServiceName_UnoControlContainerModel );
}
OUString UnoControlContainerModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlContainerModel");
}
css::uno::Sequence<OUString>
UnoControlContainerModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -73,7 +71,7 @@ css::uno::Any UnoControlContainerModel::ImplGetDefaultValue( sal_uInt16 nPropId
}
-css::uno::Reference< css::beans::XPropertySetInfo > UnoControlContainerModel::getPropertySetInfo( ) throw(css::uno::RuntimeException, std::exception)
+css::uno::Reference< css::beans::XPropertySetInfo > UnoControlContainerModel::getPropertySetInfo( )
{
static css::uno::Reference< css::beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx
index 31dca8b755da..d7e0ab636a46 100644
--- a/toolkit/source/controls/unocontrolmodel.cxx
+++ b/toolkit/source/controls/unocontrolmodel.cxx
@@ -411,7 +411,7 @@ void UnoControlModel::ImplRegisterProperties( const std::vector< sal_uInt16 > &r
}
// css::uno::XInterface
-css::uno::Any UnoControlModel::queryAggregation( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception)
+css::uno::Any UnoControlModel::queryAggregation( const css::uno::Type & rType )
{
Any aRet = UnoControlModel_Base::queryAggregation( rType );
if ( !aRet.hasValue() )
@@ -429,7 +429,7 @@ IMPLEMENT_FORWARD_REFCOUNT( UnoControlModel, UnoControlModel_Base )
IMPLEMENT_FORWARD_XTYPEPROVIDER2( UnoControlModel, UnoControlModel_Base, ::cppu::OPropertySetHelper )
-uno::Reference< util::XCloneable > UnoControlModel::createClone() throw(css::uno::RuntimeException, std::exception)
+uno::Reference< util::XCloneable > UnoControlModel::createClone()
{
UnoControlModel* pClone = Clone();
uno::Reference< util::XCloneable > xClone( static_cast<cppu::OWeakObject*>(pClone), uno::UNO_QUERY );
@@ -437,7 +437,7 @@ uno::Reference< util::XCloneable > UnoControlModel::createClone() throw(css::uno
}
// css::lang::XComponent
-void UnoControlModel::dispose( ) throw(css::uno::RuntimeException, std::exception)
+void UnoControlModel::dispose( )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -451,14 +451,14 @@ void UnoControlModel::dispose( ) throw(css::uno::RuntimeException, std::excepti
OPropertySetHelper::disposing();
}
-void UnoControlModel::addEventListener( const css::uno::Reference< css::lang::XEventListener >& rxListener ) throw(css::uno::RuntimeException, std::exception)
+void UnoControlModel::addEventListener( const css::uno::Reference< css::lang::XEventListener >& rxListener )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
maDisposeListeners.addInterface( rxListener );
}
-void UnoControlModel::removeEventListener( const css::uno::Reference< css::lang::XEventListener >& rxListener ) throw(css::uno::RuntimeException, std::exception)
+void UnoControlModel::removeEventListener( const css::uno::Reference< css::lang::XEventListener >& rxListener )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -467,7 +467,7 @@ void UnoControlModel::removeEventListener( const css::uno::Reference< css::lang:
// css::beans::XPropertyState
-css::beans::PropertyState UnoControlModel::getPropertyState( const OUString& PropertyName ) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception)
+css::beans::PropertyState UnoControlModel::getPropertyState( const OUString& PropertyName )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -479,7 +479,7 @@ css::beans::PropertyState UnoControlModel::getPropertyState( const OUString& Pro
return CompareProperties( aValue, aDefault ) ? css::beans::PropertyState_DEFAULT_VALUE : css::beans::PropertyState_DIRECT_VALUE;
}
-css::uno::Sequence< css::beans::PropertyState > UnoControlModel::getPropertyStates( const css::uno::Sequence< OUString >& PropertyNames ) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception)
+css::uno::Sequence< css::beans::PropertyState > UnoControlModel::getPropertyStates( const css::uno::Sequence< OUString >& PropertyNames )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -495,7 +495,7 @@ css::uno::Sequence< css::beans::PropertyState > UnoControlModel::getPropertyStat
return aStates;
}
-void UnoControlModel::setPropertyToDefault( const OUString& PropertyName ) throw(css::beans::UnknownPropertyException, css::uno::RuntimeException, std::exception)
+void UnoControlModel::setPropertyToDefault( const OUString& PropertyName )
{
Any aDefaultValue;
{
@@ -505,7 +505,7 @@ void UnoControlModel::setPropertyToDefault( const OUString& PropertyName ) throw
setPropertyValue( PropertyName, aDefaultValue );
}
-css::uno::Any UnoControlModel::getPropertyDefault( const OUString& rPropertyName ) throw(css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
+css::uno::Any UnoControlModel::getPropertyDefault( const OUString& rPropertyName )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -514,7 +514,7 @@ css::uno::Any UnoControlModel::getPropertyDefault( const OUString& rPropertyName
// css::io::XPersistObjec
-OUString UnoControlModel::getServiceName( ) throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlModel::getServiceName( )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -522,7 +522,7 @@ OUString UnoControlModel::getServiceName( ) throw(css::uno::RuntimeException, s
return OUString();
}
-void UnoControlModel::write( const css::uno::Reference< css::io::XObjectOutputStream >& OutStream ) throw(css::io::IOException, css::uno::RuntimeException, std::exception)
+void UnoControlModel::write( const css::uno::Reference< css::io::XObjectOutputStream >& OutStream )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -755,7 +755,7 @@ void UnoControlModel::write( const css::uno::Reference< css::io::XObjectOutputSt
}
}
-void UnoControlModel::read( const css::uno::Reference< css::io::XObjectInputStream >& InStream ) throw(css::io::IOException, css::uno::RuntimeException, std::exception)
+void UnoControlModel::read( const css::uno::Reference< css::io::XObjectInputStream >& InStream )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -1022,25 +1022,25 @@ void UnoControlModel::read( const css::uno::Reference< css::io::XObjectInputStre
// css::lang::XServiceInfo
-OUString UnoControlModel::getImplementationName( ) throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlModel::getImplementationName( )
{
OSL_FAIL( "This method should be overridden!" );
return OUString();
}
-sal_Bool UnoControlModel::supportsService( const OUString& rServiceName ) throw(css::uno::RuntimeException, std::exception)
+sal_Bool UnoControlModel::supportsService( const OUString& rServiceName )
{
return cppu::supportsService(this, rServiceName);
}
-css::uno::Sequence< OUString > UnoControlModel::getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception)
+css::uno::Sequence< OUString > UnoControlModel::getSupportedServiceNames( )
{
OUString sName( "com.sun.star.awt.UnoControlModel" );
return Sequence< OUString >( &sName, 1 );
}
-sal_Bool UnoControlModel::convertFastPropertyValue( Any & rConvertedValue, Any & rOldValue, sal_Int32 nPropId, const Any& rValue ) throw (IllegalArgumentException, std::exception)
+sal_Bool UnoControlModel::convertFastPropertyValue( Any & rConvertedValue, Any & rOldValue, sal_Int32 nPropId, const Any& rValue )
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -1166,7 +1166,7 @@ sal_Bool UnoControlModel::convertFastPropertyValue( Any & rConvertedValue, Any &
return !CompareProperties( rConvertedValue, rOldValue );
}
-void UnoControlModel::setFastPropertyValue_NoBroadcast( sal_Int32 nPropId, const css::uno::Any& rValue ) throw (css::uno::Exception, std::exception)
+void UnoControlModel::setFastPropertyValue_NoBroadcast( sal_Int32 nPropId, const css::uno::Any& rValue )
{
// Missing: the fake solo properties of the FontDescriptor
@@ -1236,7 +1236,7 @@ void UnoControlModel::getFastPropertyValue( css::uno::Any& rValue, sal_Int32 nPr
}
// css::beans::XPropertySet
-void UnoControlModel::setPropertyValue( const OUString& rPropertyName, const css::uno::Any& rValue ) throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
+void UnoControlModel::setPropertyValue( const OUString& rPropertyName, const css::uno::Any& rValue )
{
sal_Int32 nPropId = 0;
{
@@ -1251,7 +1251,7 @@ void UnoControlModel::setPropertyValue( const OUString& rPropertyName, const css
}
// css::beans::XFastPropertySet
-void UnoControlModel::setFastPropertyValue( sal_Int32 nPropId, const css::uno::Any& rValue ) throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
+void UnoControlModel::setFastPropertyValue( sal_Int32 nPropId, const css::uno::Any& rValue )
{
if ( ( nPropId >= BASEPROPERTY_FONTDESCRIPTORPART_START ) && ( nPropId <= BASEPROPERTY_FONTDESCRIPTORPART_END ) )
{
@@ -1286,13 +1286,13 @@ void UnoControlModel::setFastPropertyValue( sal_Int32 nPropId, const css::uno::A
}
// css::beans::XMultiPropertySet
-css::uno::Reference< css::beans::XPropertySetInfo > UnoControlModel::getPropertySetInfo( ) throw(css::uno::RuntimeException, std::exception)
+css::uno::Reference< css::beans::XPropertySetInfo > UnoControlModel::getPropertySetInfo( )
{
OSL_FAIL( "UnoControlModel::getPropertySetInfo() not possible!" );
return css::uno::Reference< css::beans::XPropertySetInfo >();
}
-void UnoControlModel::setPropertyValues( const css::uno::Sequence< OUString >& rPropertyNames, const css::uno::Sequence< css::uno::Any >& Values ) throw(css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
+void UnoControlModel::setPropertyValues( const css::uno::Sequence< OUString >& rPropertyNames, const css::uno::Sequence< css::uno::Any >& Values )
{
::osl::ClearableMutexGuard aGuard( GetMutex() );
diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx
index 2264fba931d0..9473f4a7837b 100644
--- a/toolkit/source/controls/unocontrols.cxx
+++ b/toolkit/source/controls/unocontrols.cxx
@@ -118,7 +118,7 @@ UnoControlEditModel::UnoControlEditModel( const Reference< XComponentContext >&
UNO_CONTROL_MODEL_REGISTER_PROPERTIES( VCLXEdit );
}
-OUString UnoControlEditModel::getServiceName( ) throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlEditModel::getServiceName( )
{
return OUString::createFromAscii( szServiceName_UnoControlEditModel );
}
@@ -154,20 +154,18 @@ uno::Any UnoControlEditModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const
}
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoControlEditModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoControlEditModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
OUString UnoControlEditModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlEditModel");
}
css::uno::Sequence<OUString> UnoControlEditModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -201,7 +199,7 @@ UnoEditControl::UnoEditControl()
mbSetMaxTextLenInPeer = false;
}
-uno::Any SAL_CALL UnoEditControl::queryAggregation( const uno::Type & rType ) throw(uno::RuntimeException, std::exception)
+uno::Any SAL_CALL UnoEditControl::queryAggregation( const uno::Type & rType )
{
uno::Any aReturn = UnoControlBase::queryAggregation( rType );
if ( !aReturn.hasValue() )
@@ -209,7 +207,7 @@ uno::Any SAL_CALL UnoEditControl::queryAggregation( const uno::Type & rType ) th
return aReturn;
}
-uno::Any SAL_CALL UnoEditControl::queryInterface( const uno::Type & rType ) throw(uno::RuntimeException, std::exception)
+uno::Any SAL_CALL UnoEditControl::queryInterface( const uno::Type & rType )
{
return UnoControlBase::queryInterface( rType );
}
@@ -240,7 +238,7 @@ OUString UnoEditControl::GetComponentServiceName()
return sName;
}
-sal_Bool SAL_CALL UnoEditControl::setModel(const uno::Reference< awt::XControlModel >& _rModel) throw ( uno::RuntimeException, std::exception )
+sal_Bool SAL_CALL UnoEditControl::setModel(const uno::Reference< awt::XControlModel >& _rModel)
{
bool bReturn = UnoControlBase::setModel( _rModel );
mbHasTextProperty = ImplHasProperty( BASEPROPERTY_TEXT );
@@ -268,14 +266,14 @@ void UnoEditControl::ImplSetPeerProperty( const OUString& rPropName, const uno::
UnoControlBase::ImplSetPeerProperty( rPropName, rVal );
}
-void UnoEditControl::dispose() throw(uno::RuntimeException, std::exception)
+void UnoEditControl::dispose()
{
lang::EventObject aEvt( *this );
maTextListeners.disposeAndClear( aEvt );
UnoControl::dispose();
}
-void UnoEditControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer ) throw(uno::RuntimeException, std::exception)
+void UnoEditControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer )
{
UnoControl::createPeer( rxToolkit, rParentPeer );
@@ -291,7 +289,7 @@ void UnoEditControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolk
}
}
-void UnoEditControl::textChanged(const awt::TextEvent& e) throw(uno::RuntimeException, std::exception)
+void UnoEditControl::textChanged(const awt::TextEvent& e)
{
uno::Reference< awt::XTextComponent > xText( getPeer(), uno::UNO_QUERY );
@@ -308,17 +306,17 @@ void UnoEditControl::textChanged(const awt::TextEvent& e) throw(uno::RuntimeExce
maTextListeners.textChanged( e );
}
-void UnoEditControl::addTextListener(const uno::Reference< awt::XTextListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoEditControl::addTextListener(const uno::Reference< awt::XTextListener > & l)
{
maTextListeners.addInterface( l );
}
-void UnoEditControl::removeTextListener(const uno::Reference< awt::XTextListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoEditControl::removeTextListener(const uno::Reference< awt::XTextListener > & l)
{
maTextListeners.removeInterface( l );
}
-void UnoEditControl::setText( const OUString& aText ) throw(uno::RuntimeException, std::exception)
+void UnoEditControl::setText( const OUString& aText )
{
if ( mbHasTextProperty )
{
@@ -351,7 +349,7 @@ namespace
}
}
-void UnoEditControl::insertText( const awt::Selection& rSel, const OUString& rNewText ) throw(uno::RuntimeException, std::exception)
+void UnoEditControl::insertText( const awt::Selection& rSel, const OUString& rNewText )
{
// normalize the selection - OUString::replaceAt has a strange behaviour if the min is greater than the max
awt::Selection aSelection( rSel );
@@ -378,7 +376,7 @@ void UnoEditControl::insertText( const awt::Selection& rSel, const OUString& rNe
setSelection( aNewSelection );
}
-OUString UnoEditControl::getText() throw(uno::RuntimeException, std::exception)
+OUString UnoEditControl::getText()
{
OUString aText = maText;
@@ -394,7 +392,7 @@ OUString UnoEditControl::getText() throw(uno::RuntimeException, std::exception)
return aText;
}
-OUString UnoEditControl::getSelectedText() throw(uno::RuntimeException, std::exception)
+OUString UnoEditControl::getSelectedText()
{
OUString sSelected;
uno::Reference< awt::XTextComponent > xText( getPeer(), uno::UNO_QUERY );
@@ -404,14 +402,14 @@ OUString UnoEditControl::getSelectedText() throw(uno::RuntimeException, std::exc
return sSelected;
}
-void UnoEditControl::setSelection( const awt::Selection& aSelection ) throw(uno::RuntimeException, std::exception)
+void UnoEditControl::setSelection( const awt::Selection& aSelection )
{
uno::Reference< awt::XTextComponent > xText( getPeer(), uno::UNO_QUERY );
if ( xText.is() )
xText->setSelection( aSelection );
}
-awt::Selection UnoEditControl::getSelection() throw(uno::RuntimeException, std::exception)
+awt::Selection UnoEditControl::getSelection()
{
awt::Selection aSel;
uno::Reference< awt::XTextComponent > xText( getPeer(), uno::UNO_QUERY );
@@ -420,17 +418,17 @@ awt::Selection UnoEditControl::getSelection() throw(uno::RuntimeException, std::
return aSel;
}
-sal_Bool UnoEditControl::isEditable() throw(uno::RuntimeException, std::exception)
+sal_Bool UnoEditControl::isEditable()
{
return !ImplGetPropertyValue_BOOL( BASEPROPERTY_READONLY );
}
-void UnoEditControl::setEditable( sal_Bool bEditable ) throw(uno::RuntimeException, std::exception)
+void UnoEditControl::setEditable( sal_Bool bEditable )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_READONLY ), uno::Any(!bEditable), true );
}
-sal_Int16 UnoEditControl::getMaxTextLen() throw(uno::RuntimeException, std::exception)
+sal_Int16 UnoEditControl::getMaxTextLen()
{
sal_Int16 nMaxLen = mnMaxTextLen;
@@ -440,7 +438,7 @@ sal_Int16 UnoEditControl::getMaxTextLen() throw(uno::RuntimeException, std::exce
return nMaxLen;
}
-void UnoEditControl::setMaxTextLen( sal_Int16 nLen ) throw(uno::RuntimeException, std::exception)
+void UnoEditControl::setMaxTextLen( sal_Int16 nLen )
{
if ( ImplHasProperty( BASEPROPERTY_MAXTEXTLEN) )
{
@@ -456,37 +454,37 @@ void UnoEditControl::setMaxTextLen( sal_Int16 nLen ) throw(uno::RuntimeException
}
}
-awt::Size UnoEditControl::getMinimumSize( ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoEditControl::getMinimumSize( )
{
return Impl_getMinimumSize();
}
-awt::Size UnoEditControl::getPreferredSize( ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoEditControl::getPreferredSize( )
{
return Impl_getPreferredSize();
}
-awt::Size UnoEditControl::calcAdjustedSize( const awt::Size& rNewSize ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoEditControl::calcAdjustedSize( const awt::Size& rNewSize )
{
return Impl_calcAdjustedSize( rNewSize );
}
-awt::Size UnoEditControl::getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoEditControl::getMinimumSize( sal_Int16 nCols, sal_Int16 nLines )
{
return Impl_getMinimumSize( nCols, nLines );
}
-void UnoEditControl::getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) throw(uno::RuntimeException, std::exception)
+void UnoEditControl::getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines )
{
Impl_getColumnsAndLines( nCols, nLines );
}
-OUString UnoEditControl::getImplementationName( ) throw(uno::RuntimeException, std::exception)
+OUString UnoEditControl::getImplementationName( )
{
return OUString( "stardiv.Toolkit.UnoEditControl" );
}
-uno::Sequence< OUString > UnoEditControl::getSupportedServiceNames() throw(uno::RuntimeException, std::exception)
+uno::Sequence< OUString > UnoEditControl::getSupportedServiceNames()
{
uno::Sequence< OUString > aNames = UnoControlBase::getSupportedServiceNames( );
aNames.realloc( aNames.getLength() + 2 );
@@ -529,7 +527,7 @@ UnoControlFileControlModel::UnoControlFileControlModel( const Reference< XCompon
ImplRegisterProperty( BASEPROPERTY_HIDEINACTIVESELECTION );
}
-OUString UnoControlFileControlModel::getServiceName() throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlFileControlModel::getServiceName()
{
return OUString::createFromAscii( szServiceName_UnoControlFileControlModel );
}
@@ -555,21 +553,19 @@ uno::Any UnoControlFileControlModel::ImplGetDefaultValue( sal_uInt16 nPropId ) c
}
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoControlFileControlModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoControlFileControlModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
OUString UnoControlFileControlModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlFileControlModel");
}
css::uno::Sequence<OUString>
UnoControlFileControlModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -600,13 +596,11 @@ OUString UnoFileControl::GetComponentServiceName()
}
OUString UnoFileControl::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoFileControl");
}
css::uno::Sequence<OUString> UnoFileControl::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoEditControl::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -634,7 +628,7 @@ uno::Any GraphicControlModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const
return UnoControlModel::ImplGetDefaultValue( nPropId );
}
-void SAL_CALL GraphicControlModel::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue ) throw (css::uno::Exception, std::exception)
+void SAL_CALL GraphicControlModel::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue )
{
UnoControlModel::setFastPropertyValue_NoBroadcast( nHandle, rValue );
@@ -711,7 +705,7 @@ UnoControlButtonModel::UnoControlButtonModel( const Reference< XComponentContext
osl_atomic_decrement( &m_refCount );
}
-OUString UnoControlButtonModel::getServiceName() throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlButtonModel::getServiceName()
{
return OUString::createFromAscii( szServiceName_UnoControlButtonModel );
}
@@ -745,20 +739,18 @@ uno::Any UnoControlButtonModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const
}
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoControlButtonModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoControlButtonModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
OUString UnoControlButtonModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlButtonModel");
}
css::uno::Sequence<OUString> UnoControlButtonModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(GraphicControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -812,7 +804,7 @@ OUString UnoButtonControl::GetComponentServiceName()
return aName;
}
-void UnoButtonControl::dispose() throw(uno::RuntimeException, std::exception)
+void UnoButtonControl::dispose()
{
lang::EventObject aEvt;
aEvt.Source = static_cast<cppu::OWeakObject*>(this);
@@ -821,7 +813,7 @@ void UnoButtonControl::dispose() throw(uno::RuntimeException, std::exception)
UnoControlBase::dispose();
}
-void UnoButtonControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer ) throw(uno::RuntimeException, std::exception)
+void UnoButtonControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer )
{
UnoControlBase::createPeer( rxToolkit, rParentPeer );
@@ -835,7 +827,7 @@ void UnoButtonControl::createPeer( const uno::Reference< awt::XToolkit > & rxToo
xPushButton->addItemListener( this );
}
-void UnoButtonControl::addActionListener(const uno::Reference< awt::XActionListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoButtonControl::addActionListener(const uno::Reference< awt::XActionListener > & l)
{
maActionListeners.addInterface( l );
if( getPeer().is() && maActionListeners.getLength() == 1 )
@@ -845,7 +837,7 @@ void UnoButtonControl::addActionListener(const uno::Reference< awt::XActionListe
}
}
-void UnoButtonControl::removeActionListener(const uno::Reference< awt::XActionListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoButtonControl::removeActionListener(const uno::Reference< awt::XActionListener > & l)
{
if( getPeer().is() && maActionListeners.getLength() == 1 )
{
@@ -855,22 +847,22 @@ void UnoButtonControl::removeActionListener(const uno::Reference< awt::XActionLi
maActionListeners.removeInterface( l );
}
-void UnoButtonControl::addItemListener(const uno::Reference< awt::XItemListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoButtonControl::addItemListener(const uno::Reference< awt::XItemListener > & l)
{
maItemListeners.addInterface( l );
}
-void UnoButtonControl::removeItemListener(const uno::Reference< awt::XItemListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoButtonControl::removeItemListener(const uno::Reference< awt::XItemListener > & l)
{
maItemListeners.removeInterface( l );
}
-void SAL_CALL UnoButtonControl::disposing( const lang::EventObject& Source ) throw (uno::RuntimeException, std::exception)
+void SAL_CALL UnoButtonControl::disposing( const lang::EventObject& Source )
{
UnoControlBase::disposing( Source );
}
-void SAL_CALL UnoButtonControl::itemStateChanged( const awt::ItemEvent& rEvent ) throw (uno::RuntimeException, std::exception)
+void SAL_CALL UnoButtonControl::itemStateChanged( const awt::ItemEvent& rEvent )
{
// forward to model
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_STATE ), uno::Any((sal_Int16)rEvent.Selected), false );
@@ -881,12 +873,12 @@ void SAL_CALL UnoButtonControl::itemStateChanged( const awt::ItemEvent& rEvent )
maItemListeners.itemStateChanged( aEvent );
}
-void UnoButtonControl::setLabel( const OUString& rLabel ) throw(uno::RuntimeException, std::exception)
+void UnoButtonControl::setLabel( const OUString& rLabel )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_LABEL ), uno::Any(rLabel), true );
}
-void UnoButtonControl::setActionCommand( const OUString& rCommand ) throw(uno::RuntimeException, std::exception)
+void UnoButtonControl::setActionCommand( const OUString& rCommand )
{
maActionCommand = rCommand;
if ( getPeer().is() )
@@ -896,29 +888,27 @@ void UnoButtonControl::setActionCommand( const OUString& rCommand ) throw(uno::R
}
}
-awt::Size UnoButtonControl::getMinimumSize( ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoButtonControl::getMinimumSize( )
{
return Impl_getMinimumSize();
}
-awt::Size UnoButtonControl::getPreferredSize( ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoButtonControl::getPreferredSize( )
{
return Impl_getPreferredSize();
}
-awt::Size UnoButtonControl::calcAdjustedSize( const awt::Size& rNewSize ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoButtonControl::calcAdjustedSize( const awt::Size& rNewSize )
{
return Impl_calcAdjustedSize( rNewSize );
}
OUString UnoButtonControl::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoButtonControl");
}
css::uno::Sequence<OUString> UnoButtonControl::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlBase::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -945,20 +935,18 @@ UnoControlImageControlModel::UnoControlImageControlModel( const Reference< XComp
UNO_CONTROL_MODEL_REGISTER_PROPERTIES( VCLXImageControl );
}
-OUString UnoControlImageControlModel::getServiceName() throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlImageControlModel::getServiceName()
{
return OUString::createFromAscii( szServiceName_UnoControlImageControlModel );
}
OUString UnoControlImageControlModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlImageControlModel");
}
css::uno::Sequence<OUString>
UnoControlImageControlModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(GraphicControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 4);
@@ -992,13 +980,13 @@ uno::Any UnoControlImageControlModel::ImplGetDefaultValue( sal_uInt16 nPropId )
}
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoControlImageControlModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoControlImageControlModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
-void SAL_CALL UnoControlImageControlModel::setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle, const css::uno::Any& _rValue ) throw (css::uno::Exception, std::exception)
+void SAL_CALL UnoControlImageControlModel::setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle, const css::uno::Any& _rValue )
{
GraphicControlModel::setFastPropertyValue_NoBroadcast( _nHandle, _rValue );
@@ -1061,7 +1049,7 @@ OUString UnoImageControlControl::GetComponentServiceName()
return OUString("fixedimage");
}
-void UnoImageControlControl::dispose() throw(uno::RuntimeException, std::exception)
+void UnoImageControlControl::dispose()
{
lang::EventObject aEvt;
aEvt.Source = static_cast<cppu::OWeakObject*>(this);
@@ -1069,34 +1057,32 @@ void UnoImageControlControl::dispose() throw(uno::RuntimeException, std::excepti
UnoControl::dispose();
}
-sal_Bool UnoImageControlControl::isTransparent() throw(uno::RuntimeException, std::exception)
+sal_Bool UnoImageControlControl::isTransparent()
{
return true;
}
-awt::Size UnoImageControlControl::getMinimumSize( ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoImageControlControl::getMinimumSize( )
{
return Impl_getMinimumSize();
}
-awt::Size UnoImageControlControl::getPreferredSize( ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoImageControlControl::getPreferredSize( )
{
return Impl_getPreferredSize();
}
-awt::Size UnoImageControlControl::calcAdjustedSize( const awt::Size& rNewSize ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoImageControlControl::calcAdjustedSize( const awt::Size& rNewSize )
{
return Impl_calcAdjustedSize( rNewSize );
}
OUString UnoImageControlControl::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoImageControlControl");
}
css::uno::Sequence<OUString> UnoImageControlControl::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlBase::getSupportedServiceNames());
s.realloc(s.getLength() + 4);
@@ -1124,7 +1110,7 @@ UnoControlRadioButtonModel::UnoControlRadioButtonModel( const Reference< XCompon
UNO_CONTROL_MODEL_REGISTER_PROPERTIES( VCLXRadioButton );
}
-OUString UnoControlRadioButtonModel::getServiceName() throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlRadioButtonModel::getServiceName()
{
return OUString::createFromAscii( szServiceName_UnoControlRadioButtonModel );
}
@@ -1155,21 +1141,19 @@ uno::Any UnoControlRadioButtonModel::ImplGetDefaultValue( sal_uInt16 nPropId ) c
}
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoControlRadioButtonModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoControlRadioButtonModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
OUString UnoControlRadioButtonModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlRadioButtonModel");
}
css::uno::Sequence<OUString>
UnoControlRadioButtonModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(GraphicControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -1203,7 +1187,7 @@ OUString UnoRadioButtonControl::GetComponentServiceName()
return OUString("radiobutton");
}
-void UnoRadioButtonControl::dispose() throw(uno::RuntimeException, std::exception)
+void UnoRadioButtonControl::dispose()
{
lang::EventObject aEvt;
aEvt.Source = static_cast<cppu::OWeakObject*>(this);
@@ -1212,12 +1196,12 @@ void UnoRadioButtonControl::dispose() throw(uno::RuntimeException, std::exceptio
}
-sal_Bool UnoRadioButtonControl::isTransparent() throw(uno::RuntimeException, std::exception)
+sal_Bool UnoRadioButtonControl::isTransparent()
{
return true;
}
-void UnoRadioButtonControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer ) throw(uno::RuntimeException, std::exception)
+void UnoRadioButtonControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer )
{
UnoControlBase::createPeer( rxToolkit, rParentPeer );
@@ -1237,17 +1221,17 @@ void UnoRadioButtonControl::createPeer( const uno::Reference< awt::XToolkit > &
xVclWindowPeer->setProperty( GetPropertyName( BASEPROPERTY_AUTOTOGGLE ), css::uno::Any(true) );
}
-void UnoRadioButtonControl::addItemListener(const uno::Reference < awt::XItemListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoRadioButtonControl::addItemListener(const uno::Reference < awt::XItemListener > & l)
{
maItemListeners.addInterface( l );
}
-void UnoRadioButtonControl::removeItemListener(const uno::Reference < awt::XItemListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoRadioButtonControl::removeItemListener(const uno::Reference < awt::XItemListener > & l)
{
maItemListeners.removeInterface( l );
}
-void UnoRadioButtonControl::addActionListener(const uno::Reference< awt::XActionListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoRadioButtonControl::addActionListener(const uno::Reference< awt::XActionListener > & l)
{
maActionListeners.addInterface( l );
if( getPeer().is() && maActionListeners.getLength() == 1 )
@@ -1257,7 +1241,7 @@ void UnoRadioButtonControl::addActionListener(const uno::Reference< awt::XAction
}
}
-void UnoRadioButtonControl::removeActionListener(const uno::Reference< awt::XActionListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoRadioButtonControl::removeActionListener(const uno::Reference< awt::XActionListener > & l)
{
if( getPeer().is() && maActionListeners.getLength() == 1 )
{
@@ -1267,12 +1251,12 @@ void UnoRadioButtonControl::removeActionListener(const uno::Reference< awt::XAct
maActionListeners.removeInterface( l );
}
-void UnoRadioButtonControl::setLabel( const OUString& rLabel ) throw(uno::RuntimeException, std::exception)
+void UnoRadioButtonControl::setLabel( const OUString& rLabel )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_LABEL ), uno::Any(rLabel), true );
}
-void UnoRadioButtonControl::setActionCommand( const OUString& rCommand ) throw(uno::RuntimeException, std::exception)
+void UnoRadioButtonControl::setActionCommand( const OUString& rCommand )
{
maActionCommand = rCommand;
if ( getPeer().is() )
@@ -1282,13 +1266,13 @@ void UnoRadioButtonControl::setActionCommand( const OUString& rCommand ) throw(u
}
}
-void UnoRadioButtonControl::setState( sal_Bool bOn ) throw(uno::RuntimeException, std::exception)
+void UnoRadioButtonControl::setState( sal_Bool bOn )
{
sal_Int16 nState = bOn ? 1 : 0;
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_STATE ), uno::Any(nState), true );
}
-sal_Bool UnoRadioButtonControl::getState() throw(uno::RuntimeException, std::exception)
+sal_Bool UnoRadioButtonControl::getState()
{
sal_Int16 nState = 0;
uno::Any aVal = ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_STATE ) );
@@ -1296,7 +1280,7 @@ sal_Bool UnoRadioButtonControl::getState() throw(uno::RuntimeException, std::exc
return nState != 0;
}
-void UnoRadioButtonControl::itemStateChanged( const awt::ItemEvent& rEvent ) throw(uno::RuntimeException, std::exception)
+void UnoRadioButtonControl::itemStateChanged( const awt::ItemEvent& rEvent )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_STATE ), uno::Any((sal_Int16)rEvent.Selected), false );
@@ -1327,29 +1311,27 @@ void UnoRadioButtonControl::itemStateChanged( const awt::ItemEvent& rEvent ) thr
// to be inconsistent with.
}
-awt::Size UnoRadioButtonControl::getMinimumSize( ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoRadioButtonControl::getMinimumSize( )
{
return Impl_getMinimumSize();
}
-awt::Size UnoRadioButtonControl::getPreferredSize( ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoRadioButtonControl::getPreferredSize( )
{
return Impl_getPreferredSize();
}
-awt::Size UnoRadioButtonControl::calcAdjustedSize( const awt::Size& rNewSize ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoRadioButtonControl::calcAdjustedSize( const awt::Size& rNewSize )
{
return Impl_calcAdjustedSize( rNewSize );
}
OUString UnoRadioButtonControl::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoRadioButtonControl");
}
css::uno::Sequence<OUString> UnoRadioButtonControl::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlBase::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -1375,7 +1357,7 @@ UnoControlCheckBoxModel::UnoControlCheckBoxModel( const Reference< XComponentCon
UNO_CONTROL_MODEL_REGISTER_PROPERTIES( VCLXCheckBox );
}
-OUString UnoControlCheckBoxModel::getServiceName() throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlCheckBoxModel::getServiceName()
{
return OUString::createFromAscii( szServiceName_UnoControlCheckBoxModel );
}
@@ -1406,20 +1388,18 @@ uno::Any UnoControlCheckBoxModel::ImplGetDefaultValue( sal_uInt16 nPropId ) cons
}
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoControlCheckBoxModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoControlCheckBoxModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
OUString UnoControlCheckBoxModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString( "stardiv.Toolkit.UnoControlCheckBoxModel");
}
css::uno::Sequence<OUString> UnoControlCheckBoxModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(GraphicControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -1452,7 +1432,7 @@ OUString UnoCheckBoxControl::GetComponentServiceName()
return OUString("checkbox");
}
-void UnoCheckBoxControl::dispose() throw(uno::RuntimeException, std::exception)
+void UnoCheckBoxControl::dispose()
{
lang::EventObject aEvt;
aEvt.Source = static_cast<cppu::OWeakObject*>(this);
@@ -1460,12 +1440,12 @@ void UnoCheckBoxControl::dispose() throw(uno::RuntimeException, std::exception)
UnoControlBase::dispose();
}
-sal_Bool UnoCheckBoxControl::isTransparent() throw(uno::RuntimeException, std::exception)
+sal_Bool UnoCheckBoxControl::isTransparent()
{
return true;
}
-void UnoCheckBoxControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer ) throw(uno::RuntimeException, std::exception)
+void UnoCheckBoxControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer )
{
UnoControlBase::createPeer( rxToolkit, rParentPeer );
@@ -1478,17 +1458,17 @@ void UnoCheckBoxControl::createPeer( const uno::Reference< awt::XToolkit > & rxT
xButton->addActionListener( &maActionListeners );
}
-void UnoCheckBoxControl::addItemListener(const uno::Reference < awt::XItemListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoCheckBoxControl::addItemListener(const uno::Reference < awt::XItemListener > & l)
{
maItemListeners.addInterface( l );
}
-void UnoCheckBoxControl::removeItemListener(const uno::Reference < awt::XItemListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoCheckBoxControl::removeItemListener(const uno::Reference < awt::XItemListener > & l)
{
maItemListeners.removeInterface( l );
}
-void UnoCheckBoxControl::addActionListener(const uno::Reference< awt::XActionListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoCheckBoxControl::addActionListener(const uno::Reference< awt::XActionListener > & l)
{
maActionListeners.addInterface( l );
if( getPeer().is() && maActionListeners.getLength() == 1 )
@@ -1498,7 +1478,7 @@ void UnoCheckBoxControl::addActionListener(const uno::Reference< awt::XActionLis
}
}
-void UnoCheckBoxControl::removeActionListener(const uno::Reference< awt::XActionListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoCheckBoxControl::removeActionListener(const uno::Reference< awt::XActionListener > & l)
{
if( getPeer().is() && maActionListeners.getLength() == 1 )
{
@@ -1508,7 +1488,7 @@ void UnoCheckBoxControl::removeActionListener(const uno::Reference< awt::XAction
maActionListeners.removeInterface( l );
}
-void UnoCheckBoxControl::setActionCommand( const OUString& rCommand ) throw(uno::RuntimeException, std::exception)
+void UnoCheckBoxControl::setActionCommand( const OUString& rCommand )
{
maActionCommand = rCommand;
if ( getPeer().is() )
@@ -1519,17 +1499,17 @@ void UnoCheckBoxControl::setActionCommand( const OUString& rCommand ) throw(uno:
}
-void UnoCheckBoxControl::setLabel( const OUString& rLabel ) throw(uno::RuntimeException, std::exception)
+void UnoCheckBoxControl::setLabel( const OUString& rLabel )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_LABEL ), uno::Any(rLabel), true );
}
-void UnoCheckBoxControl::setState( short n ) throw(uno::RuntimeException, std::exception)
+void UnoCheckBoxControl::setState( short n )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_STATE ), uno::Any((sal_Int16) n), true );
}
-short UnoCheckBoxControl::getState() throw(uno::RuntimeException, std::exception)
+short UnoCheckBoxControl::getState()
{
short nState = 0;
uno::Any aVal = ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_STATE ) );
@@ -1537,12 +1517,12 @@ short UnoCheckBoxControl::getState() throw(uno::RuntimeException, std::exception
return nState;
}
-void UnoCheckBoxControl::enableTriState( sal_Bool b ) throw(uno::RuntimeException, std::exception)
+void UnoCheckBoxControl::enableTriState( sal_Bool b )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_TRISTATE ), uno::Any(b), true );
}
-void UnoCheckBoxControl::itemStateChanged( const awt::ItemEvent& rEvent ) throw(uno::RuntimeException, std::exception)
+void UnoCheckBoxControl::itemStateChanged( const awt::ItemEvent& rEvent )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_STATE ), uno::Any((sal_Int16) rEvent.Selected), false );
@@ -1550,29 +1530,27 @@ void UnoCheckBoxControl::itemStateChanged( const awt::ItemEvent& rEvent ) throw(
maItemListeners.itemStateChanged( rEvent );
}
-awt::Size UnoCheckBoxControl::getMinimumSize( ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoCheckBoxControl::getMinimumSize( )
{
return Impl_getMinimumSize();
}
-awt::Size UnoCheckBoxControl::getPreferredSize( ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoCheckBoxControl::getPreferredSize( )
{
return Impl_getPreferredSize();
}
-awt::Size UnoCheckBoxControl::calcAdjustedSize( const awt::Size& rNewSize ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoCheckBoxControl::calcAdjustedSize( const awt::Size& rNewSize )
{
return Impl_calcAdjustedSize( rNewSize );
}
OUString UnoCheckBoxControl::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoCheckBoxControl");
}
css::uno::Sequence<OUString> UnoCheckBoxControl::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlBase::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -1598,7 +1576,7 @@ UnoControlFixedHyperlinkModel::UnoControlFixedHyperlinkModel( const Reference< X
UNO_CONTROL_MODEL_REGISTER_PROPERTIES( VCLXFixedHyperlink );
}
-OUString UnoControlFixedHyperlinkModel::getServiceName() throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlFixedHyperlinkModel::getServiceName()
{
return OUString( "com.sun.star.awt.UnoControlFixedHyperlinkModel" );
}
@@ -1633,7 +1611,7 @@ uno::Any UnoControlFixedHyperlinkModel::ImplGetDefaultValue( sal_uInt16 nPropId
}
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoControlFixedHyperlinkModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoControlFixedHyperlinkModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
@@ -1664,7 +1642,7 @@ OUString UnoFixedHyperlinkControl::GetComponentServiceName()
}
// uno::XInterface
-uno::Any UnoFixedHyperlinkControl::queryAggregation( const uno::Type & rType ) throw(uno::RuntimeException, std::exception)
+uno::Any UnoFixedHyperlinkControl::queryAggregation( const uno::Type & rType )
{
uno::Any aRet = ::cppu::queryInterface( rType,
(static_cast< awt::XFixedHyperlink* >(this)),
@@ -1679,37 +1657,37 @@ IMPL_XTYPEPROVIDER_START( UnoFixedHyperlinkControl )
UnoControlBase::getTypes()
IMPL_XTYPEPROVIDER_END
-sal_Bool UnoFixedHyperlinkControl::isTransparent() throw(uno::RuntimeException, std::exception)
+sal_Bool UnoFixedHyperlinkControl::isTransparent()
{
return true;
}
-void UnoFixedHyperlinkControl::setText( const OUString& Text ) throw(uno::RuntimeException, std::exception)
+void UnoFixedHyperlinkControl::setText( const OUString& Text )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_LABEL ), uno::Any(Text), true );
}
-OUString UnoFixedHyperlinkControl::getText() throw(uno::RuntimeException, std::exception)
+OUString UnoFixedHyperlinkControl::getText()
{
return ImplGetPropertyValue_UString( BASEPROPERTY_LABEL );
}
-void UnoFixedHyperlinkControl::setURL( const OUString& URL ) throw(css::uno::RuntimeException, std::exception)
+void UnoFixedHyperlinkControl::setURL( const OUString& URL )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_URL ), uno::Any(URL), true );
}
-OUString UnoFixedHyperlinkControl::getURL( ) throw(css::uno::RuntimeException, std::exception)
+OUString UnoFixedHyperlinkControl::getURL( )
{
return ImplGetPropertyValue_UString( BASEPROPERTY_URL );
}
-void UnoFixedHyperlinkControl::setAlignment( short nAlign ) throw(uno::RuntimeException, std::exception)
+void UnoFixedHyperlinkControl::setAlignment( short nAlign )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_ALIGN ), uno::Any((sal_Int16) nAlign), true );
}
-short UnoFixedHyperlinkControl::getAlignment() throw(uno::RuntimeException, std::exception)
+short UnoFixedHyperlinkControl::getAlignment()
{
short nAlign = 0;
if ( mxModel.is() )
@@ -1720,22 +1698,22 @@ short UnoFixedHyperlinkControl::getAlignment() throw(uno::RuntimeException, std:
return nAlign;
}
-awt::Size UnoFixedHyperlinkControl::getMinimumSize( ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoFixedHyperlinkControl::getMinimumSize( )
{
return Impl_getMinimumSize();
}
-awt::Size UnoFixedHyperlinkControl::getPreferredSize( ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoFixedHyperlinkControl::getPreferredSize( )
{
return Impl_getPreferredSize();
}
-awt::Size UnoFixedHyperlinkControl::calcAdjustedSize( const awt::Size& rNewSize ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoFixedHyperlinkControl::calcAdjustedSize( const awt::Size& rNewSize )
{
return Impl_calcAdjustedSize( rNewSize );
}
-void UnoFixedHyperlinkControl::dispose() throw(uno::RuntimeException, std::exception)
+void UnoFixedHyperlinkControl::dispose()
{
lang::EventObject aEvt;
aEvt.Source = static_cast<cppu::OWeakObject*>(this);
@@ -1743,7 +1721,7 @@ void UnoFixedHyperlinkControl::dispose() throw(uno::RuntimeException, std::excep
UnoControlBase::dispose();
}
-void UnoFixedHyperlinkControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer ) throw(uno::RuntimeException, std::exception)
+void UnoFixedHyperlinkControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer )
{
UnoControlBase::createPeer( rxToolkit, rParentPeer );
@@ -1752,7 +1730,7 @@ void UnoFixedHyperlinkControl::createPeer( const uno::Reference< awt::XToolkit >
xFixedHyperlink->addActionListener( &maActionListeners );
}
-void UnoFixedHyperlinkControl::addActionListener(const uno::Reference< awt::XActionListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoFixedHyperlinkControl::addActionListener(const uno::Reference< awt::XActionListener > & l)
{
maActionListeners.addInterface( l );
if( getPeer().is() && maActionListeners.getLength() == 1 )
@@ -1762,7 +1740,7 @@ void UnoFixedHyperlinkControl::addActionListener(const uno::Reference< awt::XAct
}
}
-void UnoFixedHyperlinkControl::removeActionListener(const uno::Reference< awt::XActionListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoFixedHyperlinkControl::removeActionListener(const uno::Reference< awt::XActionListener > & l)
{
if( getPeer().is() && maActionListeners.getLength() == 1 )
{
@@ -1789,7 +1767,7 @@ UnoControlFixedTextModel::UnoControlFixedTextModel( const Reference< XComponentC
UNO_CONTROL_MODEL_REGISTER_PROPERTIES( VCLXFixedText );
}
-OUString UnoControlFixedTextModel::getServiceName() throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlFixedTextModel::getServiceName()
{
return OUString( "stardiv.vcl.controlmodel.FixedText" );
}
@@ -1820,21 +1798,19 @@ uno::Any UnoControlFixedTextModel::ImplGetDefaultValue( sal_uInt16 nPropId ) con
}
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoControlFixedTextModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoControlFixedTextModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
OUString UnoControlFixedTextModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlFixedTextModel");
}
css::uno::Sequence<OUString>
UnoControlFixedTextModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -1867,7 +1843,7 @@ OUString UnoFixedTextControl::GetComponentServiceName()
}
// uno::XInterface
-uno::Any UnoFixedTextControl::queryAggregation( const uno::Type & rType ) throw(uno::RuntimeException, std::exception)
+uno::Any UnoFixedTextControl::queryAggregation( const uno::Type & rType )
{
uno::Any aRet = ::cppu::queryInterface( rType,
(static_cast< awt::XFixedText* >(this)),
@@ -1882,27 +1858,27 @@ IMPL_XTYPEPROVIDER_START( UnoFixedTextControl )
UnoControlBase::getTypes()
IMPL_XTYPEPROVIDER_END
-sal_Bool UnoFixedTextControl::isTransparent() throw(uno::RuntimeException, std::exception)
+sal_Bool UnoFixedTextControl::isTransparent()
{
return true;
}
-void UnoFixedTextControl::setText( const OUString& Text ) throw(uno::RuntimeException, std::exception)
+void UnoFixedTextControl::setText( const OUString& Text )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_LABEL ), uno::Any(Text), true );
}
-OUString UnoFixedTextControl::getText() throw(uno::RuntimeException, std::exception)
+OUString UnoFixedTextControl::getText()
{
return ImplGetPropertyValue_UString( BASEPROPERTY_LABEL );
}
-void UnoFixedTextControl::setAlignment( short nAlign ) throw(uno::RuntimeException, std::exception)
+void UnoFixedTextControl::setAlignment( short nAlign )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_ALIGN ), uno::Any((sal_Int16) nAlign), true );
}
-short UnoFixedTextControl::getAlignment() throw(uno::RuntimeException, std::exception)
+short UnoFixedTextControl::getAlignment()
{
short nAlign = 0;
if ( mxModel.is() )
@@ -1913,29 +1889,27 @@ short UnoFixedTextControl::getAlignment() throw(uno::RuntimeException, std::exce
return nAlign;
}
-awt::Size UnoFixedTextControl::getMinimumSize( ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoFixedTextControl::getMinimumSize( )
{
return Impl_getMinimumSize();
}
-awt::Size UnoFixedTextControl::getPreferredSize( ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoFixedTextControl::getPreferredSize( )
{
return Impl_getPreferredSize();
}
-awt::Size UnoFixedTextControl::calcAdjustedSize( const awt::Size& rNewSize ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoFixedTextControl::calcAdjustedSize( const awt::Size& rNewSize )
{
return Impl_calcAdjustedSize( rNewSize );
}
OUString UnoFixedTextControl::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoFixedTextControl");
}
css::uno::Sequence<OUString> UnoFixedTextControl::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlBase::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -1970,7 +1944,7 @@ UnoControlGroupBoxModel::UnoControlGroupBoxModel( const Reference< XComponentCon
ImplRegisterProperty( BASEPROPERTY_CONTEXT_WRITING_MODE );
}
-OUString UnoControlGroupBoxModel::getServiceName() throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlGroupBoxModel::getServiceName()
{
return OUString::createFromAscii( szServiceName_UnoControlGroupBoxModel );
}
@@ -1996,20 +1970,18 @@ uno::Any UnoControlGroupBoxModel::ImplGetDefaultValue( sal_uInt16 nPropId ) cons
}
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoControlGroupBoxModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoControlGroupBoxModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
OUString UnoControlGroupBoxModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlGroupBoxModel");
}
css::uno::Sequence<OUString> UnoControlGroupBoxModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -2041,19 +2013,17 @@ OUString UnoGroupBoxControl::GetComponentServiceName()
return OUString("groupbox");
}
-sal_Bool UnoGroupBoxControl::isTransparent() throw(uno::RuntimeException, std::exception)
+sal_Bool UnoGroupBoxControl::isTransparent()
{
return true;
}
OUString UnoGroupBoxControl::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoGroupBoxControl");
}
css::uno::Sequence<OUString> UnoGroupBoxControl::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlBase::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -2199,13 +2169,11 @@ UnoControlListBoxModel::~UnoControlListBoxModel()
}
OUString UnoControlListBoxModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlListBoxModel");
}
css::uno::Sequence<OUString> UnoControlListBoxModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -2214,7 +2182,7 @@ css::uno::Sequence<OUString> UnoControlListBoxModel::getSupportedServiceNames()
return s;
}
-OUString UnoControlListBoxModel::getServiceName() throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlListBoxModel::getServiceName()
{
return OUString::createFromAscii( szServiceName_UnoControlListBoxModel );
}
@@ -2243,7 +2211,7 @@ uno::Any UnoControlListBoxModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoControlListBoxModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoControlListBoxModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
@@ -2262,7 +2230,7 @@ namespace
}
-void SAL_CALL UnoControlListBoxModel::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const uno::Any& rValue ) throw (uno::Exception, std::exception)
+void SAL_CALL UnoControlListBoxModel::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const uno::Any& rValue )
{
UnoControlModel::setFastPropertyValue_NoBroadcast( nHandle, rValue );
@@ -2313,14 +2281,14 @@ void UnoControlListBoxModel::ImplNormalizePropertySequence( const sal_Int32 _nCo
}
-::sal_Int32 SAL_CALL UnoControlListBoxModel::getItemCount() throw (RuntimeException, std::exception)
+::sal_Int32 SAL_CALL UnoControlListBoxModel::getItemCount()
{
::osl::MutexGuard aGuard( GetMutex() );
return m_xData->getItemCount();
}
-void SAL_CALL UnoControlListBoxModel::insertItem( ::sal_Int32 i_nPosition, const OUString& i_rItemText, const OUString& i_rItemImageURL ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+void SAL_CALL UnoControlListBoxModel::insertItem( ::sal_Int32 i_nPosition, const OUString& i_rItemText, const OUString& i_rItemImageURL )
{
::osl::ClearableMutexGuard aGuard( GetMutex() );
// SYNCHRONIZED ----->
@@ -2333,7 +2301,7 @@ void SAL_CALL UnoControlListBoxModel::insertItem( ::sal_Int32 i_nPosition, const
}
-void SAL_CALL UnoControlListBoxModel::insertItemText( ::sal_Int32 i_nPosition, const OUString& i_rItemText ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+void SAL_CALL UnoControlListBoxModel::insertItemText( ::sal_Int32 i_nPosition, const OUString& i_rItemText )
{
::osl::ClearableMutexGuard aGuard( GetMutex() );
// SYNCHRONIZED ----->
@@ -2345,7 +2313,7 @@ void SAL_CALL UnoControlListBoxModel::insertItemText( ::sal_Int32 i_nPosition, c
}
-void SAL_CALL UnoControlListBoxModel::insertItemImage( ::sal_Int32 i_nPosition, const OUString& i_rItemImageURL ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+void SAL_CALL UnoControlListBoxModel::insertItemImage( ::sal_Int32 i_nPosition, const OUString& i_rItemImageURL )
{
::osl::ClearableMutexGuard aGuard( GetMutex() );
// SYNCHRONIZED ----->
@@ -2357,7 +2325,7 @@ void SAL_CALL UnoControlListBoxModel::insertItemImage( ::sal_Int32 i_nPosition,
}
-void SAL_CALL UnoControlListBoxModel::removeItem( ::sal_Int32 i_nPosition ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+void SAL_CALL UnoControlListBoxModel::removeItem( ::sal_Int32 i_nPosition )
{
::osl::ClearableMutexGuard aGuard( GetMutex() );
// SYNCHRONIZED ----->
@@ -2368,7 +2336,7 @@ void SAL_CALL UnoControlListBoxModel::removeItem( ::sal_Int32 i_nPosition ) thro
}
-void SAL_CALL UnoControlListBoxModel::removeAllItems( ) throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL UnoControlListBoxModel::removeAllItems( )
{
::osl::ClearableMutexGuard aGuard( GetMutex() );
// SYNCHRONIZED ----->
@@ -2379,7 +2347,7 @@ void SAL_CALL UnoControlListBoxModel::removeAllItems( ) throw (css::uno::Runtim
}
-void SAL_CALL UnoControlListBoxModel::setItemText( ::sal_Int32 i_nPosition, const OUString& i_rItemText ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+void SAL_CALL UnoControlListBoxModel::setItemText( ::sal_Int32 i_nPosition, const OUString& i_rItemText )
{
::osl::ClearableMutexGuard aGuard( GetMutex() );
// SYNCHRONIZED ----->
@@ -2391,7 +2359,7 @@ void SAL_CALL UnoControlListBoxModel::setItemText( ::sal_Int32 i_nPosition, cons
}
-void SAL_CALL UnoControlListBoxModel::setItemImage( ::sal_Int32 i_nPosition, const OUString& i_rItemImageURL ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+void SAL_CALL UnoControlListBoxModel::setItemImage( ::sal_Int32 i_nPosition, const OUString& i_rItemImageURL )
{
::osl::ClearableMutexGuard aGuard( GetMutex() );
// SYNCHRONIZED ----->
@@ -2403,7 +2371,7 @@ void SAL_CALL UnoControlListBoxModel::setItemImage( ::sal_Int32 i_nPosition, con
}
-void SAL_CALL UnoControlListBoxModel::setItemTextAndImage( ::sal_Int32 i_nPosition, const OUString& i_rItemText, const OUString& i_rItemImageURL ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+void SAL_CALL UnoControlListBoxModel::setItemTextAndImage( ::sal_Int32 i_nPosition, const OUString& i_rItemText, const OUString& i_rItemImageURL )
{
::osl::ClearableMutexGuard aGuard( GetMutex() );
// SYNCHRONIZED ----->
@@ -2416,7 +2384,7 @@ void SAL_CALL UnoControlListBoxModel::setItemTextAndImage( ::sal_Int32 i_nPositi
}
-void SAL_CALL UnoControlListBoxModel::setItemData( ::sal_Int32 i_nPosition, const Any& i_rDataValue ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+void SAL_CALL UnoControlListBoxModel::setItemData( ::sal_Int32 i_nPosition, const Any& i_rDataValue )
{
::osl::ClearableMutexGuard aGuard( GetMutex() );
ListItem& rItem( m_xData->getItem( i_nPosition ) );
@@ -2424,7 +2392,7 @@ void SAL_CALL UnoControlListBoxModel::setItemData( ::sal_Int32 i_nPosition, cons
}
-OUString SAL_CALL UnoControlListBoxModel::getItemText( ::sal_Int32 i_nPosition ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+OUString SAL_CALL UnoControlListBoxModel::getItemText( ::sal_Int32 i_nPosition )
{
::osl::MutexGuard aGuard( GetMutex() );
const ListItem& rItem( m_xData->getItem( i_nPosition ) );
@@ -2432,7 +2400,7 @@ OUString SAL_CALL UnoControlListBoxModel::getItemText( ::sal_Int32 i_nPosition )
}
-OUString SAL_CALL UnoControlListBoxModel::getItemImage( ::sal_Int32 i_nPosition ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+OUString SAL_CALL UnoControlListBoxModel::getItemImage( ::sal_Int32 i_nPosition )
{
::osl::MutexGuard aGuard( GetMutex() );
const ListItem& rItem( m_xData->getItem( i_nPosition ) );
@@ -2440,7 +2408,7 @@ OUString SAL_CALL UnoControlListBoxModel::getItemImage( ::sal_Int32 i_nPosition
}
-beans::Pair< OUString, OUString > SAL_CALL UnoControlListBoxModel::getItemTextAndImage( ::sal_Int32 i_nPosition ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+beans::Pair< OUString, OUString > SAL_CALL UnoControlListBoxModel::getItemTextAndImage( ::sal_Int32 i_nPosition )
{
::osl::MutexGuard aGuard( GetMutex() );
const ListItem& rItem( m_xData->getItem( i_nPosition ) );
@@ -2448,7 +2416,7 @@ beans::Pair< OUString, OUString > SAL_CALL UnoControlListBoxModel::getItemTextAn
}
-Any SAL_CALL UnoControlListBoxModel::getItemData( ::sal_Int32 i_nPosition ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+Any SAL_CALL UnoControlListBoxModel::getItemData( ::sal_Int32 i_nPosition )
{
::osl::ClearableMutexGuard aGuard( GetMutex() );
const ListItem& rItem( m_xData->getItem( i_nPosition ) );
@@ -2456,21 +2424,21 @@ Any SAL_CALL UnoControlListBoxModel::getItemData( ::sal_Int32 i_nPosition ) thro
}
-Sequence< beans::Pair< OUString, OUString > > SAL_CALL UnoControlListBoxModel::getAllItems( ) throw (RuntimeException, std::exception)
+Sequence< beans::Pair< OUString, OUString > > SAL_CALL UnoControlListBoxModel::getAllItems( )
{
::osl::MutexGuard aGuard( GetMutex() );
return m_xData->getAllItems();
}
-void SAL_CALL UnoControlListBoxModel::addItemListListener( const uno::Reference< awt::XItemListListener >& i_Listener ) throw (uno::RuntimeException, std::exception)
+void SAL_CALL UnoControlListBoxModel::addItemListListener( const uno::Reference< awt::XItemListListener >& i_Listener )
{
if ( i_Listener.is() )
m_aItemListListeners.addInterface( i_Listener );
}
-void SAL_CALL UnoControlListBoxModel::removeItemListListener( const uno::Reference< awt::XItemListListener >& i_Listener ) throw (uno::RuntimeException, std::exception)
+void SAL_CALL UnoControlListBoxModel::removeItemListListener( const uno::Reference< awt::XItemListListener >& i_Listener )
{
if ( i_Listener.is() )
m_aItemListListeners.removeInterface( i_Listener );
@@ -2648,13 +2616,11 @@ OUString UnoListBoxControl::GetComponentServiceName()
}
OUString UnoListBoxControl::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoListBoxControl");
}
css::uno::Sequence<OUString> UnoListBoxControl::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlBase::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -2663,7 +2629,7 @@ css::uno::Sequence<OUString> UnoListBoxControl::getSupportedServiceNames()
return s;
}
-void UnoListBoxControl::dispose() throw(uno::RuntimeException, std::exception)
+void UnoListBoxControl::dispose()
{
lang::EventObject aEvt;
aEvt.Source = static_cast<cppu::OWeakObject*>(this);
@@ -2712,7 +2678,7 @@ void UnoListBoxControl::ImplSetPeerProperty( const OUString& rPropName, const un
UnoControl::ImplSetPeerProperty( rPropName, rVal );
}
-void UnoListBoxControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer ) throw(uno::RuntimeException, std::exception)
+void UnoListBoxControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer )
{
UnoControl::createPeer( rxToolkit, rParentPeer );
@@ -2723,7 +2689,7 @@ void UnoListBoxControl::createPeer( const uno::Reference< awt::XToolkit > & rxTo
xListBox->addActionListener( &maActionListeners );
}
-void UnoListBoxControl::addActionListener(const uno::Reference< awt::XActionListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoListBoxControl::addActionListener(const uno::Reference< awt::XActionListener > & l)
{
maActionListeners.addInterface( l );
if( getPeer().is() && maActionListeners.getLength() == 1 )
@@ -2733,7 +2699,7 @@ void UnoListBoxControl::addActionListener(const uno::Reference< awt::XActionList
}
}
-void UnoListBoxControl::removeActionListener(const uno::Reference< awt::XActionListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoListBoxControl::removeActionListener(const uno::Reference< awt::XActionListener > & l)
{
if( getPeer().is() && maActionListeners.getLength() == 1 )
{
@@ -2743,23 +2709,23 @@ void UnoListBoxControl::removeActionListener(const uno::Reference< awt::XActionL
maActionListeners.removeInterface( l );
}
-void UnoListBoxControl::addItemListener(const uno::Reference < awt::XItemListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoListBoxControl::addItemListener(const uno::Reference < awt::XItemListener > & l)
{
maItemListeners.addInterface( l );
}
-void UnoListBoxControl::removeItemListener(const uno::Reference < awt::XItemListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoListBoxControl::removeItemListener(const uno::Reference < awt::XItemListener > & l)
{
maItemListeners.removeInterface( l );
}
-void UnoListBoxControl::addItem( const OUString& aItem, sal_Int16 nPos ) throw(uno::RuntimeException, std::exception)
+void UnoListBoxControl::addItem( const OUString& aItem, sal_Int16 nPos )
{
uno::Sequence<OUString> aSeq { aItem };
addItems( aSeq, nPos );
}
-void UnoListBoxControl::addItems( const uno::Sequence< OUString>& aItems, sal_Int16 nPos ) throw(uno::RuntimeException, std::exception)
+void UnoListBoxControl::addItems( const uno::Sequence< OUString>& aItems, sal_Int16 nPos )
{
uno::Any aVal = ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_STRINGITEMLIST ) );
uno::Sequence< OUString> aSeq;
@@ -2791,7 +2757,7 @@ void UnoListBoxControl::addItems( const uno::Sequence< OUString>& aItems, sal_In
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_STRINGITEMLIST ), uno::Any(aNewSeq), true );
}
-void UnoListBoxControl::removeItems( sal_Int16 nPos, sal_Int16 nCount ) throw(uno::RuntimeException, std::exception)
+void UnoListBoxControl::removeItems( sal_Int16 nPos, sal_Int16 nCount )
{
uno::Any aVal = ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_STRINGITEMLIST ) );
uno::Sequence< OUString> aSeq;
@@ -2821,7 +2787,7 @@ void UnoListBoxControl::removeItems( sal_Int16 nPos, sal_Int16 nCount ) throw(un
}
}
-sal_Int16 UnoListBoxControl::getItemCount() throw(uno::RuntimeException, std::exception)
+sal_Int16 UnoListBoxControl::getItemCount()
{
uno::Any aVal = ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_STRINGITEMLIST ) );
uno::Sequence< OUString> aSeq;
@@ -2829,7 +2795,7 @@ sal_Int16 UnoListBoxControl::getItemCount() throw(uno::RuntimeException, std::ex
return (sal_Int16)aSeq.getLength();
}
-OUString UnoListBoxControl::getItem( sal_Int16 nPos ) throw(uno::RuntimeException, std::exception)
+OUString UnoListBoxControl::getItem( sal_Int16 nPos )
{
OUString aItem;
uno::Any aVal = ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_STRINGITEMLIST ) );
@@ -2840,7 +2806,7 @@ OUString UnoListBoxControl::getItem( sal_Int16 nPos ) throw(uno::RuntimeExceptio
return aItem;
}
-uno::Sequence< OUString> UnoListBoxControl::getItems() throw(uno::RuntimeException, std::exception)
+uno::Sequence< OUString> UnoListBoxControl::getItems()
{
uno::Any aVal = ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_STRINGITEMLIST ) );
uno::Sequence< OUString> aSeq;
@@ -2848,7 +2814,7 @@ uno::Sequence< OUString> UnoListBoxControl::getItems() throw(uno::RuntimeExcepti
return aSeq;
}
-sal_Int16 UnoListBoxControl::getSelectedItemPos() throw(uno::RuntimeException, std::exception)
+sal_Int16 UnoListBoxControl::getSelectedItemPos()
{
sal_Int16 n = -1;
if ( getPeer().is() )
@@ -2859,7 +2825,7 @@ sal_Int16 UnoListBoxControl::getSelectedItemPos() throw(uno::RuntimeException, s
return n;
}
-uno::Sequence<sal_Int16> UnoListBoxControl::getSelectedItemsPos() throw(uno::RuntimeException, std::exception)
+uno::Sequence<sal_Int16> UnoListBoxControl::getSelectedItemsPos()
{
uno::Sequence<sal_Int16> aSeq;
if ( getPeer().is() )
@@ -2870,7 +2836,7 @@ uno::Sequence<sal_Int16> UnoListBoxControl::getSelectedItemsPos() throw(uno::Run
return aSeq;
}
-OUString UnoListBoxControl::getSelectedItem() throw(uno::RuntimeException, std::exception)
+OUString UnoListBoxControl::getSelectedItem()
{
OUString aItem;
if ( getPeer().is() )
@@ -2881,7 +2847,7 @@ OUString UnoListBoxControl::getSelectedItem() throw(uno::RuntimeException, std::
return aItem;
}
-uno::Sequence< OUString> UnoListBoxControl::getSelectedItems() throw(uno::RuntimeException, std::exception)
+uno::Sequence< OUString> UnoListBoxControl::getSelectedItems()
{
uno::Sequence< OUString> aSeq;
if ( getPeer().is() )
@@ -2892,7 +2858,7 @@ uno::Sequence< OUString> UnoListBoxControl::getSelectedItems() throw(uno::Runtim
return aSeq;
}
-void UnoListBoxControl::selectItemPos( sal_Int16 nPos, sal_Bool bSelect ) throw(uno::RuntimeException, std::exception)
+void UnoListBoxControl::selectItemPos( sal_Int16 nPos, sal_Bool bSelect )
{
if ( getPeer().is() )
{
@@ -2902,7 +2868,7 @@ void UnoListBoxControl::selectItemPos( sal_Int16 nPos, sal_Bool bSelect ) throw(
ImplUpdateSelectedItemsProperty();
}
-void UnoListBoxControl::selectItemsPos( const uno::Sequence<sal_Int16>& aPositions, sal_Bool bSelect ) throw(uno::RuntimeException, std::exception)
+void UnoListBoxControl::selectItemsPos( const uno::Sequence<sal_Int16>& aPositions, sal_Bool bSelect )
{
if ( getPeer().is() )
{
@@ -2912,7 +2878,7 @@ void UnoListBoxControl::selectItemsPos( const uno::Sequence<sal_Int16>& aPositio
ImplUpdateSelectedItemsProperty();
}
-void UnoListBoxControl::selectItem( const OUString& aItem, sal_Bool bSelect ) throw(uno::RuntimeException, std::exception)
+void UnoListBoxControl::selectItem( const OUString& aItem, sal_Bool bSelect )
{
if ( getPeer().is() )
{
@@ -2922,7 +2888,7 @@ void UnoListBoxControl::selectItem( const OUString& aItem, sal_Bool bSelect ) th
ImplUpdateSelectedItemsProperty();
}
-void UnoListBoxControl::makeVisible( sal_Int16 nEntry ) throw(uno::RuntimeException, std::exception)
+void UnoListBoxControl::makeVisible( sal_Int16 nEntry )
{
if ( getPeer().is() )
{
@@ -2931,27 +2897,27 @@ void UnoListBoxControl::makeVisible( sal_Int16 nEntry ) throw(uno::RuntimeExcept
}
}
-void UnoListBoxControl::setDropDownLineCount( sal_Int16 nLines ) throw(uno::RuntimeException, std::exception)
+void UnoListBoxControl::setDropDownLineCount( sal_Int16 nLines )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_LINECOUNT ), uno::Any((sal_Int16) nLines), true );
}
-sal_Int16 UnoListBoxControl::getDropDownLineCount() throw(uno::RuntimeException, std::exception)
+sal_Int16 UnoListBoxControl::getDropDownLineCount()
{
return ImplGetPropertyValue_INT16( BASEPROPERTY_LINECOUNT );
}
-sal_Bool UnoListBoxControl::isMutipleMode() throw(uno::RuntimeException, std::exception)
+sal_Bool UnoListBoxControl::isMutipleMode()
{
return ImplGetPropertyValue_BOOL( BASEPROPERTY_MULTISELECTION );
}
-void UnoListBoxControl::setMultipleMode( sal_Bool bMulti ) throw(uno::RuntimeException, std::exception)
+void UnoListBoxControl::setMultipleMode( sal_Bool bMulti )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_MULTISELECTION ), uno::Any(bMulti), true );
}
-void UnoListBoxControl::itemStateChanged( const awt::ItemEvent& rEvent ) throw(uno::RuntimeException, std::exception)
+void UnoListBoxControl::itemStateChanged( const awt::ItemEvent& rEvent )
{
ImplUpdateSelectedItemsProperty();
if ( maItemListeners.getLength() )
@@ -2973,32 +2939,32 @@ void UnoListBoxControl::itemStateChanged( const awt::ItemEvent& rEvent ) throw(u
}
}
-awt::Size UnoListBoxControl::getMinimumSize( ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoListBoxControl::getMinimumSize( )
{
return Impl_getMinimumSize();
}
-awt::Size UnoListBoxControl::getPreferredSize( ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoListBoxControl::getPreferredSize( )
{
return Impl_getPreferredSize();
}
-awt::Size UnoListBoxControl::calcAdjustedSize( const awt::Size& rNewSize ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoListBoxControl::calcAdjustedSize( const awt::Size& rNewSize )
{
return Impl_calcAdjustedSize( rNewSize );
}
-awt::Size UnoListBoxControl::getMinimumSize( sal_Int16 nCols, sal_Int16 nLines ) throw(uno::RuntimeException, std::exception)
+awt::Size UnoListBoxControl::getMinimumSize( sal_Int16 nCols, sal_Int16 nLines )
{
return Impl_getMinimumSize( nCols, nLines );
}
-void UnoListBoxControl::getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) throw(uno::RuntimeException, std::exception)
+void UnoListBoxControl::getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines )
{
Impl_getColumnsAndLines( nCols, nLines );
}
-sal_Bool SAL_CALL UnoListBoxControl::setModel( const uno::Reference< awt::XControlModel >& i_rModel ) throw ( uno::RuntimeException, std::exception )
+sal_Bool SAL_CALL UnoListBoxControl::setModel( const uno::Reference< awt::XControlModel >& i_rModel )
{
::osl::MutexGuard aGuard( GetMutex() );
@@ -3018,7 +2984,7 @@ sal_Bool SAL_CALL UnoListBoxControl::setModel( const uno::Reference< awt::XContr
return true;
}
-void SAL_CALL UnoListBoxControl::listItemInserted( const awt::ItemListEvent& i_rEvent ) throw (uno::RuntimeException, std::exception)
+void SAL_CALL UnoListBoxControl::listItemInserted( const awt::ItemListEvent& i_rEvent )
{
const Reference< XItemListListener > xPeerListener( getPeer(), UNO_QUERY );
OSL_ENSURE( xPeerListener.is() || !getPeer().is(), "UnoListBoxControl::listItemInserted: invalid peer!" );
@@ -3026,7 +2992,7 @@ void SAL_CALL UnoListBoxControl::listItemInserted( const awt::ItemListEvent& i_r
xPeerListener->listItemInserted( i_rEvent );
}
-void SAL_CALL UnoListBoxControl::listItemRemoved( const awt::ItemListEvent& i_rEvent ) throw (uno::RuntimeException, std::exception)
+void SAL_CALL UnoListBoxControl::listItemRemoved( const awt::ItemListEvent& i_rEvent )
{
const Reference< XItemListListener > xPeerListener( getPeer(), UNO_QUERY );
OSL_ENSURE( xPeerListener.is() || !getPeer().is(), "UnoListBoxControl::listItemRemoved: invalid peer!" );
@@ -3034,7 +3000,7 @@ void SAL_CALL UnoListBoxControl::listItemRemoved( const awt::ItemListEvent& i_rE
xPeerListener->listItemRemoved( i_rEvent );
}
-void SAL_CALL UnoListBoxControl::listItemModified( const awt::ItemListEvent& i_rEvent ) throw (uno::RuntimeException, std::exception)
+void SAL_CALL UnoListBoxControl::listItemModified( const awt::ItemListEvent& i_rEvent )
{
const Reference< XItemListListener > xPeerListener( getPeer(), UNO_QUERY );
OSL_ENSURE( xPeerListener.is() || !getPeer().is(), "UnoListBoxControl::listItemModified: invalid peer!" );
@@ -3042,7 +3008,7 @@ void SAL_CALL UnoListBoxControl::listItemModified( const awt::ItemListEvent& i_r
xPeerListener->listItemModified( i_rEvent );
}
-void SAL_CALL UnoListBoxControl::allItemsRemoved( const lang::EventObject& i_rEvent ) throw (uno::RuntimeException, std::exception)
+void SAL_CALL UnoListBoxControl::allItemsRemoved( const lang::EventObject& i_rEvent )
{
const Reference< XItemListListener > xPeerListener( getPeer(), UNO_QUERY );
OSL_ENSURE( xPeerListener.is() || !getPeer().is(), "UnoListBoxControl::allItemsRemoved: invalid peer!" );
@@ -3050,7 +3016,7 @@ void SAL_CALL UnoListBoxControl::allItemsRemoved( const lang::EventObject& i_rEv
xPeerListener->allItemsRemoved( i_rEvent );
}
-void SAL_CALL UnoListBoxControl::itemListChanged( const lang::EventObject& i_rEvent ) throw (uno::RuntimeException, std::exception)
+void SAL_CALL UnoListBoxControl::itemListChanged( const lang::EventObject& i_rEvent )
{
const Reference< XItemListListener > xPeerListener( getPeer(), UNO_QUERY );
OSL_ENSURE( xPeerListener.is() || !getPeer().is(), "UnoListBoxControl::itemListChanged: invalid peer!" );
@@ -3076,13 +3042,11 @@ UnoControlComboBoxModel::UnoControlComboBoxModel( const Reference< XComponentCon
}
OUString UnoControlComboBoxModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlComboBoxModel");
}
css::uno::Sequence<OUString> UnoControlComboBoxModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -3091,7 +3055,7 @@ css::uno::Sequence<OUString> UnoControlComboBoxModel::getSupportedServiceNames()
return s;
}
-uno::Reference< beans::XPropertySetInfo > UnoControlComboBoxModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoControlComboBoxModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
@@ -3109,11 +3073,11 @@ uno::Reference< beans::XPropertySetInfo > UnoControlComboBoxModel::getPropertySe
}
-OUString UnoControlComboBoxModel::getServiceName() throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlComboBoxModel::getServiceName()
{
return OUString::createFromAscii( szServiceName_UnoControlComboBoxModel );
}
-void SAL_CALL UnoControlComboBoxModel::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const uno::Any& rValue ) throw (uno::Exception, std::exception)
+void SAL_CALL UnoControlComboBoxModel::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const uno::Any& rValue )
{
UnoControlModel::setFastPropertyValue_NoBroadcast( nHandle, rValue );
@@ -3175,13 +3139,11 @@ UnoComboBoxControl::UnoComboBoxControl()
}
OUString UnoComboBoxControl::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString( "stardiv.Toolkit.UnoComboBoxControl");
}
css::uno::Sequence<OUString> UnoComboBoxControl::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoEditControl::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -3195,7 +3157,7 @@ OUString UnoComboBoxControl::GetComponentServiceName()
return OUString("combobox");
}
-void UnoComboBoxControl::dispose() throw(uno::RuntimeException, std::exception)
+void UnoComboBoxControl::dispose()
{
lang::EventObject aEvt;
aEvt.Source = static_cast<cppu::OWeakObject*>(this);
@@ -3203,7 +3165,7 @@ void UnoComboBoxControl::dispose() throw(uno::RuntimeException, std::exception)
maItemListeners.disposeAndClear( aEvt );
UnoControl::dispose();
}
-uno::Any UnoComboBoxControl::queryAggregation( const uno::Type & rType ) throw(uno::RuntimeException, std::exception)
+uno::Any UnoComboBoxControl::queryAggregation( const uno::Type & rType )
{
uno::Any aRet = ::cppu::queryInterface( rType,
(static_cast< awt::XComboBox* >(this)) );
@@ -3247,7 +3209,7 @@ void UnoComboBoxControl::ImplSetPeerProperty( const OUString& rPropName, const u
UnoEditControl::ImplSetPeerProperty( rPropName, rVal );
}
-void UnoComboBoxControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer ) throw(uno::RuntimeException, std::exception)
+void UnoComboBoxControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer )
{
UnoEditControl::createPeer( rxToolkit, rParentPeer );
@@ -3258,7 +3220,7 @@ void UnoComboBoxControl::createPeer( const uno::Reference< awt::XToolkit > & rxT
xComboBox->addItemListener( &maItemListeners );
}
-void UnoComboBoxControl::addActionListener(const uno::Reference< awt::XActionListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoComboBoxControl::addActionListener(const uno::Reference< awt::XActionListener > & l)
{
maActionListeners.addInterface( l );
if( getPeer().is() && maActionListeners.getLength() == 1 )
@@ -3268,7 +3230,7 @@ void UnoComboBoxControl::addActionListener(const uno::Reference< awt::XActionLis
}
}
-void UnoComboBoxControl::removeActionListener(const uno::Reference< awt::XActionListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoComboBoxControl::removeActionListener(const uno::Reference< awt::XActionListener > & l)
{
if( getPeer().is() && maActionListeners.getLength() == 1 )
{
@@ -3278,7 +3240,7 @@ void UnoComboBoxControl::removeActionListener(const uno::Reference< awt::XAction
maActionListeners.removeInterface( l );
}
-void UnoComboBoxControl::addItemListener(const uno::Reference < awt::XItemListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoComboBoxControl::addItemListener(const uno::Reference < awt::XItemListener > & l)
{
maItemListeners.addInterface( l );
if( getPeer().is() && maItemListeners.getLength() == 1 )
@@ -3288,7 +3250,7 @@ void UnoComboBoxControl::addItemListener(const uno::Reference < awt::XItemListen
}
}
-void UnoComboBoxControl::removeItemListener(const uno::Reference < awt::XItemListener > & l) throw(uno::RuntimeException, std::exception)
+void UnoComboBoxControl::removeItemListener(const uno::Reference < awt::XItemListener > & l)
{
if( getPeer().is() && maItemListeners.getLength() == 1 )
{
@@ -3298,7 +3260,7 @@ void UnoComboBoxControl::removeItemListener(const uno::Reference < awt::XItemLis
}
maItemListeners.removeInterface( l );
}
-void UnoComboBoxControl::itemStateChanged( const awt::ItemEvent& rEvent ) throw(uno::RuntimeException, std::exception)
+void UnoComboBoxControl::itemStateChanged( const awt::ItemEvent& rEvent )
{
if ( maItemListeners.getLength() )
{
@@ -3318,7 +3280,7 @@ void UnoComboBoxControl::itemStateChanged( const awt::ItemEvent& rEvent ) throw(
}
}
}
-sal_Bool SAL_CALL UnoComboBoxControl::setModel( const uno::Reference< awt::XControlModel >& i_rModel ) throw ( uno::RuntimeException, std::exception )
+sal_Bool SAL_CALL UnoComboBoxControl::setModel( const uno::Reference< awt::XControlModel >& i_rModel )
{
::osl::MutexGuard aGuard( GetMutex() );
@@ -3338,7 +3300,7 @@ sal_Bool SAL_CALL UnoComboBoxControl::setModel( const uno::Reference< awt::XCont
return true;
}
-void SAL_CALL UnoComboBoxControl::listItemInserted( const awt::ItemListEvent& i_rEvent ) throw (uno::RuntimeException, std::exception)
+void SAL_CALL UnoComboBoxControl::listItemInserted( const awt::ItemListEvent& i_rEvent )
{
const Reference< XItemListListener > xPeerListener( getPeer(), UNO_QUERY );
OSL_ENSURE( xPeerListener.is() || !getPeer().is(), "UnoComboBoxControl::listItemInserted: invalid peer!" );
@@ -3346,7 +3308,7 @@ void SAL_CALL UnoComboBoxControl::listItemInserted( const awt::ItemListEvent& i_
xPeerListener->listItemInserted( i_rEvent );
}
-void SAL_CALL UnoComboBoxControl::listItemRemoved( const awt::ItemListEvent& i_rEvent ) throw (uno::RuntimeException, std::exception)
+void SAL_CALL UnoComboBoxControl::listItemRemoved( const awt::ItemListEvent& i_rEvent )
{
const Reference< XItemListListener > xPeerListener( getPeer(), UNO_QUERY );
OSL_ENSURE( xPeerListener.is() || !getPeer().is(), "UnoComboBoxControl::listItemRemoved: invalid peer!" );
@@ -3354,7 +3316,7 @@ void SAL_CALL UnoComboBoxControl::listItemRemoved( const awt::ItemListEvent& i_r
xPeerListener->listItemRemoved( i_rEvent );
}
-void SAL_CALL UnoComboBoxControl::listItemModified( const awt::ItemListEvent& i_rEvent ) throw (uno::RuntimeException, std::exception)
+void SAL_CALL UnoComboBoxControl::listItemModified( const awt::ItemListEvent& i_rEvent )
{
const Reference< XItemListListener > xPeerListener( getPeer(), UNO_QUERY );
OSL_ENSURE( xPeerListener.is() || !getPeer().is(), "UnoComboBoxControl::listItemModified: invalid peer!" );
@@ -3362,7 +3324,7 @@ void SAL_CALL UnoComboBoxControl::listItemModified( const awt::ItemListEvent& i_
xPeerListener->listItemModified( i_rEvent );
}
-void SAL_CALL UnoComboBoxControl::allItemsRemoved( const lang::EventObject& i_rEvent ) throw (uno::RuntimeException, std::exception)
+void SAL_CALL UnoComboBoxControl::allItemsRemoved( const lang::EventObject& i_rEvent )
{
const Reference< XItemListListener > xPeerListener( getPeer(), UNO_QUERY );
OSL_ENSURE( xPeerListener.is() || !getPeer().is(), "UnoComboBoxControl::allItemsRemoved: invalid peer!" );
@@ -3370,7 +3332,7 @@ void SAL_CALL UnoComboBoxControl::allItemsRemoved( const lang::EventObject& i_rE
xPeerListener->allItemsRemoved( i_rEvent );
}
-void SAL_CALL UnoComboBoxControl::itemListChanged( const lang::EventObject& i_rEvent ) throw (uno::RuntimeException, std::exception)
+void SAL_CALL UnoComboBoxControl::itemListChanged( const lang::EventObject& i_rEvent )
{
const Reference< XItemListListener > xPeerListener( getPeer(), UNO_QUERY );
OSL_ENSURE( xPeerListener.is() || !getPeer().is(), "UnoComboBoxControl::itemListChanged: invalid peer!" );
@@ -3378,13 +3340,13 @@ void SAL_CALL UnoComboBoxControl::itemListChanged( const lang::EventObject& i_rE
xPeerListener->itemListChanged( i_rEvent );
}
-void UnoComboBoxControl::addItem( const OUString& aItem, sal_Int16 nPos ) throw(uno::RuntimeException, std::exception)
+void UnoComboBoxControl::addItem( const OUString& aItem, sal_Int16 nPos )
{
uno::Sequence<OUString> aSeq { aItem };
addItems( aSeq, nPos );
}
-void UnoComboBoxControl::addItems( const uno::Sequence< OUString>& aItems, sal_Int16 nPos ) throw(uno::RuntimeException, std::exception)
+void UnoComboBoxControl::addItems( const uno::Sequence< OUString>& aItems, sal_Int16 nPos )
{
uno::Any aVal = ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_STRINGITEMLIST ) );
uno::Sequence< OUString> aSeq;
@@ -3416,7 +3378,7 @@ void UnoComboBoxControl::addItems( const uno::Sequence< OUString>& aItems, sal_I
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_STRINGITEMLIST ), Any(aNewSeq), true );
}
-void UnoComboBoxControl::removeItems( sal_Int16 nPos, sal_Int16 nCount ) throw(uno::RuntimeException, std::exception)
+void UnoComboBoxControl::removeItems( sal_Int16 nPos, sal_Int16 nCount )
{
uno::Any aVal = ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_STRINGITEMLIST ) );
uno::Sequence< OUString> aSeq;
@@ -3446,7 +3408,7 @@ void UnoComboBoxControl::removeItems( sal_Int16 nPos, sal_Int16 nCount ) throw(u
}
}
-sal_Int16 UnoComboBoxControl::getItemCount() throw(uno::RuntimeException, std::exception)
+sal_Int16 UnoComboBoxControl::getItemCount()
{
uno::Any aVal = ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_STRINGITEMLIST ) );
uno::Sequence< OUString> aSeq;
@@ -3454,7 +3416,7 @@ sal_Int16 UnoComboBoxControl::getItemCount() throw(uno::RuntimeException, std::e
return (sal_Int16)aSeq.getLength();
}
-OUString UnoComboBoxControl::getItem( sal_Int16 nPos ) throw(uno::RuntimeException, std::exception)
+OUString UnoComboBoxControl::getItem( sal_Int16 nPos )
{
OUString aItem;
uno::Any aVal = ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_STRINGITEMLIST ) );
@@ -3465,7 +3427,7 @@ OUString UnoComboBoxControl::getItem( sal_Int16 nPos ) throw(uno::RuntimeExcepti
return aItem;
}
-uno::Sequence< OUString> UnoComboBoxControl::getItems() throw(uno::RuntimeException, std::exception)
+uno::Sequence< OUString> UnoComboBoxControl::getItems()
{
uno::Any aVal = ImplGetPropertyValue( GetPropertyName( BASEPROPERTY_STRINGITEMLIST ) );
uno::Sequence< OUString> aSeq;
@@ -3473,12 +3435,12 @@ uno::Sequence< OUString> UnoComboBoxControl::getItems() throw(uno::RuntimeExcept
return aSeq;
}
-void UnoComboBoxControl::setDropDownLineCount( sal_Int16 nLines ) throw(uno::RuntimeException, std::exception)
+void UnoComboBoxControl::setDropDownLineCount( sal_Int16 nLines )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_LINECOUNT ), uno::Any(nLines), true );
}
-sal_Int16 UnoComboBoxControl::getDropDownLineCount() throw(uno::RuntimeException, std::exception)
+sal_Int16 UnoComboBoxControl::getDropDownLineCount()
{
return ImplGetPropertyValue_INT16( BASEPROPERTY_LINECOUNT );
}
@@ -3502,7 +3464,7 @@ UnoSpinFieldControl::UnoSpinFieldControl()
}
// uno::XInterface
-uno::Any UnoSpinFieldControl::queryAggregation( const uno::Type & rType ) throw(uno::RuntimeException, std::exception)
+uno::Any UnoSpinFieldControl::queryAggregation( const uno::Type & rType )
{
uno::Any aRet = ::cppu::queryInterface( rType,
(static_cast< awt::XSpinField* >(this)) );
@@ -3515,7 +3477,7 @@ IMPL_XTYPEPROVIDER_START( UnoSpinFieldControl )
UnoEditControl::getTypes()
IMPL_XTYPEPROVIDER_END
-void UnoSpinFieldControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer ) throw(uno::RuntimeException, std::exception)
+void UnoSpinFieldControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer )
{
UnoEditControl::createPeer( rxToolkit, rParentPeer );
@@ -3526,7 +3488,7 @@ void UnoSpinFieldControl::createPeer( const uno::Reference< awt::XToolkit > & rx
}
// css::awt::XSpinField
-void UnoSpinFieldControl::addSpinListener( const css::uno::Reference< css::awt::XSpinListener >& l ) throw(css::uno::RuntimeException, std::exception)
+void UnoSpinFieldControl::addSpinListener( const css::uno::Reference< css::awt::XSpinListener >& l )
{
maSpinListeners.addInterface( l );
if( getPeer().is() && maSpinListeners.getLength() == 1 )
@@ -3536,7 +3498,7 @@ void UnoSpinFieldControl::addSpinListener( const css::uno::Reference< css::awt::
}
}
-void UnoSpinFieldControl::removeSpinListener( const css::uno::Reference< css::awt::XSpinListener >& l ) throw(css::uno::RuntimeException, std::exception)
+void UnoSpinFieldControl::removeSpinListener( const css::uno::Reference< css::awt::XSpinListener >& l )
{
if( getPeer().is() && maSpinListeners.getLength() == 1 )
{
@@ -3546,35 +3508,35 @@ void UnoSpinFieldControl::removeSpinListener( const css::uno::Reference< css::aw
maSpinListeners.removeInterface( l );
}
-void UnoSpinFieldControl::up() throw(css::uno::RuntimeException, std::exception)
+void UnoSpinFieldControl::up()
{
uno::Reference < awt::XSpinField > xField( getPeer(), uno::UNO_QUERY );
if ( xField.is() )
xField->up();
}
-void UnoSpinFieldControl::down() throw(css::uno::RuntimeException, std::exception)
+void UnoSpinFieldControl::down()
{
uno::Reference < awt::XSpinField > xField( getPeer(), uno::UNO_QUERY );
if ( xField.is() )
xField->down();
}
-void UnoSpinFieldControl::first() throw(css::uno::RuntimeException, std::exception)
+void UnoSpinFieldControl::first()
{
uno::Reference < awt::XSpinField > xField( getPeer(), uno::UNO_QUERY );
if ( xField.is() )
xField->first();
}
-void UnoSpinFieldControl::last() throw(css::uno::RuntimeException, std::exception)
+void UnoSpinFieldControl::last()
{
uno::Reference < awt::XSpinField > xField( getPeer(), uno::UNO_QUERY );
if ( xField.is() )
xField->last();
}
-void UnoSpinFieldControl::enableRepeat( sal_Bool bRepeat ) throw(css::uno::RuntimeException, std::exception)
+void UnoSpinFieldControl::enableRepeat( sal_Bool bRepeat )
{
mbRepeat = bRepeat;
@@ -3592,7 +3554,7 @@ UnoControlDateFieldModel::UnoControlDateFieldModel( const Reference< XComponentC
UNO_CONTROL_MODEL_REGISTER_PROPERTIES( VCLXDateField );
}
-OUString UnoControlDateFieldModel::getServiceName() throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlDateFieldModel::getServiceName()
{
return OUString::createFromAscii( szServiceName_UnoControlDateFieldModel );
}
@@ -3619,21 +3581,19 @@ uno::Any UnoControlDateFieldModel::ImplGetDefaultValue( sal_uInt16 nPropId ) con
}
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoControlDateFieldModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoControlDateFieldModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
OUString UnoControlDateFieldModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlDateFieldModel");
}
css::uno::Sequence<OUString>
UnoControlDateFieldModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -3667,7 +3627,7 @@ OUString UnoDateFieldControl::GetComponentServiceName()
}
// uno::XInterface
-uno::Any UnoDateFieldControl::queryAggregation( const uno::Type & rType ) throw(uno::RuntimeException, std::exception)
+uno::Any UnoDateFieldControl::queryAggregation( const uno::Type & rType )
{
uno::Any aRet = ::cppu::queryInterface( rType,
(static_cast< awt::XDateField* >(this)) );
@@ -3680,7 +3640,7 @@ IMPL_XTYPEPROVIDER_START( UnoDateFieldControl )
UnoSpinFieldControl::getTypes()
IMPL_XTYPEPROVIDER_END
-void UnoDateFieldControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer ) throw(uno::RuntimeException, std::exception)
+void UnoDateFieldControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer )
{
UnoSpinFieldControl::createPeer( rxToolkit, rParentPeer );
@@ -3692,7 +3652,7 @@ void UnoDateFieldControl::createPeer( const uno::Reference< awt::XToolkit > & rx
}
-void UnoDateFieldControl::textChanged( const awt::TextEvent& e ) throw(uno::RuntimeException, std::exception)
+void UnoDateFieldControl::textChanged( const awt::TextEvent& e )
{
uno::Reference< awt::XVclWindowPeer > xPeer( getPeer(), uno::UNO_QUERY );
@@ -3733,37 +3693,37 @@ void UnoDateFieldControl::textChanged( const awt::TextEvent& e ) throw(uno::Runt
GetTextListeners().textChanged( e );
}
-void UnoDateFieldControl::setDate( const util::Date& Date ) throw(uno::RuntimeException, std::exception)
+void UnoDateFieldControl::setDate( const util::Date& Date )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_DATE ), uno::Any(Date), true );
}
-util::Date UnoDateFieldControl::getDate() throw(uno::RuntimeException, std::exception)
+util::Date UnoDateFieldControl::getDate()
{
return ImplGetPropertyValue_Date( BASEPROPERTY_DATE );
}
-void UnoDateFieldControl::setMin( const util::Date& Date ) throw(uno::RuntimeException, std::exception)
+void UnoDateFieldControl::setMin( const util::Date& Date )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_DATEMIN ), uno::Any(Date), true );
}
-util::Date UnoDateFieldControl::getMin() throw(uno::RuntimeException, std::exception)
+util::Date UnoDateFieldControl::getMin()
{
return ImplGetPropertyValue_Date( BASEPROPERTY_DATEMIN );
}
-void UnoDateFieldControl::setMax( const util::Date& Date ) throw(uno::RuntimeException, std::exception)
+void UnoDateFieldControl::setMax( const util::Date& Date )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_DATEMAX ), uno::Any(Date), true );
}
-util::Date UnoDateFieldControl::getMax() throw(uno::RuntimeException, std::exception)
+util::Date UnoDateFieldControl::getMax()
{
return ImplGetPropertyValue_Date( BASEPROPERTY_DATEMAX );
}
-void UnoDateFieldControl::setFirst( const util::Date& Date ) throw(uno::RuntimeException, std::exception)
+void UnoDateFieldControl::setFirst( const util::Date& Date )
{
mnFirst = Date;
if ( getPeer().is() )
@@ -3773,12 +3733,12 @@ void UnoDateFieldControl::setFirst( const util::Date& Date ) throw(uno::RuntimeE
}
}
-util::Date UnoDateFieldControl::getFirst() throw(uno::RuntimeException, std::exception)
+util::Date UnoDateFieldControl::getFirst()
{
return mnFirst;
}
-void UnoDateFieldControl::setLast( const util::Date& Date ) throw(uno::RuntimeException, std::exception)
+void UnoDateFieldControl::setLast( const util::Date& Date )
{
mnLast = Date;
if ( getPeer().is() )
@@ -3788,12 +3748,12 @@ void UnoDateFieldControl::setLast( const util::Date& Date ) throw(uno::RuntimeEx
}
}
-util::Date UnoDateFieldControl::getLast() throw(uno::RuntimeException, std::exception)
+util::Date UnoDateFieldControl::getLast()
{
return mnLast;
}
-void UnoDateFieldControl::setLongFormat( sal_Bool bLong ) throw(uno::RuntimeException, std::exception)
+void UnoDateFieldControl::setLongFormat( sal_Bool bLong )
{
mbLongFormat = bLong ? TRISTATE_TRUE : TRISTATE_FALSE;
if ( getPeer().is() )
@@ -3803,12 +3763,12 @@ void UnoDateFieldControl::setLongFormat( sal_Bool bLong ) throw(uno::RuntimeExce
}
}
-sal_Bool UnoDateFieldControl::isLongFormat() throw(uno::RuntimeException, std::exception)
+sal_Bool UnoDateFieldControl::isLongFormat()
{
return mbLongFormat == TRISTATE_TRUE;
}
-void UnoDateFieldControl::setEmpty() throw(uno::RuntimeException, std::exception)
+void UnoDateFieldControl::setEmpty()
{
if ( getPeer().is() )
{
@@ -3817,7 +3777,7 @@ void UnoDateFieldControl::setEmpty() throw(uno::RuntimeException, std::exception
}
}
-sal_Bool UnoDateFieldControl::isEmpty() throw(uno::RuntimeException, std::exception)
+sal_Bool UnoDateFieldControl::isEmpty()
{
bool bEmpty = false;
if ( getPeer().is() )
@@ -3828,24 +3788,22 @@ sal_Bool UnoDateFieldControl::isEmpty() throw(uno::RuntimeException, std::except
return bEmpty;
}
-void UnoDateFieldControl::setStrictFormat( sal_Bool bStrict ) throw(uno::RuntimeException, std::exception)
+void UnoDateFieldControl::setStrictFormat( sal_Bool bStrict )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_STRICTFORMAT ), uno::Any(bStrict), true );
}
-sal_Bool UnoDateFieldControl::isStrictFormat() throw(uno::RuntimeException, std::exception)
+sal_Bool UnoDateFieldControl::isStrictFormat()
{
return ImplGetPropertyValue_BOOL( BASEPROPERTY_STRICTFORMAT );
}
OUString UnoDateFieldControl::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoDateFieldControl");
}
css::uno::Sequence<OUString> UnoDateFieldControl::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoSpinFieldControl::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -3871,7 +3829,7 @@ UnoControlTimeFieldModel::UnoControlTimeFieldModel( const Reference< XComponentC
UNO_CONTROL_MODEL_REGISTER_PROPERTIES( VCLXTimeField );
}
-OUString UnoControlTimeFieldModel::getServiceName() throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlTimeFieldModel::getServiceName()
{
return OUString::createFromAscii( szServiceName_UnoControlTimeFieldModel );
}
@@ -3898,21 +3856,19 @@ uno::Any UnoControlTimeFieldModel::ImplGetDefaultValue( sal_uInt16 nPropId ) con
}
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoControlTimeFieldModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoControlTimeFieldModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
OUString UnoControlTimeFieldModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlTimeFieldModel");
}
css::uno::Sequence<OUString>
UnoControlTimeFieldModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -3945,7 +3901,7 @@ OUString UnoTimeFieldControl::GetComponentServiceName()
}
// uno::XInterface
-uno::Any UnoTimeFieldControl::queryAggregation( const uno::Type & rType ) throw(uno::RuntimeException, std::exception)
+uno::Any UnoTimeFieldControl::queryAggregation( const uno::Type & rType )
{
uno::Any aRet = ::cppu::queryInterface( rType,
(static_cast< awt::XTimeField* >(this)) );
@@ -3958,7 +3914,7 @@ IMPL_XTYPEPROVIDER_START( UnoTimeFieldControl )
UnoSpinFieldControl::getTypes()
IMPL_XTYPEPROVIDER_END
-void UnoTimeFieldControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer ) throw(uno::RuntimeException, std::exception)
+void UnoTimeFieldControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer )
{
UnoSpinFieldControl::createPeer( rxToolkit, rParentPeer );
@@ -3967,7 +3923,7 @@ void UnoTimeFieldControl::createPeer( const uno::Reference< awt::XToolkit > & rx
xField->setLast( mnLast );
}
-void UnoTimeFieldControl::textChanged( const awt::TextEvent& e ) throw(uno::RuntimeException, std::exception)
+void UnoTimeFieldControl::textChanged( const awt::TextEvent& e )
{
// also change the text property (#i25106#)
uno::Reference< awt::XVclWindowPeer > xPeer( getPeer(), uno::UNO_QUERY );
@@ -3986,37 +3942,37 @@ void UnoTimeFieldControl::textChanged( const awt::TextEvent& e ) throw(uno::Runt
GetTextListeners().textChanged( e );
}
-void UnoTimeFieldControl::setTime( const util::Time& Time ) throw(uno::RuntimeException, std::exception)
+void UnoTimeFieldControl::setTime( const util::Time& Time )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_TIME ), Any(Time), true );
}
-util::Time UnoTimeFieldControl::getTime() throw(uno::RuntimeException, std::exception)
+util::Time UnoTimeFieldControl::getTime()
{
return ImplGetPropertyValue_Time( BASEPROPERTY_TIME );
}
-void UnoTimeFieldControl::setMin( const util::Time& Time ) throw(uno::RuntimeException, std::exception)
+void UnoTimeFieldControl::setMin( const util::Time& Time )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_TIMEMIN ), uno::Any(Time), true );
}
-util::Time UnoTimeFieldControl::getMin() throw(uno::RuntimeException, std::exception)
+util::Time UnoTimeFieldControl::getMin()
{
return ImplGetPropertyValue_Time( BASEPROPERTY_TIMEMIN );
}
-void UnoTimeFieldControl::setMax( const util::Time& Time ) throw(uno::RuntimeException, std::exception)
+void UnoTimeFieldControl::setMax( const util::Time& Time )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_TIMEMAX ), uno::Any(Time), true );
}
-util::Time UnoTimeFieldControl::getMax() throw(uno::RuntimeException, std::exception)
+util::Time UnoTimeFieldControl::getMax()
{
return ImplGetPropertyValue_Time( BASEPROPERTY_TIMEMAX );
}
-void UnoTimeFieldControl::setFirst( const util::Time& Time ) throw(uno::RuntimeException, std::exception)
+void UnoTimeFieldControl::setFirst( const util::Time& Time )
{
mnFirst = Time;
if ( getPeer().is() )
@@ -4026,12 +3982,12 @@ void UnoTimeFieldControl::setFirst( const util::Time& Time ) throw(uno::RuntimeE
}
}
-util::Time UnoTimeFieldControl::getFirst() throw(uno::RuntimeException, std::exception)
+util::Time UnoTimeFieldControl::getFirst()
{
return mnFirst;
}
-void UnoTimeFieldControl::setLast( const util::Time& Time ) throw(uno::RuntimeException, std::exception)
+void UnoTimeFieldControl::setLast( const util::Time& Time )
{
mnLast = Time;
if ( getPeer().is() )
@@ -4041,12 +3997,12 @@ void UnoTimeFieldControl::setLast( const util::Time& Time ) throw(uno::RuntimeEx
}
}
-util::Time UnoTimeFieldControl::getLast() throw(uno::RuntimeException, std::exception)
+util::Time UnoTimeFieldControl::getLast()
{
return mnLast;
}
-void UnoTimeFieldControl::setEmpty() throw(uno::RuntimeException, std::exception)
+void UnoTimeFieldControl::setEmpty()
{
if ( getPeer().is() )
{
@@ -4055,7 +4011,7 @@ void UnoTimeFieldControl::setEmpty() throw(uno::RuntimeException, std::exception
}
}
-sal_Bool UnoTimeFieldControl::isEmpty() throw(uno::RuntimeException, std::exception)
+sal_Bool UnoTimeFieldControl::isEmpty()
{
bool bEmpty = false;
if ( getPeer().is() )
@@ -4066,24 +4022,22 @@ sal_Bool UnoTimeFieldControl::isEmpty() throw(uno::RuntimeException, std::except
return bEmpty;
}
-void UnoTimeFieldControl::setStrictFormat( sal_Bool bStrict ) throw(uno::RuntimeException, std::exception)
+void UnoTimeFieldControl::setStrictFormat( sal_Bool bStrict )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_STRICTFORMAT ), uno::Any(bStrict), true );
}
-sal_Bool UnoTimeFieldControl::isStrictFormat() throw(uno::RuntimeException, std::exception)
+sal_Bool UnoTimeFieldControl::isStrictFormat()
{
return ImplGetPropertyValue_BOOL( BASEPROPERTY_STRICTFORMAT );
}
OUString UnoTimeFieldControl::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoTimeFieldControl");
}
css::uno::Sequence<OUString> UnoTimeFieldControl::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoSpinFieldControl::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -4109,7 +4063,7 @@ UnoControlNumericFieldModel::UnoControlNumericFieldModel( const Reference< XComp
UNO_CONTROL_MODEL_REGISTER_PROPERTIES( VCLXNumericField );
}
-OUString UnoControlNumericFieldModel::getServiceName() throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlNumericFieldModel::getServiceName()
{
return OUString::createFromAscii( szServiceName_UnoControlNumericFieldModel );
}
@@ -4136,21 +4090,19 @@ uno::Any UnoControlNumericFieldModel::ImplGetDefaultValue( sal_uInt16 nPropId )
}
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoControlNumericFieldModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoControlNumericFieldModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
OUString UnoControlNumericFieldModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlNumericFieldModel");
}
css::uno::Sequence<OUString>
UnoControlNumericFieldModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -4183,7 +4135,7 @@ OUString UnoNumericFieldControl::GetComponentServiceName()
}
// uno::XInterface
-uno::Any UnoNumericFieldControl::queryAggregation( const uno::Type & rType ) throw(uno::RuntimeException, std::exception)
+uno::Any UnoNumericFieldControl::queryAggregation( const uno::Type & rType )
{
uno::Any aRet = ::cppu::queryInterface( rType,
(static_cast< awt::XNumericField* >(this)) );
@@ -4196,7 +4148,7 @@ IMPL_XTYPEPROVIDER_START( UnoNumericFieldControl )
UnoSpinFieldControl::getTypes()
IMPL_XTYPEPROVIDER_END
-void UnoNumericFieldControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer ) throw(uno::RuntimeException, std::exception)
+void UnoNumericFieldControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer )
{
UnoSpinFieldControl::createPeer( rxToolkit, rParentPeer );
@@ -4206,7 +4158,7 @@ void UnoNumericFieldControl::createPeer( const uno::Reference< awt::XToolkit > &
}
-void UnoNumericFieldControl::textChanged( const awt::TextEvent& e ) throw(uno::RuntimeException, std::exception)
+void UnoNumericFieldControl::textChanged( const awt::TextEvent& e )
{
uno::Reference < awt::XNumericField > xField( getPeer(), uno::UNO_QUERY );
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_VALUE_DOUBLE ), uno::Any(xField->getValue()), false );
@@ -4215,37 +4167,37 @@ void UnoNumericFieldControl::textChanged( const awt::TextEvent& e ) throw(uno::R
GetTextListeners().textChanged( e );
}
-void UnoNumericFieldControl::setValue( double Value ) throw(uno::RuntimeException, std::exception)
+void UnoNumericFieldControl::setValue( double Value )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_VALUE_DOUBLE ), uno::Any(Value), true );
}
-double UnoNumericFieldControl::getValue() throw(uno::RuntimeException, std::exception)
+double UnoNumericFieldControl::getValue()
{
return ImplGetPropertyValue_DOUBLE( BASEPROPERTY_VALUE_DOUBLE );
}
-void UnoNumericFieldControl::setMin( double Value ) throw(uno::RuntimeException, std::exception)
+void UnoNumericFieldControl::setMin( double Value )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_VALUEMIN_DOUBLE ), uno::Any(Value), true );
}
-double UnoNumericFieldControl::getMin() throw(uno::RuntimeException, std::exception)
+double UnoNumericFieldControl::getMin()
{
return ImplGetPropertyValue_DOUBLE( BASEPROPERTY_VALUEMIN_DOUBLE );
}
-void UnoNumericFieldControl::setMax( double Value ) throw(uno::RuntimeException, std::exception)
+void UnoNumericFieldControl::setMax( double Value )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_VALUEMAX_DOUBLE ), uno::Any(Value), true );
}
-double UnoNumericFieldControl::getMax() throw(uno::RuntimeException, std::exception)
+double UnoNumericFieldControl::getMax()
{
return ImplGetPropertyValue_DOUBLE( BASEPROPERTY_VALUEMAX_DOUBLE );
}
-void UnoNumericFieldControl::setFirst( double Value ) throw(uno::RuntimeException, std::exception)
+void UnoNumericFieldControl::setFirst( double Value )
{
mnFirst = Value;
if ( getPeer().is() )
@@ -4255,12 +4207,12 @@ void UnoNumericFieldControl::setFirst( double Value ) throw(uno::RuntimeExceptio
}
}
-double UnoNumericFieldControl::getFirst() throw(uno::RuntimeException, std::exception)
+double UnoNumericFieldControl::getFirst()
{
return mnFirst;
}
-void UnoNumericFieldControl::setLast( double Value ) throw(uno::RuntimeException, std::exception)
+void UnoNumericFieldControl::setLast( double Value )
{
mnLast = Value;
if ( getPeer().is() )
@@ -4270,29 +4222,27 @@ void UnoNumericFieldControl::setLast( double Value ) throw(uno::RuntimeException
}
}
-double UnoNumericFieldControl::getLast() throw(uno::RuntimeException, std::exception)
+double UnoNumericFieldControl::getLast()
{
return mnLast;
}
-void UnoNumericFieldControl::setStrictFormat( sal_Bool bStrict ) throw(uno::RuntimeException, std::exception)
+void UnoNumericFieldControl::setStrictFormat( sal_Bool bStrict )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_STRICTFORMAT ), uno::Any(bStrict), true );
}
-sal_Bool UnoNumericFieldControl::isStrictFormat() throw(uno::RuntimeException, std::exception)
+sal_Bool UnoNumericFieldControl::isStrictFormat()
{
return ImplGetPropertyValue_BOOL( BASEPROPERTY_STRICTFORMAT );
}
OUString UnoNumericFieldControl::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoNumericFieldControl");
}
css::uno::Sequence<OUString> UnoNumericFieldControl::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoSpinFieldControl::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -4301,22 +4251,22 @@ css::uno::Sequence<OUString> UnoNumericFieldControl::getSupportedServiceNames()
return s;
}
-void UnoNumericFieldControl::setSpinSize( double Digits ) throw(uno::RuntimeException, std::exception)
+void UnoNumericFieldControl::setSpinSize( double Digits )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_VALUESTEP_DOUBLE ), uno::Any(Digits), true );
}
-double UnoNumericFieldControl::getSpinSize() throw(uno::RuntimeException, std::exception)
+double UnoNumericFieldControl::getSpinSize()
{
return ImplGetPropertyValue_DOUBLE( BASEPROPERTY_VALUESTEP_DOUBLE );
}
-void UnoNumericFieldControl::setDecimalDigits( sal_Int16 Digits ) throw(uno::RuntimeException, std::exception)
+void UnoNumericFieldControl::setDecimalDigits( sal_Int16 Digits )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_DECIMALACCURACY ), uno::Any(Digits), true );
}
-sal_Int16 UnoNumericFieldControl::getDecimalDigits() throw(uno::RuntimeException, std::exception)
+sal_Int16 UnoNumericFieldControl::getDecimalDigits()
{
return ImplGetPropertyValue_INT16( BASEPROPERTY_DECIMALACCURACY );
}
@@ -4338,7 +4288,7 @@ UnoControlCurrencyFieldModel::UnoControlCurrencyFieldModel( const Reference< XCo
UNO_CONTROL_MODEL_REGISTER_PROPERTIES( VCLXCurrencyField );
}
-OUString UnoControlCurrencyFieldModel::getServiceName() throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlCurrencyFieldModel::getServiceName()
{
return OUString::createFromAscii( szServiceName_UnoControlCurrencyFieldModel );
}
@@ -4369,21 +4319,19 @@ uno::Any UnoControlCurrencyFieldModel::ImplGetDefaultValue( sal_uInt16 nPropId )
}
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoControlCurrencyFieldModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoControlCurrencyFieldModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
OUString UnoControlCurrencyFieldModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlCurrencyFieldModel");
}
css::uno::Sequence<OUString>
UnoControlCurrencyFieldModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -4416,7 +4364,7 @@ OUString UnoCurrencyFieldControl::GetComponentServiceName()
}
// uno::XInterface
-uno::Any UnoCurrencyFieldControl::queryAggregation( const uno::Type & rType ) throw(uno::RuntimeException, std::exception)
+uno::Any UnoCurrencyFieldControl::queryAggregation( const uno::Type & rType )
{
uno::Any aRet = ::cppu::queryInterface( rType,
(static_cast< awt::XCurrencyField* >(this)) );
@@ -4429,7 +4377,7 @@ IMPL_XTYPEPROVIDER_START( UnoCurrencyFieldControl )
UnoSpinFieldControl::getTypes()
IMPL_XTYPEPROVIDER_END
-void UnoCurrencyFieldControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer ) throw(uno::RuntimeException, std::exception)
+void UnoCurrencyFieldControl::createPeer( const uno::Reference< awt::XToolkit > & rxToolkit, const uno::Reference< awt::XWindowPeer > & rParentPeer )
{
UnoSpinFieldControl::createPeer( rxToolkit, rParentPeer );
@@ -4438,7 +4386,7 @@ void UnoCurrencyFieldControl::createPeer( const uno::Reference< awt::XToolkit >
xField->setLast( mnLast );
}
-void UnoCurrencyFieldControl::textChanged( const awt::TextEvent& e ) throw(uno::RuntimeException, std::exception)
+void UnoCurrencyFieldControl::textChanged( const awt::TextEvent& e )
{
uno::Reference < awt::XCurrencyField > xField( getPeer(), uno::UNO_QUERY );
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_VALUE_DOUBLE ), uno::Any(xField->getValue()), false );
@@ -4447,37 +4395,37 @@ void UnoCurrencyFieldControl::textChanged( const awt::TextEvent& e ) throw(uno::
GetTextListeners().textChanged( e );
}
-void UnoCurrencyFieldControl::setValue( double Value ) throw(uno::RuntimeException, std::exception)
+void UnoCurrencyFieldControl::setValue( double Value )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_VALUE_DOUBLE ), Any(Value), true );
}
-double UnoCurrencyFieldControl::getValue() throw(uno::RuntimeException, std::exception)
+double UnoCurrencyFieldControl::getValue()
{
return ImplGetPropertyValue_DOUBLE( BASEPROPERTY_VALUE_DOUBLE );
}
-void UnoCurrencyFieldControl::setMin( double Value ) throw(uno::RuntimeException, std::exception)
+void UnoCurrencyFieldControl::setMin( double Value )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_VALUEMIN_DOUBLE ), uno::Any(Value), true );
}
-double UnoCurrencyFieldControl::getMin() throw(uno::RuntimeException, std::exception)
+double UnoCurrencyFieldControl::getMin()
{
return ImplGetPropertyValue_DOUBLE( BASEPROPERTY_VALUEMIN_DOUBLE );
}
-void UnoCurrencyFieldControl::setMax( double Value ) throw(uno::RuntimeException, std::exception)
+void UnoCurrencyFieldControl::setMax( double Value )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_VALUEMAX_DOUBLE ), uno::Any(Value), true );
}
-double UnoCurrencyFieldControl::getMax() throw(uno::RuntimeException, std::exception)
+double UnoCurrencyFieldControl::getMax()
{
return ImplGetPropertyValue_DOUBLE( BASEPROPERTY_VALUEMAX_DOUBLE );
}
-void UnoCurrencyFieldControl::setFirst( double Value ) throw(uno::RuntimeException, std::exception)
+void UnoCurrencyFieldControl::setFirst( double Value )
{
mnFirst = Value;
if ( getPeer().is() )
@@ -4487,12 +4435,12 @@ void UnoCurrencyFieldControl::setFirst( double Value ) throw(uno::RuntimeExcepti
}
}
-double UnoCurrencyFieldControl::getFirst() throw(uno::RuntimeException, std::exception)
+double UnoCurrencyFieldControl::getFirst()
{
return mnFirst;
}
-void UnoCurrencyFieldControl::setLast( double Value ) throw(uno::RuntimeException, std::exception)
+void UnoCurrencyFieldControl::setLast( double Value )
{
mnLast = Value;
if ( getPeer().is() )
@@ -4502,30 +4450,28 @@ void UnoCurrencyFieldControl::setLast( double Value ) throw(uno::RuntimeExceptio
}
}
-double UnoCurrencyFieldControl::getLast() throw(uno::RuntimeException, std::exception)
+double UnoCurrencyFieldControl::getLast()
{
return mnLast;
}
-void UnoCurrencyFieldControl::setStrictFormat( sal_Bool bStrict ) throw(uno::RuntimeException, std::exception)
+void UnoCurrencyFieldControl::setStrictFormat( sal_Bool bStrict )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_STRICTFORMAT ), uno::Any(bStrict), true );
}
-sal_Bool UnoCurrencyFieldControl::isStrictFormat() throw(uno::RuntimeException, std::exception)
+sal_Bool UnoCurrencyFieldControl::isStrictFormat()
{
return ImplGetPropertyValue_BOOL( BASEPROPERTY_STRICTFORMAT );
}
OUString UnoCurrencyFieldControl::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoCurrencyFieldControl");
}
css::uno::Sequence<OUString>
UnoCurrencyFieldControl::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoSpinFieldControl::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -4534,22 +4480,22 @@ UnoCurrencyFieldControl::getSupportedServiceNames()
return s;
}
-void UnoCurrencyFieldControl::setSpinSize( double Digits ) throw(uno::RuntimeException, std::exception)
+void UnoCurrencyFieldControl::setSpinSize( double Digits )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_VALUESTEP_DOUBLE ), uno::Any(Digits), true );
}
-double UnoCurrencyFieldControl::getSpinSize() throw(uno::RuntimeException, std::exception)
+double UnoCurrencyFieldControl::getSpinSize()
{
return ImplGetPropertyValue_DOUBLE( BASEPROPERTY_VALUESTEP_DOUBLE );
}
-void UnoCurrencyFieldControl::setDecimalDigits( sal_Int16 Digits ) throw(uno::RuntimeException, std::exception)
+void UnoCurrencyFieldControl::setDecimalDigits( sal_Int16 Digits )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_DECIMALACCURACY ), uno::Any(Digits), true );
}
-sal_Int16 UnoCurrencyFieldControl::getDecimalDigits() throw(uno::RuntimeException, std::exception)
+sal_Int16 UnoCurrencyFieldControl::getDecimalDigits()
{
return ImplGetPropertyValue_INT16( BASEPROPERTY_DECIMALACCURACY );
}
@@ -4571,7 +4517,7 @@ UnoControlPatternFieldModel::UnoControlPatternFieldModel( const Reference< XComp
UNO_CONTROL_MODEL_REGISTER_PROPERTIES( VCLXPatternField );
}
-OUString UnoControlPatternFieldModel::getServiceName() throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlPatternFieldModel::getServiceName()
{
return OUString::createFromAscii( szServiceName_UnoControlPatternFieldModel );
}
@@ -4597,21 +4543,19 @@ uno::Any UnoControlPatternFieldModel::ImplGetDefaultValue( sal_uInt16 nPropId )
}
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoControlPatternFieldModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoControlPatternFieldModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
OUString UnoControlPatternFieldModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlPatternFieldModel");
}
css::uno::Sequence<OUString>
UnoControlPatternFieldModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -4667,7 +4611,7 @@ void UnoPatternFieldControl::ImplSetPeerProperty( const OUString& rPropName, con
// uno::XInterface
-uno::Any UnoPatternFieldControl::queryAggregation( const uno::Type & rType ) throw(uno::RuntimeException, std::exception)
+uno::Any UnoPatternFieldControl::queryAggregation( const uno::Type & rType )
{
uno::Any aRet = ::cppu::queryInterface( rType,
(static_cast< awt::XPatternField* >(this)) );
@@ -4680,46 +4624,44 @@ IMPL_XTYPEPROVIDER_START( UnoPatternFieldControl )
UnoSpinFieldControl::getTypes()
IMPL_XTYPEPROVIDER_END
-void UnoPatternFieldControl::setString( const OUString& rString ) throw(uno::RuntimeException, std::exception)
+void UnoPatternFieldControl::setString( const OUString& rString )
{
setText( rString );
}
-OUString UnoPatternFieldControl::getString() throw(uno::RuntimeException, std::exception)
+OUString UnoPatternFieldControl::getString()
{
return getText();
}
-void UnoPatternFieldControl::setMasks( const OUString& EditMask, const OUString& LiteralMask ) throw(uno::RuntimeException, std::exception)
+void UnoPatternFieldControl::setMasks( const OUString& EditMask, const OUString& LiteralMask )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_EDITMASK ), uno::Any(EditMask), true );
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_LITERALMASK ), uno::Any(LiteralMask), true );
}
-void UnoPatternFieldControl::getMasks( OUString& EditMask, OUString& LiteralMask ) throw(uno::RuntimeException, std::exception)
+void UnoPatternFieldControl::getMasks( OUString& EditMask, OUString& LiteralMask )
{
EditMask = ImplGetPropertyValue_UString( BASEPROPERTY_EDITMASK );
LiteralMask = ImplGetPropertyValue_UString( BASEPROPERTY_LITERALMASK );
}
-void UnoPatternFieldControl::setStrictFormat( sal_Bool bStrict ) throw(uno::RuntimeException, std::exception)
+void UnoPatternFieldControl::setStrictFormat( sal_Bool bStrict )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_STRICTFORMAT ), uno::Any(bStrict), true );
}
-sal_Bool UnoPatternFieldControl::isStrictFormat() throw(uno::RuntimeException, std::exception)
+sal_Bool UnoPatternFieldControl::isStrictFormat()
{
return ImplGetPropertyValue_BOOL( BASEPROPERTY_STRICTFORMAT );
}
OUString UnoPatternFieldControl::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoPatternFieldControl");
}
css::uno::Sequence<OUString> UnoPatternFieldControl::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoSpinFieldControl::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -4757,7 +4699,7 @@ UnoControlProgressBarModel::UnoControlProgressBarModel( const Reference< XCompon
ImplRegisterProperty( BASEPROPERTY_PROGRESSVALUE_MIN );
}
-OUString UnoControlProgressBarModel::getServiceName( ) throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlProgressBarModel::getServiceName( )
{
return OUString::createFromAscii( szServiceName_UnoControlProgressBarModel );
}
@@ -4784,21 +4726,19 @@ uno::Any UnoControlProgressBarModel::ImplGetDefaultValue( sal_uInt16 nPropId ) c
}
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoControlProgressBarModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoControlProgressBarModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
OUString UnoControlProgressBarModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlProgressBarModel");
}
css::uno::Sequence<OUString>
UnoControlProgressBarModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -4829,7 +4769,7 @@ OUString UnoProgressBarControl::GetComponentServiceName()
}
// uno::XInterface
-uno::Any UnoProgressBarControl::queryAggregation( const uno::Type & rType ) throw(uno::RuntimeException, std::exception)
+uno::Any UnoProgressBarControl::queryAggregation( const uno::Type & rType )
{
uno::Any aRet = ::cppu::queryInterface( rType,
(static_cast< awt::XProgressBar* >(this)) );
@@ -4843,22 +4783,22 @@ IMPL_XTYPEPROVIDER_START( UnoProgressBarControl )
IMPL_XTYPEPROVIDER_END
// css::awt::XProgressBar
-void UnoProgressBarControl::setForegroundColor( sal_Int32 nColor ) throw(css::uno::RuntimeException, std::exception)
+void UnoProgressBarControl::setForegroundColor( sal_Int32 nColor )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_FILLCOLOR ), uno::Any(nColor), true );
}
-void UnoProgressBarControl::setBackgroundColor( sal_Int32 nColor ) throw(css::uno::RuntimeException, std::exception)
+void UnoProgressBarControl::setBackgroundColor( sal_Int32 nColor )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_BACKGROUNDCOLOR ), uno::Any(nColor), true );
}
-void UnoProgressBarControl::setValue( sal_Int32 nValue ) throw(css::uno::RuntimeException, std::exception)
+void UnoProgressBarControl::setValue( sal_Int32 nValue )
{
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_PROGRESSVALUE ), uno::Any(nValue), true );
}
-void UnoProgressBarControl::setRange( sal_Int32 nMin, sal_Int32 nMax ) throw(css::uno::RuntimeException, std::exception )
+void UnoProgressBarControl::setRange( sal_Int32 nMin, sal_Int32 nMax )
{
uno::Any aMin;
uno::Any aMax;
@@ -4880,19 +4820,17 @@ void UnoProgressBarControl::setRange( sal_Int32 nMin, sal_Int32 nMax ) throw(css
ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_PROGRESSVALUE_MAX ), aMax, true );
}
-sal_Int32 UnoProgressBarControl::getValue() throw(css::uno::RuntimeException, std::exception)
+sal_Int32 UnoProgressBarControl::getValue()
{
return ImplGetPropertyValue_INT32( BASEPROPERTY_PROGRESSVALUE );
}
OUString UnoProgressBarControl::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoProgressBarControl");
}
css::uno::Sequence<OUString> UnoProgressBarControl::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlBase::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -4927,7 +4865,7 @@ UnoControlFixedLineModel::UnoControlFixedLineModel( const Reference< XComponentC
ImplRegisterProperty( BASEPROPERTY_PRINTABLE );
}
-OUString UnoControlFixedLineModel::getServiceName( ) throw(css::uno::RuntimeException, std::exception)
+OUString UnoControlFixedLineModel::getServiceName( )
{
return OUString::createFromAscii( szServiceName_UnoControlFixedLineModel );
}
@@ -4953,21 +4891,19 @@ uno::Any UnoControlFixedLineModel::ImplGetDefaultValue( sal_uInt16 nPropId ) con
}
// beans::XMultiPropertySet
-uno::Reference< beans::XPropertySetInfo > UnoControlFixedLineModel::getPropertySetInfo( ) throw(uno::RuntimeException, std::exception)
+uno::Reference< beans::XPropertySetInfo > UnoControlFixedLineModel::getPropertySetInfo( )
{
static uno::Reference< beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
return xInfo;
}
OUString UnoControlFixedLineModel::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoControlFixedLineModel");
}
css::uno::Sequence<OUString>
UnoControlFixedLineModel::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlModel::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
@@ -4999,19 +4935,17 @@ OUString UnoFixedLineControl::GetComponentServiceName()
return OUString("FixedLine");
}
-sal_Bool UnoFixedLineControl::isTransparent() throw(uno::RuntimeException, std::exception)
+sal_Bool UnoFixedLineControl::isTransparent()
{
return true;
}
OUString UnoFixedLineControl::getImplementationName()
- throw (css::uno::RuntimeException, std::exception)
{
return OUString("stardiv.Toolkit.UnoFixedLineControl");
}
css::uno::Sequence<OUString> UnoFixedLineControl::getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception)
{
auto s(UnoControlBase::getSupportedServiceNames());
s.realloc(s.getLength() + 2);
diff --git a/toolkit/source/helper/listenermultiplexer.cxx b/toolkit/source/helper/listenermultiplexer.cxx
index 2cd81736eb72..39ccf22366ab 100644
--- a/toolkit/source/helper/listenermultiplexer.cxx
+++ b/toolkit/source/helper/listenermultiplexer.cxx
@@ -33,7 +33,7 @@ ListenerMultiplexerBase::~ListenerMultiplexerBase()
}
// css::uno::XInterface
-css::uno::Any ListenerMultiplexerBase::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception)
+css::uno::Any ListenerMultiplexerBase::queryInterface( const css::uno::Type & rType )
{
return ::cppu::queryInterface( rType, (static_cast< css::uno::XInterface* >(this)) );
}
@@ -56,7 +56,7 @@ void SAL_CALL EventListenerMultiplexer::release() throw ()
}
// css::uno::XInterface
-css::uno::Any EventListenerMultiplexer::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception)
+css::uno::Any EventListenerMultiplexer::queryInterface( const css::uno::Type & rType )
{
css::uno::Any aRet = ::cppu::queryInterface( rType,
(static_cast< css::lang::XEventListener* >(this)) );
@@ -64,7 +64,7 @@ css::uno::Any EventListenerMultiplexer::queryInterface( const css::uno::Type & r
}
// css::lang::XEventListener
-void EventListenerMultiplexer::disposing( const css::lang::EventObject& ) throw(css::uno::RuntimeException, std::exception)
+void EventListenerMultiplexer::disposing( const css::lang::EventObject& )
{
}
@@ -155,13 +155,13 @@ IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD( ItemListenerMultiplexer, css::awt::XIte
IMPL_LISTENERMULTIPLEXER_BASEMETHODS( TabListenerMultiplexer, css::awt::XTabListener )
-void TabListenerMultiplexer::inserted( sal_Int32 evt ) throw(css::uno::RuntimeException, std::exception)
+void TabListenerMultiplexer::inserted( sal_Int32 evt )
IMPL_TABLISTENERMULTIPLEXER_LISTENERMETHOD_BODY_1PARAM( TabListenerMultiplexer, css::awt::XTabListener, inserted, ::sal_Int32 )
-void TabListenerMultiplexer::removed( sal_Int32 evt ) throw(css::uno::RuntimeException, std::exception)
+void TabListenerMultiplexer::removed( sal_Int32 evt )
IMPL_TABLISTENERMULTIPLEXER_LISTENERMETHOD_BODY_1PARAM( TabListenerMultiplexer, css::awt::XTabListener, removed, ::sal_Int32 )
-void TabListenerMultiplexer::changed( sal_Int32 evt, const css::uno::Sequence< css::beans::NamedValue >& evt2 ) throw(css::uno::RuntimeException, std::exception)
+void TabListenerMultiplexer::changed( sal_Int32 evt, const css::uno::Sequence< css::beans::NamedValue >& evt2 )
{
sal_Int32 aMulti( evt );
::comphelper::OInterfaceIteratorHelper2 aIt( *this );
@@ -187,10 +187,10 @@ void TabListenerMultiplexer::changed( sal_Int32 evt, const css::uno::Sequence< c
}
-void TabListenerMultiplexer::activated( sal_Int32 evt ) throw(css::uno::RuntimeException, std::exception)
+void TabListenerMultiplexer::activated( sal_Int32 evt )
IMPL_TABLISTENERMULTIPLEXER_LISTENERMETHOD_BODY_1PARAM( TabListenerMultiplexer, css::awt::XTabListener, activated, ::sal_Int32 )
-void TabListenerMultiplexer::deactivated( sal_Int32 evt ) throw(css::uno::RuntimeException, std::exception)
+void TabListenerMultiplexer::deactivated( sal_Int32 evt )
IMPL_TABLISTENERMULTIPLEXER_LISTENERMETHOD_BODY_1PARAM( TabListenerMultiplexer, css::awt::XTabListener, deactivated, ::sal_Int32 )
diff --git a/toolkit/source/helper/unopropertyarrayhelper.cxx b/toolkit/source/helper/unopropertyarrayhelper.cxx
index 3d0c184578f7..d78544c9fb4a 100644
--- a/toolkit/source/helper/unopropertyarrayhelper.cxx
+++ b/toolkit/source/helper/unopropertyarrayhelper.cxx
@@ -99,7 +99,7 @@ css::uno::Sequence< css::beans::Property > UnoPropertyArrayHelper::getProperties
return aProps;
}
-css::beans::Property UnoPropertyArrayHelper::getPropertyByName(const OUString& rPropertyName) throw (css::beans::UnknownPropertyException)
+css::beans::Property UnoPropertyArrayHelper::getPropertyByName(const OUString& rPropertyName)
{
css::beans::Property aProp;
sal_uInt16 nId = GetPropertyId( rPropertyName );
diff --git a/toolkit/source/helper/vclunohelper.cxx b/toolkit/source/helper/vclunohelper.cxx
index a1d977f53c68..bd3430c980d6 100644
--- a/toolkit/source/helper/vclunohelper.cxx
+++ b/toolkit/source/helper/vclunohelper.cxx
@@ -583,7 +583,7 @@ FieldUnit VCLUnoHelper::ConvertToFieldUnit( sal_Int16 _nMeasurementUnit, sal_Int
}
-MapUnit /* MapModeUnit */ VCLUnoHelper::ConvertToMapModeUnit(sal_Int16 /* com.sun.star.util.MeasureUnit.* */ _nMeasureUnit) throw (css::lang::IllegalArgumentException)
+MapUnit /* MapModeUnit */ VCLUnoHelper::ConvertToMapModeUnit(sal_Int16 /* com.sun.star.util.MeasureUnit.* */ _nMeasureUnit)
{
MapUnit eMode;
switch(_nMeasureUnit)