diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-02 08:58:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-03 08:38:50 +0200 |
commit | 4450b2a16677431b1b9dfaa28d0b9af9e51ebdec (patch) | |
tree | 22aa13a8d13f690b8498ec4bdb502d198593fcab /dbaccess/source/ui/tabledesign | |
parent | d76281864b0e83812c0edf7490b1e8271e89fff5 (diff) |
pass area param to DBG_UNHANDLED_EXCEPTION
and update sallogareas plugin to enforce this
Change-Id: Id0782c8a1f619372e10d931aec3c6a4743a4c86a
Reviewed-on: https://gerrit.libreoffice.org/52249
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/tabledesign')
-rw-r--r-- | dbaccess/source/ui/tabledesign/FieldDescriptions.cxx | 32 | ||||
-rw-r--r-- | dbaccess/source/ui/tabledesign/TableController.cxx | 16 |
2 files changed, 24 insertions, 24 deletions
diff --git a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx index fd32987700b7..e616815e7e02 100644 --- a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx +++ b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx @@ -162,7 +162,7 @@ OFieldDescription::OFieldDescription(const Reference< XPropertySet >& xAffectedC } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -248,7 +248,7 @@ void OFieldDescription::SetName(const OUString& _rName) } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -263,7 +263,7 @@ void OFieldDescription::SetHelpText(const OUString& _sHelpText) } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -278,7 +278,7 @@ void OFieldDescription::SetDescription(const OUString& _rDescription) } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -293,7 +293,7 @@ void OFieldDescription::SetDefaultValue(const Any& _rDefaultValue) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -308,7 +308,7 @@ void OFieldDescription::SetControlDefault(const Any& _rControlDefault) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -323,7 +323,7 @@ void OFieldDescription::SetAutoIncrementValue(const OUString& _sAutoIncValue) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -341,7 +341,7 @@ void OFieldDescription::SetType(const TOTypeInfoSP& _pType) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -360,7 +360,7 @@ void OFieldDescription::SetTypeValue(sal_Int32 _nType) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -375,7 +375,7 @@ void OFieldDescription::SetPrecision(sal_Int32 _rPrecision) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -390,7 +390,7 @@ void OFieldDescription::SetScale(sal_Int32 _rScale) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -405,7 +405,7 @@ void OFieldDescription::SetIsNullable(sal_Int32 _rIsNullable) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -420,7 +420,7 @@ void OFieldDescription::SetFormatKey(sal_Int32 _rFormatKey) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -435,7 +435,7 @@ void OFieldDescription::SetHorJustify(const SvxCellHorJustify& _rHorJustify) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -450,7 +450,7 @@ void OFieldDescription::SetAutoIncrement(bool _bAuto) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -617,7 +617,7 @@ void OFieldDescription::SetTypeName(const OUString& _sTypeName) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx index 93b08c02ab21..6662a2a535da 100644 --- a/dbaccess/source/ui/tabledesign/TableController.cxx +++ b/dbaccess/source/ui/tabledesign/TableController.cxx @@ -412,7 +412,7 @@ bool OTableController::doSaveDoc(bool _bSaveAs) catch( const Exception& ) { bError = true; - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( aInfo.isValid() ) @@ -475,7 +475,7 @@ void OTableController::doEditIndexes() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if (!xIndexes.is()) @@ -504,7 +504,7 @@ void OTableController::impl_initialize() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } try @@ -526,7 +526,7 @@ void OTableController::impl_initialize() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -718,7 +718,7 @@ void OTableController::appendColumns(Reference<XColumnsSupplier> const & _rxColS } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1332,7 +1332,7 @@ void OTableController::dropPrimaryKey() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } showError(aInfo); @@ -1391,7 +1391,7 @@ bool OTableController::isAddAllowed() const } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); bAddAllowed = false; } @@ -1482,7 +1482,7 @@ OUString OTableController::getPrivateTitle() const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return sTitle; } |