summaryrefslogtreecommitdiff
path: root/svx/source/form/formcontrolling.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/formcontrolling.cxx')
-rw-r--r--svx/source/form/formcontrolling.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/form/formcontrolling.cxx b/svx/source/form/formcontrolling.cxx
index b344483c1748..bd5e5336cf43 100644
--- a/svx/source/form/formcontrolling.cxx
+++ b/svx/source/form/formcontrolling.cxx
@@ -252,8 +252,7 @@ namespace svx
// to prevent the controller from displaying any error messages which happen while we operate on it,
// we add ourself as XSQLErrorListener. By contract, a FormController displays errors if and only if
// no SQLErrorListeners are registered.
- Reference< XSQLErrorBroadcaster > xErrorBroadcast( _rxController, UNO_QUERY_THROW );
- xErrorBroadcast->addSQLErrorListener( this );
+ _rxController->addSQLErrorListener( this );
}
catch( const Exception& )
{