diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-08-17 17:09:09 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-08-18 17:10:19 +0200 |
commit | 91ba9654baa8d525e31614b03cd459cf7cb1f951 (patch) | |
tree | 81d58fed74cced15b450580fffb507f9e8f1511f /svx/source/table | |
parent | 9144e8c3f4dd9c0460ea8f258682825688920537 (diff) |
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 <sbergman@redhat.com>
Diffstat (limited to 'svx/source/table')
-rw-r--r-- | svx/source/table/accessibletableshape.cxx | 2 | ||||
-rw-r--r-- | svx/source/table/cell.cxx | 2 | ||||
-rw-r--r-- | svx/source/table/cellcursor.cxx | 2 | ||||
-rw-r--r-- | svx/source/table/svdotable.cxx | 2 | ||||
-rw-r--r-- | svx/source/table/tablecontroller.cxx | 2 | ||||
-rw-r--r-- | svx/source/table/tablelayouter.cxx | 2 | ||||
-rw-r--r-- | svx/source/table/tablemodel.cxx | 2 | ||||
-rw-r--r-- | svx/source/table/tablertfexporter.cxx | 2 | ||||
-rw-r--r-- | svx/source/table/tablertfimporter.cxx | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/svx/source/table/accessibletableshape.cxx b/svx/source/table/accessibletableshape.cxx index cd29e8dbf1bc..3876c9104710 100644 --- a/svx/source/table/accessibletableshape.cxx +++ b/svx/source/table/accessibletableshape.cxx @@ -25,7 +25,7 @@ #include <com/sun/star/drawing/XShape.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> -#include <tools/diagnose_ex.h> +#include <comphelper/diagnose_ex.hxx> #include <vcl/svapp.hxx> #include <AccessibleTableShape.hxx> diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx index 74bb6301d50c..9922952fc780 100644 --- a/svx/source/table/cell.cxx +++ b/svx/source/table/cell.cxx @@ -58,7 +58,7 @@ #include <svx/xflbmtit.hxx> #include <svx/svdpool.hxx> #include <svx/xflclit.hxx> -#include <tools/diagnose_ex.h> +#include <comphelper/diagnose_ex.hxx> using ::editeng::SvxBorderLine; diff --git a/svx/source/table/cellcursor.cxx b/svx/source/table/cellcursor.cxx index 313ec63dfa08..7ce3a60cf9b1 100644 --- a/svx/source/table/cellcursor.cxx +++ b/svx/source/table/cellcursor.cxx @@ -28,7 +28,7 @@ #include <svx/strings.hrc> #include <svx/dialmgr.hxx> #include <tools/debug.hxx> -#include <tools/diagnose_ex.h> +#include <comphelper/diagnose_ex.hxx> using namespace ::com::sun::star::uno; diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index 767a183ed2ba..b8ff8a35df46 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -52,7 +52,7 @@ #include <editeng/frmdiritem.hxx> #include <cppuhelper/implbase.hxx> #include <libxml/xmlwriter.h> -#include <tools/diagnose_ex.h> +#include <comphelper/diagnose_ex.hxx> #include <boost/property_tree/ptree.hpp> diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx index 1ceaa5141245..fb7b5907c19a 100644 --- a/svx/source/table/tablecontroller.cxx +++ b/svx/source/table/tablecontroller.cxx @@ -73,7 +73,7 @@ #include <sfx2/viewsh.hxx> #include <editeng/editview.hxx> #include <tools/UnitConversion.hxx> -#include <tools/diagnose_ex.h> +#include <comphelper/diagnose_ex.hxx> using ::editeng::SvxBorderLine; using namespace sdr::table; diff --git a/svx/source/table/tablelayouter.cxx b/svx/source/table/tablelayouter.cxx index 536f122d6661..d3238042fbe0 100644 --- a/svx/source/table/tablelayouter.cxx +++ b/svx/source/table/tablelayouter.cxx @@ -21,7 +21,7 @@ #include <com/sun/star/table/XMergeableCell.hpp> #include <tools/debug.hxx> -#include <tools/diagnose_ex.h> +#include <comphelper/diagnose_ex.hxx> #include <tools/gen.hxx> #include <libxml/xmlwriter.h> diff --git a/svx/source/table/tablemodel.cxx b/svx/source/table/tablemodel.cxx index 9104a0a2d378..86a5e76a5ec8 100644 --- a/svx/source/table/tablemodel.cxx +++ b/svx/source/table/tablemodel.cxx @@ -28,7 +28,7 @@ #include <osl/mutex.hxx> #include <libxml/xmlwriter.h> #include <tools/debug.hxx> -#include <tools/diagnose_ex.h> +#include <comphelper/diagnose_ex.hxx> #include <cell.hxx> #include "cellcursor.hxx" diff --git a/svx/source/table/tablertfexporter.cxx b/svx/source/table/tablertfexporter.cxx index c298d5d1af61..90853207c8f9 100644 --- a/svx/source/table/tablertfexporter.cxx +++ b/svx/source/table/tablertfexporter.cxx @@ -23,7 +23,7 @@ #include <com/sun/star/table/XTable.hpp> #include <com/sun/star/beans/XPropertySet.hpp> -#include <tools/diagnose_ex.h> +#include <comphelper/diagnose_ex.hxx> #include <tools/stream.hxx> #include <svtools/rtfkeywd.hxx> #include <svtools/rtfout.hxx> diff --git a/svx/source/table/tablertfimporter.cxx b/svx/source/table/tablertfimporter.cxx index 8f6e1c649319..91b62a42973b 100644 --- a/svx/source/table/tablertfimporter.cxx +++ b/svx/source/table/tablertfimporter.cxx @@ -41,7 +41,7 @@ #include <editeng/svxrtf.hxx> #include <sal/log.hxx> #include <tools/debug.hxx> -#include <tools/diagnose_ex.h> +#include <comphelper/diagnose_ex.hxx> using namespace ::com::sun::star::uno; using namespace ::com::sun::star::table; |