summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography/framectr.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2020-10-04 10:12:22 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2020-10-04 15:31:16 +0200
commitee7fa0bd67d1c5a6b2f48eff98f96f73302c1d92 (patch)
tree9d7aeba2c6cc16f9b538cb7070614dfd8105c37b /extensions/source/bibliography/framectr.cxx
parent0781f89597a5c30f9ad3345e0421a9ec4a32c147 (diff)
use more TOOLS_WARN_EXCEPTION
Change-Id: I7ddc1539cbd020b4b65740e213a0a993672516b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103910 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'extensions/source/bibliography/framectr.cxx')
-rw-r--r--extensions/source/bibliography/framectr.cxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx
index 3e4a6470ad56..7f621eb72bea 100644
--- a/extensions/source/bibliography/framectr.cxx
+++ b/extensions/source/bibliography/framectr.cxx
@@ -342,7 +342,7 @@ bool BibFrameController_Impl::SaveModified(const Reference< form::runtime::XForm
}
catch(const Exception&)
{
- OSL_FAIL("SaveModified: Exception occurred!");
+ TOOLS_WARN_EXCEPTION("extensions.biblio", "");
}
}
return bResult;
@@ -397,7 +397,8 @@ void BibFrameController_Impl::dispatch(const util::URL& _rURL, const uno::Sequen
}
catch(const Exception&)
{
- OSL_FAIL("Exception caught while changing the data source");
+ TOOLS_WARN_EXCEPTION("extensions.biblio",
+ "Exception caught while changing the data source");
}
}
}
@@ -494,7 +495,8 @@ void BibFrameController_Impl::dispatch(const util::URL& _rURL, const uno::Sequen
}
catch(const Exception&)
{
- OSL_FAIL("Exception in last() or moveToInsertRow()");
+ TOOLS_WARN_EXCEPTION("extensions.biblio",
+ "Exception in last() or moveToInsertRow()");
}
}
}
@@ -553,7 +555,8 @@ void BibFrameController_Impl::dispatch(const util::URL& _rURL, const uno::Sequen
}
catch(const Exception&)
{
- OSL_FAIL("DeleteRecord: exception caught!");
+ TOOLS_WARN_EXCEPTION("extensions.biblio",
+ "DeleteRecord: exception caught!");
}
}
}