diff options
-rw-r--r-- | dbaccess/source/ui/misc/TokenWriter.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/dbaccess/source/ui/misc/TokenWriter.cxx b/dbaccess/source/ui/misc/TokenWriter.cxx index 185c8eaa7426..8e3f647bc262 100644 --- a/dbaccess/source/ui/misc/TokenWriter.cxx +++ b/dbaccess/source/ui/misc/TokenWriter.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: TokenWriter.cxx,v $ - * $Revision: 1.37 $ + * $Revision: 1.38 $ * * This file is part of OpenOffice.org. * @@ -36,6 +36,9 @@ #ifndef _TOOLS_DEBUG_HXX #include <tools/debug.hxx> #endif +#ifndef TOOLS_DIAGNOSE_EX_H +#include <tools/diagnose_ex.h> +#endif #ifndef DBAUI_RTFREADER_HXX #include "RtfReader.hxx" #endif @@ -934,9 +937,9 @@ void OHTMLImportExport::WriteTables() aValue = sValue; } } - catch ( Exception& ) + catch( const Exception& ) { - OSL_ENSURE(sal_False, "OHTMLImportExport::WriteTables: caught an exception!"); + DBG_UNHANDLED_EXCEPTION(); } WriteCell(pFormat[i-1],pColWidth[i-1],nHeight,pHorJustify[i-1],aValue,sHTML_tabledata); } |