summaryrefslogtreecommitdiff
path: root/forms/source/xforms/binding.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/xforms/binding.cxx')
-rw-r--r--forms/source/xforms/binding.cxx30
1 files changed, 0 insertions, 30 deletions
diff --git a/forms/source/xforms/binding.cxx b/forms/source/xforms/binding.cxx
index 120cc66faebc..b2ffdeb1aba3 100644
--- a/forms/source/xforms/binding.cxx
+++ b/forms/source/xforms/binding.cxx
@@ -450,7 +450,6 @@ bool Binding::getExternalData() const
void Binding::checkLive()
- throw( RuntimeException )
{
if( ! isLive() )
throw RuntimeException( EXCEPT("Binding not initialized") );
@@ -994,20 +993,16 @@ void Binding::_checkBindingID()
css::uno::Sequence<css::uno::Type> Binding::getSupportedValueTypes()
- throw( RuntimeException, std::exception )
{
return Convert::get().getTypes();
}
sal_Bool Binding::supportsType( const css::uno::Type& rType )
- throw( RuntimeException, std::exception )
{
return Convert::get().hasType( rType );
}
css::uno::Any Binding::getValue( const css::uno::Type& rType )
- throw( IncompatibleTypesException,
- RuntimeException, std::exception )
{
// first, check for model
checkLive();
@@ -1028,10 +1023,6 @@ css::uno::Any Binding::getValue( const css::uno::Type& rType )
}
void Binding::setValue( const css::uno::Any& aValue )
- throw( IncompatibleTypesException,
- InvalidBindingStateException,
- NoSupportException,
- RuntimeException, std::exception )
{
// first, check for model
checkLive();
@@ -1062,7 +1053,6 @@ void Binding::setValue( const css::uno::Any& aValue )
sal_Int32 Binding::getListEntryCount()
- throw( RuntimeException, std::exception )
{
// first, check for model
checkLive();
@@ -1097,8 +1087,6 @@ static OUString lcl_getString( const Reference<XNode>& xNode )
}
OUString Binding::getListEntry( sal_Int32 nPosition )
- throw( IndexOutOfBoundsException,
- RuntimeException, std::exception )
{
// first, check for model
checkLive();
@@ -1111,7 +1099,6 @@ OUString Binding::getListEntry( sal_Int32 nPosition )
}
Sequence<OUString> Binding::getAllListEntries()
- throw( RuntimeException, std::exception )
{
// first, check for model
checkLive();
@@ -1129,8 +1116,6 @@ Sequence<OUString> Binding::getAllListEntries()
}
void Binding::addListEntryListener( const css::uno::Reference<css::form::binding::XListEntryListener>& xListener )
- throw( NullPointerException,
- RuntimeException, std::exception )
{
OSL_ENSURE( xListener.is(), "need listener!" );
if( ::std::find( maListEntryListeners.begin(),
@@ -1141,8 +1126,6 @@ void Binding::addListEntryListener( const css::uno::Reference<css::form::binding
}
void Binding::removeListEntryListener( const css::uno::Reference<css::form::binding::XListEntryListener>& xListener )
- throw( NullPointerException,
- RuntimeException, std::exception )
{
XListEntryListeners_t::iterator aIter =
::std::find( maListEntryListeners.begin(), maListEntryListeners.end(),
@@ -1156,7 +1139,6 @@ void Binding::removeListEntryListener( const css::uno::Reference<css::form::bind
sal_Bool Binding::isValid( const css::uno::Any& )
- throw( RuntimeException, std::exception )
{
// first, check for model
checkLive();
@@ -1167,7 +1149,6 @@ sal_Bool Binding::isValid( const css::uno::Any& )
OUString Binding::explainInvalid(
const css::uno::Any& /*Value*/ )
- throw( RuntimeException, std::exception )
{
// first, check for model
checkLive();
@@ -1178,8 +1159,6 @@ OUString Binding::explainInvalid(
void Binding::addValidityConstraintListener(
const css::uno::Reference<css::form::validation::XValidityConstraintListener>& xListener )
- throw( NullPointerException,
- RuntimeException, std::exception )
{
OSL_ENSURE( xListener.is(), "need listener!" );
if( ::std::find(maValidityListeners.begin(), maValidityListeners.end(), xListener)
@@ -1189,8 +1168,6 @@ void Binding::addValidityConstraintListener(
void Binding::removeValidityConstraintListener(
const css::uno::Reference<css::form::validation::XValidityConstraintListener>& xListener )
- throw( NullPointerException,
- RuntimeException, std::exception )
{
XValidityConstraintListeners_t::iterator aIter =
::std::find( maValidityListeners.begin(), maValidityListeners.end(),
@@ -1204,7 +1181,6 @@ void Binding::removeValidityConstraintListener(
void Binding::handleEvent( const css::uno::Reference<css::xml::dom::events::XEvent>& xEvent )
- throw( RuntimeException, std::exception )
{
OUString sType(xEvent->getType());
//OUString sEventMIPChanged("xforms-generic");
@@ -1236,7 +1212,6 @@ void Binding::handleEvent( const css::uno::Reference<css::xml::dom::events::XEve
sal_Int64 Binding::getSomething( const css::uno::Sequence<sal_Int8>& xId )
- throw( RuntimeException, std::exception )
{
return reinterpret_cast<sal_Int64>( ( xId == getUnoTunnelID() ) ? this : nullptr );
}
@@ -1246,7 +1221,6 @@ sal_Int64 Binding::getSomething( const css::uno::Sequence<sal_Int8>& xId )
css::uno::Reference<css::util::XCloneable> SAL_CALL Binding::createClone()
- throw( RuntimeException, std::exception )
{
Reference< XPropertySet > xClone;
@@ -1302,7 +1276,6 @@ void Binding::initializePropertySet()
void Binding::addModifyListener(
const css::uno::Reference<css::util::XModifyListener>& xListener )
- throw( RuntimeException, std::exception )
{
OSL_ENSURE( xListener.is(), "need listener!" );
if( ::std::find( maModifyListeners.begin(), maModifyListeners.end(), xListener )
@@ -1317,7 +1290,6 @@ void Binding::addModifyListener(
void Binding::removeModifyListener(
const css::uno::Reference<css::util::XModifyListener>& xListener )
- throw( RuntimeException, std::exception )
{
ModifyListeners_t::iterator aIter =
::std::find( maModifyListeners.begin(), maModifyListeners.end(), xListener );
@@ -1327,13 +1299,11 @@ void Binding::removeModifyListener(
OUString Binding::getName()
- throw( RuntimeException, std::exception )
{
return getBindingID();
}
void SAL_CALL Binding::setName( const OUString& rName )
- throw( RuntimeException, std::exception )
{
// use the XPropertySet methods, so the change in the name is notified to the
// property listeners