summaryrefslogtreecommitdiff
path: root/forms/source/component/FormComponent.cxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-11-13 14:04:26 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-11-13 14:04:26 +0100
commit491822ddf22587cf5f53f2a65482c89849c9ec56 (patch)
tree64fb892502c84745e257e4416764159782945d91 /forms/source/component/FormComponent.cxx
parent32914ef1b377d26b07d59b182338fa7a75fbe5aa (diff)
#i106805# some exception safety (the real fix for this issue is in CWS dba32j, but this change here will make future such occurrences less severe)
Diffstat (limited to 'forms/source/component/FormComponent.cxx')
-rw-r--r--forms/source/component/FormComponent.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx
index 070806e814fb..b6dec42cad65 100644
--- a/forms/source/component/FormComponent.cxx
+++ b/forms/source/component/FormComponent.cxx
@@ -2804,7 +2804,14 @@ void SAL_CALL OBoundControlModel::modified( const EventObject& _rEvent ) throw (
//--------------------------------------------------------------------
void OBoundControlModel::transferDbValueToControl( )
{
- setControlValue( translateDbColumnToControlValue(), eDbColumnBinding );
+ try
+ {
+ setControlValue( translateDbColumnToControlValue(), eDbColumnBinding );
+ }
+ catch( const Exception& )
+ {
+ DBG_UNHANDLED_EXCEPTION();
+ }
}
//------------------------------------------------------------------------------