diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2020-10-04 23:28:23 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-10-05 09:49:05 +0200 |
commit | 9abb853f0ae74b34ee7c5fb6a34b72a037bb317e (patch) | |
tree | 65871e440423b653b1e355d871e70e6c8e88dd17 /svx/source/fmcomp | |
parent | 83615f4ee8c5e78fb45389b5ea3c1204625e3fe2 (diff) |
use more TOOLS_WARN_EXCEPTION
Change-Id: I3e8bfdf717dd8896ab16e396f671651ca4f7f01c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103932
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svx/source/fmcomp')
-rw-r--r-- | svx/source/fmcomp/fmgridcl.cxx | 8 | ||||
-rw-r--r-- | svx/source/fmcomp/gridcell.cxx | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx index c58de4031058..7442e796fc7e 100644 --- a/svx/source/fmcomp/fmgridcl.cxx +++ b/svx/source/fmcomp/fmgridcl.cxx @@ -346,7 +346,7 @@ sal_Int8 FmGridHeader::ExecuteDrop( const ExecuteDropEvent& _rEvt ) } catch (Exception&) { - OSL_FAIL("FmGridHeader::ExecuteDrop: caught an exception while creatin' the column !"); + TOOLS_WARN_EXCEPTION("svx", "caught an exception while creatin' the column !"); ::comphelper::disposeComponent(xStatement); return DND_ACTION_NONE; } @@ -482,7 +482,7 @@ IMPL_LINK_NOARG( FmGridHeader, OnAsyncExecuteDrop, void*, void ) } catch (const Exception&) { - OSL_FAIL("FmGridHeader::ExecuteDrop: Exception occurred!"); + TOOLS_WARN_EXCEPTION("svx", ""); } assert(aPossibleTypes.size() == aImgResId.size()); @@ -624,7 +624,7 @@ IMPL_LINK_NOARG( FmGridHeader, OnAsyncExecuteDrop, void*, void ) } catch (Exception&) { - OSL_FAIL("FmGridHeader::OnAsyncExecuteDrop: caught an exception while creatin' the column !"); + TOOLS_WARN_EXCEPTION("svx", "caught an exception while creatin' the column !"); ::comphelper::disposeComponent(m_pImpl->xDroppedResultSet); ::comphelper::disposeComponent(m_pImpl->xDroppedStatement); return; @@ -1182,7 +1182,7 @@ void FmGridControl::DeleteSelectedRows() } catch(const Exception&) { - OSL_FAIL("Exception caught while deleting rows!"); + TOOLS_WARN_EXCEPTION("svx", "Exception caught while deleting rows!"); } // adapt to the data cursor AdjustDataSource(true); diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx index b7c14fbc2eab..8c8206d31b10 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -1057,8 +1057,8 @@ void DbTextField::Init(BrowserDataWin& rParent, const Reference< XRowSet >& xCur } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION("svx"); - OSL_FAIL( "DbTextField::Init: caught an exception while determining the multi-line capabilities!" ); + TOOLS_WARN_EXCEPTION("svx", + "caught an exception while determining the multi-line capabilities!"); } m_bIsSimpleEdit = !bIsMultiLine; |