diff options
-rw-r--r-- | forms/source/runtime/formoperations.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/runtime/formoperations.cxx b/forms/source/runtime/formoperations.cxx index 97ad91c9c3c9..ad5e0fd23e85 100644 --- a/forms/source/runtime/formoperations.cxx +++ b/forms/source/runtime/formoperations.cxx @@ -1664,11 +1664,11 @@ namespace frm //------------------------------------------------------------------------------ template < typename FunctObj > - void FormOperations::impl_doActionInSQLContext_throw( FunctObj Action, sal_uInt16 _nErrorResourceId ) const + void FormOperations::impl_doActionInSQLContext_throw( FunctObj f, sal_uInt16 _nErrorResourceId ) const { try { - Action(); + f(); } catch( const SQLException& e ) { |