diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2020-10-04 10:12:22 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-10-04 15:31:16 +0200 |
commit | ee7fa0bd67d1c5a6b2f48eff98f96f73302c1d92 (patch) | |
tree | 9d7aeba2c6cc16f9b538cb7070614dfd8105c37b /extensions/source/propctrlr | |
parent | 0781f89597a5c30f9ad3345e0421a9ec4a32c147 (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/propctrlr')
5 files changed, 14 insertions, 8 deletions
diff --git a/extensions/source/propctrlr/cellbindinghandler.cxx b/extensions/source/propctrlr/cellbindinghandler.cxx index f022f31b99ee..d73d8cfeeb8a 100644 --- a/extensions/source/propctrlr/cellbindinghandler.cxx +++ b/extensions/source/propctrlr/cellbindinghandler.cxx @@ -163,7 +163,9 @@ namespace pcr } catch( const Exception& ) { - OSL_FAIL( "OPropertyBrowserController::actuatingPropertyChanged( ListCellRange ): caught an exception while resetting the string items!" ); + TOOLS_WARN_EXCEPTION( + "extensions.propctrlr", + "ListCellRange: caught an exception while resetting the string items!"); } } } diff --git a/extensions/source/propctrlr/formlinkdialog.cxx b/extensions/source/propctrlr/formlinkdialog.cxx index 25e9d017f192..7f2d794b4010 100644 --- a/extensions/source/propctrlr/formlinkdialog.cxx +++ b/extensions/source/propctrlr/formlinkdialog.cxx @@ -215,7 +215,8 @@ namespace pcr } catch( const Exception& ) { - OSL_FAIL( "FormLinkDialog::commitLinkPairs: caught an exception while setting the properties!" ); + TOOLS_WARN_EXCEPTION("extensions.propctrlr", + "caught an exception while setting the properties!"); } } diff --git a/extensions/source/propctrlr/handlerhelper.cxx b/extensions/source/propctrlr/handlerhelper.cxx index f06913275571..1fde39cedf6d 100644 --- a/extensions/source/propctrlr/handlerhelper.cxx +++ b/extensions/source/propctrlr/handlerhelper.cxx @@ -199,7 +199,8 @@ namespace pcr } catch( const Exception& ) { - OSL_FAIL( "PropertyHandlerHelper::convertToPropertyValue: caught an exception while converting via TypeConverter!" ); + TOOLS_WARN_EXCEPTION("extensions.propctrlr", + "caught an exception while converting via TypeConverter!"); } } @@ -229,7 +230,8 @@ namespace pcr } catch( const Exception& ) { - OSL_FAIL( "PropertyHandlerHelper::convertToControlValue: caught an exception while converting via TypeConverter!" ); + TOOLS_WARN_EXCEPTION("extensions.propctrlr", + "caught an exception while converting via TypeConverter!"); } } diff --git a/extensions/source/propctrlr/propcontroller.cxx b/extensions/source/propctrlr/propcontroller.cxx index 9a421dd4432e..4f3365e6b099 100644 --- a/extensions/source/propctrlr/propcontroller.cxx +++ b/extensions/source/propctrlr/propcontroller.cxx @@ -925,7 +925,7 @@ namespace pcr catch(const Exception&) { - OSL_FAIL("OPropertyBrowserController::impl_rebindToInspectee_nothrow: caught an exception !"); + TOOLS_WARN_EXCEPTION("extensions.propctrlr", ""); } } @@ -1040,7 +1040,7 @@ namespace pcr } catch(const Exception&) { - OSL_FAIL("OPropertyBrowserController::doInspection : caught an exception !"); + TOOLS_WARN_EXCEPTION("extensions.propctrlr", ""); } } @@ -1338,7 +1338,7 @@ namespace pcr } catch(const Exception&) { - OSL_FAIL("OPropertyBrowserController::Commit : caught an exception !"); + TOOLS_WARN_EXCEPTION("extensions.propctrlr", ""); } m_sCommittingProperty.clear(); diff --git a/extensions/source/propctrlr/xsdvalidationhelper.cxx b/extensions/source/propctrlr/xsdvalidationhelper.cxx index bf52801662d2..12197e87d0b3 100644 --- a/extensions/source/propctrlr/xsdvalidationhelper.cxx +++ b/extensions/source/propctrlr/xsdvalidationhelper.cxx @@ -70,7 +70,8 @@ namespace pcr } catch( const Exception& ) { - OSL_FAIL( "XSDValidationHelper::XSDValidationHelper: caught an exception while examining the introspectee!" ); + TOOLS_WARN_EXCEPTION("extensions.propctrlr", + "caught an exception while examining the introspectee!"); } } |