From 91ba9654baa8d525e31614b03cd459cf7cb1f951 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 17 Aug 2022 17:09:09 +0200 Subject: Move tools/diagnose_ex.h to comphelper/diagnose_ex.hxx ...so that its TOOLS_WARN_EXCEPTION can be used in comphelper/source/misc/logging.cxx in a follow-up commit. (And while at it, rename from diangose_ex.h to the more appropriate diagnose_ex.hxx. The comphelper module is sufficiently low-level for this immediate use case, so use that at least for now; o3tl might be even more suitable but doesn't have a Library until now. Also, for the immediate use case it would have sufficed to only break DbgGetCaughtException, exceptionToString, TOOLS_WARN_EXCEPTION, TOOLS_WARN_EXCEPTION_IF, and TOOLS_INFO_EXCEPTION out of include/tools/diagnose_ex.h into an additional new include/comphelper/diagnose_ex.hxx, but its probably easier overall to just move the complete include file as is.) Change-Id: I9f3222d4ccf1a9ac29d7eb9ba1530d53e2affaee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138451 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- xmloff/inc/pch/precompiled_xo.hxx | 2 +- xmloff/inc/pch/precompiled_xof.hxx | 2 +- xmloff/source/chart/SchXMLChartContext.cxx | 2 +- xmloff/source/chart/SchXMLExport.cxx | 2 +- xmloff/source/chart/SchXMLImport.cxx | 2 +- xmloff/source/chart/SchXMLPlotAreaContext.cxx | 2 +- xmloff/source/chart/SchXMLSeries2Context.cxx | 2 +- xmloff/source/chart/SchXMLSeriesHelper.cxx | 2 +- xmloff/source/chart/SchXMLTools.cxx | 2 +- xmloff/source/chart/XMLChartStyleContext.cxx | 2 +- xmloff/source/core/DocumentSettingsContext.cxx | 2 +- xmloff/source/core/RDFaExportHelper.cxx | 2 +- xmloff/source/core/SettingsExportHelper.cxx | 2 +- xmloff/source/core/xmlimp.cxx | 2 +- xmloff/source/draw/animationexport.cxx | 2 +- xmloff/source/draw/animationimport.cxx | 2 +- xmloff/source/draw/animexp.cxx | 2 +- xmloff/source/draw/animimp.cxx | 2 +- xmloff/source/draw/layerexp.cxx | 2 +- xmloff/source/draw/layerimp.cxx | 2 +- xmloff/source/draw/sdxmlexp.cxx | 2 +- xmloff/source/draw/shapeexport.cxx | 2 +- xmloff/source/draw/shapeimport.cxx | 2 +- xmloff/source/draw/ximppage.cxx | 2 +- xmloff/source/draw/ximpshap.cxx | 2 +- xmloff/source/draw/ximpstyl.cxx | 2 +- xmloff/source/forms/elementexport.cxx | 2 +- xmloff/source/forms/elementimport.cxx | 2 +- xmloff/source/forms/formcellbinding.cxx | 2 +- xmloff/source/forms/layerexport.cxx | 2 +- xmloff/source/forms/layerimport.cxx | 2 +- xmloff/source/forms/officeforms.cxx | 2 +- xmloff/source/forms/propertyexport.cxx | 2 +- xmloff/source/script/xmlbasicscript.cxx | 2 +- xmloff/source/style/XMLFontAutoStylePool.cxx | 2 +- xmloff/source/style/xmlnumi.cxx | 2 +- xmloff/source/table/XMLTableExport.cxx | 2 +- xmloff/source/table/XMLTableImport.cxx | 2 +- xmloff/source/text/XMLTextFrameContext.cxx | 2 +- xmloff/source/text/txtfldi.cxx | 2 +- xmloff/source/text/txtparai.cxx | 2 +- xmloff/source/text/txtstyli.cxx | 2 +- xmloff/source/text/txtvfldi.cxx | 2 +- xmloff/source/transform/OOo2Oasis.cxx | 2 +- xmloff/source/xforms/SchemaRestrictionContext.cxx | 2 +- xmloff/source/xforms/xformsapi.cxx | 2 +- xmloff/source/xforms/xformsexport.cxx | 2 +- xmloff/source/xforms/xformsimport.cxx | 2 +- 48 files changed, 48 insertions(+), 48 deletions(-) (limited to 'xmloff') diff --git a/xmloff/inc/pch/precompiled_xo.hxx b/xmloff/inc/pch/precompiled_xo.hxx index f79c367dbe68..a88a03364c9b 100644 --- a/xmloff/inc/pch/precompiled_xo.hxx +++ b/xmloff/inc/pch/precompiled_xo.hxx @@ -195,7 +195,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/xmloff/inc/pch/precompiled_xof.hxx b/xmloff/inc/pch/precompiled_xof.hxx index b25a8f3dfcaf..684dfc584b0e 100644 --- a/xmloff/inc/pch/precompiled_xof.hxx +++ b/xmloff/inc/pch/precompiled_xof.hxx @@ -53,7 +53,7 @@ #include #include #include -#include +#include #endif // PCH_LEVEL >= 3 #if PCH_LEVEL >= 4 #include diff --git a/xmloff/source/chart/SchXMLChartContext.cxx b/xmloff/source/chart/SchXMLChartContext.cxx index d8be7470d013..5400a0030db4 100644 --- a/xmloff/source/chart/SchXMLChartContext.cxx +++ b/xmloff/source/chart/SchXMLChartContext.cxx @@ -28,7 +28,7 @@ #include "SchXMLTools.hxx" #include #include -#include +#include #include #include #include diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx index 0ed2683944ec..da27d1447368 100644 --- a/xmloff/source/chart/SchXMLExport.cxx +++ b/xmloff/source/chart/SchXMLExport.cxx @@ -101,7 +101,7 @@ #include #include -#include +#include #include "MultiPropertySetHandler.hxx" #include "PropertyMap.hxx" diff --git a/xmloff/source/chart/SchXMLImport.cxx b/xmloff/source/chart/SchXMLImport.cxx index bca50a445af9..945fe62c63e3 100644 --- a/xmloff/source/chart/SchXMLImport.cxx +++ b/xmloff/source/chart/SchXMLImport.cxx @@ -44,7 +44,7 @@ #include -#include +#include using namespace com::sun::star; using namespace ::xmloff::token; diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx b/xmloff/source/chart/SchXMLPlotAreaContext.cxx index 2f3a08acec85..93f18d4b1efa 100644 --- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx +++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/xmloff/source/chart/SchXMLSeries2Context.cxx b/xmloff/source/chart/SchXMLSeries2Context.cxx index 8ecc32c22573..5304f43ab014 100644 --- a/xmloff/source/chart/SchXMLSeries2Context.cxx +++ b/xmloff/source/chart/SchXMLSeries2Context.cxx @@ -54,7 +54,7 @@ #include #include #include -#include +#include #include // std::find_if diff --git a/xmloff/source/chart/SchXMLSeriesHelper.cxx b/xmloff/source/chart/SchXMLSeriesHelper.cxx index 31a197596607..98b88e36c61c 100644 --- a/xmloff/source/chart/SchXMLSeriesHelper.cxx +++ b/xmloff/source/chart/SchXMLSeriesHelper.cxx @@ -26,7 +26,7 @@ #include #include -#include +#include using namespace ::com::sun::star; diff --git a/xmloff/source/chart/SchXMLTools.cxx b/xmloff/source/chart/SchXMLTools.cxx index 8fbf4aad7e86..99dc811c4dc2 100644 --- a/xmloff/source/chart/SchXMLTools.cxx +++ b/xmloff/source/chart/SchXMLTools.cxx @@ -46,7 +46,7 @@ #include #include -#include +#include #include #include #include diff --git a/xmloff/source/chart/XMLChartStyleContext.cxx b/xmloff/source/chart/XMLChartStyleContext.cxx index b17bf5d82711..db30d22c96b3 100644 --- a/xmloff/source/chart/XMLChartStyleContext.cxx +++ b/xmloff/source/chart/XMLChartStyleContext.cxx @@ -27,7 +27,7 @@ #include #include -#include +#include #include "XMLChartPropertyContext.hxx" diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx index e5af9f17bc13..9886ac935eb1 100644 --- a/xmloff/source/core/DocumentSettingsContext.cxx +++ b/xmloff/source/core/DocumentSettingsContext.cxx @@ -47,7 +47,7 @@ #include #include #include -#include +#include #include #include "xmlenums.hxx" diff --git a/xmloff/source/core/RDFaExportHelper.cxx b/xmloff/source/core/RDFaExportHelper.cxx index 25238d5fa8a9..40f08a13f200 100644 --- a/xmloff/source/core/RDFaExportHelper.cxx +++ b/xmloff/source/core/RDFaExportHelper.cxx @@ -36,7 +36,7 @@ #include #include -#include +#include #include diff --git a/xmloff/source/core/SettingsExportHelper.cxx b/xmloff/source/core/SettingsExportHelper.cxx index 9f0444d8f9f5..ad73fe9843d1 100644 --- a/xmloff/source/core/SettingsExportHelper.cxx +++ b/xmloff/source/core/SettingsExportHelper.cxx @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include #include diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx index 2cda88aa3bf1..885b1c4819b7 100644 --- a/xmloff/source/core/xmlimp.cxx +++ b/xmloff/source/core/xmlimp.cxx @@ -22,7 +22,7 @@ #include #include -#include +#include #include #include #include diff --git a/xmloff/source/draw/animationexport.cxx b/xmloff/source/draw/animationexport.cxx index 2a48e16c34f5..8da804fdafba 100644 --- a/xmloff/source/draw/animationexport.cxx +++ b/xmloff/source/draw/animationexport.cxx @@ -55,7 +55,7 @@ #include #include #include -#include +#include #include #include "sdpropls.hxx" diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx index 826b4b0a04bf..3205f0f0da96 100644 --- a/xmloff/source/draw/animationimport.cxx +++ b/xmloff/source/draw/animationimport.cxx @@ -52,7 +52,7 @@ #include #include -#include +#include #include #include diff --git a/xmloff/source/draw/animexp.cxx b/xmloff/source/draw/animexp.cxx index f839506dbdd4..28963f4cb6be 100644 --- a/xmloff/source/draw/animexp.cxx +++ b/xmloff/source/draw/animexp.cxx @@ -26,7 +26,7 @@ #include #include -#include +#include #include #include diff --git a/xmloff/source/draw/animimp.cxx b/xmloff/source/draw/animimp.cxx index ffdd3bef7222..f1ef4782c3ae 100644 --- a/xmloff/source/draw/animimp.cxx +++ b/xmloff/source/draw/animimp.cxx @@ -31,7 +31,7 @@ #include #include -#include +#include #include #include diff --git a/xmloff/source/draw/layerexp.cxx b/xmloff/source/draw/layerexp.cxx index 9ac924e92c6c..491d28c9d4ab 100644 --- a/xmloff/source/draw/layerexp.cxx +++ b/xmloff/source/draw/layerexp.cxx @@ -26,7 +26,7 @@ #include #include #include "layerexp.hxx" -#include +#include using ::com::sun::star::uno::Reference; diff --git a/xmloff/source/draw/layerimp.cxx b/xmloff/source/draw/layerimp.cxx index 73dab831ec49..e8979e7a2291 100644 --- a/xmloff/source/draw/layerimp.cxx +++ b/xmloff/source/draw/layerimp.cxx @@ -20,7 +20,7 @@ #include #include -#include +#include #include #include #include diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx index 50a475381203..5448f8fc2a61 100644 --- a/xmloff/source/draw/sdxmlexp.cxx +++ b/xmloff/source/draw/sdxmlexp.cxx @@ -51,7 +51,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index ebe9f7b4a71d..cd9c90efad24 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -102,7 +102,7 @@ #include #include #include -#include +#include #include #include diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx index 259348e44176..d28b2b03843a 100644 --- a/xmloff/source/draw/shapeimport.cxx +++ b/xmloff/source/draw/shapeimport.cxx @@ -18,7 +18,7 @@ */ #include -#include +#include #include #include diff --git a/xmloff/source/draw/ximppage.cxx b/xmloff/source/draw/ximppage.cxx index 3d5cdf006f45..117942c72f0b 100644 --- a/xmloff/source/draw/ximppage.cxx +++ b/xmloff/source/draw/ximppage.cxx @@ -39,7 +39,7 @@ #include #include #include -#include +#include #include #include diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx index 2dc2e33fb91c..1971c9b9f022 100644 --- a/xmloff/source/draw/ximpshap.cxx +++ b/xmloff/source/draw/ximpshap.cxx @@ -60,7 +60,7 @@ #include #include -#include +#include #include #include diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx index 8b818a919129..5a99bf01a4d6 100644 --- a/xmloff/source/draw/ximpstyl.cxx +++ b/xmloff/source/draw/ximpstyl.cxx @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx index dd005e551ff6..229c2e06174b 100644 --- a/xmloff/source/forms/elementexport.cxx +++ b/xmloff/source/forms/elementexport.cxx @@ -57,7 +57,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx index dcfdcc29d1cb..4b3eeb3ed6b1 100644 --- a/xmloff/source/forms/elementimport.cxx +++ b/xmloff/source/forms/elementimport.cxx @@ -44,7 +44,7 @@ #include #include -#include +#include #include #include #include diff --git a/xmloff/source/forms/formcellbinding.cxx b/xmloff/source/forms/formcellbinding.cxx index e9220fd79954..79032161698b 100644 --- a/xmloff/source/forms/formcellbinding.cxx +++ b/xmloff/source/forms/formcellbinding.cxx @@ -28,7 +28,7 @@ #include #include "strings.hxx" #include -#include +#include #include diff --git a/xmloff/source/forms/layerexport.cxx b/xmloff/source/forms/layerexport.cxx index 87c3b5b4056f..d1e92bca920d 100644 --- a/xmloff/source/forms/layerexport.cxx +++ b/xmloff/source/forms/layerexport.cxx @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include "controlpropertymap.hxx" #include #include diff --git a/xmloff/source/forms/layerimport.cxx b/xmloff/source/forms/layerimport.cxx index e5d2c62af828..494f77ab50b7 100644 --- a/xmloff/source/forms/layerimport.cxx +++ b/xmloff/source/forms/layerimport.cxx @@ -42,7 +42,7 @@ #include #include #include -#include +#include #include namespace xmloff diff --git a/xmloff/source/forms/officeforms.cxx b/xmloff/source/forms/officeforms.cxx index 07f2682d27a5..782ab824ccd7 100644 --- a/xmloff/source/forms/officeforms.cxx +++ b/xmloff/source/forms/officeforms.cxx @@ -28,7 +28,7 @@ #include #include #include -#include +#include #include "strings.hxx" namespace xmloff diff --git a/xmloff/source/forms/propertyexport.cxx b/xmloff/source/forms/propertyexport.cxx index 79637d7430a1..a07645f4ef1d 100644 --- a/xmloff/source/forms/propertyexport.cxx +++ b/xmloff/source/forms/propertyexport.cxx @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/xmloff/source/script/xmlbasicscript.cxx b/xmloff/source/script/xmlbasicscript.cxx index e81f6867afe4..3115cdd8d158 100644 --- a/xmloff/source/script/xmlbasicscript.cxx +++ b/xmloff/source/script/xmlbasicscript.cxx @@ -30,7 +30,7 @@ #include #include #include -#include +#include using namespace ::com::sun::star; using namespace ::com::sun::star::lang; diff --git a/xmloff/source/style/XMLFontAutoStylePool.cxx b/xmloff/source/style/XMLFontAutoStylePool.cxx index db51dbc81ff6..0fbb57b78ec8 100644 --- a/xmloff/source/style/XMLFontAutoStylePool.cxx +++ b/xmloff/source/style/XMLFontAutoStylePool.cxx @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include diff --git a/xmloff/source/style/xmlnumi.cxx b/xmloff/source/style/xmlnumi.cxx index 78fba23d09a9..f75a325ba0de 100644 --- a/xmloff/source/style/xmlnumi.cxx +++ b/xmloff/source/style/xmlnumi.cxx @@ -39,7 +39,7 @@ #include #include #include -#include +#include #include #include diff --git a/xmloff/source/table/XMLTableExport.cxx b/xmloff/source/table/XMLTableExport.cxx index c9e306f5e273..b3d60c9402eb 100644 --- a/xmloff/source/table/XMLTableExport.cxx +++ b/xmloff/source/table/XMLTableExport.cxx @@ -34,7 +34,7 @@ #include #include #include -#include +#include #include #include diff --git a/xmloff/source/table/XMLTableImport.cxx b/xmloff/source/table/XMLTableImport.cxx index 71c4fd632f89..9033f5f5b09d 100644 --- a/xmloff/source/table/XMLTableImport.cxx +++ b/xmloff/source/table/XMLTableImport.cxx @@ -31,7 +31,7 @@ #include #include #include -#include +#include #include #include diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx index a6e7bba52b9f..e7ae0f092150 100644 --- a/xmloff/source/text/XMLTextFrameContext.cxx +++ b/xmloff/source/text/XMLTextFrameContext.cxx @@ -20,7 +20,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx index b82f7a5af4f4..af2bd8aa2ac1 100644 --- a/xmloff/source/text/txtfldi.cxx +++ b/xmloff/source/text/txtfldi.cxx @@ -70,7 +70,7 @@ #include #include #include -#include +#include using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx index 5a37d1e46894..49d4f5abd3c4 100644 --- a/xmloff/source/text/txtparai.cxx +++ b/xmloff/source/text/txtparai.cxx @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/xmloff/source/text/txtstyli.cxx b/xmloff/source/text/txtstyli.cxx index f64199e05227..74b91d506e43 100644 --- a/xmloff/source/text/txtstyli.cxx +++ b/xmloff/source/text/txtstyli.cxx @@ -45,7 +45,7 @@ #include #include -#include +#include #include #include diff --git a/xmloff/source/text/txtvfldi.cxx b/xmloff/source/text/txtvfldi.cxx index 8725435a67b5..7e3cbac9d424 100644 --- a/xmloff/source/text/txtvfldi.cxx +++ b/xmloff/source/text/txtvfldi.cxx @@ -49,7 +49,7 @@ #include #include -#include +#include // service names diff --git a/xmloff/source/transform/OOo2Oasis.cxx b/xmloff/source/transform/OOo2Oasis.cxx index 24f87a186b48..38ff3384a40b 100644 --- a/xmloff/source/transform/OOo2Oasis.cxx +++ b/xmloff/source/transform/OOo2Oasis.cxx @@ -45,7 +45,7 @@ #include "OOo2Oasis.hxx" #include #include -#include +#include using namespace ::xmloff::token; using namespace ::com::sun::star::uno; diff --git a/xmloff/source/xforms/SchemaRestrictionContext.cxx b/xmloff/source/xforms/SchemaRestrictionContext.cxx index 3031a815ca17..0a1114f7d40c 100644 --- a/xmloff/source/xforms/SchemaRestrictionContext.cxx +++ b/xmloff/source/xforms/SchemaRestrictionContext.cxx @@ -41,7 +41,7 @@ #include #include -#include +#include using com::sun::star::uno::Reference; diff --git a/xmloff/source/xforms/xformsapi.cxx b/xmloff/source/xforms/xformsapi.cxx index d8345275cf7a..4c4a80ca3827 100644 --- a/xmloff/source/xforms/xformsapi.cxx +++ b/xmloff/source/xforms/xformsapi.cxx @@ -33,7 +33,7 @@ #include #include -#include +#include #include #include diff --git a/xmloff/source/xforms/xformsexport.cxx b/xmloff/source/xforms/xformsexport.cxx index 363a8f6741d5..75f6bc51027e 100644 --- a/xmloff/source/xforms/xformsexport.cxx +++ b/xmloff/source/xforms/xformsexport.cxx @@ -33,7 +33,7 @@ #include #include -#include +#include #include #include #include diff --git a/xmloff/source/xforms/xformsimport.cxx b/xmloff/source/xforms/xformsimport.cxx index 69daa630b63e..7ff2743329b3 100644 --- a/xmloff/source/xforms/xformsimport.cxx +++ b/xmloff/source/xforms/xformsimport.cxx @@ -33,7 +33,7 @@ #include #include "xformsapi.hxx" #include -#include +#include using std::pair; using com::sun::star::uno::Reference; -- cgit