diff options
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/forms/elementexport.cxx | 9 | ||||
-rw-r--r-- | xmloff/source/forms/formcellbinding.cxx | 9 |
2 files changed, 8 insertions, 10 deletions
diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx index 12e57e4228f9..caa11f84939e 100644 --- a/xmloff/source/forms/elementexport.cxx +++ b/xmloff/source/forms/elementexport.cxx @@ -1764,8 +1764,7 @@ namespace xmloff } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION("xmloff.forms"); - OSL_FAIL( "OControlExport::exportCellBindingAttributes: caught an exception!" ); + TOOLS_WARN_EXCEPTION( "xmloff.forms", "OControlExport::exportCellBindingAttributes" ); } } @@ -1806,8 +1805,7 @@ namespace xmloff } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION("xmloff.forms"); - OSL_FAIL( "OControlExport::exportCellListSourceRange: caught an exception!" ); + TOOLS_WARN_EXCEPTION( "xmloff.forms", "OControlExport::exportCellListSourceRange" ); } } @@ -1879,8 +1877,7 @@ namespace xmloff } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION("xmloff.forms"); - OSL_FAIL( "OColumnExport::controlHasActiveDataBinding: caught an exception!" ); + TOOLS_WARN_EXCEPTION( "xmloff.forms", "OColumnExport::controlHasActiveDataBinding" ); } return false; diff --git a/xmloff/source/forms/formcellbinding.cxx b/xmloff/source/forms/formcellbinding.cxx index cc03bf95009b..a32239ee551b 100644 --- a/xmloff/source/forms/formcellbinding.cxx +++ b/xmloff/source/forms/formcellbinding.cxx @@ -28,6 +28,7 @@ #include <com/sun/star/beans/NamedValue.hpp> #include "strings.hxx" #include <osl/diagnose.h> +#include <tools/diagnose_ex.h> #include <algorithm> @@ -196,7 +197,7 @@ OUString FormCellBindingHelper::getStringAddressFromCellBinding( const Reference } catch( const Exception& ) { - OSL_FAIL( "FormCellBindingHelper::getStringAddressFromCellBinding: caught an exception!" ); + TOOLS_WARN_EXCEPTION( "xmloff", "FormCellBindingHelper::getStringAddressFromCellBinding" ); } return sAddress; @@ -224,7 +225,7 @@ OUString FormCellBindingHelper::getStringAddressFromCellListSource( const Refere } catch( const Exception& ) { - OSL_FAIL( "FormCellBindingHelper::getStringAddressFromCellListSource: caught an exception!" ); + TOOLS_WARN_EXCEPTION( "xmloff", "FormCellBindingHelper::getStringAddressFromCellListSource" ); } return sAddress; @@ -251,7 +252,7 @@ bool FormCellBindingHelper::isSpreadsheetDocumentWhichSupplies( const Reference< } catch( const Exception& ) { - OSL_FAIL( "FormCellBindingHelper::isSpreadsheetDocumentWhichSupplies: caught an exception!" ); + TOOLS_WARN_EXCEPTION( "xmloff", "FormCellBindingHelper::isSpreadsheetDocumentWhichSupplies" ); } return bYesItIs; @@ -421,7 +422,7 @@ bool FormCellBindingHelper::doConvertAddressRepresentations( const OUString& _rI } catch( const Exception& ) { - OSL_FAIL( "FormCellBindingHelper::doConvertAddressRepresentations: caught an exception!" ); + TOOLS_WARN_EXCEPTION( "xmloff", "FormCellBindingHelper::doConvertAddressRepresentations" ); } } |