summaryrefslogtreecommitdiff
path: root/forms/source/component/Edit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/Edit.cxx')
-rw-r--r--forms/source/component/Edit.cxx30
1 files changed, 15 insertions, 15 deletions
diff --git a/forms/source/component/Edit.cxx b/forms/source/component/Edit.cxx
index 4f577eb53876..61c6161c847d 100644
--- a/forms/source/component/Edit.cxx
+++ b/forms/source/component/Edit.cxx
@@ -80,7 +80,7 @@ Sequence<Type> OEditControl::_getTypes()
}
-Any SAL_CALL OEditControl::queryAggregation(const Type& _rType) throw (RuntimeException)
+Any SAL_CALL OEditControl::queryAggregation(const Type& _rType) throw (RuntimeException, std::exception)
{
Any aReturn = OBoundControl::queryAggregation(_rType);
if (!aReturn.hasValue())
@@ -124,13 +124,13 @@ OEditControl::~OEditControl()
// XChangeBroadcaster
-void OEditControl::addChangeListener(const Reference<XChangeListener>& l) throw ( ::com::sun::star::uno::RuntimeException)
+void OEditControl::addChangeListener(const Reference<XChangeListener>& l) throw ( ::com::sun::star::uno::RuntimeException, std::exception)
{
m_aChangeListeners.addInterface( l );
}
-void OEditControl::removeChangeListener(const Reference<XChangeListener>& l) throw ( ::com::sun::star::uno::RuntimeException)
+void OEditControl::removeChangeListener(const Reference<XChangeListener>& l) throw ( ::com::sun::star::uno::RuntimeException, std::exception)
{
m_aChangeListeners.removeInterface( l );
}
@@ -147,7 +147,7 @@ void OEditControl::disposing()
// XServiceInfo
-StringSequence OEditControl::getSupportedServiceNames() throw()
+StringSequence OEditControl::getSupportedServiceNames() throw(std::exception)
{
StringSequence aSupported = OBoundControl::getSupportedServiceNames();
aSupported.realloc(aSupported.getLength() + 1);
@@ -159,14 +159,14 @@ StringSequence OEditControl::getSupportedServiceNames() throw()
// XEventListener
-void OEditControl::disposing(const EventObject& Source) throw( RuntimeException )
+void OEditControl::disposing(const EventObject& Source) throw( RuntimeException, std::exception )
{
OBoundControl::disposing(Source);
}
// XFocusListener
-void OEditControl::focusGained( const FocusEvent& /*e*/ ) throw ( ::com::sun::star::uno::RuntimeException)
+void OEditControl::focusGained( const FocusEvent& /*e*/ ) throw ( ::com::sun::star::uno::RuntimeException, std::exception)
{
Reference<XPropertySet> xSet(getModel(), UNO_QUERY);
if (xSet.is())
@@ -174,7 +174,7 @@ void OEditControl::focusGained( const FocusEvent& /*e*/ ) throw ( ::com::sun::st
}
-void OEditControl::focusLost( const FocusEvent& /*e*/ ) throw ( ::com::sun::star::uno::RuntimeException)
+void OEditControl::focusLost( const FocusEvent& /*e*/ ) throw ( ::com::sun::star::uno::RuntimeException, std::exception)
{
Reference<XPropertySet> xSet(getModel(), UNO_QUERY);
if (xSet.is())
@@ -191,7 +191,7 @@ void OEditControl::focusLost( const FocusEvent& /*e*/ ) throw ( ::com::sun::star
// XKeyListener
-void OEditControl::keyPressed(const ::com::sun::star::awt::KeyEvent& e) throw ( ::com::sun::star::uno::RuntimeException)
+void OEditControl::keyPressed(const ::com::sun::star::awt::KeyEvent& e) throw ( ::com::sun::star::uno::RuntimeException, std::exception)
{
if( e.KeyCode != KEY_RETURN || e.Modifiers != 0 )
return;
@@ -248,7 +248,7 @@ void OEditControl::keyPressed(const ::com::sun::star::awt::KeyEvent& e) throw (
}
-void OEditControl::keyReleased(const ::com::sun::star::awt::KeyEvent& /*e*/) throw ( ::com::sun::star::uno::RuntimeException)
+void OEditControl::keyReleased(const ::com::sun::star::awt::KeyEvent& /*e*/) throw ( ::com::sun::star::uno::RuntimeException, std::exception)
{
}
@@ -266,7 +266,7 @@ IMPL_LINK(OEditControl, OnKeyPressed, void*, /*EMPTYARG*/)
}
-void SAL_CALL OEditControl::createPeer( const Reference< XToolkit>& _rxToolkit, const Reference< XWindowPeer>& _rxParent ) throw ( RuntimeException )
+void SAL_CALL OEditControl::createPeer( const Reference< XToolkit>& _rxToolkit, const Reference< XWindowPeer>& _rxParent ) throw ( RuntimeException, std::exception )
{
OBoundControl::createPeer(_rxToolkit, _rxParent);
}
@@ -333,14 +333,14 @@ void OEditModel::disposing()
// XPersistObject
-OUString SAL_CALL OEditModel::getServiceName() throw ( ::com::sun::star::uno::RuntimeException)
+OUString SAL_CALL OEditModel::getServiceName() throw ( ::com::sun::star::uno::RuntimeException, std::exception)
{
return OUString(FRM_COMPONENT_EDIT); // old (non-sun) name for compatibility !
}
// XServiceInfo
-StringSequence SAL_CALL OEditModel::getSupportedServiceNames() throw()
+StringSequence SAL_CALL OEditModel::getSupportedServiceNames() throw(std::exception)
{
StringSequence aSupported = OBoundControlModel::getSupportedServiceNames();
@@ -417,7 +417,7 @@ bool OEditModel::implActsAsRichText( ) const
}
-void SAL_CALL OEditModel::reset( ) throw(RuntimeException)
+void SAL_CALL OEditModel::reset( ) throw(RuntimeException, std::exception)
{
// no reset if we currently act as rich text control
if ( implActsAsRichText() )
@@ -538,7 +538,7 @@ void OEditModel::readAggregate( const Reference< XObjectInputStream >& _rxInStre
}
-void OEditModel::write(const Reference<XObjectOutputStream>& _rxOutStream) throw ( ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException)
+void OEditModel::write(const Reference<XObjectOutputStream>& _rxOutStream) throw ( ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception)
{
Any aCurrentText;
sal_Int16 nOldTextLen = 0;
@@ -568,7 +568,7 @@ void OEditModel::write(const Reference<XObjectOutputStream>& _rxOutStream) throw
}
-void OEditModel::read(const Reference<XObjectInputStream>& _rxInStream) throw ( ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException)
+void OEditModel::read(const Reference<XObjectInputStream>& _rxInStream) throw ( ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception)
{
OEditBaseModel::read(_rxInStream);