diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2021-04-01 09:40:51 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-04-09 11:56:36 +0200 |
commit | 2633d5f97ff45cc4a7f016bee1f2e8f92a60d2fb (patch) | |
tree | 248eafb1e97bf19315d698d1243c7f74dad40a09 | |
parent | 28a9a92105f3155d82fd9e31095efabd3ec706ea (diff) |
Recheck include/ with IWYU
See tdf#42949 for motivation
Change-Id: Ifc253bf800bb1468b5774663a93f4fb30bec81d3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113657
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
406 files changed, 390 insertions, 89 deletions
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx index 9ddb6adbc8a5..2d5154a6f8e0 100644 --- a/basctl/source/dlged/dlged.cxx +++ b/basctl/source/dlged/dlged.cxx @@ -47,6 +47,7 @@ #include <vcl/svapp.hxx> #include <xmlscript/xml_helper.hxx> #include <xmlscript/xmldlg_imexp.hxx> +#include <osl/diagnose.h> namespace basctl { diff --git a/basegfx/source/polygon/b3dpolygon.cxx b/basegfx/source/polygon/b3dpolygon.cxx index aac10925c234..89c9c279eb75 100644 --- a/basegfx/source/polygon/b3dpolygon.cxx +++ b/basegfx/source/polygon/b3dpolygon.cxx @@ -25,6 +25,7 @@ #include <basegfx/color/bcolor.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> #include <cassert> +#include <memory> #include <vector> #include <algorithm> diff --git a/chart2/source/controller/main/ChartTransferable.cxx b/chart2/source/controller/main/ChartTransferable.cxx index 03e8eaef2509..322e73be3aa8 100644 --- a/chart2/source/controller/main/ChartTransferable.cxx +++ b/chart2/source/controller/main/ChartTransferable.cxx @@ -34,6 +34,7 @@ #include <svx/svdmodel.hxx> #include <svx/unomodel.hxx> #include <svx/svdview.hxx> +#include <osl/diagnose.h> constexpr sal_uInt32 CHARTTRANSFER_OBJECTTYPE_DRAWMODEL = 1; diff --git a/chart2/source/controller/main/SelectionHelper.cxx b/chart2/source/controller/main/SelectionHelper.cxx index dc3230749f57..51ec5ab91da5 100644 --- a/chart2/source/controller/main/SelectionHelper.cxx +++ b/chart2/source/controller/main/SelectionHelper.cxx @@ -29,6 +29,7 @@ #include <svx/svdopath.hxx> #include <vcl/svapp.hxx> #include <basegfx/point/b2dpoint.hxx> +#include <osl/diagnose.h> namespace chart { diff --git a/chart2/source/view/main/DrawModelWrapper.cxx b/chart2/source/view/main/DrawModelWrapper.cxx index 68ffac559a25..14bd6b55cfcb 100644 --- a/chart2/source/view/main/DrawModelWrapper.cxx +++ b/chart2/source/view/main/DrawModelWrapper.cxx @@ -34,6 +34,7 @@ #include <vcl/svapp.hxx> #include <vcl/virdev.hxx> #include <libxml/xmlwriter.h> +#include <osl/diagnose.h> #include <com/sun/star/container/XChild.hpp> diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx index 186a63096d65..f39aa3b32ea7 100644 --- a/cui/source/dialogs/cuigaldlg.cxx +++ b/cui/source/dialogs/cuigaldlg.cxx @@ -51,6 +51,7 @@ #include <strings.hrc> #include <svx/dialmgr.hxx> #include <svx/strings.hrc> +#include <osl/diagnose.h> using namespace ::ucbhelper; using namespace ::cppu; diff --git a/cui/source/tabpages/swpossizetabpage.cxx b/cui/source/tabpages/swpossizetabpage.cxx index 2b9c8c70a4b4..e3154fa62339 100644 --- a/cui/source/tabpages/swpossizetabpage.cxx +++ b/cui/source/tabpages/swpossizetabpage.cxx @@ -35,6 +35,7 @@ #include <com/sun/star/text/RelOrientation.hpp> #include <svx/svxids.hrc> #include <svtools/unitconv.hxx> +#include <osl/diagnose.h> using namespace ::com::sun::star::text; diff --git a/cui/source/tabpages/textattr.cxx b/cui/source/tabpages/textattr.cxx index 43fea9f6c830..9c650d46e373 100644 --- a/cui/source/tabpages/textattr.cxx +++ b/cui/source/tabpages/textattr.cxx @@ -31,6 +31,7 @@ #include <svx/dlgutil.hxx> #include <editeng/writingmodeitem.hxx> #include <svtools/unitconv.hxx> +#include <osl/diagnose.h> using namespace ::com::sun::star; diff --git a/cui/source/tabpages/tpcolor.cxx b/cui/source/tabpages/tpcolor.cxx index e6eadad2075b..d1241b0e7db5 100644 --- a/cui/source/tabpages/tpcolor.cxx +++ b/cui/source/tabpages/tpcolor.cxx @@ -34,6 +34,7 @@ #include <svx/dialmgr.hxx> #include <svx/strings.hrc> #include <officecfg/Office/Common.hxx> +#include <osl/diagnose.h> using namespace com::sun::star; diff --git a/cui/source/tabpages/tplnedef.cxx b/cui/source/tabpages/tplnedef.cxx index 2af5b2558421..23739c287f2a 100644 --- a/cui/source/tabpages/tplnedef.cxx +++ b/cui/source/tabpages/tplnedef.cxx @@ -43,6 +43,7 @@ #include <svx/svxids.hrc> #include <cuitabarea.hxx> #include <svtools/unitconv.hxx> +#include <osl/diagnose.h> #define XOUT_WIDTH 150 diff --git a/cui/source/tabpages/tplneend.cxx b/cui/source/tabpages/tplneend.cxx index e51119dcdefc..2d923e166477 100644 --- a/cui/source/tabpages/tplneend.cxx +++ b/cui/source/tabpages/tplneend.cxx @@ -45,6 +45,7 @@ #include <basegfx/polygon/b2dpolypolygontools.hxx> #include <basegfx/matrix/b2dhommatrixtools.hxx> #include <svx/strings.hrc> +#include <osl/diagnose.h> #define XOUT_WIDTH 150 diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx index 623c4f569efd..27c9a3aab3bb 100644 --- a/dbaccess/source/ui/tabledesign/TableController.cxx +++ b/dbaccess/source/ui/tabledesign/TableController.cxx @@ -56,6 +56,7 @@ #include <algorithm> #include <functional> +#include <set> extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* org_openoffice_comp_dbu_OTableDesign_get_implementation( diff --git a/extensions/source/activex/so_activex.cxx b/extensions/source/activex/so_activex.cxx index b539e2897f2d..5840e36b6521 100644 --- a/extensions/source/activex/so_activex.cxx +++ b/extensions/source/activex/so_activex.cxx @@ -50,6 +50,7 @@ #include "SOActiveX.h" #include <comphelper\documentconstants.hxx> +#include <sal/types.h> #include <exception> CComModule _Module; diff --git a/extensions/source/propctrlr/propertyhandler.cxx b/extensions/source/propctrlr/propertyhandler.cxx index e30c38020444..c47f4e822228 100644 --- a/extensions/source/propctrlr/propertyhandler.cxx +++ b/extensions/source/propctrlr/propertyhandler.cxx @@ -34,6 +34,7 @@ #include <unotools/localedatawrapper.hxx> #include <unotools/syslocale.hxx> #include <toolkit/helper/vclunohelper.hxx> +#include <rtl/ref.hxx> #include <algorithm> diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 64bfe3e0d9de..3e20001f82d8 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -91,6 +91,7 @@ #include <sal/log.hxx> #include <basegfx/polygon/b2dpolypolygontools.hxx> #include <basegfx/polygon/b2dpolygontools.hxx> +#include <osl/diagnose.h> #include <algorithm> #include <memory> diff --git a/include/IwyuFilter_include.yaml b/include/IwyuFilter_include.yaml index ce376cba10a4..00cfb961a447 100644 --- a/include/IwyuFilter_include.yaml +++ b/include/IwyuFilter_include.yaml @@ -40,6 +40,9 @@ excludelist: include/rtl/math.hxx: # TODO MSVC does not compile basegfx/numeric/ftools.hxx when this is replaced - math.h + include/android/compatibility.hxx: + # TODO check whether actually needed, just silence this for now + - math.h include/sfx2/toolbarids.hxx: # needed for enum definition - sal/types.h @@ -198,6 +201,9 @@ excludelist: include/comphelper/servicehelper.hxx: # Needed for macro - rtl/instance.hxx + include/comphelper/stl_types.hxx: + # Needed for std::equal + - algorithm include/comphelper/unique_disposing_ptr.hxx: # base class has to be a complete type - com/sun/star/lang/XServiceInfo.hpp @@ -211,11 +217,22 @@ excludelist: include/basegfx/numeric/ftools.hxx: # MSVC does not compile when this is removed - math.h + - cmath include/basegfx/utils/unopolypolygon.hxx: # base class has to be a complete type - com/sun/star/lang/XServiceInfo.hpp - com/sun/star/rendering/XBezierPolyPolygon2D.hpp - com/sun/star/rendering/XLinePolyPolygon2D.hpp + include/o3tl/deleter.hxx: + # Needed for __COVERITY__ + - com/sun/star/uno/Exception.hpp + - sal/log.hxx + include/o3tl/lru_map.hxx: + # Needed for std::min + - algorithm + include/o3tl/make_shared.hxx: + # Needed for __COVERITY__ + - o3tl/deleter.hxx include/sot/exchange.hxx: # Used in a macro #define - com/sun/star/datatransfer/dnd/DNDConstants.hpp @@ -233,6 +250,9 @@ excludelist: include/tools/fldunit.hxx: # Needed for enum type - sal/types.h + include/tools/long.hxx: + # Needed on _WIN64 + - sal/types.h include/tools/svlibrary.h: # Used behind #ifndef - osl/module.h diff --git a/include/basegfx/polygon/b2dpolygon.hxx b/include/basegfx/polygon/b2dpolygon.hxx index e74b458ec3af..c5a862773507 100644 --- a/include/basegfx/polygon/b2dpolygon.hxx +++ b/include/basegfx/polygon/b2dpolygon.hxx @@ -19,6 +19,7 @@ #pragma once +#include <memory> #include <ostream> #include <vector> diff --git a/include/basegfx/polygon/b2dpolypolygontools.hxx b/include/basegfx/polygon/b2dpolypolygontools.hxx index aed3766d75df..f104ec931ab9 100644 --- a/include/basegfx/polygon/b2dpolypolygontools.hxx +++ b/include/basegfx/polygon/b2dpolypolygontools.hxx @@ -23,7 +23,6 @@ #include <basegfx/polygon/b3dpolypolygon.hxx> #include <com/sun/star/drawing/PointSequenceSequence.hpp> #include <vector> -#include <set> #include <basegfx/basegfxdllapi.h> #include <o3tl/sorted_vector.hxx> diff --git a/include/basegfx/utils/systemdependentdata.hxx b/include/basegfx/utils/systemdependentdata.hxx index 4486559df6fc..6778fa967e61 100644 --- a/include/basegfx/utils/systemdependentdata.hxx +++ b/include/basegfx/utils/systemdependentdata.hxx @@ -13,7 +13,6 @@ #include <basegfx/basegfxdllapi.h> #include <memory> #include <map> -#include <set> namespace basegfx { diff --git a/include/basic/sbxdef.hxx b/include/basic/sbxdef.hxx index 6c7a5a8c0bd1..b52b0beb3c7d 100644 --- a/include/basic/sbxdef.hxx +++ b/include/basic/sbxdef.hxx @@ -22,6 +22,7 @@ #define INCLUDED_BASIC_SBXDEF_HXX #include <o3tl/typed_flags_set.hxx> +#include <sal/types.h> enum class SbxClassType { // SBX-class-IDs (order is important!) DontCare = 1, // don't care (search, not 0 due to StarBASIC) diff --git a/include/codemaker/global.hxx b/include/codemaker/global.hxx index 60e0d1bf774b..c3bb22942cf7 100644 --- a/include/codemaker/global.hxx +++ b/include/codemaker/global.hxx @@ -20,9 +20,7 @@ #ifndef INCLUDED_CODEMAKER_GLOBAL_HXX #define INCLUDED_CODEMAKER_GLOBAL_HXX -#include <list> #include <vector> -#include <set> #include <string_view> #include <osl/file.hxx> diff --git a/include/comphelper/propertysethelper.hxx b/include/comphelper/propertysethelper.hxx index 9c348b50c7c1..33321e2cc994 100644 --- a/include/comphelper/propertysethelper.hxx +++ b/include/comphelper/propertysethelper.hxx @@ -25,7 +25,6 @@ #include <com/sun/star/beans/XMultiPropertySet.hpp> #include <comphelper/comphelperdllapi.h> #include <rtl/ref.hxx> -#include <memory> namespace comphelper { diff --git a/include/comphelper/servicedecl.hxx b/include/comphelper/servicedecl.hxx index 6cd24699cd2b..94f5db000753 100644 --- a/include/comphelper/servicedecl.hxx +++ b/include/comphelper/servicedecl.hxx @@ -20,7 +20,6 @@ #define INCLUDED_COMPHELPER_SERVICEDECL_HXX #include <comphelper/comphelperdllapi.h> -#include <cppuhelper/implbase.hxx> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> diff --git a/include/dbaccess/dataview.hxx b/include/dbaccess/dataview.hxx index e6f47a351a6f..1c2cacdcf1c0 100644 --- a/include/dbaccess/dataview.hxx +++ b/include/dbaccess/dataview.hxx @@ -26,7 +26,6 @@ #include <rtl/ref.hxx> #include <tools/wintypes.hxx> #include <vcl/outdev.hxx> -#include <vcl/vclptr.hxx> #include <vcl/window.hxx> namespace com::sun::star { diff --git a/include/formula/FormulaOpCodeMapperObj.hxx b/include/formula/FormulaOpCodeMapperObj.hxx index c7b7a400f5c9..7e5928a1b3ba 100644 --- a/include/formula/FormulaOpCodeMapperObj.hxx +++ b/include/formula/FormulaOpCodeMapperObj.hxx @@ -23,7 +23,6 @@ #include <memory> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/sheet/XFormulaOpCodeMapper.hpp> #include <cppuhelper/implbase.hxx> diff --git a/include/framework/transactionmanager.hxx b/include/framework/transactionmanager.hxx index 351ce89d2487..d6a07293a976 100644 --- a/include/framework/transactionmanager.hxx +++ b/include/framework/transactionmanager.hxx @@ -19,10 +19,8 @@ #pragma once -#include <config_options.h> #include <osl/mutex.hxx> -#include "fwkdllapi.h" #include "gate.hxx" namespace framework{ diff --git a/include/i18nlangtag/languagetagicu.hxx b/include/i18nlangtag/languagetagicu.hxx index 3025734231ad..755d8eb12c76 100644 --- a/include/i18nlangtag/languagetagicu.hxx +++ b/include/i18nlangtag/languagetagicu.hxx @@ -15,7 +15,6 @@ #include <string_view> #include <i18nlangtag/i18nlangtagdllapi.h> -#include <rtl/ustring.hxx> #include <unicode/locid.h> class LanguageTag; diff --git a/include/o3tl/cow_wrapper.hxx b/include/o3tl/cow_wrapper.hxx index b9c463b852e4..8cc3651030fd 100644 --- a/include/o3tl/cow_wrapper.hxx +++ b/include/o3tl/cow_wrapper.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_O3TL_COW_WRAPPER_HXX #define INCLUDED_O3TL_COW_WRAPPER_HXX -#include <memory> #include <osl/interlck.h> #include <utility> diff --git a/include/o3tl/lazy_update.hxx b/include/o3tl/lazy_update.hxx index 951a9bb7bdc2..ddff217a722c 100644 --- a/include/o3tl/lazy_update.hxx +++ b/include/o3tl/lazy_update.hxx @@ -20,8 +20,6 @@ #ifndef INCLUDED_O3TL_LAZY_UPDATE_HXX #define INCLUDED_O3TL_LAZY_UPDATE_HXX -#include <utility> - namespace o3tl { /** Update output object lazily diff --git a/include/o3tl/typed_flags_set.hxx b/include/o3tl/typed_flags_set.hxx index bf795908bad5..7c9053bcd4f0 100644 --- a/include/o3tl/typed_flags_set.hxx +++ b/include/o3tl/typed_flags_set.hxx @@ -26,7 +26,6 @@ #include <type_traits> #include <o3tl/underlyingenumvalue.hxx> -#include <sal/types.h> namespace o3tl { diff --git a/include/o3tl/vector_utils.hxx b/include/o3tl/vector_utils.hxx index dc6d80a9ffbc..1fe34bcaf470 100644 --- a/include/o3tl/vector_utils.hxx +++ b/include/o3tl/vector_utils.hxx @@ -10,6 +10,8 @@ #pragma once +#include <algorithm> +#include <unordered_set> #include <vector> namespace o3tl diff --git a/include/oox/crypto/StrongEncryptionDataSpace.hxx b/include/oox/crypto/StrongEncryptionDataSpace.hxx index 327308a4c6ac..59be5c9832a0 100644 --- a/include/oox/crypto/StrongEncryptionDataSpace.hxx +++ b/include/oox/crypto/StrongEncryptionDataSpace.hxx @@ -11,7 +11,6 @@ #ifndef INCLUDED_OOX_CRYPTO_STRONGENCRYPTINDATASPACE_HXX #define INCLUDED_OOX_CRYPTO_STRONGENCRYPTINDATASPACE_HXX -#include <oox/dllapi.h> #include <cppuhelper/implbase.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/packages/XPackageEncryption.hpp> diff --git a/include/oox/drawingml/drawingmltypes.hxx b/include/oox/drawingml/drawingmltypes.hxx index c24bff255a3e..873fb76435a8 100644 --- a/include/oox/drawingml/drawingmltypes.hxx +++ b/include/oox/drawingml/drawingmltypes.hxx @@ -30,7 +30,6 @@ #include <com/sun/star/style/ParagraphAdjust.hpp> #include <com/sun/star/style/TabAlign.hpp> #include <com/sun/star/uno/Reference.hxx> -#include <o3tl/safeint.hxx> #include <o3tl/unit_conversion.hxx> #include <oox/dllapi.h> #include <oox/helper/helper.hxx> diff --git a/include/sax/tools/converter.hxx b/include/sax/tools/converter.hxx index 88cea1c33ab7..a01ee6e68170 100644 --- a/include/sax/tools/converter.hxx +++ b/include/sax/tools/converter.hxx @@ -27,7 +27,6 @@ #include <sax/saxdllapi.h> #include <sal/types.h> -#include <rtl/ustring.hxx> #include <rtl/ustrbuf.hxx> #include <com/sun/star/util/MeasureUnit.hpp> #include <tools/color.hxx> diff --git a/include/sfx2/QuerySaveDocument.hxx b/include/sfx2/QuerySaveDocument.hxx index 06eecdf1df83..2d800be80d4e 100644 --- a/include/sfx2/QuerySaveDocument.hxx +++ b/include/sfx2/QuerySaveDocument.hxx @@ -23,7 +23,6 @@ #include <string_view> -#include <rtl/ustring.hxx> #include <sfx2/dllapi.h> namespace weld diff --git a/include/sfx2/XmlIdRegistry.hxx b/include/sfx2/XmlIdRegistry.hxx index a2b4b2129760..494c83020883 100644 --- a/include/sfx2/XmlIdRegistry.hxx +++ b/include/sfx2/XmlIdRegistry.hxx @@ -25,7 +25,6 @@ #include <string_view> #include <sfx2/dllapi.h> -#include <rtl/ustring.hxx> namespace com::sun::star::beans { struct StringPair; } namespace com::sun::star::uno { template <typename > class Reference; } diff --git a/include/sfx2/devtools/DevelopmentToolDockingWindow.hxx b/include/sfx2/devtools/DevelopmentToolDockingWindow.hxx index 284072a6c18f..97df40d8f63b 100644 --- a/include/sfx2/devtools/DevelopmentToolDockingWindow.hxx +++ b/include/sfx2/devtools/DevelopmentToolDockingWindow.hxx @@ -12,7 +12,6 @@ #include <sfx2/dllapi.h> #include <sfx2/dockwin.hxx> -#include <vcl/customweld.hxx> #include <vcl/weld.hxx> #include <sfx2/devtools/ObjectInspectorWidgets.hxx> @@ -23,9 +22,6 @@ #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/view/XSelectionChangeListener.hpp> #include <com/sun/star/view/XSelectionSupplier.hpp> -#include <com/sun/star/frame/XController.hpp> - -#include <unordered_map> /** Development tool main docking window * diff --git a/include/sfx2/devtools/DocumentModelTreeHandler.hxx b/include/sfx2/devtools/DocumentModelTreeHandler.hxx index c63986ad1476..47294d527efe 100644 --- a/include/sfx2/devtools/DocumentModelTreeHandler.hxx +++ b/include/sfx2/devtools/DocumentModelTreeHandler.hxx @@ -10,14 +10,11 @@ #pragma once -#include <sfx2/dllapi.h> #include <vcl/weld.hxx> #include <com/sun/star/uno/XInterface.hpp> #include <com/sun/star/uno/Reference.hxx> -#include <unordered_map> - /** Document model tree handler * * Handles the DOM tree part of DevTools, which includes interaction with diff --git a/include/sfx2/devtools/ObjectInspectorTreeHandler.hxx b/include/sfx2/devtools/ObjectInspectorTreeHandler.hxx index 4fd340887855..0919bbfa3b9a 100644 --- a/include/sfx2/devtools/ObjectInspectorTreeHandler.hxx +++ b/include/sfx2/devtools/ObjectInspectorTreeHandler.hxx @@ -10,10 +10,8 @@ #pragma once -#include <sfx2/dllapi.h> #include <vcl/weld.hxx> #include <vcl/commandevent.hxx> -#include <vcl/svapp.hxx> #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/XInterface.hpp> diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx index 521434236cea..04fe4131216b 100644 --- a/include/sfx2/dinfdlg.hxx +++ b/include/sfx2/dinfdlg.hxx @@ -33,6 +33,7 @@ #include <svtools/ctrlbox.hxx> #include <vcl/idle.hxx> +#include <vcl/weldutils.hxx> #include <sfx2/tabdlg.hxx> diff --git a/include/sfx2/lokcharthelper.hxx b/include/sfx2/lokcharthelper.hxx index 319af8c35da5..ee30a645abfc 100644 --- a/include/sfx2/lokcharthelper.hxx +++ b/include/sfx2/lokcharthelper.hxx @@ -13,6 +13,7 @@ #include <sfx2/dllapi.h> #include <tools/gen.hxx> #include <vcl/vclptr.hxx> +#include <vcl/window.hxx> namespace com::sun::star::frame { class XController; } namespace com::sun::star::frame { class XDispatch; } diff --git a/include/sfx2/notebookbar/SfxNotebookBar.hxx b/include/sfx2/notebookbar/SfxNotebookBar.hxx index cb94dd2b4603..2fe195f06901 100644 --- a/include/sfx2/notebookbar/SfxNotebookBar.hxx +++ b/include/sfx2/notebookbar/SfxNotebookBar.hxx @@ -12,7 +12,10 @@ #include <sfx2/dllapi.h> #include <rtl/ustring.hxx> +#include <vcl/WeldedTabbedNotebookbar.hxx> + #include <map> +#include <memory> #include <string_view> namespace com::sun::star::frame diff --git a/include/sfx2/sidebar/FocusManager.hxx b/include/sfx2/sidebar/FocusManager.hxx index fd5d2e879e01..c51ccbfa832f 100644 --- a/include/sfx2/sidebar/FocusManager.hxx +++ b/include/sfx2/sidebar/FocusManager.hxx @@ -20,7 +20,6 @@ #include <sfx2/sidebar/Panel.hxx> #include <tools/link.hxx> -#include <vcl/vclevent.hxx> #include <vcl/keycod.hxx> namespace weld { diff --git a/include/sfx2/sidebar/Sidebar.hxx b/include/sfx2/sidebar/Sidebar.hxx index 38e3dfc010b9..2520a80a4be4 100644 --- a/include/sfx2/sidebar/Sidebar.hxx +++ b/include/sfx2/sidebar/Sidebar.hxx @@ -21,7 +21,8 @@ #include <sfx2/dllapi.h> #include <sfx2/viewfrm.hxx> -#include <rtl/ustring.hxx> + +#include <string_view> namespace com::sun::star::frame { class XFrame; } namespace com::sun::star::uno { template <typename > class Reference; } diff --git a/include/sfx2/sidebar/TabBar.hxx b/include/sfx2/sidebar/TabBar.hxx index 77b6fd91f5d0..f4faad6ba7cf 100644 --- a/include/sfx2/sidebar/TabBar.hxx +++ b/include/sfx2/sidebar/TabBar.hxx @@ -18,8 +18,6 @@ */ #pragma once -#include <config_options.h> -#include <sfx2//dllapi.h> #include <sfx2/sidebar/ResourceManager.hxx> #include <vcl/InterimItemWindow.hxx> diff --git a/include/sfx2/sidebar/Theme.hxx b/include/sfx2/sidebar/Theme.hxx index c094509d0d7b..f75f4724526e 100644 --- a/include/sfx2/sidebar/Theme.hxx +++ b/include/sfx2/sidebar/Theme.hxx @@ -21,10 +21,8 @@ #include <sfx2/dllapi.h> #include <tools/color.hxx> -#include <vcl/image.hxx> #include <cppuhelper/compbase.hxx> #include <cppuhelper/basemutex.hxx> -#include <tools/gen.hxx> #include <com/sun/star/beans/XPropertySet.hpp> diff --git a/include/svl/SfxBroadcaster.hxx b/include/svl/SfxBroadcaster.hxx index 847643b8aceb..2c05a6abfe5a 100644 --- a/include/svl/SfxBroadcaster.hxx +++ b/include/svl/SfxBroadcaster.hxx @@ -20,7 +20,6 @@ #define INCLUDED_SVL_BRDCST_HXX #include <svl/svldllapi.h> -#include <memory> #include <vector> class SfxListener; diff --git a/include/svl/imageitm.hxx b/include/svl/imageitm.hxx index 2340230fb4a4..f06eb7fd6902 100644 --- a/include/svl/imageitm.hxx +++ b/include/svl/imageitm.hxx @@ -22,7 +22,6 @@ #include <svl/svldllapi.h> #include <svl/intitem.hxx> -#include <memory> #include <tools/degree.hxx> struct SfxImageItem_Impl; diff --git a/include/svtools/HtmlWriter.hxx b/include/svtools/HtmlWriter.hxx index e9939f712941..61bebed54bae 100644 --- a/include/svtools/HtmlWriter.hxx +++ b/include/svtools/HtmlWriter.hxx @@ -11,7 +11,6 @@ #pragma once #include <rtl/string.hxx> -#include <rtl/ustring.hxx> #include <string_view> #include <vector> #include <svtools/svtdllapi.h> diff --git a/include/svtools/filechangedchecker.hxx b/include/svtools/filechangedchecker.hxx index 03021799bc2b..22fc5597570a 100644 --- a/include/svtools/filechangedchecker.hxx +++ b/include/svtools/filechangedchecker.hxx @@ -14,7 +14,7 @@ #include <osl/time.h> #include <rtl/ustring.hxx> -#include <vcl/idle.hxx> +#include <vcl/timer.hxx> #include <functional> diff --git a/include/svtools/imagemgr.hxx b/include/svtools/imagemgr.hxx index 4abd02168ead..707fa5eda587 100644 --- a/include/svtools/imagemgr.hxx +++ b/include/svtools/imagemgr.hxx @@ -21,7 +21,6 @@ #include <rtl/ustring.hxx> #include <svtools/svtdllapi.h> -#include <tools/gen.hxx> #include <vcl/vclenum.hxx> enum class SvImageId { diff --git a/include/svtools/querydelete.hxx b/include/svtools/querydelete.hxx index 63f48d62fe48..31f494ea66c7 100644 --- a/include/svtools/querydelete.hxx +++ b/include/svtools/querydelete.hxx @@ -20,7 +20,6 @@ #include <memory> #include <vcl/weld.hxx> -#include <rtl/ustring.hxx> #include <svtools/svtdllapi.h> namespace svtools diff --git a/include/svtools/stringtransfer.hxx b/include/svtools/stringtransfer.hxx index 9e3fead4e84c..d8c99a132840 100644 --- a/include/svtools/stringtransfer.hxx +++ b/include/svtools/stringtransfer.hxx @@ -19,7 +19,6 @@ #pragma once -#include <config_options.h> #include <svtools/svtdllapi.h> #include <vcl/transfer.hxx> diff --git a/include/svtools/toolbarmenu.hxx b/include/svtools/toolbarmenu.hxx index 5a47d18625f3..9f1e36ddaca8 100644 --- a/include/svtools/toolbarmenu.hxx +++ b/include/svtools/toolbarmenu.hxx @@ -19,7 +19,6 @@ #pragma once -#include <config_options.h> #include <svtools/svtdllapi.h> #include <memory> diff --git a/include/svx/connctrl.hxx b/include/svx/connctrl.hxx index d15140529f83..44768922f317 100644 --- a/include/svx/connctrl.hxx +++ b/include/svx/connctrl.hxx @@ -23,7 +23,6 @@ #include <svx/svxdllapi.h> #include <vcl/customweld.hxx> #include <vcl/outdev.hxx> -#include <memory> class SfxItemSet; class SdrEdgeObj; diff --git a/include/svx/dialcontrol.hxx b/include/svx/dialcontrol.hxx index 75d7d7fffa78..e100b91574a1 100644 --- a/include/svx/dialcontrol.hxx +++ b/include/svx/dialcontrol.hxx @@ -24,7 +24,6 @@ #include <vcl/customweld.hxx> #include <vcl/virdev.hxx> #include <svx/svxdllapi.h> -#include <svx/svdtrans.hxx> class Edit; diff --git a/include/svx/fmtools.hxx b/include/svx/fmtools.hxx index 5ed09267aac7..e8c0c7dbe4fd 100644 --- a/include/svx/fmtools.hxx +++ b/include/svx/fmtools.hxx @@ -31,7 +31,6 @@ #include <rtl/ref.hxx> #include <cppuhelper/implbase.hxx> #include <o3tl/sorted_vector.hxx> -#include <set> namespace com::sun::star::awt { class XWindow; } namespace com::sun::star::beans { class XPropertySet; } diff --git a/include/svx/fontworkgallery.hxx b/include/svx/fontworkgallery.hxx index 55695327645d..beb540e8f1c1 100644 --- a/include/svx/fontworkgallery.hxx +++ b/include/svx/fontworkgallery.hxx @@ -22,7 +22,6 @@ #define INCLUDED_SVX_FONTWORKGALLERY_HXX #include <svx/svxdllapi.h> -#include <svtools/valueset.hxx> #include <vcl/weld.hxx> #include <vector> diff --git a/include/svx/framelink.hxx b/include/svx/framelink.hxx index b98ea5eab9aa..2ee2a6f556e0 100644 --- a/include/svx/framelink.hxx +++ b/include/svx/framelink.hxx @@ -25,8 +25,6 @@ #include <svx/svxdllapi.h> #include <editeng/borderline.hxx> -#include <memory> - namespace svx::frame { diff --git a/include/svx/gallerybinaryengine.hxx b/include/svx/gallerybinaryengine.hxx index ab928b9324d5..11747c5ee2ea 100644 --- a/include/svx/gallerybinaryengine.hxx +++ b/include/svx/gallerybinaryengine.hxx @@ -22,14 +22,13 @@ #include <svx/galmisc.hxx> #include <svx/svxdllapi.h> #include <svx/fmmodel.hxx> -#include <svx/gallerystoragelocations.hxx> #include <svx/gallerybinarystoragelocations.hxx> #include <svx/galleryfilestorage.hxx> #include <tools/urlobj.hxx> #include <sot/storage.hxx> +#include <vcl/salctype.hxx> #include <tools/datetime.hxx> -#include <unotools/datetime.hxx> #include <memory> diff --git a/include/svx/gallerybinaryengineentry.hxx b/include/svx/gallerybinaryengineentry.hxx index 7637e3d8caae..042119ae7be2 100644 --- a/include/svx/gallerybinaryengineentry.hxx +++ b/include/svx/gallerybinaryengineentry.hxx @@ -20,10 +20,8 @@ #pragma once #include <tools/urlobj.hxx> -#include <svx/svxdllapi.h> #include <svx/galtheme.hxx> #include <svx/gallerybinaryengine.hxx> -#include <svx/gallerystoragelocations.hxx> #include <svx/gallerybinarystoragelocations.hxx> #include <svx/galleryfilestorageentry.hxx> diff --git a/include/svx/galleryobjectcollection.hxx b/include/svx/galleryobjectcollection.hxx index 8e322549b5eb..07a952b59f54 100644 --- a/include/svx/galleryobjectcollection.hxx +++ b/include/svx/galleryobjectcollection.hxx @@ -21,8 +21,7 @@ #include <svx/svxdllapi.h> #include <svx/galmisc.hxx> -#include <svx/galleryobjectxmlstorage.hxx> -#include <svx/galleryobjectbinarystorage.hxx> +#include <svx/galleryobjectstorage.hxx> #include <vcl/bitmapex.hxx> #include <tools/urlobj.hxx> diff --git a/include/svx/galmisc.hxx b/include/svx/galmisc.hxx index 49310e63a619..6c45f7de65b3 100644 --- a/include/svx/galmisc.hxx +++ b/include/svx/galmisc.hxx @@ -23,7 +23,6 @@ #include <vcl/imap.hxx> #include <svl/hint.hxx> #include <vcl/transfer.hxx> -#include <vcl/salctype.hxx> #include <svx/svdobj.hxx> #include <com/sun/star/uno/Reference.h> #include <svx/svxdllapi.h> diff --git a/include/svx/galtheme.hxx b/include/svx/galtheme.hxx index 7c8d9508cfc1..d2015b153437 100644 --- a/include/svx/galtheme.hxx +++ b/include/svx/galtheme.hxx @@ -27,12 +27,10 @@ #include <tools/debug.hxx> #include <tools/urlobj.hxx> #include <tools/datetime.hxx> -#include <unotools/datetime.hxx> #include <vcl/bitmapex.hxx> #include <svl/SfxBroadcaster.hxx> #include <svx/galmisc.hxx> #include <memory> -#include <vector> namespace weld { class ComboBox; } diff --git a/include/svx/polypolygoneditor.hxx b/include/svx/polypolygoneditor.hxx index 347bbc4a92a5..57110b414ee7 100644 --- a/include/svx/polypolygoneditor.hxx +++ b/include/svx/polypolygoneditor.hxx @@ -25,7 +25,6 @@ #include <svx/ipolypolygoneditorcontroller.hxx> #include <basegfx/polygon/b2dpolypolygon.hxx> -#include <set> #include <o3tl/sorted_vector.hxx> namespace sdr diff --git a/include/svx/sdr/primitive2d/sdrframeborderprimitive2d.hxx b/include/svx/sdr/primitive2d/sdrframeborderprimitive2d.hxx index e24bb372a7ce..745b0b0f0968 100644 --- a/include/svx/sdr/primitive2d/sdrframeborderprimitive2d.hxx +++ b/include/svx/sdr/primitive2d/sdrframeborderprimitive2d.hxx @@ -23,6 +23,8 @@ #include <drawinglayer/primitive2d/baseprimitive2d.hxx> #include <svx/framelink.hxx> +#include <memory> + // predefines namespace drawinglayer::primitive2d diff --git a/include/svx/sidebar/AreaPropertyPanelBase.hxx b/include/svx/sidebar/AreaPropertyPanelBase.hxx index 434a6397d4e2..4885810fa623 100644 --- a/include/svx/sidebar/AreaPropertyPanelBase.hxx +++ b/include/svx/sidebar/AreaPropertyPanelBase.hxx @@ -32,7 +32,6 @@ #include <sfx2/sidebar/PanelLayout.hxx> #include <svl/intitem.hxx> #include <svx/svxdllapi.h> -#include <sfx2/sidebar/Panel.hxx> class ToolbarUnoDispatcher; class XFillFloatTransparenceItem; diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx index c759f3cfff14..2bc05e3b01ca 100644 --- a/include/svx/svdobj.hxx +++ b/include/svx/svdobj.hxx @@ -35,8 +35,6 @@ #include <tools/link.hxx> #include <tools/weakbase.h> #include <tools/gen.hxx> -#include <osl/diagnose.h> -#include <typeinfo> #include <unordered_set> diff --git a/include/svx/svdoole2.hxx b/include/svx/svdoole2.hxx index 5b08652e3e40..56b40a6f00df 100644 --- a/include/svx/svdoole2.hxx +++ b/include/svx/svdoole2.hxx @@ -23,7 +23,7 @@ #include <memory> #include <svx/svdorect.hxx> #include <svx/svxdllapi.h> -#include <sfx2/linkmgr.hxx> +#include <sfx2/lnkbase.hxx> #include <com/sun/star/uno/Reference.h> @@ -37,6 +37,7 @@ namespace embed { class XEmbeddedObject; } namespace frame { class XModel; } +namespace io { class XInputStream; } } namespace svt { class EmbeddedObjectRef; } diff --git a/include/svx/svxdlg.hxx b/include/svx/svxdlg.hxx index 9d0b322a4374..927705943453 100644 --- a/include/svx/svxdlg.hxx +++ b/include/svx/svxdlg.hxx @@ -24,7 +24,6 @@ #include <svx/zoom_def.hxx> #include <editeng/edtdlg.hxx> -#include <svx/dstribut_enum.hxx> #include <com/sun/star/container/XIndexContainer.hpp> #include <com/sun/star/container/XNameReplace.hpp> #include <svx/svxdllapi.h> diff --git a/include/svx/ucsubset.hxx b/include/svx/ucsubset.hxx index 106a0d9d444c..21251c4b5451 100644 --- a/include/svx/ucsubset.hxx +++ b/include/svx/ucsubset.hxx @@ -22,6 +22,7 @@ #include <svx/svxdllapi.h> +#include <vcl/vclenum.hxx> #include <vcl/metric.hxx> #include <vector> diff --git a/include/svx/unoshape.hxx b/include/svx/unoshape.hxx index 844c2aac23bb..1cd151d316ec 100644 --- a/include/svx/unoshape.hxx +++ b/include/svx/unoshape.hxx @@ -56,7 +56,6 @@ #include <comphelper/servicehelper.hxx> -#include <cppuhelper/implbase1.hxx> #include <cppuhelper/implbase12.hxx> class SfxItemSet; diff --git a/include/toolkit/awt/vclxwindows.hxx b/include/toolkit/awt/vclxwindows.hxx index 492df058e3e6..1ac704320171 100644 --- a/include/toolkit/awt/vclxwindows.hxx +++ b/include/toolkit/awt/vclxwindows.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_TOOLKIT_AWT_VCLXWINDOWS_HXX #define INCLUDED_TOOLKIT_AWT_VCLXWINDOWS_HXX -#include <config_options.h> #include <toolkit/dllapi.h> #include <com/sun/star/awt/XTextComponent.hpp> diff --git a/include/toolkit/helper/vclunohelper.hxx b/include/toolkit/helper/vclunohelper.hxx index a4e1a061ee80..6066a8b72d01 100644 --- a/include/toolkit/helper/vclunohelper.hxx +++ b/include/toolkit/helper/vclunohelper.hxx @@ -28,7 +28,6 @@ #include <vcl/bitmapex.hxx> #include <vcl/font.hxx> #include <vcl/region.hxx> -#include <vcl/vclptr.hxx> #include <tools/mapunit.hxx> #include <tools/fldunit.hxx> #include <tools/poly.hxx> diff --git a/include/tools/XmlWriter.hxx b/include/tools/XmlWriter.hxx index a541f21f4e11..e8f6579b0e95 100644 --- a/include/tools/XmlWriter.hxx +++ b/include/tools/XmlWriter.hxx @@ -11,7 +11,7 @@ #define INCLUDED_TOOLS_XMLWRITER_HXX #include <tools/toolsdllapi.h> -#include <rtl/ustring.hxx> +#include <rtl/string.hxx> #include <memory> #include <string_view> #include <vector> diff --git a/include/tools/helpers.hxx b/include/tools/helpers.hxx index abce49b3d469..9340bf9f7294 100644 --- a/include/tools/helpers.hxx +++ b/include/tools/helpers.hxx @@ -11,7 +11,6 @@ #include <sal/config.h> #include <sal/types.h> #include <tools/long.hxx> -#include <o3tl/safeint.hxx> #include <cassert> #include <type_traits> diff --git a/include/tools/multisel.hxx b/include/tools/multisel.hxx index 176bd9984b53..878080fa5c45 100644 --- a/include/tools/multisel.hxx +++ b/include/tools/multisel.hxx @@ -24,7 +24,6 @@ #include <rtl/ustring.hxx> #include <vector> -#include <set> #include <o3tl/sorted_vector.hxx> #define SFX_ENDOFSELECTION (-1) diff --git a/include/unotools/dynamicmenuoptions.hxx b/include/unotools/dynamicmenuoptions.hxx index c3526f9b141c..9b436d64488b 100644 --- a/include/unotools/dynamicmenuoptions.hxx +++ b/include/unotools/dynamicmenuoptions.hxx @@ -21,8 +21,8 @@ #include <unotools/unotoolsdllapi.h> #include <sal/types.h> -#include <com/sun/star/uno/Sequence.h> #include <unotools/options.hxx> +#include <rtl/ustring.hxx> #include <memory> namespace com::sun::star::beans { struct PropertyValue; } diff --git a/include/unotools/optionsdlg.hxx b/include/unotools/optionsdlg.hxx index 20e7789ea81d..239740a0e4b3 100644 --- a/include/unotools/optionsdlg.hxx +++ b/include/unotools/optionsdlg.hxx @@ -24,7 +24,6 @@ #include <string_view> #include <unotools/unotoolsdllapi.h> -#include <rtl/ustring.hxx> #include <unotools/options.hxx> class SvtOptionsDlgOptions_Impl; diff --git a/include/unotools/weakref.hxx b/include/unotools/weakref.hxx index 7fdf5acba698..189df22d5359 100644 --- a/include/unotools/weakref.hxx +++ b/include/unotools/weakref.hxx @@ -24,11 +24,10 @@ #include <sal/config.h> -#include <cstddef> - #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/XInterface.hpp> #include <cppuhelper/weakref.hxx> +#include <cppuhelper/weak.hxx> #include <rtl/ref.hxx> namespace cppu diff --git a/include/vcl/BitmapBuffer.hxx b/include/vcl/BitmapBuffer.hxx index 4a4ec8404a08..79f202cdfa2d 100644 --- a/include/vcl/BitmapBuffer.hxx +++ b/include/vcl/BitmapBuffer.hxx @@ -24,6 +24,7 @@ #include <vcl/BitmapPalette.hxx> #include <vcl/ColorMask.hxx> #include <vcl/Scanline.hxx> +#include <tools/long.hxx> struct SalTwoRect; diff --git a/include/vcl/GraphicNativeTransform.hxx b/include/vcl/GraphicNativeTransform.hxx index 3b5071e1639c..eedec3a4ee00 100644 --- a/include/vcl/GraphicNativeTransform.hxx +++ b/include/vcl/GraphicNativeTransform.hxx @@ -19,11 +19,11 @@ #pragma once -#include <rtl/ustring.hxx> #include <tools/degree.hxx> -#include <sal/types.h> #include <vcl/dllapi.h> +#include <string_view> + class Graphic; class VCL_DLLPUBLIC GraphicNativeTransform final diff --git a/include/vcl/Scanline.hxx b/include/vcl/Scanline.hxx index 6f40ce7a0c58..be33bc232983 100644 --- a/include/vcl/Scanline.hxx +++ b/include/vcl/Scanline.hxx @@ -21,6 +21,7 @@ #define INCLUDED_VCL_SCANLINE_HXX #include <o3tl/typed_flags_set.hxx> +#include <sal/types.h> typedef sal_uInt8* Scanline; typedef const sal_uInt8* ConstScanline; diff --git a/include/vcl/bitmap/BitmapTypes.hxx b/include/vcl/bitmap/BitmapTypes.hxx index 25eda29cbe80..10d0f5332c7b 100644 --- a/include/vcl/bitmap/BitmapTypes.hxx +++ b/include/vcl/bitmap/BitmapTypes.hxx @@ -10,6 +10,9 @@ #pragma once +#include <sal/types.h> +#include <cassert> + namespace vcl { /** Pixel format of the bitmap in bits per pixel */ diff --git a/include/vcl/filter/PDFiumLibrary.hxx b/include/vcl/filter/PDFiumLibrary.hxx index 9d2be861b520..3d6f379c683a 100644 --- a/include/vcl/filter/PDFiumLibrary.hxx +++ b/include/vcl/filter/PDFiumLibrary.hxx @@ -15,7 +15,6 @@ #include <com/sun/star/util/DateTime.hpp> #include <vcl/dllapi.h> -#include <rtl/instance.hxx> #include <basegfx/vector/b2dsize.hxx> #include <basegfx/range/b2drectangle.hxx> #include <basegfx/point/b2dpoint.hxx> diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx index ed5497480cf6..10a62f21bfb8 100644 --- a/include/vcl/opengl/OpenGLContext.hxx +++ b/include/vcl/opengl/OpenGLContext.hxx @@ -10,15 +10,10 @@ #ifndef INCLUDED_VCL_OPENGL_OPENGLCONTEXT_HXX #define INCLUDED_VCL_OPENGL_OPENGLCONTEXT_HXX -#include <epoxy/gl.h> - #include <vcl/dllapi.h> #include <vcl/syschild.hxx> #include <rtl/ref.hxx> -#include <memory> -#include <unordered_map> - /// Holds the information of our new child window struct VCL_DLLPUBLIC GLWindow { diff --git a/include/vcl/outdevmap.hxx b/include/vcl/outdevmap.hxx index 467dd688c612..3ab15a2a29ff 100644 --- a/include/vcl/outdevmap.hxx +++ b/include/vcl/outdevmap.hxx @@ -20,6 +20,8 @@ #ifndef INCLUDED_VCL_OUTDEVMAP_HXX #define INCLUDED_VCL_OUTDEVMAP_HXX +#include <tools/long.hxx> + struct ImplMapRes { tools::Long mnMapOfsX; // Offset in X direction diff --git a/include/vcl/pdf/PDFAnnotationMarker.hxx b/include/vcl/pdf/PDFAnnotationMarker.hxx index d797115437e9..c4be54d69318 100644 --- a/include/vcl/pdf/PDFAnnotationMarker.hxx +++ b/include/vcl/pdf/PDFAnnotationMarker.hxx @@ -10,8 +10,10 @@ #pragma once +#include <vcl/dllapi.h> #include <tools/color.hxx> #include <basegfx/polygon/b2dpolygon.hxx> +#include <basegfx/point/b2dpoint.hxx> namespace vcl::pdf { diff --git a/include/vcl/pdf/PDFFindFlags.hxx b/include/vcl/pdf/PDFFindFlags.hxx index f43efc7a6f7d..3ad8c77e39e6 100644 --- a/include/vcl/pdf/PDFFindFlags.hxx +++ b/include/vcl/pdf/PDFFindFlags.hxx @@ -11,6 +11,7 @@ #pragma once #include <o3tl/typed_flags_set.hxx> +#include <sal/types.h> namespace vcl::pdf { diff --git a/include/vcl/unohelp2.hxx b/include/vcl/unohelp2.hxx index a0e03a04e2a1..0f54ea186c65 100644 --- a/include/vcl/unohelp2.hxx +++ b/include/vcl/unohelp2.hxx @@ -25,9 +25,6 @@ #include <rtl/ustring.hxx> #include <osl/mutex.hxx> #include <vcl/dllapi.h> -#include <comphelper/lok.hxx> -#include <LibreOfficeKit/LibreOfficeKitEnums.h> -#include <boost/property_tree/json_parser.hpp> #include <vcl/IDialogRenderable.hxx> namespace com::sun::star::datatransfer::clipboard { diff --git a/include/xmloff/SchXMLImportHelper.hxx b/include/xmloff/SchXMLImportHelper.hxx index 7fa12e16014c..bec8167fe7a0 100644 --- a/include/xmloff/SchXMLImportHelper.hxx +++ b/include/xmloff/SchXMLImportHelper.hxx @@ -19,11 +19,9 @@ #ifndef INCLUDED_XMLOFF_SCHXMLIMPORTHELPER_HXX #define INCLUDED_XMLOFF_SCHXMLIMPORTHELPER_HXX -#include <memory> - +#include <com/sun/star/uno/Reference.hxx> #include <salhelper/simplereferenceobject.hxx> #include <xmloff/families.hxx> -#include <xmloff/xmltkmap.hxx> namespace com::sun::star::chart { class XChartDocument; } namespace com::sun::star::beans { class XPropertySet; } diff --git a/include/xmloff/XMLTextShapeStyleContext.hxx b/include/xmloff/XMLTextShapeStyleContext.hxx index bff4781526bc..43cd9807a8dc 100644 --- a/include/xmloff/XMLTextShapeStyleContext.hxx +++ b/include/xmloff/XMLTextShapeStyleContext.hxx @@ -22,6 +22,7 @@ #include <sal/config.h> #include <xmloff/dllapi.h> #include <xmloff/XMLShapeStyleContext.hxx> +#include <xmloff/XMLEventsImportContext.hxx> class XMLOFF_DLLPUBLIC XMLTextShapeStyleContext final : public XMLShapeStyleContext { diff --git a/include/xmloff/shapeimport.hxx b/include/xmloff/shapeimport.hxx index f40ae8eaa803..5fa670a35445 100644 --- a/include/xmloff/shapeimport.hxx +++ b/include/xmloff/shapeimport.hxx @@ -27,6 +27,7 @@ #include <com/sun/star/drawing/ShadeMode.hpp> #include <salhelper/simplereferenceobject.hxx> #include <xmloff/xmlictxt.hxx> +#include <sax/fastattribs.hxx> #include <basegfx/vector/b3dvector.hxx> #include <vector> diff --git a/include/xmloff/xmlictxt.hxx b/include/xmloff/xmlictxt.hxx index 7216105fcd1f..9fabd7509996 100644 --- a/include/xmloff/xmlictxt.hxx +++ b/include/xmloff/xmlictxt.hxx @@ -27,7 +27,6 @@ #include <com/sun/star/lang/XTypeProvider.hpp> #include <rtl/ustring.hxx> #include <xmloff/namespacemap.hxx> -#include <sax/fastattribs.hxx> #include <memory> namespace com::sun::star::xml::sax { class XAttributeList; } diff --git a/reportdesign/source/filter/xml/xmlReportElementBase.cxx b/reportdesign/source/filter/xml/xmlReportElementBase.cxx index ff5e17d0b6eb..dc601abe56ab 100644 --- a/reportdesign/source/filter/xml/xmlReportElementBase.cxx +++ b/reportdesign/source/filter/xml/xmlReportElementBase.cxx @@ -18,6 +18,7 @@ */ #include <xmloff/ProgressBarHelper.hxx> #include <xmloff/xmlnamespace.hxx> +#include <xmloff/xmltkmap.hxx> #include "xmlReportElementBase.hxx" #include "xmlfilter.hxx" #include "xmlControlProperty.hxx" diff --git a/reportdesign/source/ui/report/ReportSection.cxx b/reportdesign/source/ui/report/ReportSection.cxx index 2e1f294b24d8..acc0f7d0190c 100644 --- a/reportdesign/source/ui/report/ReportSection.cxx +++ b/reportdesign/source/ui/report/ReportSection.cxx @@ -51,6 +51,7 @@ #include <rptui_slotid.hrc> #include <vcl/commandevent.hxx> +#include <o3tl/safeint.hxx> #include <svl/itempool.hxx> #include <svtools/extcolorcfg.hxx> diff --git a/reportdesign/source/ui/report/dlgedfac.cxx b/reportdesign/source/ui/report/dlgedfac.cxx index bc68d60b896d..ceb2d6402ee5 100644 --- a/reportdesign/source/ui/report/dlgedfac.cxx +++ b/reportdesign/source/ui/report/dlgedfac.cxx @@ -21,6 +21,7 @@ #include <RptObject.hxx> #include <RptDef.hxx> #include <com/sun/star/beans/XPropertySet.hpp> +#include <osl/diagnose.h> namespace rptui { diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx index 924a8f18e839..7a90c00db4e6 100644 --- a/sc/source/core/data/column3.cxx +++ b/sc/source/core/data/column3.cxx @@ -55,6 +55,7 @@ #include <svl/zforlist.hxx> #include <svl/zformat.hxx> #include <svl/sharedstringpool.hxx> +#include <osl/diagnose.h> #include <cstdio> #include <refdata.hxx> diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx index 27301007e433..deb9a8eaa6a1 100644 --- a/sc/source/core/data/dociter.cxx +++ b/sc/source/core/data/dociter.cxx @@ -44,6 +44,7 @@ #include <editeng/editobj.hxx> #include <svl/sharedstring.hxx> #include <unotools/collatorwrapper.hxx> +#include <osl/diagnose.h> #include <algorithm> #include <vector> diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx index 7ad53e33394f..ce47333cd14c 100644 --- a/sc/source/core/data/documen2.cxx +++ b/sc/source/core/data/documen2.cxx @@ -35,6 +35,7 @@ #include <basic/basmgr.hxx> #include <comphelper/threadpool.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <scmod.hxx> #include <document.hxx> diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx index e3da76da859c..b47c03c0e6fe 100644 --- a/sc/source/core/data/documen3.cxx +++ b/sc/source/core/data/documen3.cxx @@ -28,6 +28,7 @@ #include <sfx2/viewsh.hxx> #include <vcl/svapp.hxx> #include <osl/thread.hxx> +#include <osl/diagnose.h> #include <document.hxx> #include <attrib.hxx> #include <table.hxx> diff --git a/sc/source/core/data/documen4.cxx b/sc/source/core/data/documen4.cxx index 9190ed109e44..aee431660d0a 100644 --- a/sc/source/core/data/documen4.cxx +++ b/sc/source/core/data/documen4.cxx @@ -22,6 +22,7 @@ #include <formula/token.hxx> #include <sal/log.hxx> #include <unotools/configmgr.hxx> +#include <osl/diagnose.h> #include <document.hxx> #include <table.hxx> diff --git a/sc/source/core/data/documen7.cxx b/sc/source/core/data/documen7.cxx index 137aec6947ea..eaaaf285c4b8 100644 --- a/sc/source/core/data/documen7.cxx +++ b/sc/source/core/data/documen7.cxx @@ -18,6 +18,7 @@ */ #include <sal/log.hxx> +#include <osl/diagnose.h> #include <document.hxx> #include <brdcst.hxx> diff --git a/sc/source/core/data/documen8.cxx b/sc/source/core/data/documen8.cxx index 1008cdff14f5..98ba25af1811 100644 --- a/sc/source/core/data/documen8.cxx +++ b/sc/source/core/data/documen8.cxx @@ -37,6 +37,7 @@ #include <svl/zformat.hxx> #include <unotools/transliterationwrapper.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <vcl/svapp.hxx> #include <vcl/virdev.hxx> diff --git a/sc/source/core/data/documen9.cxx b/sc/source/core/data/documen9.cxx index ff5eb488f858..5c6defa59f40 100644 --- a/sc/source/core/data/documen9.cxx +++ b/sc/source/core/data/documen9.cxx @@ -25,6 +25,7 @@ #include <editeng/langitem.hxx> #include <o3tl/unit_conversion.hxx> #include <osl/thread.h> +#include <osl/diagnose.h> #include <svl/asiancfg.hxx> #include <svx/svditer.hxx> #include <svx/svdograf.hxx> diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index ba9cee894875..9755bd74c90e 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -32,6 +32,7 @@ #include <unotools/transliterationwrapper.hxx> #include <tools/urlobj.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <com/sun/star/text/WritingMode2.hpp> #include <com/sun/star/script/vba/XVBACompatibility.hpp> diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx index 8e74fb8d1686..551b3c7db899 100644 --- a/sc/source/core/data/drwlayer.cxx +++ b/sc/source/core/data/drwlayer.cxx @@ -53,6 +53,7 @@ #include <vcl/settings.hxx> #include <tools/globname.hxx> #include <tools/UnitConversion.hxx> +#include <osl/diagnose.h> #include <basegfx/polygon/b2dpolygon.hxx> #include <basegfx/polygon/b2dpolygontools.hxx> diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx index 0a2d84f7727b..0405a55a1cd9 100644 --- a/sc/source/core/data/fillinfo.cxx +++ b/sc/source/core/data/fillinfo.cxx @@ -24,6 +24,7 @@ #include <editeng/shaditem.hxx> #include <editeng/brushitem.hxx> #include <svx/framelink.hxx> +#include <osl/diagnose.h> #include <fillinfo.hxx> #include <document.hxx> diff --git a/sc/source/core/data/postit.cxx b/sc/source/core/data/postit.cxx index bafd2e9e901b..84633a640de8 100644 --- a/sc/source/core/data/postit.cxx +++ b/sc/source/core/data/postit.cxx @@ -28,6 +28,7 @@ #include <editeng/outlobj.hxx> #include <editeng/editobj.hxx> #include <basegfx/polygon/b2dpolygon.hxx> +#include <osl/diagnose.h> #include <scitems.hxx> #include <svx/xfillit0.hxx> diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx index f018bfc03d4d..79a33320358c 100644 --- a/sc/source/core/data/table1.cxx +++ b/sc/source/core/data/table1.cxx @@ -23,6 +23,7 @@ #include <o3tl/unit_conversion.hxx> #include <unotools/textsearch.hxx> #include <unotools/charclass.hxx> +#include <osl/diagnose.h> #include <patattr.hxx> #include <table.hxx> diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index 833b4edd13f7..a94d07bf5032 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -59,6 +59,7 @@ #include <editeng/editobj.hxx> #include <o3tl/safeint.hxx> #include <o3tl/unit_conversion.hxx> +#include <osl/diagnose.h> #include <svl/poolcach.hxx> #include <unotools/charclass.hxx> #include <math.h> diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx index 58a0594f63b8..e1df9cae6332 100644 --- a/sc/source/core/data/table3.cxx +++ b/sc/source/core/data/table3.cxx @@ -29,6 +29,7 @@ #include <com/sun/star/i18n/KParseTokens.hpp> #include <com/sun/star/i18n/KParseType.hpp> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <refdata.hxx> #include <table.hxx> diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx index e6c29a5a00e7..e3407715152f 100644 --- a/sc/source/core/data/table4.cxx +++ b/sc/source/core/data/table4.cxx @@ -27,6 +27,7 @@ #include <vcl/keycodes.hxx> #include <rtl/math.hxx> #include <unotools/charclass.hxx> +#include <osl/diagnose.h> #include <attrib.hxx> #include <patattr.hxx> diff --git a/sc/source/core/data/table5.cxx b/sc/source/core/data/table5.cxx index 21d2b11d8c6e..7af84bcd58dc 100644 --- a/sc/source/core/data/table5.cxx +++ b/sc/source/core/data/table5.cxx @@ -40,6 +40,8 @@ #include <com/sun/star/sheet/TablePageBreakData.hpp> +#include <osl/diagnose.h> + #include <algorithm> #include <limits> diff --git a/sc/source/core/data/table7.cxx b/sc/source/core/data/table7.cxx index fc821133ef65..6ec79a90fd98 100644 --- a/sc/source/core/data/table7.cxx +++ b/sc/source/core/data/table7.cxx @@ -20,6 +20,7 @@ #include <drwlayer.hxx> #include <compressedarray.hxx> +#include <osl/diagnose.h> #include <sal/log.hxx> #include <tools/stream.hxx> diff --git a/sc/source/core/tool/detfunc.cxx b/sc/source/core/tool/detfunc.cxx index 2b525e8c0891..fc5014440645 100644 --- a/sc/source/core/tool/detfunc.cxx +++ b/sc/source/core/tool/detfunc.cxx @@ -45,6 +45,7 @@ #include <svx/sdtagitm.hxx> #include <svx/sxcecitm.hxx> #include <svl/whiter.hxx> +#include <osl/diagnose.h> #include <basegfx/point/b2dpoint.hxx> #include <basegfx/polygon/b2dpolygontools.hxx> diff --git a/sc/source/filter/oox/drawingfragment.cxx b/sc/source/filter/oox/drawingfragment.cxx index 1f1f38b25c28..eb9b6627a120 100644 --- a/sc/source/filter/oox/drawingfragment.cxx +++ b/sc/source/filter/oox/drawingfragment.cxx @@ -44,6 +44,7 @@ #include <oox/token/tokens.hxx> #include <oox/vml/vmlshape.hxx> #include <oox/vml/vmlshapecontainer.hxx> +#include <osl/diagnose.h> #include <formulaparser.hxx> #include <stylesbuffer.hxx> #include <themebuffer.hxx> diff --git a/sc/source/filter/rtf/eeimpars.cxx b/sc/source/filter/rtf/eeimpars.cxx index db15c1560e10..14cdf76d7349 100644 --- a/sc/source/filter/rtf/eeimpars.cxx +++ b/sc/source/filter/rtf/eeimpars.cxx @@ -34,6 +34,7 @@ #include <vcl/svapp.hxx> #include <unotools/charclass.hxx> #include <comphelper/string.hxx> +#include <osl/diagnose.h> #include <eeimport.hxx> #include <global.hxx> diff --git a/sc/source/filter/xml/XMLCellRangeSourceContext.cxx b/sc/source/filter/xml/XMLCellRangeSourceContext.cxx index 572b696f2528..21774de12bb0 100644 --- a/sc/source/filter/xml/XMLCellRangeSourceContext.cxx +++ b/sc/source/filter/xml/XMLCellRangeSourceContext.cxx @@ -23,6 +23,7 @@ #include "xmlimprt.hxx" #include <xmloff/xmlnamespace.hxx> +#include <xmloff/xmltkmap.hxx> using namespace ::com::sun::star; using namespace xmloff::token; diff --git a/sc/source/filter/xml/celltextparacontext.cxx b/sc/source/filter/xml/celltextparacontext.cxx index 54981ed41bca..e2668dea28a5 100644 --- a/sc/source/filter/xml/celltextparacontext.cxx +++ b/sc/source/filter/xml/celltextparacontext.cxx @@ -13,6 +13,7 @@ #include <comphelper/string.hxx> #include <xmloff/xmlnamespace.hxx> +#include <xmloff/xmltkmap.hxx> using namespace com::sun::star; using namespace xmloff::token; diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx index 26d85c4768f4..638c2c5cba67 100644 --- a/sc/source/filter/xml/xmlcelli.cxx +++ b/sc/source/filter/xml/xmlcelli.cxx @@ -91,6 +91,7 @@ #include <com/sun/star/sheet/ValidationAlertStyle.hpp> #include <rtl/ustrbuf.hxx> +#include <osl/diagnose.h> #include <sal/log.hxx> #include <i18nlangtag/lang.h> diff --git a/sc/source/filter/xml/xmlcondformat.cxx b/sc/source/filter/xml/xmlcondformat.cxx index a1b54c036c30..996032f03498 100644 --- a/sc/source/filter/xml/xmlcondformat.cxx +++ b/sc/source/filter/xml/xmlcondformat.cxx @@ -11,6 +11,7 @@ #include "xmlcondformat.hxx" #include "xmlimprt.hxx" #include <xmloff/xmlnamespace.hxx> +#include <xmloff/xmltkmap.hxx> #include <xmloff/xmlictxt.hxx> #include <sal/log.hxx> diff --git a/sc/source/filter/xml/xmlnexpi.cxx b/sc/source/filter/xml/xmlnexpi.cxx index 00a72cfd9df5..3d4286985d61 100644 --- a/sc/source/filter/xml/xmlnexpi.cxx +++ b/sc/source/filter/xml/xmlnexpi.cxx @@ -22,6 +22,7 @@ #include <document.hxx> #include <xmloff/xmlnamespace.hxx> +#include <xmloff/xmltkmap.hxx> using namespace com::sun::star; using namespace xmloff::token; diff --git a/sc/source/ui/app/drwtrans.cxx b/sc/source/ui/app/drwtrans.cxx index e575a837ec87..19081a32e067 100644 --- a/sc/source/ui/app/drwtrans.cxx +++ b/sc/source/ui/app/drwtrans.cxx @@ -44,6 +44,7 @@ #include <svl/itempool.hxx> #include <svl/urlbmk.hxx> #include <tools/urlobj.hxx> +#include <osl/diagnose.h> #include <drwtrans.hxx> #include <docsh.hxx> diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx index c9b13dc709ae..64621cc72a0d 100644 --- a/sc/source/ui/app/inputhdl.cxx +++ b/sc/source/ui/app/inputhdl.cxx @@ -58,6 +58,7 @@ #include <formula/funcvarargs.h> #include <LibreOfficeKit/LibreOfficeKitEnums.h> #include <comphelper/lok.hxx> +#include <osl/diagnose.h> #include <attrib.hxx> #include <inputwin.hxx> diff --git a/sc/source/ui/app/seltrans.cxx b/sc/source/ui/app/seltrans.cxx index ce3624b27c85..7c50c1cf1b6f 100644 --- a/sc/source/ui/app/seltrans.cxx +++ b/sc/source/ui/app/seltrans.cxx @@ -25,6 +25,7 @@ #include <sfx2/docfile.hxx> #include <svx/svdograf.hxx> #include <svx/svdouno.hxx> +#include <osl/diagnose.h> #include <seltrans.hxx> #include <transobj.hxx> diff --git a/sc/source/ui/docshell/dbdocfun.cxx b/sc/source/ui/docshell/dbdocfun.cxx index 53492205dbd2..9ed3e0f41ff1 100644 --- a/sc/source/ui/docshell/dbdocfun.cxx +++ b/sc/source/ui/docshell/dbdocfun.cxx @@ -26,6 +26,7 @@ #include <com/sun/star/sdb/CommandType.hpp> #include <unotools/charclass.hxx> #include <comphelper/lok.hxx> +#include <osl/diagnose.h> #include <dbdocfun.hxx> #include <dbdata.hxx> diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx index e1498dd4424a..3a26bffadfa6 100644 --- a/sc/source/ui/docshell/docfunc.cxx +++ b/sc/source/ui/docshell/docfunc.cxx @@ -32,6 +32,7 @@ #include <svx/svdocapt.hxx> #include <sal/log.hxx> #include <unotools/charclass.hxx> +#include <osl/diagnose.h> #include <com/sun/star/container/XNameContainer.hpp> #include <com/sun/star/script/ModuleType.hpp> diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx index 37e1bc773859..8cb71adc0ac0 100644 --- a/sc/source/ui/docshell/docsh3.cxx +++ b/sc/source/ui/docshell/docsh3.cxx @@ -39,6 +39,7 @@ #include <vcl/svapp.hxx> #include <vcl/virdev.hxx> #include <vcl/weld.hxx> +#include <osl/diagnose.h> #include <docsh.hxx> #include "docshimp.hxx" diff --git a/sc/source/ui/docshell/documentlinkmgr.cxx b/sc/source/ui/docshell/documentlinkmgr.cxx index 842c1052bb45..3652df5cca0a 100644 --- a/sc/source/ui/docshell/documentlinkmgr.cxx +++ b/sc/source/ui/docshell/documentlinkmgr.cxx @@ -24,6 +24,8 @@ #include <webservicelink.hxx> #include <strings.hrc> #include <scresid.hxx> +#include <sfx2/linkmgr.hxx> +#include <sfx2/linksrc.hxx> #include <o3tl/deleter.hxx> #include <svx/svdoole2.hxx> #include <vcl/svapp.hxx> diff --git a/sc/source/ui/drawfunc/drawsh5.cxx b/sc/source/ui/drawfunc/drawsh5.cxx index bec44bcab4d3..94e87dd29d27 100644 --- a/sc/source/ui/drawfunc/drawsh5.cxx +++ b/sc/source/ui/drawfunc/drawsh5.cxx @@ -31,6 +31,7 @@ #include <svx/extrusionbar.hxx> #include <svx/fontworkbar.hxx> #include <sfx2/docfile.hxx> +#include <osl/diagnose.h> #include <com/sun/star/form/FormButtonType.hpp> #include <com/sun/star/beans/XPropertySet.hpp> diff --git a/sc/source/ui/drawfunc/fuconarc.cxx b/sc/source/ui/drawfunc/fuconarc.cxx index 5d85181eb300..95e5785868d0 100644 --- a/sc/source/ui/drawfunc/fuconarc.cxx +++ b/sc/source/ui/drawfunc/fuconarc.cxx @@ -25,6 +25,7 @@ #include <svx/svdocirc.hxx> #include <svx/svxids.hrc> #include <svx/sxciaitm.hxx> +#include <osl/diagnose.h> FuConstArc::FuConstArc(ScTabViewShell& rViewSh, vcl::Window* pWin, ScDrawView* pViewP, SdrModel* pDoc, const SfxRequest& rReq) diff --git a/sc/source/ui/drawfunc/fuconpol.cxx b/sc/source/ui/drawfunc/fuconpol.cxx index bdb6807dcd56..712b12a2bddf 100644 --- a/sc/source/ui/drawfunc/fuconpol.cxx +++ b/sc/source/ui/drawfunc/fuconpol.cxx @@ -24,6 +24,7 @@ // Create default drawing objects via keyboard #include <svx/svdopath.hxx> #include <svx/svxids.hrc> +#include <osl/diagnose.h> #include <basegfx/polygon/b2dpolygon.hxx> #include <basegfx/point/b2dpoint.hxx> diff --git a/sc/source/ui/drawfunc/fuconrec.cxx b/sc/source/ui/drawfunc/fuconrec.cxx index 3ef1a03752cb..2a927f999164 100644 --- a/sc/source/ui/drawfunc/fuconrec.cxx +++ b/sc/source/ui/drawfunc/fuconrec.cxx @@ -34,6 +34,7 @@ #include <svx/xlnstit.hxx> #include <svx/dialmgr.hxx> #include <svx/svdomeas.hxx> +#include <osl/diagnose.h> #include <basegfx/polygon/b2dpolygontools.hxx> #include <basegfx/polygon/b2dpolygon.hxx> diff --git a/sc/source/ui/drawfunc/futext.cxx b/sc/source/ui/drawfunc/futext.cxx index 30ab23371d2f..8174506255a7 100644 --- a/sc/source/ui/drawfunc/futext.cxx +++ b/sc/source/ui/drawfunc/futext.cxx @@ -31,6 +31,7 @@ #include <svx/svxids.hrc> #include <editeng/eeitem.hxx> #include <svl/itemset.hxx> +#include <osl/diagnose.h> #include <futext.hxx> #include <drwlayer.hxx> diff --git a/sc/source/ui/drawfunc/futext3.cxx b/sc/source/ui/drawfunc/futext3.cxx index 8411f75f62ed..df601ea0d35c 100644 --- a/sc/source/ui/drawfunc/futext3.cxx +++ b/sc/source/ui/drawfunc/futext3.cxx @@ -20,6 +20,7 @@ #include <svx/svdocapt.hxx> #include <svx/svdundo.hxx> #include <vcl/cursor.hxx> +#include <osl/diagnose.h> #include <global.hxx> #include <drwlayer.hxx> diff --git a/sc/source/ui/inc/ChildWindowWrapper.hxx b/sc/source/ui/inc/ChildWindowWrapper.hxx index 572a76c32bb4..7db2b99c53a4 100644 --- a/sc/source/ui/inc/ChildWindowWrapper.hxx +++ b/sc/source/ui/inc/ChildWindowWrapper.hxx @@ -13,6 +13,7 @@ #include <sfx2/dispatch.hxx> #include <sfx2/viewfrm.hxx> #include <sfx2/childwin.hxx> +#include <osl/diagnose.h> #include "tabvwsh.hxx" diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx index a30218118bcc..6738eb79bd06 100644 --- a/sc/source/ui/miscdlgs/anyrefdg.cxx +++ b/sc/source/ui/miscdlgs/anyrefdg.cxx @@ -24,6 +24,7 @@ #include <sfx2/bindings.hxx> #include <sfx2/dispatch.hxx> #include <sfx2/viewfrm.hxx> +#include <osl/diagnose.h> #include <anyrefdg.hxx> #include <sc.hrc> diff --git a/sc/source/ui/miscdlgs/conflictsdlg.cxx b/sc/source/ui/miscdlgs/conflictsdlg.cxx index 577706782e98..d1be90274f5f 100644 --- a/sc/source/ui/miscdlgs/conflictsdlg.cxx +++ b/sc/source/ui/miscdlgs/conflictsdlg.cxx @@ -18,6 +18,7 @@ */ #include <comphelper/string.hxx> +#include <osl/diagnose.h> #include <conflictsdlg.hxx> #include <strings.hrc> diff --git a/sc/source/ui/miscdlgs/datafdlg.cxx b/sc/source/ui/miscdlgs/datafdlg.cxx index c357718c2a53..0ed421cba831 100644 --- a/sc/source/ui/miscdlgs/datafdlg.cxx +++ b/sc/source/ui/miscdlgs/datafdlg.cxx @@ -15,6 +15,7 @@ #include <tabvwsh.hxx> #include <vcl/svapp.hxx> +#include <osl/diagnose.h> ScDataFormDlg::ScDataFormDlg(weld::Window* pParent, ScTabViewShell* pTabViewShellOri) : GenericDialogController(pParent, "modules/scalc/ui/dataform.ui", "DataFormDialog") diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx index 6a08e44b2186..2ede5b43cd36 100644 --- a/sc/source/ui/navipi/content.cxx +++ b/sc/source/ui/navipi/content.cxx @@ -29,6 +29,7 @@ #include <sfx2/viewfrm.hxx> #include <vcl/commandevent.hxx> #include <vcl/svapp.hxx> +#include <osl/diagnose.h> #include <tools/urlobj.hxx> #include <sal/log.hxx> #include <unotools/charclass.hxx> diff --git a/sc/source/ui/optdlg/tpusrlst.cxx b/sc/source/ui/optdlg/tpusrlst.cxx index 33f5bad417a7..0dc4692645d9 100644 --- a/sc/source/ui/optdlg/tpusrlst.cxx +++ b/sc/source/ui/optdlg/tpusrlst.cxx @@ -23,6 +23,7 @@ #include <tools/lineend.hxx> #include <vcl/svapp.hxx> #include <vcl/weld.hxx> +#include <osl/diagnose.h> #include <global.hxx> #include <document.hxx> diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx index 919d2b467582..6706b19adc0b 100644 --- a/sc/source/ui/undo/undoblk.cxx +++ b/sc/source/ui/undo/undoblk.cxx @@ -22,6 +22,7 @@ #include <editeng/boxitem.hxx> #include <sfx2/app.hxx> #include <comphelper/lok.hxx> +#include <osl/diagnose.h> #include <undoblk.hxx> #include <undoutil.hxx> diff --git a/sc/source/ui/undo/undoblk3.cxx b/sc/source/ui/undo/undoblk3.cxx index 917fc67e3511..40f57412f960 100644 --- a/sc/source/ui/undo/undoblk3.cxx +++ b/sc/source/ui/undo/undoblk3.cxx @@ -29,6 +29,7 @@ #include <vcl/virdev.hxx> #include <sfx2/app.hxx> #include <svx/svdundo.hxx> +#include <osl/diagnose.h> #include <undoblk.hxx> #include <globstr.hrc> diff --git a/sc/source/ui/undo/undocell.cxx b/sc/source/ui/undo/undocell.cxx index 2e82399c879e..ce503934fe70 100644 --- a/sc/source/ui/undo/undocell.cxx +++ b/sc/source/ui/undo/undocell.cxx @@ -23,6 +23,7 @@ #include <editeng/editobj.hxx> #include <sfx2/app.hxx> #include <comphelper/lok.hxx> +#include <osl/diagnose.h> #include <document.hxx> #include <docpool.hxx> diff --git a/sc/source/ui/undo/undodat.cxx b/sc/source/ui/undo/undodat.cxx index c3a9476d7804..cd92934d1b6c 100644 --- a/sc/source/ui/undo/undodat.cxx +++ b/sc/source/ui/undo/undodat.cxx @@ -20,6 +20,7 @@ #include <sfx2/app.hxx> #include <svx/svdundo.hxx> #include <unotools/charclass.hxx> +#include <osl/diagnose.h> #include <undodat.hxx> #include <undoutil.hxx> diff --git a/sc/source/ui/undo/undotab.cxx b/sc/source/ui/undo/undotab.cxx index 0002fefa1ccb..51596baf9d42 100644 --- a/sc/source/ui/undo/undotab.cxx +++ b/sc/source/ui/undo/undotab.cxx @@ -21,6 +21,7 @@ #include <sfx2/bindings.hxx> #include <sfx2/dispatch.hxx> #include <svl/hint.hxx> +#include <osl/diagnose.h> #include <undotab.hxx> #include <document.hxx> diff --git a/sc/source/ui/undo/undoutil.cxx b/sc/source/ui/undo/undoutil.cxx index 76789b8b7857..fc0e71b69db5 100644 --- a/sc/source/ui/undo/undoutil.cxx +++ b/sc/source/ui/undo/undoutil.cxx @@ -26,6 +26,7 @@ #include <globalnames.hxx> #include <global.hxx> #include <markdata.hxx> +#include <osl/diagnose.h> void ScUndoUtil::MarkSimpleBlock( const ScDocShell* pDocShell, SCCOL nStartX, SCROW nStartY, SCTAB nStartZ, diff --git a/sc/source/ui/view/auditsh.cxx b/sc/source/ui/view/auditsh.cxx index 3c366490de59..42f01761bd25 100644 --- a/sc/source/ui/view/auditsh.cxx +++ b/sc/source/ui/view/auditsh.cxx @@ -22,6 +22,7 @@ #include <sfx2/objsh.hxx> #include <sfx2/request.hxx> #include <vcl/EnumContext.hxx> +#include <osl/diagnose.h> #include <auditsh.hxx> #include <tabvwsh.hxx> diff --git a/sc/source/ui/view/cellsh4.cxx b/sc/source/ui/view/cellsh4.cxx index fb4b303e0833..13d6993634dd 100644 --- a/sc/source/ui/view/cellsh4.cxx +++ b/sc/source/ui/view/cellsh4.cxx @@ -18,6 +18,7 @@ */ #include <sfx2/request.hxx> +#include <osl/diagnose.h> #include <cellsh.hxx> #include <tabvwsh.hxx> diff --git a/sc/source/ui/view/dbfunc.cxx b/sc/source/ui/view/dbfunc.cxx index 8f9f8e3a52a2..82fb4f7f64a2 100644 --- a/sc/source/ui/view/dbfunc.cxx +++ b/sc/source/ui/view/dbfunc.cxx @@ -22,6 +22,7 @@ #include <vcl/svapp.hxx> #include <vcl/weld.hxx> #include <unotools/charclass.hxx> +#include <osl/diagnose.h> #include <dbfunc.hxx> #include <docsh.hxx> diff --git a/sc/source/ui/view/dbfunc3.cxx b/sc/source/ui/view/dbfunc3.cxx index 8bb263b71530..3ca2bb5e7fe5 100644 --- a/sc/source/ui/view/dbfunc3.cxx +++ b/sc/source/ui/view/dbfunc3.cxx @@ -62,6 +62,7 @@ #include <sortparam.hxx> #include <comphelper/lok.hxx> +#include <osl/diagnose.h> #include <memory> #include <string_view> diff --git a/sc/source/ui/view/dbfunc4.cxx b/sc/source/ui/view/dbfunc4.cxx index c8a6f48d0452..9f6719f9c01b 100644 --- a/sc/source/ui/view/dbfunc4.cxx +++ b/sc/source/ui/view/dbfunc4.cxx @@ -20,6 +20,7 @@ #include <svx/svditer.hxx> #include <svx/svdoole2.hxx> #include <svx/svdpage.hxx> +#include <osl/diagnose.h> #include <dbfunc.hxx> #include <drwlayer.hxx> diff --git a/sc/source/ui/view/drawvie4.cxx b/sc/source/ui/view/drawvie4.cxx index b7d7af5fcc48..cd1851d81082 100644 --- a/sc/source/ui/view/drawvie4.cxx +++ b/sc/source/ui/view/drawvie4.cxx @@ -26,6 +26,7 @@ #include <tools/urlobj.hxx> #include <toolkit/helper/vclunohelper.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <drawview.hxx> #include <global.hxx> diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx index a1efca1748e4..9d23c064664f 100644 --- a/sc/source/ui/view/drawview.cxx +++ b/sc/source/ui/view/drawview.cxx @@ -42,6 +42,7 @@ #include <svx/sdr/contact/viewcontact.hxx> #include <svx/sdrpagewindow.hxx> #include <tools/UnitConversion.hxx> +#include <osl/diagnose.h> #include <drawview.hxx> #include <global.hxx> diff --git a/sc/source/ui/view/gridwin3.cxx b/sc/source/ui/view/gridwin3.cxx index 948f388ca866..cb8bc5393dc3 100644 --- a/sc/source/ui/view/gridwin3.cxx +++ b/sc/source/ui/view/gridwin3.cxx @@ -22,6 +22,7 @@ #include <editeng/sizeitem.hxx> #include <sfx2/bindings.hxx> #include <svl/ptitem.hxx> +#include <osl/diagnose.h> #include <tabvwsh.hxx> #include <gridwin.hxx> diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx index 7dde48a0e4dc..d12ccee4f779 100644 --- a/sc/source/ui/view/gridwin4.cxx +++ b/sc/source/ui/view/gridwin4.cxx @@ -30,6 +30,7 @@ #include <vcl/cursor.hxx> #include <vcl/settings.hxx> #include <o3tl/unit_conversion.hxx> +#include <osl/diagnose.h> #include <LibreOfficeKit/LibreOfficeKitEnums.h> #include <comphelper/lok.hxx> diff --git a/sc/source/ui/view/hdrcont.cxx b/sc/source/ui/view/hdrcont.cxx index 50199cf790dd..34ebc328eb82 100644 --- a/sc/source/ui/view/hdrcont.cxx +++ b/sc/source/ui/view/hdrcont.cxx @@ -22,6 +22,7 @@ #include <vcl/help.hxx> #include <vcl/settings.hxx> #include <svtools/colorcfg.hxx> +#include <osl/diagnose.h> #include <tabvwsh.hxx> #include <hdrcont.hxx> diff --git a/sc/source/ui/view/olinewin.cxx b/sc/source/ui/view/olinewin.cxx index 60cac1a63773..97b7682d8fad 100644 --- a/sc/source/ui/view/olinewin.cxx +++ b/sc/source/ui/view/olinewin.cxx @@ -24,6 +24,7 @@ #include <vcl/image.hxx> #include <vcl/taskpanelist.hxx> #include <vcl/settings.hxx> +#include <osl/diagnose.h> #include <olinewin.hxx> #include <olinetab.hxx> diff --git a/sc/source/ui/view/output3.cxx b/sc/source/ui/view/output3.cxx index 47730c9b3cd2..eec75c39664d 100644 --- a/sc/source/ui/view/output3.cxx +++ b/sc/source/ui/view/output3.cxx @@ -25,6 +25,7 @@ #include <svx/svdview.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> +#include <osl/diagnose.h> #include <output.hxx> #include <drwlayer.hxx> diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx index 467ec9f43b73..3828c031cc3c 100644 --- a/sc/source/ui/view/printfun.cxx +++ b/sc/source/ui/view/printfun.cxx @@ -41,6 +41,7 @@ #include <tools/multisel.hxx> #include <sfx2/docfile.hxx> #include <tools/urlobj.hxx> +#include <osl/diagnose.h> #include <editutil.hxx> #include <docsh.hxx> diff --git a/sc/source/ui/view/select.cxx b/sc/source/ui/view/select.cxx index 89baed62a9f5..c2433e57c277 100644 --- a/sc/source/ui/view/select.cxx +++ b/sc/source/ui/view/select.cxx @@ -19,6 +19,7 @@ #include <tools/urlobj.hxx> #include <sfx2/docfile.hxx> +#include <osl/diagnose.h> #include <select.hxx> #include <tabvwsh.hxx> diff --git a/sc/source/ui/view/spelldialog.cxx b/sc/source/ui/view/spelldialog.cxx index 894157e578e1..aa535aca0aa2 100644 --- a/sc/source/ui/view/spelldialog.cxx +++ b/sc/source/ui/view/spelldialog.cxx @@ -25,6 +25,7 @@ #include <editeng/editview.hxx> #include <editeng/unolingu.hxx> #include <selectionstate.hxx> +#include <osl/diagnose.h> #include <spelleng.hxx> #include <tabvwsh.hxx> diff --git a/sc/source/ui/view/spelleng.cxx b/sc/source/ui/view/spelleng.cxx index 23b09806c98b..c9285866485a 100644 --- a/sc/source/ui/view/spelleng.cxx +++ b/sc/source/ui/view/spelleng.cxx @@ -29,6 +29,7 @@ #include <vcl/settings.hxx> #include <vcl/svapp.hxx> #include <vcl/weld.hxx> +#include <osl/diagnose.h> #include <spelldialog.hxx> #include <tabvwsh.hxx> diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx index 7e7368548f9a..f4581d394dd0 100644 --- a/sc/source/ui/view/tabview.cxx +++ b/sc/source/ui/view/tabview.cxx @@ -50,6 +50,7 @@ #include <spellcheckcontext.hxx> #include <comphelper/lok.hxx> #include <sfx2/lokhelper.hxx> +#include <osl/diagnose.h> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> diff --git a/sc/source/ui/view/tabview2.cxx b/sc/source/ui/view/tabview2.cxx index 787aa64fea71..0ec66ee6eb3c 100644 --- a/sc/source/ui/view/tabview2.cxx +++ b/sc/source/ui/view/tabview2.cxx @@ -21,6 +21,7 @@ #include <vcl/svapp.hxx> #include <vcl/weld.hxx> #include <sfx2/bindings.hxx> +#include <osl/diagnose.h> #include <attrib.hxx> #include <pagedata.hxx> diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx index 46dea5fb338d..94ac00f7187b 100644 --- a/sc/source/ui/view/tabview3.cxx +++ b/sc/source/ui/view/tabview3.cxx @@ -31,6 +31,7 @@ #include <vcl/uitest/logger.hxx> #include <vcl/uitest/eventdescription.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <IAnyRefDialog.hxx> #include <tabview.hxx> diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx index 8f5963b9a189..d2158ebe6529 100644 --- a/sc/source/ui/view/tabview5.cxx +++ b/sc/source/ui/view/tabview5.cxx @@ -26,6 +26,7 @@ #include <sfx2/lokhelper.hxx> #include <sfx2/objsh.hxx> #include <sfx2/viewfrm.hxx> +#include <osl/diagnose.h> #include <tabview.hxx> #include <tabvwsh.hxx> diff --git a/sc/source/ui/view/tabvwsh5.cxx b/sc/source/ui/view/tabvwsh5.cxx index 948cfd5d5328..668e10aae8f3 100644 --- a/sc/source/ui/view/tabvwsh5.cxx +++ b/sc/source/ui/view/tabvwsh5.cxx @@ -26,6 +26,7 @@ #include <sfx2/dispatch.hxx> #include <sfx2/objsh.hxx> #include <sfx2/viewfrm.hxx> +#include <osl/diagnose.h> #include <tabvwsh.hxx> #include <global.hxx> diff --git a/sc/source/ui/view/tabvwshe.cxx b/sc/source/ui/view/tabvwshe.cxx index 51489544ade8..84b883a25924 100644 --- a/sc/source/ui/view/tabvwshe.cxx +++ b/sc/source/ui/view/tabvwshe.cxx @@ -20,6 +20,7 @@ #include <comphelper/string.hxx> #include <comphelper/lok.hxx> #include <editeng/eeitem.hxx> +#include <osl/diagnose.h> #include <editeng/editview.hxx> #include <editeng/flditem.hxx> diff --git a/sc/source/ui/view/tabvwshg.cxx b/sc/source/ui/view/tabvwshg.cxx index fa939bb6317c..26d67585301b 100644 --- a/sc/source/ui/view/tabvwshg.cxx +++ b/sc/source/ui/view/tabvwshg.cxx @@ -24,6 +24,7 @@ #include <svx/svdouno.hxx> #include <sfx2/objsh.hxx> #include <sfx2/docfile.hxx> +#include <osl/diagnose.h> #include <com/sun/star/form/FormButtonType.hpp> #include <com/sun/star/beans/XPropertySet.hpp> diff --git a/sc/source/ui/view/tabvwshh.cxx b/sc/source/ui/view/tabvwshh.cxx index f178175046fd..8eb262187b0e 100644 --- a/sc/source/ui/view/tabvwshh.cxx +++ b/sc/source/ui/view/tabvwshh.cxx @@ -29,6 +29,7 @@ #include <svl/stritem.hxx> #include <svl/whiter.hxx> #include <vcl/svapp.hxx> +#include <osl/diagnose.h> #include <tabvwsh.hxx> #include <document.hxx> diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx index 112226405232..43021d09c02d 100644 --- a/sc/source/ui/view/viewfun2.cxx +++ b/sc/source/ui/view/viewfun2.cxx @@ -39,6 +39,7 @@ #include <vcl/svapp.hxx> #include <vcl/weld.hxx> #include <vcl/waitobj.hxx> +#include <osl/diagnose.h> #include <viewfunc.hxx> #include <vcl/uitest/logger.hxx> diff --git a/sc/source/ui/view/viewfun3.cxx b/sc/source/ui/view/viewfun3.cxx index e6439ffc04b9..db5987e8b2a8 100644 --- a/sc/source/ui/view/viewfun3.cxx +++ b/sc/source/ui/view/viewfun3.cxx @@ -32,6 +32,7 @@ #include <vcl/uitest/logger.hxx> #include <vcl/uitest/eventdescription.hxx> #include <vcl/TypeSerializer.hxx> +#include <osl/diagnose.h> #include <attrib.hxx> #include <patattr.hxx> diff --git a/sc/source/ui/view/viewfun4.cxx b/sc/source/ui/view/viewfun4.cxx index 8b09321620c4..c151099b098f 100644 --- a/sc/source/ui/view/viewfun4.cxx +++ b/sc/source/ui/view/viewfun4.cxx @@ -44,6 +44,7 @@ #include <vcl/svapp.hxx> #include <vcl/weld.hxx> #include <avmedia/mediawindow.hxx> +#include <osl/diagnose.h> #include <comphelper/storagehelper.hxx> diff --git a/sc/source/ui/view/viewfun7.cxx b/sc/source/ui/view/viewfun7.cxx index d58c4300a684..9dafd25a64a1 100644 --- a/sc/source/ui/view/viewfun7.cxx +++ b/sc/source/ui/view/viewfun7.cxx @@ -32,6 +32,7 @@ #include <sfx2/ipclient.hxx> #include <toolkit/helper/vclunohelper.hxx> #include <com/sun/star/embed/Aspects.hpp> +#include <osl/diagnose.h> #include <document.hxx> #include <viewfunc.hxx> diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx index 8e20a8348678..bef26c640673 100644 --- a/sc/source/ui/view/viewfunc.cxx +++ b/sc/source/ui/view/viewfunc.cxx @@ -39,6 +39,7 @@ #include <unotools/charclass.hxx> #include <vcl/uitest/logger.hxx> #include <vcl/uitest/eventdescription.hxx> +#include <osl/diagnose.h> #include <viewfunc.hxx> #include <tabvwsh.hxx> diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx index 22431385ea17..a55c9b61f023 100644 --- a/sd/qa/unit/import-tests.cxx +++ b/sd/qa/unit/import-tests.cxx @@ -91,6 +91,7 @@ #include <comphelper/sequenceashashmap.hxx> #include <comphelper/graphicmimetype.hxx> #include <comphelper/lok.hxx> +#include <sfx2/linkmgr.hxx> #include <vcl/filter/PngImageReader.hxx> #include <vcl/BitmapReadAccess.hxx> #include <vcl/dibtools.hxx> diff --git a/sd/source/core/shapelist.cxx b/sd/source/core/shapelist.cxx index 879302f5fa43..0991cc464a57 100644 --- a/sd/source/core/shapelist.cxx +++ b/sd/source/core/shapelist.cxx @@ -18,6 +18,7 @@ */ #include <svx/svdobj.hxx> +#include <osl/diagnose.h> #include <shapelist.hxx> #include <algorithm> diff --git a/sd/source/filter/pdf/sdpdffilter.cxx b/sd/source/filter/pdf/sdpdffilter.cxx index c34fa1bc78a6..efa0a0bce0b5 100644 --- a/sd/source/filter/pdf/sdpdffilter.cxx +++ b/sd/source/filter/pdf/sdpdffilter.cxx @@ -21,6 +21,7 @@ #include <sfx2/docfile.hxx> #include <svx/svdograf.hxx> +#include <o3tl/safeint.hxx> #include <sdpage.hxx> #include <drawdoc.hxx> diff --git a/sd/source/filter/ppt/ppt97animations.cxx b/sd/source/filter/ppt/ppt97animations.cxx index cc0b37afd913..7c623020c0a0 100644 --- a/sd/source/filter/ppt/ppt97animations.cxx +++ b/sd/source/filter/ppt/ppt97animations.cxx @@ -24,6 +24,7 @@ #include <tools/stream.hxx> #include <svx/unoapi.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <CustomAnimationPreset.hxx> #include <com/sun/star/presentation/TextAnimationType.hpp> #include <com/sun/star/presentation/EffectNodeType.hpp> diff --git a/sd/source/filter/ppt/pptinanimations.cxx b/sd/source/filter/ppt/pptinanimations.cxx index 02afa719863d..48f354a67a1d 100644 --- a/sd/source/filter/ppt/pptinanimations.cxx +++ b/sd/source/filter/ppt/pptinanimations.cxx @@ -57,6 +57,7 @@ #include <rtl/ustrbuf.hxx> #include <rtl/math.hxx> #include <tools/debug.hxx> +#include <osl/diagnose.h> #include <svx/svdotext.hxx> #include <editeng/outlobj.hxx> diff --git a/sd/source/ui/app/optsitem.cxx b/sd/source/ui/app/optsitem.cxx index a9fcbc511f79..a5eb94e7d739 100644 --- a/sd/source/ui/app/optsitem.cxx +++ b/sd/source/ui/app/optsitem.cxx @@ -26,6 +26,7 @@ #include <tools/helpers.hxx> #include <unotools/localedatawrapper.hxx> #include <unotools/syslocale.hxx> +#include <osl/diagnose.h> #include <optsitem.hxx> #include <FrameView.hxx> diff --git a/sd/source/ui/app/sdmod2.cxx b/sd/source/ui/app/sdmod2.cxx index 2ea60b588ef9..20ff418808df 100644 --- a/sd/source/ui/app/sdmod2.cxx +++ b/sd/source/ui/app/sdmod2.cxx @@ -28,6 +28,7 @@ #include <sfx2/bindings.hxx> #include <sfx2/viewfrm.hxx> #include <sfx2/docfile.hxx> +#include <osl/diagnose.h> #include <editeng/measfld.hxx> #include <editeng/editstat.hxx> diff --git a/sd/source/ui/dlg/masterlayoutdlg.cxx b/sd/source/ui/dlg/masterlayoutdlg.cxx index d5bac1c6a328..ce4e069b0737 100644 --- a/sd/source/ui/dlg/masterlayoutdlg.cxx +++ b/sd/source/ui/dlg/masterlayoutdlg.cxx @@ -20,6 +20,7 @@ #include <masterlayoutdlg.hxx> #include <drawdoc.hxx> #include <sdpage.hxx> +#include <osl/diagnose.h> using namespace ::sd; diff --git a/sd/source/ui/dlg/tpaction.cxx b/sd/source/ui/dlg/tpaction.cxx index d782010fd87a..63fd24cb91aa 100644 --- a/sd/source/ui/dlg/tpaction.cxx +++ b/sd/source/ui/dlg/tpaction.cxx @@ -44,6 +44,7 @@ #include <svl/urihelper.hxx> #include <sfx2/filedlghelper.hxx> #include <svx/drawitem.hxx> +#include <osl/diagnose.h> #include <View.hxx> #include <sdresid.hxx> #include <tpaction.hxx> diff --git a/sd/source/ui/func/fuconarc.cxx b/sd/source/ui/func/fuconarc.cxx index 093d0a70f916..d0370457f869 100644 --- a/sd/source/ui/func/fuconarc.cxx +++ b/sd/source/ui/func/fuconarc.cxx @@ -25,6 +25,7 @@ #include <sfx2/dispatch.hxx> #include <svx/svdobj.hxx> #include <sfx2/viewfrm.hxx> +#include <osl/diagnose.h> #include <svx/svxids.hrc> diff --git a/sd/source/ui/func/fuconbez.cxx b/sd/source/ui/func/fuconbez.cxx index ee7099819bdf..f88c0d6bf463 100644 --- a/sd/source/ui/func/fuconbez.cxx +++ b/sd/source/ui/func/fuconbez.cxx @@ -27,6 +27,7 @@ #include <sfx2/bindings.hxx> #include <sfx2/request.hxx> #include <sfx2/viewfrm.hxx> +#include <osl/diagnose.h> #include <svx/svxids.hrc> #include <svx/svdpagv.hxx> diff --git a/sd/source/ui/func/fuconrec.cxx b/sd/source/ui/func/fuconrec.cxx index 0d303efaedf5..26be546af0c9 100644 --- a/sd/source/ui/func/fuconrec.cxx +++ b/sd/source/ui/func/fuconrec.cxx @@ -60,6 +60,7 @@ #include <basegfx/polygon/b2dpolygon.hxx> #include <svx/xfillit0.hxx> #include <svx/signaturelinehelper.hxx> +#include <osl/diagnose.h> #include <sdresid.hxx> #include <View.hxx> diff --git a/sd/source/ui/func/futext.cxx b/sd/source/ui/func/futext.cxx index be5a00c89c44..11e97a3bc7ed 100644 --- a/sd/source/ui/func/futext.cxx +++ b/sd/source/ui/func/futext.cxx @@ -43,6 +43,7 @@ #include <svx/sdr/overlay/overlaymanager.hxx> #include <sfx2/docfile.hxx> #include <editeng/outlobj.hxx> +#include <osl/diagnose.h> #include <editeng/frmdiritem.hxx> diff --git a/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx b/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx index 3a7f691ad804..fbad335c4b26 100644 --- a/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx +++ b/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx @@ -28,6 +28,7 @@ #include "MasterPageDescriptor.hxx" #include <EventMultiplexer.hxx> #include <DrawDocShell.hxx> +#include <osl/diagnose.h> #include <helpids.h> diff --git a/sd/source/ui/sidebar/MasterPageContainer.cxx b/sd/source/ui/sidebar/MasterPageContainer.cxx index db070d25bb4c..a37b3b6ddeb0 100644 --- a/sd/source/ui/sidebar/MasterPageContainer.cxx +++ b/sd/source/ui/sidebar/MasterPageContainer.cxx @@ -45,6 +45,7 @@ #include <osl/getglobalmutex.hxx> #include <xmloff/autolayout.hxx> #include <tools/debug.hxx> +#include <osl/diagnose.h> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx index e79112d06743..025eb7fab554 100644 --- a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx +++ b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx @@ -19,6 +19,7 @@ #include <controller/SlsAnimator.hxx> #include <view/SlideSorterView.hxx> +#include <osl/diagnose.h> namespace sd::slidesorter::controller { diff --git a/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx b/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx index 538187cdfb8a..c07bbe5b4363 100644 --- a/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx @@ -32,6 +32,7 @@ #include <FrameView.hxx> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/frame/XController.hpp> +#include <osl/diagnose.h> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sd/source/ui/slidesorter/controller/SlsFocusManager.cxx b/sd/source/ui/slidesorter/controller/SlsFocusManager.cxx index 1c7be02427b8..59027f5a8177 100644 --- a/sd/source/ui/slidesorter/controller/SlsFocusManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsFocusManager.cxx @@ -27,6 +27,7 @@ #include <model/SlsPageDescriptor.hxx> #include <view/SlideSorterView.hxx> #include <view/SlsLayouter.hxx> +#include <osl/diagnose.h> #include <Window.hxx> #include <sdpage.hxx> diff --git a/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx b/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx index 7c89c89dc925..afa802fec852 100644 --- a/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx +++ b/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx @@ -25,6 +25,7 @@ #include <model/SlideSorterModel.hxx> #include <model/SlsPageEnumerationProvider.hxx> #include <com/sun/star/datatransfer/dnd/DNDConstants.hpp> +#include <osl/diagnose.h> #include <SlideSorter.hxx> diff --git a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx index df639ae41d48..9854f900c964 100644 --- a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx +++ b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx @@ -28,6 +28,7 @@ #include <model/SlsPageEnumerationProvider.hxx> #include <model/SlideSorterModel.hxx> #include <view/SlideSorterView.hxx> +#include <osl/diagnose.h> #include <sdpage.hxx> #include <tools/debug.hxx> diff --git a/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx b/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx index ce1a843f42a0..c3e4b74ff761 100644 --- a/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx @@ -29,6 +29,7 @@ #include <view/SlsLayouter.hxx> #include <Window.hxx> #include <sdpage.hxx> +#include <osl/diagnose.h> #include <vcl/scrbar.hxx> diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx index e3daba4d98b3..27cabfefd921 100644 --- a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx @@ -41,6 +41,7 @@ #include <view/SlideSorterView.hxx> #include <view/SlsLayouter.hxx> #include <framework/FrameworkHelper.hxx> +#include <osl/diagnose.h> #include <Window.hxx> #include <sdpage.hxx> #include <drawdoc.hxx> diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx index ea2cc281f01f..952303c67db1 100644 --- a/sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSelectionObserver.cxx @@ -24,6 +24,7 @@ #include <controller/SlsPageSelector.hxx> #include <controller/SlsFocusManager.hxx> #include <sdpage.hxx> +#include <osl/diagnose.h> namespace sd::slidesorter::controller { diff --git a/sd/source/ui/slidesorter/view/SlideSorterView.cxx b/sd/source/ui/slidesorter/view/SlideSorterView.cxx index f13aa1b7eb09..c56bd41cff83 100644 --- a/sd/source/ui/slidesorter/view/SlideSorterView.cxx +++ b/sd/source/ui/slidesorter/view/SlideSorterView.cxx @@ -41,6 +41,7 @@ #include <Window.hxx> #include <comphelper/lok.hxx> +#include <osl/diagnose.h> #include <vcl/svapp.hxx> #include <vcl/scrbar.hxx> #include <vcl/settings.hxx> diff --git a/sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx b/sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx index 9bdefa2ef522..63f89b9ca1c1 100644 --- a/sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx +++ b/sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx @@ -25,6 +25,7 @@ #include <model/SlideSorterModel.hxx> #include <SlideSorter.hxx> #include <Window.hxx> +#include <osl/diagnose.h> #include <memory> #include <set> diff --git a/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx b/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx index 6dc956516269..be6ce4b3ef2c 100644 --- a/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx +++ b/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx @@ -31,6 +31,7 @@ #include <sdpage.hxx> #include <vcl/virdev.hxx> #include <CustomAnimationEffect.hxx> +#include <osl/diagnose.h> #include <memory> using namespace ::drawinglayer::primitive2d; diff --git a/sd/source/ui/slidesorter/view/SlsToolTip.cxx b/sd/source/ui/slidesorter/view/SlsToolTip.cxx index 374df4b6328e..fa24cbd4c94c 100644 --- a/sd/source/ui/slidesorter/view/SlsToolTip.cxx +++ b/sd/source/ui/slidesorter/view/SlsToolTip.cxx @@ -27,6 +27,7 @@ #include <sdresid.hxx> #include <strings.hrc> +#include <osl/diagnose.h> #include <vcl/settings.hxx> #include <vcl/help.hxx> diff --git a/sd/source/ui/view/FormShellManager.cxx b/sd/source/ui/view/FormShellManager.cxx index d780b0c4e0d1..c9126714cc24 100644 --- a/sd/source/ui/view/FormShellManager.cxx +++ b/sd/source/ui/view/FormShellManager.cxx @@ -26,6 +26,7 @@ #include <Window.hxx> #include <vcl/vclevent.hxx> #include <svx/fmshell.hxx> +#include <osl/diagnose.h> namespace sd { diff --git a/sd/source/ui/view/OutlinerIterator.cxx b/sd/source/ui/view/OutlinerIterator.cxx index c37c737023a8..e839e71b9ba4 100644 --- a/sd/source/ui/view/OutlinerIterator.cxx +++ b/sd/source/ui/view/OutlinerIterator.cxx @@ -21,6 +21,7 @@ #include <OutlinerIteratorImpl.hxx> #include <svx/svditer.hxx> #include <tools/debug.hxx> +#include <osl/diagnose.h> #include <Outliner.hxx> #include <drawdoc.hxx> diff --git a/sd/source/ui/view/ToolBarManager.cxx b/sd/source/ui/view/ToolBarManager.cxx index eb91e49ab928..413199c0e7d3 100644 --- a/sd/source/ui/view/ToolBarManager.cxx +++ b/sd/source/ui/view/ToolBarManager.cxx @@ -41,6 +41,7 @@ #include <tools/debug.hxx> #include <tools/link.hxx> #include <vcl/svapp.hxx> +#include <osl/diagnose.h> #include <map> #include <utility> diff --git a/sd/source/ui/view/ViewShellManager.cxx b/sd/source/ui/view/ViewShellManager.cxx index 08081f9b153e..0628fd865420 100644 --- a/sd/source/ui/view/ViewShellManager.cxx +++ b/sd/source/ui/view/ViewShellManager.cxx @@ -29,6 +29,7 @@ #include <svx/svxids.hrc> #include <svx/fmshell.hxx> #include <vcl/vclevent.hxx> +#include <osl/diagnose.h> #include <iterator> #include <list> diff --git a/sd/source/ui/view/drviewsb.cxx b/sd/source/ui/view/drviewsb.cxx index fb730f599da3..5bc741c91269 100644 --- a/sd/source/ui/view/drviewsb.cxx +++ b/sd/source/ui/view/drviewsb.cxx @@ -22,6 +22,7 @@ #include <sfx2/dispatch.hxx> #include <svx/fmshell.hxx> #include <svx/svxdlg.hxx> +#include <osl/diagnose.h> #include <app.hrc> diff --git a/sd/source/ui/view/frmview.cxx b/sd/source/ui/view/frmview.cxx index 691580927671..9729fe2d4b97 100644 --- a/sd/source/ui/view/frmview.cxx +++ b/sd/source/ui/view/frmview.cxx @@ -26,6 +26,7 @@ #include <unokywds.hxx> #include <vcl/settings.hxx> #include <vcl/svapp.hxx> +#include <osl/diagnose.h> #include <vector> #include <ViewShell.hxx> diff --git a/sd/source/ui/view/sdview3.cxx b/sd/source/ui/view/sdview3.cxx index 90a1f599d2fe..4bca10f3b797 100644 --- a/sd/source/ui/view/sdview3.cxx +++ b/sd/source/ui/view/sdview3.cxx @@ -45,6 +45,7 @@ #include <svx/svxids.hrc> #include <toolkit/helper/vclunohelper.hxx> #include <svtools/embedhlp.hxx> +#include <osl/diagnose.h> #include <DrawDocShell.hxx> #include <fupoor.hxx> #include <tablefunction.hxx> diff --git a/sd/source/ui/view/viewshe2.cxx b/sd/source/ui/view/viewshe2.cxx index 8d68fe58c017..818cc4e8d298 100644 --- a/sd/source/ui/view/viewshe2.cxx +++ b/sd/source/ui/view/viewshe2.cxx @@ -38,6 +38,7 @@ #include <svtools/sfxecode.hxx> #include <unotools/moduleoptions.hxx> #include <comphelper/classids.hxx> +#include <osl/diagnose.h> #include <strings.hrc> #include <app.hrc> diff --git a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx index a57021b37a19..292b25548aef 100644 --- a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx +++ b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx @@ -12,6 +12,7 @@ #include <sfx2/devtools/ObjectInspectorTreeHandler.hxx> #include <sfx2/sfxresid.hxx> +#include <vcl/svapp.hxx> #include "DevToolsStrings.hrc" #include <com/sun/star/beans/theIntrospection.hpp> diff --git a/svx/source/dialog/dialcontrol.cxx b/svx/source/dialog/dialcontrol.cxx index ff8f0eee1529..0a62215fd60e 100644 --- a/svx/source/dialog/dialcontrol.cxx +++ b/svx/source/dialog/dialcontrol.cxx @@ -18,6 +18,7 @@ */ #include <svx/dialcontrol.hxx> +#include <svx/svdtrans.hxx> #include <cmath> #include <vcl/virdev.hxx> #include <vcl/svapp.hxx> diff --git a/svx/source/dialog/imapdlg.cxx b/svx/source/dialog/imapdlg.cxx index c7769519c0e1..d0555edf6334 100644 --- a/svx/source/dialog/imapdlg.cxx +++ b/svx/source/dialog/imapdlg.cxx @@ -44,6 +44,7 @@ #include <svx/svdopath.hxx> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> +#include <osl/diagnose.h> #include "dlgunit.hxx" #include <memory> diff --git a/svx/source/form/fmmodel.cxx b/svx/source/form/fmmodel.cxx index 6d1f1a2c0cf6..e518319aab1e 100644 --- a/svx/source/form/fmmodel.cxx +++ b/svx/source/form/fmmodel.cxx @@ -27,6 +27,7 @@ #include <svx/fmpage.hxx> #include <sfx2/objsh.hxx> +#include <osl/diagnose.h> #include <optional> diff --git a/svx/source/form/fmpage.cxx b/svx/source/form/fmpage.cxx index 705d7f9e1e6a..c4f0bcad55f5 100644 --- a/svx/source/form/fmpage.cxx +++ b/svx/source/form/fmpage.cxx @@ -30,6 +30,7 @@ #include <tools/urlobj.hxx> #include <vcl/help.hxx> #include <vcl/window.hxx> +#include <osl/diagnose.h> #include <fmprop.hxx> diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx index ff100ee2ef95..1d388203a2a9 100644 --- a/svx/source/gallery2/galbrws2.cxx +++ b/svx/source/gallery2/galbrws2.cxx @@ -49,6 +49,7 @@ #include <map> #include <memory> #include <cppuhelper/implbase.hxx> +#include <osl/diagnose.h> GalleryBrowserMode GalleryBrowser2::meInitMode = GALLERYBROWSERMODE_ICON; diff --git a/svx/source/gallery2/galmisc.cxx b/svx/source/gallery2/galmisc.cxx index eb90fd0895d4..ed603c0de66e 100644 --- a/svx/source/gallery2/galmisc.cxx +++ b/svx/source/gallery2/galmisc.cxx @@ -40,6 +40,7 @@ #include <svx/strings.hrc> #include <svx/galtheme.hxx> #include <svx/galmisc.hxx> +#include <osl/diagnose.h> #include <com/sun/star/awt/XProgressMonitor.hpp> #include <com/sun/star/ucb/TransferInfo.hpp> #include <com/sun/star/ucb/NameClash.hpp> diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx index 07d5e529fbd0..b9ce64c36f17 100644 --- a/svx/source/gallery2/galtheme.cxx +++ b/svx/source/gallery2/galtheme.cxx @@ -40,6 +40,7 @@ #include <svx/galtheme.hxx> #include <svx/svdpage.hxx> #include <svx/galleryobjectcollection.hxx> +#include <svx/galleryobjectbinarystorage.hxx> #include <galobj.hxx> #include <svx/gallery1.hxx> #include "gallerydrawmodel.hxx" diff --git a/svx/source/sdr/primitive2d/sdrattributecreator.cxx b/svx/source/sdr/primitive2d/sdrattributecreator.cxx index fc9154d42c6a..8b2fa387a836 100644 --- a/svx/source/sdr/primitive2d/sdrattributecreator.cxx +++ b/svx/source/sdr/primitive2d/sdrattributecreator.cxx @@ -69,6 +69,7 @@ #include <svx/svdmodel.hxx> #include <svx/xflbmsli.hxx> #include <editeng/editstat.hxx> +#include <osl/diagnose.h> #include <drawinglayer/attribute/fillhatchattribute.hxx> #include <drawinglayer/attribute/fillgradientattribute.hxx> #include <sdr/attribute/sdreffectstextattribute.hxx> diff --git a/svx/source/sdr/properties/attributeproperties.cxx b/svx/source/sdr/properties/attributeproperties.cxx index 5ed41b9c4c99..e67e560c1505 100644 --- a/svx/source/sdr/properties/attributeproperties.cxx +++ b/svx/source/sdr/properties/attributeproperties.cxx @@ -36,6 +36,7 @@ #include <svx/xflhtit.hxx> #include <svx/svdmodel.hxx> #include <svx/svdpage.hxx> +#include <osl/diagnose.h> namespace sdr::properties { diff --git a/svx/source/sdr/properties/e3dsceneproperties.cxx b/svx/source/sdr/properties/e3dsceneproperties.cxx index de99a18352c1..e4ebfe194e4c 100644 --- a/svx/source/sdr/properties/e3dsceneproperties.cxx +++ b/svx/source/sdr/properties/e3dsceneproperties.cxx @@ -22,6 +22,7 @@ #include <svl/whiter.hxx> #include <svx/svddef.hxx> #include <svx/scene3d.hxx> +#include <osl/diagnose.h> #include <memory> diff --git a/svx/source/sdr/properties/groupproperties.cxx b/svx/source/sdr/properties/groupproperties.cxx index 4ccd517f4d82..923bed6ade17 100644 --- a/svx/source/sdr/properties/groupproperties.cxx +++ b/svx/source/sdr/properties/groupproperties.cxx @@ -24,6 +24,7 @@ #include <svl/whiter.hxx> #include <svx/svdogrp.hxx> #include <svx/svdpage.hxx> +#include <osl/diagnose.h> namespace sdr::properties diff --git a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx index 727c2f30e386..8234ee9c4dbf 100644 --- a/svx/source/sidebar/area/AreaPropertyPanelBase.cxx +++ b/svx/source/sidebar/area/AreaPropertyPanelBase.cxx @@ -26,6 +26,7 @@ #include <svx/xfltrit.hxx> #include <svx/xflftrit.hxx> #include <svx/xtable.hxx> +#include <sfx2/sidebar/Panel.hxx> #include <sfx2/opengrf.hxx> #include <sfx2/weldutils.hxx> #include <tools/urlobj.hxx> diff --git a/svx/source/svdraw/svddrgv.cxx b/svx/source/svdraw/svddrgv.cxx index bd5c0249f31f..9807a53bd99e 100644 --- a/svx/source/svdraw/svddrgv.cxx +++ b/svx/source/svdraw/svddrgv.cxx @@ -35,6 +35,7 @@ #include <basegfx/matrix/b2dhommatrix.hxx> #include <svx/sdr/overlay/overlaymanager.hxx> #include <svx/sdrpagewindow.hxx> +#include <osl/diagnose.h> using namespace sdr; diff --git a/svx/source/svdraw/svdedtv.cxx b/svx/source/svdraw/svdedtv.cxx index 3470a8d91458..2288db38cc7b 100644 --- a/svx/source/svdraw/svdedtv.cxx +++ b/svx/source/svdraw/svdedtv.cxx @@ -35,6 +35,7 @@ #include <svx/svdogrp.hxx> #include <svx/scene3d.hxx> #include <svx/xfillit0.hxx> +#include <osl/diagnose.h> #include <com/sun/star/lang/XServiceInfo.hpp> diff --git a/svx/source/svdraw/svdedtv1.cxx b/svx/source/svdraw/svdedtv1.cxx index 5b17b8852462..247fb8060b4b 100644 --- a/svx/source/svdraw/svdedtv1.cxx +++ b/svx/source/svdraw/svdedtv1.cxx @@ -69,6 +69,7 @@ #include <rtl/ustring.hxx> #include <sfx2/viewsh.hxx> #include <comphelper/lok.hxx> +#include <osl/diagnose.h> // EditView diff --git a/svx/source/svdraw/svdedtv2.cxx b/svx/source/svdraw/svdedtv2.cxx index ef1a1c43e89b..481ffb8d690d 100644 --- a/svx/source/svdraw/svdedtv2.cxx +++ b/svx/source/svdraw/svdedtv2.cxx @@ -51,6 +51,7 @@ #include <vcl/graph.hxx> #include <svx/svxids.hrc> #include <svx/dstribut_enum.hxx> +#include <osl/diagnose.h> using namespace com::sun::star; diff --git a/svx/source/svdraw/svdfmtf.cxx b/svx/source/svdraw/svdfmtf.cxx index 504f5990dab4..5f8185f93325 100644 --- a/svx/source/svdraw/svdfmtf.cxx +++ b/svx/source/svdraw/svdfmtf.cxx @@ -73,6 +73,7 @@ #include <svx/svditer.hxx> #include <svx/svdogrp.hxx> #include <vcl/BitmapTools.hxx> +#include <osl/diagnose.h> using namespace com::sun::star; diff --git a/svx/source/svdraw/svditer.cxx b/svx/source/svdraw/svditer.cxx index 8a7f5637517a..810732e2b16c 100644 --- a/svx/source/svdraw/svditer.cxx +++ b/svx/source/svdraw/svditer.cxx @@ -21,6 +21,7 @@ #include <svx/svdpage.hxx> #include <svx/svdobj.hxx> #include <svx/svdmark.hxx> +#include <osl/diagnose.h> SdrObjListIter::SdrObjListIter(const SdrObjList* pObjList, SdrIterMode eMode, bool bReverse) : maObjList(), diff --git a/svx/source/svdraw/svdmark.cxx b/svx/source/svdraw/svdmark.cxx index 866de4920c15..e3c77bda1e74 100644 --- a/svx/source/svdraw/svdmark.cxx +++ b/svx/source/svdraw/svdmark.cxx @@ -32,6 +32,7 @@ #include <svx/scene3d.hxx> #include <svl/SfxBroadcaster.hxx> #include <svx/svdoedge.hxx> +#include <osl/diagnose.h> #include <cassert> diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx index f32830f75caf..5f1d65ef185b 100644 --- a/svx/source/svdraw/svdmrkv.cxx +++ b/svx/source/svdraw/svdmrkv.cxx @@ -24,6 +24,7 @@ #include <svx/svdpage.hxx> #include <svx/svdotable.hxx> +#include <osl/diagnose.h> #include <osl/thread.h> #include <rtl/strbuf.hxx> #include <svx/svdoole2.hxx> diff --git a/svx/source/svdraw/svdmrkv1.cxx b/svx/source/svdraw/svdmrkv1.cxx index 0d0ae8dc2bfe..89ec0c5dc199 100644 --- a/svx/source/svdraw/svdmrkv1.cxx +++ b/svx/source/svdraw/svdmrkv1.cxx @@ -20,6 +20,7 @@ #include <svx/svdmrkv.hxx> #include <svx/svdpagv.hxx> +#include <osl/diagnose.h> // Point Selection diff --git a/svx/source/svdraw/svdobjplusdata.cxx b/svx/source/svdraw/svdobjplusdata.cxx index c7da1c80083a..af27c5629fa8 100644 --- a/svx/source/svdraw/svdobjplusdata.cxx +++ b/svx/source/svdraw/svdobjplusdata.cxx @@ -12,6 +12,7 @@ #include <o3tl/deleter.hxx> #include <svx/svdglue.hxx> #include <svl/SfxBroadcaster.hxx> +#include <osl/diagnose.h> SdrObjPlusData::SdrObjPlusData() { diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx index 2eafff7605fc..5f19e3fc26a6 100644 --- a/svx/source/svdraw/svdoedge.cxx +++ b/svx/source/svdraw/svdoedge.cxx @@ -19,6 +19,7 @@ #include <svx/dialmgr.hxx> #include <svx/strings.hrc> +#include <osl/diagnose.h> #include <basegfx/matrix/b2dhommatrix.hxx> #include <basegfx/polygon/b2dpolygon.hxx> diff --git a/svx/source/svdraw/svdoole2.cxx b/svx/source/svdraw/svdoole2.cxx index 15f612c1f4e7..d335f9eab90c 100644 --- a/svx/source/svdraw/svdoole2.cxx +++ b/svx/source/svdraw/svdoole2.cxx @@ -49,6 +49,7 @@ #include <sfx2/objsh.hxx> #include <sfx2/ipclient.hxx> #include <sfx2/lnkbase.hxx> +#include <sfx2/linkmgr.hxx> #include <tools/debug.hxx> #include <tools/globname.hxx> #include <tools/diagnose_ex.h> diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx index be0fbf786a11..75c40504f115 100644 --- a/svx/source/svdraw/svdopath.cxx +++ b/svx/source/svdraw/svdopath.cxx @@ -47,6 +47,7 @@ #include <vcl/ptrstyle.hxx> #include <memory> #include <sal/log.hxx> +#include <osl/diagnose.h> using namespace sdr; diff --git a/svx/source/svdraw/svdorect.cxx b/svx/source/svdraw/svdorect.cxx index 60ee002f1f54..553fd94380ab 100644 --- a/svx/source/svdraw/svdorect.cxx +++ b/svx/source/svdraw/svdorect.cxx @@ -31,6 +31,7 @@ #include <rtl/ustrbuf.hxx> #include <tools/debug.hxx> #include <vcl/ptrstyle.hxx> +#include <osl/diagnose.h> using namespace com::sun::star; diff --git a/svx/source/svdraw/svdpagv.cxx b/svx/source/svdraw/svdpagv.cxx index c793d453734f..7b156881d0c3 100644 --- a/svx/source/svdraw/svdpagv.cxx +++ b/svx/source/svdraw/svdpagv.cxx @@ -34,6 +34,7 @@ #include <comphelper/lok.hxx> #include <comphelper/scopeguard.hxx> #include <basegfx/range/b2irectangle.hxx> +#include <osl/diagnose.h> using namespace ::com::sun::star; diff --git a/svx/source/svdraw/svdpdf.cxx b/svx/source/svdraw/svdpdf.cxx index 125b26f0da01..adb68732d0cb 100644 --- a/svx/source/svdraw/svdpdf.cxx +++ b/svx/source/svdraw/svdpdf.cxx @@ -70,6 +70,7 @@ #include <svx/svdogrp.hxx> #include <vcl/dibtools.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> namespace { diff --git a/svx/source/svdraw/svdtext.cxx b/svx/source/svdraw/svdtext.cxx index 94c84dcb4974..9f4a5ce04f38 100644 --- a/svx/source/svdraw/svdtext.cxx +++ b/svx/source/svdraw/svdtext.cxx @@ -23,6 +23,7 @@ #include <svx/svdoutl.hxx> #include <svx/svdmodel.hxx> #include <svl/itemset.hxx> +#include <osl/diagnose.h> #include <libxml/xmlwriter.h> #include <memory> diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx index f1a83d2b5739..1805c06236e3 100644 --- a/svx/source/svdraw/svdundo.cxx +++ b/svx/source/svdraw/svdundo.cxx @@ -42,6 +42,7 @@ #include <vcl/svapp.hxx> #include <sfx2/viewsh.hxx> #include <svx/svdoashp.hxx> +#include <osl/diagnose.h> // iterates over all views and unmarks this SdrObject if it is marked diff --git a/sw/source/core/crsr/crstrvl.cxx b/sw/source/core/crsr/crstrvl.cxx index a08e0f4c3fba..3b2ad6514a51 100644 --- a/sw/source/core/crsr/crstrvl.cxx +++ b/sw/source/core/crsr/crstrvl.cxx @@ -26,6 +26,7 @@ #include <editeng/adjustitem.hxx> #include <editeng/formatbreakitem.hxx> #include <svx/svdobj.hxx> +#include <osl/diagnose.h> #include <crsrsh.hxx> #include <doc.hxx> #include <IDocumentUndoRedo.hxx> diff --git a/sw/source/core/crsr/findtxt.cxx b/sw/source/core/crsr/findtxt.cxx index f19f3ff908eb..ccb3a650c86f 100644 --- a/sw/source/core/crsr/findtxt.cxx +++ b/sw/source/core/crsr/findtxt.cxx @@ -28,6 +28,7 @@ #include <svl/srchitem.hxx> #include <sfx2/sfxsids.hrc> #include <editeng/outliner.hxx> +#include <osl/diagnose.h> #include <wrtsh.hxx> #include <txatritr.hxx> diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx index 2813f162f1f6..4777b767deb3 100644 --- a/sw/source/core/crsr/viscrs.cxx +++ b/sw/source/core/crsr/viscrs.cxx @@ -51,6 +51,7 @@ #include <sfx2/lokhelper.hxx> #include <boost/property_tree/json_parser.hpp> #include <comphelper/string.hxx> +#include <osl/diagnose.h> #include <paintfrm.hxx> #include <PostItMgr.hxx> #include <SwGrammarMarkUp.hxx> diff --git a/sw/source/core/doc/DocumentDrawModelManager.cxx b/sw/source/core/doc/DocumentDrawModelManager.cxx index c3f09b767eea..21bde0ebfe75 100644 --- a/sw/source/core/doc/DocumentDrawModelManager.cxx +++ b/sw/source/core/doc/DocumentDrawModelManager.cxx @@ -45,6 +45,7 @@ #include <svl/srchitem.hxx> #include <unotools/configmgr.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> class SdrOutliner; diff --git a/sw/source/core/doc/DocumentLayoutManager.cxx b/sw/source/core/doc/DocumentLayoutManager.cxx index 727aa8428611..95362f1e4be3 100644 --- a/sw/source/core/doc/DocumentLayoutManager.cxx +++ b/sw/source/core/doc/DocumentLayoutManager.cxx @@ -41,6 +41,7 @@ #include <frameformats.hxx> #include <com/sun/star/embed/EmbedStates.hpp> #include <svx/svdobj.hxx> +#include <osl/diagnose.h> using namespace ::com::sun::star; diff --git a/sw/source/core/doc/docdesc.cxx b/sw/source/core/doc/docdesc.cxx index 561d828d839e..ee08206bd7ef 100644 --- a/sw/source/core/doc/docdesc.cxx +++ b/sw/source/core/doc/docdesc.cxx @@ -27,6 +27,7 @@ #include <sfx2/dispatch.hxx> #include <tools/globname.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <unotools/localedatawrapper.hxx> #include <fmtfsize.hxx> #include <fmthdft.hxx> diff --git a/sw/source/core/doc/docdraw.cxx b/sw/source/core/doc/docdraw.cxx index 4468e648a8a2..c450f4213dc3 100644 --- a/sw/source/core/doc/docdraw.cxx +++ b/sw/source/core/doc/docdraw.cxx @@ -24,6 +24,7 @@ #include <svx/svdogrp.hxx> #include <editeng/measfld.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <fmtanchr.hxx> #include <charatr.hxx> #include <frmfmt.hxx> diff --git a/sw/source/core/doc/docfly.cxx b/sw/source/core/doc/docfly.cxx index 6310be986709..5e417afecd38 100644 --- a/sw/source/core/doc/docfly.cxx +++ b/sw/source/core/doc/docfly.cxx @@ -21,6 +21,7 @@ #include <svl/itemiter.hxx> #include <svx/svdobj.hxx> #include <svx/svdmark.hxx> +#include <osl/diagnose.h> #include <fmtfsize.hxx> #include <fmtornt.hxx> #include <dcontact.hxx> diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx index 72f8b6883073..2da94ef4699c 100644 --- a/sw/source/core/doc/doclay.cxx +++ b/sw/source/core/doc/doclay.cxx @@ -27,6 +27,7 @@ #include <editeng/shaditem.hxx> #include <editeng/protitem.hxx> #include <editeng/opaqitem.hxx> +#include <osl/diagnose.h> #include <svx/svdouno.hxx> #include <editeng/frmdiritem.hxx> #include <swmodule.hxx> diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx index 9c789deb66b7..35306e3c292e 100644 --- a/sw/source/core/doc/docnew.cxx +++ b/sw/source/core/doc/docnew.cxx @@ -38,6 +38,7 @@ #include <sfx2/viewfrm.hxx> #include <sfx2/XmlIdRegistry.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <sfx2/linkmgr.hxx> #include <editeng/ulspitem.hxx> diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx index a378203b8962..72dff3406e96 100644 --- a/sw/source/core/doc/docredln.cxx +++ b/sw/source/core/doc/docredln.cxx @@ -20,6 +20,7 @@ #include <libxml/xmlwriter.h> #include <boost/property_tree/json_parser.hpp> +#include <osl/diagnose.h> #include <sal/log.hxx> #include <tools/datetimeutils.hxx> #include <hintids.hxx> diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx index 76474bba91b6..818782a5ff1b 100644 --- a/sw/source/core/doc/tblrwcl.cxx +++ b/sw/source/core/doc/tblrwcl.cxx @@ -19,6 +19,7 @@ #include <memory> #include <com/sun/star/text/HoriOrientation.hpp> +#include <osl/diagnose.h> #include <hintids.hxx> #include <editeng/lrspitem.hxx> diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx index 5be819329f90..389923d6f415 100644 --- a/sw/source/core/docnode/ndtbl.cxx +++ b/sw/source/core/docnode/ndtbl.cxx @@ -90,6 +90,7 @@ #include <o3tl/numeric.hxx> #include <tools/datetimeutils.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #ifdef DBG_UTIL #define CHECK_TABLE(t) (t).CheckConsistency(); diff --git a/sw/source/core/docnode/ndtbl1.cxx b/sw/source/core/docnode/ndtbl1.cxx index 84ebb7dd8821..6d2a677712be 100644 --- a/sw/source/core/docnode/ndtbl1.cxx +++ b/sw/source/core/docnode/ndtbl1.cxx @@ -49,6 +49,7 @@ #include <UndoTable.hxx> #include <o3tl/enumrange.hxx> #include <o3tl/safeint.hxx> +#include <osl/diagnose.h> using ::editeng::SvxBorderLine; using namespace ::com::sun::star; diff --git a/sw/source/core/draw/dobjfac.cxx b/sw/source/core/draw/dobjfac.cxx index 31bef2f94c3b..fb08ba595984 100644 --- a/sw/source/core/draw/dobjfac.cxx +++ b/sw/source/core/draw/dobjfac.cxx @@ -19,6 +19,7 @@ #include <dobjfac.hxx> #include <dflyobj.hxx> +#include <osl/diagnose.h> SwObjectFactory aSwObjectFactory; diff --git a/sw/source/core/draw/dpage.cxx b/sw/source/core/draw/dpage.cxx index 63a7c9e8f0fc..11b040425bf0 100644 --- a/sw/source/core/draw/dpage.cxx +++ b/sw/source/core/draw/dpage.cxx @@ -23,6 +23,7 @@ #include <sfx2/sfxhelp.hxx> #include <vcl/help.hxx> #include <svx/svdview.hxx> +#include <osl/diagnose.h> #include <fmturl.hxx> #include <frmfmt.hxx> #include <doc.hxx> diff --git a/sw/source/core/draw/drawdoc.cxx b/sw/source/core/draw/drawdoc.cxx index 5735f36c83bb..4c3050ebf5b7 100644 --- a/sw/source/core/draw/drawdoc.cxx +++ b/sw/source/core/draw/drawdoc.cxx @@ -21,6 +21,7 @@ #include <com/sun/star/frame/XModel.hpp> #include <svx/drawitem.hxx> +#include <osl/diagnose.h> #include <doc.hxx> #include <drawdoc.hxx> #include <dpage.hxx> diff --git a/sw/source/core/draw/dview.cxx b/sw/source/core/draw/dview.cxx index 5ae8d93b0778..dfa884e80db5 100644 --- a/sw/source/core/draw/dview.cxx +++ b/sw/source/core/draw/dview.cxx @@ -25,6 +25,7 @@ #include <svx/sdrundomanager.hxx> #include <tools/globname.hxx> #include <editeng/outliner.hxx> +#include <osl/diagnose.h> #include <com/sun/star/embed/EmbedMisc.hpp> #include <com/sun/star/embed/XEmbeddedObject.hpp> diff --git a/sw/source/core/frmedt/fecopy.cxx b/sw/source/core/frmedt/fecopy.cxx index b30d0275c878..99fad85445a4 100644 --- a/sw/source/core/frmedt/fecopy.cxx +++ b/sw/source/core/frmedt/fecopy.cxx @@ -35,6 +35,7 @@ #include <svx/svdograf.hxx> #include <tools/stream.hxx> #include <unotools/streamwrap.hxx> +#include <osl/diagnose.h> #include <fmtanchr.hxx> #include <fmtcntnt.hxx> #include <fmtornt.hxx> diff --git a/sw/source/core/frmedt/fedesc.cxx b/sw/source/core/frmedt/fedesc.cxx index 41171da5db40..f9f58949c2cb 100644 --- a/sw/source/core/frmedt/fedesc.cxx +++ b/sw/source/core/frmedt/fedesc.cxx @@ -33,6 +33,7 @@ #include <tabfrm.hxx> #include <SwStyleNameMapper.hxx> #include <ndtxt.hxx> +#include <osl/diagnose.h> size_t SwFEShell::GetPageDescCnt() const { diff --git a/sw/source/core/frmedt/fefly1.cxx b/sw/source/core/frmedt/fefly1.cxx index 5ddbd7de1e31..db5f4dd33419 100644 --- a/sw/source/core/frmedt/fefly1.cxx +++ b/sw/source/core/frmedt/fefly1.cxx @@ -30,6 +30,7 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/embed/XEmbeddedObject.hpp> #include <comphelper/types.hxx> +#include <osl/diagnose.h> #include <fmtanchr.hxx> #include <fmtcntnt.hxx> #include <fmtornt.hxx> diff --git a/sw/source/core/frmedt/feflyole.cxx b/sw/source/core/frmedt/feflyole.cxx index b34fb3f77195..b780817d8e89 100644 --- a/sw/source/core/frmedt/feflyole.cxx +++ b/sw/source/core/frmedt/feflyole.cxx @@ -20,6 +20,7 @@ #include <sfx2/ipclient.hxx> #include <sfx2/viewsh.hxx> +#include <osl/diagnose.h> #include <fesh.hxx> #include <cntfrm.hxx> diff --git a/sw/source/core/frmedt/feshview.cxx b/sw/source/core/frmedt/feshview.cxx index 749a58439f0d..af410a803af9 100644 --- a/sw/source/core/frmedt/feshview.cxx +++ b/sw/source/core/frmedt/feshview.cxx @@ -92,6 +92,7 @@ #include <calbck.hxx> #include <basegfx/polygon/b2dpolygontools.hxx> #include <svx/svxids.hrc> +#include <osl/diagnose.h> #include <com/sun/star/embed/EmbedMisc.hpp> #include <com/sun/star/embed/Aspects.hpp> diff --git a/sw/source/core/frmedt/fetab.cxx b/sw/source/core/frmedt/fetab.cxx index 85d4daba2666..1a44707f43c3 100644 --- a/sw/source/core/frmedt/fetab.cxx +++ b/sw/source/core/frmedt/fetab.cxx @@ -26,6 +26,7 @@ #include <editeng/brushitem.hxx> #include <editeng/frmdiritem.hxx> #include <svtools/ruler.hxx> +#include <osl/diagnose.h> #include <swwait.hxx> #include <fmtfsize.hxx> #include <fmtornt.hxx> diff --git a/sw/source/core/frmedt/fews.cxx b/sw/source/core/frmedt/fews.cxx index 0d6519dba776..242cc123c431 100644 --- a/sw/source/core/frmedt/fews.cxx +++ b/sw/source/core/frmedt/fews.cxx @@ -18,6 +18,7 @@ */ #include <svx/svdobj.hxx> +#include <osl/diagnose.h> #include <comphelper/lok.hxx> #include <init.hxx> #include <fesh.hxx> diff --git a/sw/source/core/inc/SwXMLBlockImport.hxx b/sw/source/core/inc/SwXMLBlockImport.hxx index 468315708cca..48dbcc49bb72 100644 --- a/sw/source/core/inc/SwXMLBlockImport.hxx +++ b/sw/source/core/inc/SwXMLBlockImport.hxx @@ -21,6 +21,7 @@ #include <xmloff/xmlimp.hxx> #include <xmloff/xmlnamespace.hxx> +#include <xmloff/xmltkmap.hxx> #include <com/sun/star/xml/sax/FastToken.hpp> #include <sax/fastattribs.hxx> diff --git a/sw/source/core/layout/anchoreddrawobject.cxx b/sw/source/core/layout/anchoreddrawobject.cxx index a5631667c1e5..a5229b626e11 100644 --- a/sw/source/core/layout/anchoreddrawobject.cxx +++ b/sw/source/core/layout/anchoreddrawobject.cxx @@ -35,6 +35,7 @@ #include <textboxhelper.hxx> #include <unomid.h> #include <svx/svdoashp.hxx> +#include <osl/diagnose.h> using namespace ::com::sun::star; diff --git a/sw/source/core/layout/anchoredobject.cxx b/sw/source/core/layout/anchoredobject.cxx index 70c836c68645..cedca5d10a4a 100644 --- a/sw/source/core/layout/anchoredobject.cxx +++ b/sw/source/core/layout/anchoredobject.cxx @@ -30,6 +30,7 @@ #include <sortedobjs.hxx> #include <pagefrm.hxx> #include <layouter.hxx> +#include <osl/diagnose.h> using namespace ::com::sun::star; diff --git a/sw/source/core/layout/atrfrm.cxx b/sw/source/core/layout/atrfrm.cxx index 2fdf0f9ba0c2..fe29ecfe2faa 100644 --- a/sw/source/core/layout/atrfrm.cxx +++ b/sw/source/core/layout/atrfrm.cxx @@ -24,6 +24,7 @@ #include <sal/log.hxx> #include <o3tl/any.hxx> #include <o3tl/safeint.hxx> +#include <osl/diagnose.h> #include <svtools/unoimap.hxx> #include <vcl/imap.hxx> #include <vcl/imapobj.hxx> diff --git a/sw/source/core/layout/flowfrm.cxx b/sw/source/core/layout/flowfrm.cxx index aeeb9df158cf..4da7afb622df 100644 --- a/sw/source/core/layout/flowfrm.cxx +++ b/sw/source/core/layout/flowfrm.cxx @@ -20,6 +20,7 @@ #include <memory> #include <sal/config.h> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <svx/svdobj.hxx> #include <anchoredobject.hxx> diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx index 6dcf1b756ed4..755ea2ea1256 100644 --- a/sw/source/core/layout/fly.cxx +++ b/sw/source/core/layout/fly.cxx @@ -65,6 +65,7 @@ #include <txtfly.hxx> #include <ndindex.hxx> #include <basegfx/matrix/b2dhommatrixtools.hxx> +#include <osl/diagnose.h> #include <wrtsh.hxx> #include <view.hxx> diff --git a/sw/source/core/layout/flycnt.cxx b/sw/source/core/layout/flycnt.cxx index d1f3a86bec0d..f9a25f056aba 100644 --- a/sw/source/core/layout/flycnt.cxx +++ b/sw/source/core/layout/flycnt.cxx @@ -18,6 +18,7 @@ */ #include <sal/log.hxx> +#include <osl/diagnose.h> #include <svx/swframetypes.hxx> #include <pagefrm.hxx> #include <txtfrm.hxx> diff --git a/sw/source/core/layout/flyincnt.cxx b/sw/source/core/layout/flyincnt.cxx index c5c647e0738a..461d2f779e1b 100644 --- a/sw/source/core/layout/flyincnt.cxx +++ b/sw/source/core/layout/flyincnt.cxx @@ -26,6 +26,7 @@ #include <dflyobj.hxx> #include <IDocumentSettingAccess.hxx> #include <IDocumentDrawModelAccess.hxx> +#include <osl/diagnose.h> SwFlyInContentFrame::SwFlyInContentFrame( SwFlyFrameFormat *pFormat, SwFrame* pSib, SwFrame *pAnch ) : SwFlyFrame( pFormat, pSib, pAnch ) diff --git a/sw/source/core/layout/flylay.cxx b/sw/source/core/layout/flylay.cxx index 8f58d83a138d..ea50b06ab364 100644 --- a/sw/source/core/layout/flylay.cxx +++ b/sw/source/core/layout/flylay.cxx @@ -47,6 +47,7 @@ #include <ndindex.hxx> #include <basegfx/matrix/b2dhommatrixtools.hxx> #include <svx/sdr/attribute/sdrallfillattributeshelper.hxx> +#include <osl/diagnose.h> using namespace ::com::sun::star; diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx index 7abc46270bfa..2d5131c4e658 100644 --- a/sw/source/core/layout/frmtool.cxx +++ b/sw/source/core/layout/frmtool.cxx @@ -25,6 +25,7 @@ #include <editeng/lspcitem.hxx> #include <editeng/fhgtitem.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <drawdoc.hxx> #include <fmtornt.hxx> diff --git a/sw/source/core/layout/laycache.cxx b/sw/source/core/layout/laycache.cxx index afa012400d81..b9f8b1e96dbd 100644 --- a/sw/source/core/layout/laycache.cxx +++ b/sw/source/core/layout/laycache.cxx @@ -19,6 +19,7 @@ #include <editeng/formatbreakitem.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <tools/stream.hxx> #include <doc.hxx> #include <IDocumentStatistics.hxx> diff --git a/sw/source/core/layout/newfrm.cxx b/sw/source/core/layout/newfrm.cxx index 4d4e76dd96dd..61084de170a5 100644 --- a/sw/source/core/layout/newfrm.cxx +++ b/sw/source/core/layout/newfrm.cxx @@ -21,6 +21,7 @@ #include <o3tl/safeint.hxx> #include <svx/svdpage.hxx> +#include <osl/diagnose.h> #include <drawdoc.hxx> #include <fmtpdsc.hxx> #include <swtable.hxx> diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx index 76ffb60c89a2..1c304008aeca 100644 --- a/sw/source/core/layout/pagechg.cxx +++ b/sw/source/core/layout/pagechg.cxx @@ -20,6 +20,7 @@ #include <comphelper/lok.hxx> #include <ndole.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <svl/itemiter.hxx> #include <fmtfsize.hxx> #include <fmthdft.hxx> diff --git a/sw/source/core/layout/sortedobjs.cxx b/sw/source/core/layout/sortedobjs.cxx index 2e3df19104f0..ad3759466b18 100644 --- a/sw/source/core/layout/sortedobjs.cxx +++ b/sw/source/core/layout/sortedobjs.cxx @@ -28,6 +28,7 @@ #include <pam.hxx> #include <svx/svdobj.hxx> #include <IDocumentDrawModelAccess.hxx> +#include <osl/diagnose.h> using namespace ::com::sun::star; diff --git a/sw/source/core/layout/ssfrm.cxx b/sw/source/core/layout/ssfrm.cxx index d8404b947c04..b4ac7980e90a 100644 --- a/sw/source/core/layout/ssfrm.cxx +++ b/sw/source/core/layout/ssfrm.cxx @@ -35,6 +35,7 @@ #include <hints.hxx> #include <frmtool.hxx> #include <ndtxt.hxx> +#include <osl/diagnose.h> // No inline cause we need the function pointers tools::Long SwFrame::GetTopMargin() const diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx index af675d8bd8b8..4747cede044b 100644 --- a/sw/source/core/layout/tabfrm.cxx +++ b/sw/source/core/layout/tabfrm.cxx @@ -59,6 +59,7 @@ #include <calbck.hxx> #include <DocumentSettingManager.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <frmatr.hxx> #include <frmtool.hxx> #include <ndtxt.hxx> diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx index 350d118e37a6..a7506ca9a13a 100644 --- a/sw/source/core/layout/trvlfrm.cxx +++ b/sw/source/core/layout/trvlfrm.cxx @@ -52,6 +52,7 @@ #include <swselectionlist.hxx> #include <comphelper/lok.hxx> +#include <osl/diagnose.h> namespace { bool lcl_GetModelPositionForViewPoint_Objects( const SwPageFrame* pPageFrame, bool bSearchBackground, diff --git a/sw/source/core/objectpositioning/anchoredobjectposition.cxx b/sw/source/core/objectpositioning/anchoredobjectposition.cxx index ae6c338fd716..323d6772184c 100644 --- a/sw/source/core/objectpositioning/anchoredobjectposition.cxx +++ b/sw/source/core/objectpositioning/anchoredobjectposition.cxx @@ -37,6 +37,7 @@ #include <IDocumentSettingAccess.hxx> #include <textboxhelper.hxx> #include <fmtsrnd.hxx> +#include <osl/diagnose.h> using namespace ::com::sun::star; using namespace objectpositioning; diff --git a/sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx b/sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx index ffe9a3682a6d..50b2b9eb65f5 100644 --- a/sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx +++ b/sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx @@ -27,6 +27,7 @@ #include <frmatr.hxx> #include <editeng/lrspitem.hxx> #include <editeng/ulspitem.hxx> +#include <osl/diagnose.h> #include <fmtornt.hxx> diff --git a/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx b/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx index dea6424bc3dd..66014910cdf1 100644 --- a/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx +++ b/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx @@ -35,6 +35,7 @@ #include <editeng/lrspitem.hxx> #include <editeng/ulspitem.hxx> #include <svx/svdobj.hxx> +#include <osl/diagnose.h> #include <environmentofanchoredobject.hxx> #include <frmatr.hxx> #include <fmtwrapinfluenceonobjpos.hxx> diff --git a/sw/source/core/swg/SwXMLSectionList.cxx b/sw/source/core/swg/SwXMLSectionList.cxx index 77e1fcbd6e86..8a58b0df0ebe 100644 --- a/sw/source/core/swg/SwXMLSectionList.cxx +++ b/sw/source/core/swg/SwXMLSectionList.cxx @@ -20,6 +20,7 @@ #include <SwXMLSectionList.hxx> #include <xmloff/xmlictxt.hxx> #include <xmloff/xmlnamespace.hxx> +#include <xmloff/xmltkmap.hxx> #include <vector> using namespace ::com::sun::star; diff --git a/sw/source/core/text/txtcache.cxx b/sw/source/core/text/txtcache.cxx index dbc22914cacd..188fa7bec697 100644 --- a/sw/source/core/text/txtcache.cxx +++ b/sw/source/core/text/txtcache.cxx @@ -22,6 +22,7 @@ #include "porlay.hxx" #include <sfx2/viewsh.hxx> +#include <osl/diagnose.h> #include <view.hxx> SwTextLine::SwTextLine( SwTextFrame const *pFrame, std::unique_ptr<SwParaPortion> pNew ) : diff --git a/sw/source/core/txtnode/atrflyin.cxx b/sw/source/core/txtnode/atrflyin.cxx index 49c9d1d19670..cfb01bbace4f 100644 --- a/sw/source/core/txtnode/atrflyin.cxx +++ b/sw/source/core/txtnode/atrflyin.cxx @@ -34,6 +34,7 @@ #include <calbck.hxx> #include <dcontact.hxx> #include <textboxhelper.hxx> +#include <osl/diagnose.h> SwFormatFlyCnt::SwFormatFlyCnt( SwFrameFormat *pFrameFormat ) : SfxPoolItem( RES_TXTATR_FLYCNT ), diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx index e156291d6478..161c22ea2ea0 100644 --- a/sw/source/core/txtnode/ndtxt.cxx +++ b/sw/source/core/txtnode/ndtxt.cxx @@ -27,6 +27,7 @@ #include <editeng/lrspitem.hxx> #include <editeng/rsiditem.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <anchoredobject.hxx> #include <txtfld.hxx> #include <txtinet.hxx> diff --git a/sw/source/core/undo/docundo.cxx b/sw/source/core/undo/docundo.cxx index d1f0eee5fec6..990bebad2d58 100644 --- a/sw/source/core/undo/docundo.cxx +++ b/sw/source/core/undo/docundo.cxx @@ -39,6 +39,7 @@ #include <sfx2/viewfrm.hxx> #include <sfx2/bindings.hxx> +#include <osl/diagnose.h> using namespace ::com::sun::star; diff --git a/sw/source/core/undo/unattr.cxx b/sw/source/core/undo/unattr.cxx index b1a63c1cf454..67b6f06a50a1 100644 --- a/sw/source/core/undo/unattr.cxx +++ b/sw/source/core/undo/unattr.cxx @@ -25,6 +25,7 @@ #include <svl/itemiter.hxx> #include <editeng/tstpitem.hxx> #include <svx/svdobj.hxx> +#include <osl/diagnose.h> #include <hintids.hxx> #include <fmtflcnt.hxx> #include <txtftn.hxx> diff --git a/sw/source/core/undo/undobj1.cxx b/sw/source/core/undo/undobj1.cxx index 0e84af47d5c4..40ca36552139 100644 --- a/sw/source/core/undo/undobj1.cxx +++ b/sw/source/core/undo/undobj1.cxx @@ -21,6 +21,7 @@ #include <svl/itemiter.hxx> #include <svx/svdundo.hxx> +#include <osl/diagnose.h> #include <hintids.hxx> #include <hints.hxx> #include <fmtflcnt.hxx> diff --git a/sw/source/core/undo/undraw.cxx b/sw/source/core/undo/undraw.cxx index b10cae23f0a3..c29e4a9a7713 100644 --- a/sw/source/core/undo/undraw.cxx +++ b/sw/source/core/undo/undraw.cxx @@ -24,6 +24,7 @@ #include <svx/svdpage.hxx> #include <svx/svdmark.hxx> #include <svx/svdview.hxx> +#include <osl/diagnose.h> #include <hintids.hxx> #include <fmtanchr.hxx> diff --git a/sw/source/core/undo/unins.cxx b/sw/source/core/undo/unins.cxx index 06a56636d7a8..f5cc03b93857 100644 --- a/sw/source/core/undo/unins.cxx +++ b/sw/source/core/undo/unins.cxx @@ -23,6 +23,7 @@ #include <unotools/charclass.hxx> #include <editeng/keepitem.hxx> #include <svx/svdobj.hxx> +#include <osl/diagnose.h> #include <fmtcntnt.hxx> #include <frmfmt.hxx> diff --git a/sw/source/core/undo/untbl.cxx b/sw/source/core/undo/untbl.cxx index d2a9d5e36808..2ee01239b596 100644 --- a/sw/source/core/undo/untbl.cxx +++ b/sw/source/core/undo/untbl.cxx @@ -61,6 +61,7 @@ #include <unochart.hxx> #include <calbck.hxx> #include <frameformats.hxx> +#include <osl/diagnose.h> #include <memory> #include <utility> diff --git a/sw/source/core/view/vdraw.cxx b/sw/source/core/view/vdraw.cxx index 94f2f2240655..215f9e187326 100644 --- a/sw/source/core/view/vdraw.cxx +++ b/sw/source/core/view/vdraw.cxx @@ -41,6 +41,7 @@ #include <vcl/settings.hxx> #include <vcl/canvastools.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <basegfx/range/b2irectangle.hxx> diff --git a/sw/source/core/view/vnew.cxx b/sw/source/core/view/vnew.cxx index 44e632c5d4d0..24c7ed35ff03 100644 --- a/sw/source/core/view/vnew.cxx +++ b/sw/source/core/view/vnew.cxx @@ -19,6 +19,7 @@ #include <sfx2/printer.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <doc.hxx> #include <IDocumentDrawModelAccess.hxx> #include <IDocumentUndoRedo.hxx> diff --git a/sw/source/core/view/vprint.cxx b/sw/source/core/view/vprint.cxx index bc92e9c58d13..bd243d2e074e 100644 --- a/sw/source/core/view/vprint.cxx +++ b/sw/source/core/view/vprint.cxx @@ -21,6 +21,7 @@ #include <hintids.hxx> #include <sfx2/printer.hxx> #include <svx/svdview.hxx> +#include <osl/diagnose.h> #include <txtfld.hxx> #include <fmtfld.hxx> diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx index 0b3721fe4caa..b9179b601bf5 100644 --- a/sw/source/filter/html/css1atr.cxx +++ b/sw/source/filter/html/css1atr.cxx @@ -94,6 +94,7 @@ #include <o3tl/unit_conversion.hxx> #include <rtl/strbuf.hxx> +#include <osl/diagnose.h> using namespace css; using editeng::SvxBorderLine; diff --git a/sw/source/filter/html/htmldrawreader.cxx b/sw/source/filter/html/htmldrawreader.cxx index 1f09a40cf09b..90ac85467903 100644 --- a/sw/source/filter/html/htmldrawreader.cxx +++ b/sw/source/filter/html/htmldrawreader.cxx @@ -38,6 +38,7 @@ #include <svl/itemiter.hxx> #include <svtools/htmltokn.h> #include <svtools/htmlkywd.hxx> +#include <osl/diagnose.h> #include <charatr.hxx> #include <drawdoc.hxx> diff --git a/sw/source/filter/html/htmldrawwriter.cxx b/sw/source/filter/html/htmldrawwriter.cxx index d9ff363bda18..62325b40a2e3 100644 --- a/sw/source/filter/html/htmldrawwriter.cxx +++ b/sw/source/filter/html/htmldrawwriter.cxx @@ -31,6 +31,7 @@ #include <svl/whiter.hxx> #include <svtools/htmlout.hxx> #include <svtools/htmlkywd.hxx> +#include <osl/diagnose.h> #include <rtl/strbuf.hxx> diff --git a/sw/source/filter/html/htmlfly.hxx b/sw/source/filter/html/htmlfly.hxx index 32b9d80aa65d..ce1a43a3a40d 100644 --- a/sw/source/filter/html/htmlfly.hxx +++ b/sw/source/filter/html/htmlfly.hxx @@ -22,6 +22,7 @@ #include <o3tl/sorted_vector.hxx> #include <o3tl/typed_flags_set.hxx> +#include <sal/types.h> class SdrObject; class SwFrameFormat; diff --git a/sw/source/filter/html/htmlflywriter.cxx b/sw/source/filter/html/htmlflywriter.cxx index e6cf6316474f..442114fb48c3 100644 --- a/sw/source/filter/html/htmlflywriter.cxx +++ b/sw/source/filter/html/htmlflywriter.cxx @@ -40,6 +40,7 @@ #include <editeng/ulspitem.hxx> #include <editeng/brushitem.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <fmtanchr.hxx> #include <fmtornt.hxx> diff --git a/sw/source/filter/html/htmlforw.cxx b/sw/source/filter/html/htmlforw.cxx index 91262fac3763..b3f84f896f89 100644 --- a/sw/source/filter/html/htmlforw.cxx +++ b/sw/source/filter/html/htmlforw.cxx @@ -46,6 +46,7 @@ #include <editeng/postitem.hxx> #include <editeng/udlnitem.hxx> #include <editeng/crossedoutitem.hxx> +#include <osl/diagnose.h> #include <docsh.hxx> #include <fmtanchr.hxx> #include <viewsh.hxx> diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx index c3c95cf7f788..a9e403e94519 100644 --- a/sw/source/filter/html/htmltab.cxx +++ b/sw/source/filter/html/htmltab.cxx @@ -34,6 +34,7 @@ #include <svtools/htmlkywd.hxx> #include <svl/urihelper.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <dcontact.hxx> #include <fmtornt.hxx> diff --git a/sw/source/filter/ww8/writerhelper.cxx b/sw/source/filter/ww8/writerhelper.cxx index 199d2f6c9f51..7dc276264569 100644 --- a/sw/source/filter/ww8/writerhelper.cxx +++ b/sw/source/filter/ww8/writerhelper.cxx @@ -33,6 +33,7 @@ #include <svx/svdoole2.hxx> #include <tools/UnitConversion.hxx> #include <editeng/formatbreakitem.hxx> +#include <osl/diagnose.h> #include <ndtxt.hxx> #include <ndnotxt.hxx> #include <fmtcntnt.hxx> diff --git a/sw/source/filter/ww8/ww8glsy.cxx b/sw/source/filter/ww8/ww8glsy.cxx index 91bb6e9ad5f1..012a4c4075f9 100644 --- a/sw/source/filter/ww8/ww8glsy.cxx +++ b/sw/source/filter/ww8/ww8glsy.cxx @@ -20,6 +20,7 @@ #include <memory> #include <tools/urlobj.hxx> #include <svl/urihelper.hxx> +#include <osl/diagnose.h> #include <ndtxt.hxx> #include <pam.hxx> #include <poolfmt.hxx> diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx index e6901f360f84..4d005bc8ae50 100644 --- a/sw/source/filter/ww8/ww8par2.cxx +++ b/sw/source/filter/ww8/ww8par2.cxx @@ -21,6 +21,7 @@ #include <sal/log.hxx> #include <comphelper/string.hxx> +#include <osl/diagnose.h> #include <o3tl/safeint.hxx> #include <o3tl/temporary.hxx> #include <tools/solar.h> diff --git a/sw/source/filter/ww8/ww8par4.cxx b/sw/source/filter/ww8/ww8par4.cxx index 2f0a87cc4849..6c72ed5321eb 100644 --- a/sw/source/filter/ww8/ww8par4.cxx +++ b/sw/source/filter/ww8/ww8par4.cxx @@ -33,6 +33,7 @@ #include "sprmids.hxx" #include <svx/unoapi.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <sot/exchange.hxx> #include <fmtanchr.hxx> diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx index 4db9924e2b40..4ffd00a5ebee 100644 --- a/sw/source/filter/ww8/ww8par5.cxx +++ b/sw/source/filter/ww8/ww8par5.cxx @@ -78,6 +78,7 @@ #include <o3tl/safeint.hxx> #include <unotools/fltrcfg.hxx> #include <xmloff/odffields.hxx> +#include <osl/diagnose.h> #include <algorithm> diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx index bd51f9d5bb69..5db9cb10d5b0 100644 --- a/sw/source/filter/ww8/ww8scan.cxx +++ b/sw/source/filter/ww8/ww8scan.cxx @@ -31,6 +31,7 @@ #include <rtl/tencinfo.h> #include <sal/macros.h> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <swerror.h> diff --git a/sw/source/filter/xml/xmlmeta.cxx b/sw/source/filter/xml/xmlmeta.cxx index 50c8f8b1c9c7..4efa7d21bea9 100644 --- a/sw/source/filter/xml/xmlmeta.cxx +++ b/sw/source/filter/xml/xmlmeta.cxx @@ -22,6 +22,7 @@ #include <osl/diagnose.h> #include <xmloff/xmlmetai.hxx> #include <xmloff/ProgressBarHelper.hxx> +#include <xmloff/xmltkmap.hxx> #include <o3tl/safeint.hxx> #include <xmloff/xmluconv.hxx> #include <docstat.hxx> diff --git a/sw/source/ui/chrdlg/break.cxx b/sw/source/ui/chrdlg/break.cxx index 03b316895b09..2bef906093f7 100644 --- a/sw/source/ui/chrdlg/break.cxx +++ b/sw/source/ui/chrdlg/break.cxx @@ -18,6 +18,7 @@ */ #include <vcl/svapp.hxx> +#include <osl/diagnose.h> #include <uitool.hxx> #include <swtypes.hxx> diff --git a/sw/source/ui/chrdlg/chardlg.cxx b/sw/source/ui/chrdlg/chardlg.cxx index 692c835ec89f..4b4eeb094982 100644 --- a/sw/source/ui/chrdlg/chardlg.cxx +++ b/sw/source/ui/chrdlg/chardlg.cxx @@ -27,6 +27,7 @@ #include <sfx2/htmlmode.hxx> #include <svl/cjkoptions.hxx> #include <svl/macitem.hxx> +#include <osl/diagnose.h> #include <cmdid.h> #include <swtypes.hxx> diff --git a/sw/source/ui/chrdlg/drpcps.cxx b/sw/source/ui/chrdlg/drpcps.cxx index 92a0ed6cebf9..ed9f3f6a75ac 100644 --- a/sw/source/ui/chrdlg/drpcps.cxx +++ b/sw/source/ui/chrdlg/drpcps.cxx @@ -42,6 +42,7 @@ #include <com/sun/star/i18n/BreakIterator.hpp> #include <com/sun/star/i18n/ScriptType.hpp> #include <comphelper/processfactory.hxx> +#include <osl/diagnose.h> #include <charatr.hxx> #include <viewopt.hxx> diff --git a/sw/source/ui/chrdlg/pardlg.cxx b/sw/source/ui/chrdlg/pardlg.cxx index 336669241daa..44b57bd86231 100644 --- a/sw/source/ui/chrdlg/pardlg.cxx +++ b/sw/source/ui/chrdlg/pardlg.cxx @@ -37,6 +37,7 @@ #include <svx/svxdlg.hxx> #include <svx/dialogs.hrc> #include <svx/flagsdef.hxx> +#include <osl/diagnose.h> SwParaDlg::SwParaDlg(weld::Window *pParent, SwView& rVw, diff --git a/sw/source/ui/config/optcomp.cxx b/sw/source/ui/config/optcomp.cxx index 2cb5a8558eb3..8a57f054abca 100644 --- a/sw/source/ui/config/optcomp.cxx +++ b/sw/source/ui/config/optcomp.cxx @@ -34,6 +34,7 @@ #include <svtools/restartdialog.hxx> #include <comphelper/processfactory.hxx> #include <officecfg/Office/Compatibility.hxx> +#include <osl/diagnose.h> #include <com/sun/star/beans/PropertyValue.hpp> diff --git a/sw/source/ui/dialog/docstdlg.cxx b/sw/source/ui/dialog/docstdlg.cxx index c9b362355c6e..86672990f308 100644 --- a/sw/source/ui/dialog/docstdlg.cxx +++ b/sw/source/ui/dialog/docstdlg.cxx @@ -29,6 +29,7 @@ #include <unotools/localedatawrapper.hxx> #include <vcl/settings.hxx> #include <vcl/svapp.hxx> +#include <osl/diagnose.h> std::unique_ptr<SfxTabPage> SwDocStatPage::Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet *rSet) { diff --git a/sw/source/ui/dialog/uiregionsw.cxx b/sw/source/ui/dialog/uiregionsw.cxx index 357be32aa182..e905bc2a79cc 100644 --- a/sw/source/ui/dialog/uiregionsw.cxx +++ b/sw/source/ui/dialog/uiregionsw.cxx @@ -34,6 +34,7 @@ #include <sfx2/filedlghelper.hxx> #include <editeng/sizeitem.hxx> #include <svtools/htmlcfg.hxx> +#include <osl/diagnose.h> #include <uitool.hxx> #include <IMark.hxx> diff --git a/sw/source/ui/envelp/envfmt.cxx b/sw/source/ui/envelp/envfmt.cxx index a8dd562debfa..b3b57a923011 100644 --- a/sw/source/ui/envelp/envfmt.cxx +++ b/sw/source/ui/envelp/envfmt.cxx @@ -23,6 +23,7 @@ #include <editeng/tstpitem.hxx> #include <editeng/lrspitem.hxx> #include <svtools/unitconv.hxx> +#include <osl/diagnose.h> #include <cmdid.h> #include <wrtsh.hxx> diff --git a/sw/source/ui/fldui/fldref.cxx b/sw/source/ui/fldui/fldref.cxx index 6cd7cc6e6720..21dcb0ca39fd 100644 --- a/sw/source/ui/fldui/fldref.cxx +++ b/sw/source/ui/fldui/fldref.cxx @@ -31,6 +31,7 @@ #include <IDocumentMarkAccess.hxx> #include <unotools/syslocaleoptions.hxx> #include <unotools/charclass.hxx> +#include <osl/diagnose.h> #include <comphelper/string.hxx> #include <o3tl/safeint.hxx> diff --git a/sw/source/ui/fldui/fldtdlg.cxx b/sw/source/ui/fldui/fldtdlg.cxx index cf07d2a25b9f..de2c1adc3935 100644 --- a/sw/source/ui/fldui/fldtdlg.cxx +++ b/sw/source/ui/fldui/fldtdlg.cxx @@ -25,6 +25,7 @@ #include <sfx2/dispatch.hxx> #include <sfx2/htmlmode.hxx> #include <sfx2/viewfrm.hxx> +#include <osl/diagnose.h> #include <viewopt.hxx> #include <chldwrap.hxx> #include <docsh.hxx> diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx index 7c6ac6406fe3..08e52b4d8400 100644 --- a/sw/source/ui/fmtui/tmpdlg.cxx +++ b/sw/source/ui/fmtui/tmpdlg.cxx @@ -22,6 +22,7 @@ #include <sfx2/viewfrm.hxx> #include <svx/hdft.hxx> #include <editeng/flstitem.hxx> +#include <osl/diagnose.h> #include <sfx2/htmlmode.hxx> #include <sfx2/sfxdlg.hxx> #include <svtools/htmlcfg.hxx> diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx index 5b4c8fb1f5cd..d3d9427751e0 100644 --- a/sw/source/ui/frmdlg/frmpage.cxx +++ b/sw/source/ui/frmdlg/frmpage.cxx @@ -59,6 +59,7 @@ #include <fmtfollowtextflow.hxx> #include <svx/sdtaitm.hxx> #include <sal/macros.h> +#include <osl/diagnose.h> #include <strings.hrc> #include <svx/strings.hrc> diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx index 3a0805e3ebaa..13bc59d038e8 100644 --- a/sw/source/ui/index/swuiidxmrk.cxx +++ b/sw/source/ui/index/swuiidxmrk.cxx @@ -35,6 +35,7 @@ #include <sfx2/viewfrm.hxx> #include <svl/itemset.hxx> #include <editeng/langitem.hxx> +#include <osl/diagnose.h> #include <swtypes.hxx> #include <toxmgr.hxx> #include <txttxmrk.hxx> diff --git a/sw/source/ui/misc/docfnote.cxx b/sw/source/ui/misc/docfnote.cxx index 1455565d687f..f9086dc49375 100644 --- a/sw/source/ui/misc/docfnote.cxx +++ b/sw/source/ui/misc/docfnote.cxx @@ -18,6 +18,7 @@ */ #include <svl/style.hxx> +#include <osl/diagnose.h> #include <wrtsh.hxx> #include <view.hxx> #include <docsh.hxx> diff --git a/sw/source/ui/misc/glossary.cxx b/sw/source/ui/misc/glossary.cxx index 5cbfc4536acc..eb05d93a92a1 100644 --- a/sw/source/ui/misc/glossary.cxx +++ b/sw/source/ui/misc/glossary.cxx @@ -29,6 +29,7 @@ #include <sfx2/request.hxx> #include <sfx2/fcontnr.hxx> #include <sfx2/docfilt.hxx> +#include <osl/diagnose.h> #include <svx/svxdlg.hxx> #include <editeng/acorrcfg.hxx> diff --git a/sw/source/ui/misc/num.cxx b/sw/source/ui/misc/num.cxx index 53d763a39e44..cb2cf60e95d6 100644 --- a/sw/source/ui/misc/num.cxx +++ b/sw/source/ui/misc/num.cxx @@ -37,6 +37,7 @@ #include <svl/slstitm.hxx> #include <svl/intitem.hxx> #include <comphelper/lok.hxx> +#include <osl/diagnose.h> static bool bLastRelative = false; diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx index 3a27bb61b007..6ab262e7eca1 100644 --- a/sw/source/ui/table/tabledlg.cxx +++ b/sw/source/ui/table/tabledlg.cxx @@ -56,6 +56,7 @@ #include <cmdid.h> #include <svx/dialogs.hrc> #include <svx/flagsdef.hxx> +#include <osl/diagnose.h> #include <com/sun/star/text/HoriOrientation.hpp> #include <com/sun/star/text/VertOrientation.hpp> diff --git a/sw/source/uibase/app/appenv.cxx b/sw/source/uibase/app/appenv.cxx index 3e4129b96743..02ce718915ae 100644 --- a/sw/source/uibase/app/appenv.cxx +++ b/sw/source/uibase/app/appenv.cxx @@ -30,6 +30,7 @@ #include <editeng/ulspitem.hxx> #include <editeng/pbinitem.hxx> #include <editeng/paperinf.hxx> +#include <osl/diagnose.h> #include <fmthdft.hxx> #include <swwait.hxx> #include <swmodule.hxx> diff --git a/sw/source/uibase/app/applab.cxx b/sw/source/uibase/app/applab.cxx index 1bd34c590ede..705bdee9e37a 100644 --- a/sw/source/uibase/app/applab.cxx +++ b/sw/source/uibase/app/applab.cxx @@ -32,6 +32,7 @@ #include <editeng/ulspitem.hxx> #include <editeng/lrspitem.hxx> #include <com/sun/star/frame/XModel.hpp> +#include <osl/diagnose.h> #include <fmthdft.hxx> #include <fmtanchr.hxx> #include <fmtfsize.hxx> diff --git a/sw/source/uibase/app/docsh.cxx b/sw/source/uibase/app/docsh.cxx index b6937382ebe8..aeb593036e30 100644 --- a/sw/source/uibase/app/docsh.cxx +++ b/sw/source/uibase/app/docsh.cxx @@ -40,6 +40,7 @@ #include <comphelper/lok.hxx> #include <comphelper/classids.hxx> #include <basic/sbmod.hxx> +#include <osl/diagnose.h> #include <node.hxx> #include <swwait.hxx> #include <printdata.hxx> diff --git a/sw/source/uibase/app/docst.cxx b/sw/source/uibase/app/docst.cxx index ac044a5589a0..d642e140f6f7 100644 --- a/sw/source/uibase/app/docst.cxx +++ b/sw/source/uibase/app/docst.cxx @@ -26,6 +26,7 @@ #include <comphelper/flagguard.hxx> #include <o3tl/any.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <hintids.hxx> #include <sfx2/styledlg.hxx> #include <svl/whiter.hxx> diff --git a/sw/source/uibase/app/docstyle.cxx b/sw/source/uibase/app/docstyle.cxx index 87824949ffdf..cae16121fd7c 100644 --- a/sw/source/uibase/app/docstyle.cxx +++ b/sw/source/uibase/app/docstyle.cxx @@ -20,6 +20,7 @@ #include <memory> #include <sal/config.h> #include <sal/log.hxx> +#include <osl/diagnose.h> #include <cstdlib> diff --git a/sw/source/uibase/app/swmodul1.cxx b/sw/source/uibase/app/swmodul1.cxx index a20ef64ddf1d..0e103f2282bc 100644 --- a/sw/source/uibase/app/swmodul1.cxx +++ b/sw/source/uibase/app/swmodul1.cxx @@ -38,6 +38,7 @@ #include <editeng/colritem.hxx> #include <editeng/brushitem.hxx> #include <svl/cjkoptions.hxx> +#include <osl/diagnose.h> #include <swmodule.hxx> #include <swtypes.hxx> #include <usrpref.hxx> diff --git a/sw/source/uibase/dbui/dbtree.cxx b/sw/source/uibase/dbui/dbtree.cxx index 23fdfcd68dda..469a69968d74 100644 --- a/sw/source/uibase/dbui/dbtree.cxx +++ b/sw/source/uibase/dbui/dbtree.cxx @@ -29,6 +29,7 @@ #include <com/sun/star/container/XContainerListener.hpp> #include <cppuhelper/implbase.hxx> #include <i18nlangtag/languagetag.hxx> +#include <osl/diagnose.h> #include <dbmgr.hxx> #include <wrtsh.hxx> diff --git a/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx b/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx index 0ce6317b294e..38ad0d75b5a7 100644 --- a/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx +++ b/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx @@ -32,6 +32,7 @@ #include <svx/svdview.hxx> #include <unotools/linguprops.hxx> #include <unotools/lingucfg.hxx> +#include <osl/diagnose.h> #include <doc.hxx> #include <IDocumentDeviceAccess.hxx> #include <IDocumentDrawModelAccess.hxx> diff --git a/sw/source/uibase/dochdl/gloshdl.cxx b/sw/source/uibase/dochdl/gloshdl.cxx index 3e96b2c9e807..41f1aad97a79 100644 --- a/sw/source/uibase/dochdl/gloshdl.cxx +++ b/sw/source/uibase/dochdl/gloshdl.cxx @@ -38,6 +38,7 @@ #include <strings.hrc> #include <vcl/svapp.hxx> +#include <osl/diagnose.h> #include <editeng/acorrcfg.hxx> #include <sfx2/event.hxx> diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx index 41829abbb73e..772889bf06f7 100644 --- a/sw/source/uibase/dochdl/swdtflvr.cxx +++ b/sw/source/uibase/dochdl/swdtflvr.cxx @@ -130,6 +130,7 @@ #include <sfx2/classificationhelper.hxx> #include <sfx2/sfxdlg.hxx> #include <comphelper/classids.hxx> +#include <osl/diagnose.h> #include <memory> diff --git a/sw/source/uibase/docvw/AnnotationWin.cxx b/sw/source/uibase/docvw/AnnotationWin.cxx index 19565529d607..49ea845944b8 100644 --- a/sw/source/uibase/docvw/AnnotationWin.cxx +++ b/sw/source/uibase/docvw/AnnotationWin.cxx @@ -33,6 +33,7 @@ #include <unotools/localedatawrapper.hxx> #include <unotools/syslocale.hxx> #include <svl/languageoptions.hxx> +#include <osl/diagnose.h> #include <editeng/eeitem.hxx> #include <editeng/postitem.hxx> diff --git a/sw/source/uibase/docvw/edtdd.cxx b/sw/source/uibase/docvw/edtdd.cxx index 31594da032af..3436c4159771 100644 --- a/sw/source/uibase/docvw/edtdd.cxx +++ b/sw/source/uibase/docvw/edtdd.cxx @@ -24,6 +24,7 @@ #include <sot/formats.hxx> #include <sfx2/bindings.hxx> #include <vcl/commandevent.hxx> +#include <osl/diagnose.h> #include <sfx2/viewfrm.hxx> #include <fmturl.hxx> diff --git a/sw/source/uibase/docvw/edtwin2.cxx b/sw/source/uibase/docvw/edtwin2.cxx index c3af8bd54149..a72554202f2e 100644 --- a/sw/source/uibase/docvw/edtwin2.cxx +++ b/sw/source/uibase/docvw/edtwin2.cxx @@ -18,6 +18,7 @@ */ #include <doc.hxx> +#include <osl/diagnose.h> #include <osl/thread.h> #include <vcl/help.hxx> #include <tools/urlobj.hxx> diff --git a/sw/source/uibase/fldui/fldmgr.cxx b/sw/source/uibase/fldui/fldmgr.cxx index 74452292713a..6609c454038a 100644 --- a/sw/source/uibase/fldui/fldmgr.cxx +++ b/sw/source/uibase/fldui/fldmgr.cxx @@ -34,6 +34,7 @@ #include <comphelper/processfactory.hxx> #include <comphelper/string.hxx> #include <tools/resary.hxx> +#include <osl/diagnose.h> #include <sfx2/dispatch.hxx> #include <sfx2/linkmgr.hxx> #include <sfx2/app.hxx> diff --git a/sw/source/uibase/frmdlg/frmmgr.cxx b/sw/source/uibase/frmdlg/frmmgr.cxx index e8a3ba892829..fa5991baac56 100644 --- a/sw/source/uibase/frmdlg/frmmgr.cxx +++ b/sw/source/uibase/frmdlg/frmmgr.cxx @@ -29,6 +29,7 @@ #include <svx/xdef.hxx> #include <tools/globname.hxx> #include <comphelper/classids.hxx> +#include <osl/diagnose.h> #include <fmtclds.hxx> #include <wrtsh.hxx> #include <view.hxx> diff --git a/sw/source/uibase/index/toxmgr.cxx b/sw/source/uibase/index/toxmgr.cxx index fe4885830ffa..d583154dc095 100644 --- a/sw/source/uibase/index/toxmgr.cxx +++ b/sw/source/uibase/index/toxmgr.cxx @@ -24,6 +24,7 @@ #include <doc.hxx> #include <IDocumentUndoRedo.hxx> #include <swundo.hxx> +#include <osl/diagnose.h> // handle indexes with TOXMgr SwTOXMgr::SwTOXMgr(SwWrtShell* pShell): diff --git a/sw/source/uibase/lingu/hhcwrp.cxx b/sw/source/uibase/lingu/hhcwrp.cxx index 23974dfa109a..5e4a7ef35273 100644 --- a/sw/source/uibase/lingu/hhcwrp.cxx +++ b/sw/source/uibase/lingu/hhcwrp.cxx @@ -28,6 +28,7 @@ #include <rtl/ustring.hxx> #include <com/sun/star/text/RubyAdjust.hpp> #include <com/sun/star/i18n/XBreakIterator.hpp> +#include <osl/diagnose.h> #include <hhcwrp.hxx> #include "sdrhhcwrap.hxx" #include <doc.hxx> diff --git a/sw/source/uibase/lingu/olmenu.cxx b/sw/source/uibase/lingu/olmenu.cxx index 866402f8905f..8fbe2d07043b 100644 --- a/sw/source/uibase/lingu/olmenu.cxx +++ b/sw/source/uibase/lingu/olmenu.cxx @@ -57,6 +57,7 @@ #include <unotools/lingucfg.hxx> #include <unotools/linguprops.hxx> #include <vcl/settings.hxx> +#include <osl/diagnose.h> #include <map> diff --git a/sw/source/uibase/lingu/sdrhhcwrap.cxx b/sw/source/uibase/lingu/sdrhhcwrap.cxx index b09b3fa12b42..a626be95da3e 100644 --- a/sw/source/uibase/lingu/sdrhhcwrap.cxx +++ b/sw/source/uibase/lingu/sdrhhcwrap.cxx @@ -21,6 +21,7 @@ #include <svx/svdpagv.hxx> #include <sfx2/printer.hxx> #include <svx/svdview.hxx> +#include <osl/diagnose.h> #include <drawdoc.hxx> #include "sdrhhcwrap.hxx" #include <docsh.hxx> diff --git a/sw/source/uibase/misc/redlndlg.cxx b/sw/source/uibase/misc/redlndlg.cxx index ebbb7f0c2a00..a6503b588549 100644 --- a/sw/source/uibase/misc/redlndlg.cxx +++ b/sw/source/uibase/misc/redlndlg.cxx @@ -45,6 +45,7 @@ #include <vector> #include <svx/svxdlg.hxx> +#include <osl/diagnose.h> #include <bitmaps.hlst> #include <docsh.hxx> diff --git a/sw/source/uibase/shells/annotsh.cxx b/sw/source/uibase/shells/annotsh.cxx index 2071df547be6..70e1ef1086dd 100644 --- a/sw/source/uibase/shells/annotsh.cxx +++ b/sw/source/uibase/shells/annotsh.cxx @@ -84,6 +84,7 @@ #include <svl/itempool.hxx> #include <editeng/outliner.hxx> #include <editeng/editview.hxx> +#include <osl/diagnose.h> #include <svl/languageoptions.hxx> diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx index 41e1c96f2711..78e37c09c756 100644 --- a/sw/source/uibase/shells/basesh.cxx +++ b/sw/source/uibase/shells/basesh.cxx @@ -92,6 +92,7 @@ #include <svx/unobrushitemhelper.hxx> #include <comphelper/scopeguard.hxx> #include <comphelper/lok.hxx> +#include <osl/diagnose.h> #include <svx/svxdlg.hxx> diff --git a/sw/source/uibase/shells/drawsh.cxx b/sw/source/uibase/shells/drawsh.cxx index 5b57fcb07a1d..4c6629274bca 100644 --- a/sw/source/uibase/shells/drawsh.cxx +++ b/sw/source/uibase/shells/drawsh.cxx @@ -42,6 +42,7 @@ #include <svx/svdundo.hxx> #include <svx/xbtmpit.hxx> #include <svx/sdasitm.hxx> +#include <osl/diagnose.h> #include <swundo.hxx> #include <wrtsh.hxx> diff --git a/sw/source/uibase/shells/drformsh.cxx b/sw/source/uibase/shells/drformsh.cxx index 2e2f5fd5210b..7c16bde0a7b8 100644 --- a/sw/source/uibase/shells/drformsh.cxx +++ b/sw/source/uibase/shells/drformsh.cxx @@ -31,6 +31,7 @@ #include <com/sun/star/beans/XPropertySetInfo.hpp> #include <sfx2/htmlmode.hxx> #include <tools/urlobj.hxx> +#include <osl/diagnose.h> #include <viewopt.hxx> #include <wrtsh.hxx> diff --git a/sw/source/uibase/shells/drwbassh.cxx b/sw/source/uibase/shells/drwbassh.cxx index f901f32cc15d..4dad1d221060 100644 --- a/sw/source/uibase/shells/drwbassh.cxx +++ b/sw/source/uibase/shells/drwbassh.cxx @@ -27,6 +27,7 @@ #include <svl/whiter.hxx> #include <svx/swframevalidation.hxx> #include <svx/anchorid.hxx> +#include <osl/diagnose.h> #include <drawdoc.hxx> #include <uitool.hxx> #include <fmtornt.hxx> diff --git a/sw/source/uibase/shells/drwtxtex.cxx b/sw/source/uibase/shells/drwtxtex.cxx index 7bec3a0f82d4..da358b617d17 100644 --- a/sw/source/uibase/shells/drwtxtex.cxx +++ b/sw/source/uibase/shells/drwtxtex.cxx @@ -63,6 +63,7 @@ #include <editeng/editview.hxx> #include <vcl/unohelp2.hxx> #include <editeng/hyphenzoneitem.hxx> +#include <osl/diagnose.h> #include <cmdid.h> #include <doc.hxx> diff --git a/sw/source/uibase/shells/drwtxtsh.cxx b/sw/source/uibase/shells/drwtxtsh.cxx index 9fc21dfcbacf..780b7260a5ae 100644 --- a/sw/source/uibase/shells/drwtxtsh.cxx +++ b/sw/source/uibase/shells/drwtxtsh.cxx @@ -48,6 +48,7 @@ #include <com/sun/star/awt/XWindow.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <comphelper/propertysequence.hxx> +#include <osl/diagnose.h> #include <swtypes.hxx> #include <view.hxx> #include <wrtsh.hxx> diff --git a/sw/source/uibase/shells/grfsh.cxx b/sw/source/uibase/shells/grfsh.cxx index 0ed3e1daa146..013e54887119 100644 --- a/sw/source/uibase/shells/grfsh.cxx +++ b/sw/source/uibase/shells/grfsh.cxx @@ -38,6 +38,7 @@ #include <svx/compressgraphicdialog.hxx> #include <svx/tbxcolor.hxx> #include <svx/sdangitm.hxx> +#include <osl/diagnose.h> #include <drawdoc.hxx> #include <view.hxx> #include <wrtsh.hxx> diff --git a/sw/source/uibase/shells/langhelper.cxx b/sw/source/uibase/shells/langhelper.cxx index c5db2c5cceb1..a9ebd1d9c759 100644 --- a/sw/source/uibase/shells/langhelper.cxx +++ b/sw/source/uibase/shells/langhelper.cxx @@ -40,6 +40,7 @@ #include <svl/slstitm.hxx> #include <svl/stritem.hxx> #include <svx/svxids.hrc> +#include <osl/diagnose.h> #include <ndtxt.hxx> #include <pam.hxx> diff --git a/sw/source/uibase/shells/listsh.cxx b/sw/source/uibase/shells/listsh.cxx index cb37bfa08402..cbf3008c5c66 100644 --- a/sw/source/uibase/shells/listsh.cxx +++ b/sw/source/uibase/shells/listsh.cxx @@ -24,6 +24,7 @@ #include <sfx2/viewfrm.hxx> #include <svl/eitem.hxx> #include <svl/whiter.hxx> +#include <osl/diagnose.h> #include <numrule.hxx> #include <wrtsh.hxx> diff --git a/sw/source/uibase/shells/tabsh.cxx b/sw/source/uibase/shells/tabsh.cxx index 036274546d04..9c73c9923a2d 100644 --- a/sw/source/uibase/shells/tabsh.cxx +++ b/sw/source/uibase/shells/tabsh.cxx @@ -46,6 +46,7 @@ #include <comphelper/lok.hxx> #include <LibreOfficeKit/LibreOfficeKitEnums.h> #include <editeng/itemtype.hxx> +#include <osl/diagnose.h> #include <fmtornt.hxx> #include <fmtlsplt.hxx> diff --git a/sw/source/uibase/shells/textdrw.cxx b/sw/source/uibase/shells/textdrw.cxx index e92f11130b86..b5b81e3f2228 100644 --- a/sw/source/uibase/shells/textdrw.cxx +++ b/sw/source/uibase/shells/textdrw.cxx @@ -25,6 +25,7 @@ #include <svx/svdouno.hxx> #include <com/sun/star/form/FormButtonType.hpp> #include <com/sun/star/beans/XPropertySet.hpp> +#include <osl/diagnose.h> #include <view.hxx> #include <wrtsh.hxx> diff --git a/sw/source/uibase/shells/textfld.cxx b/sw/source/uibase/shells/textfld.cxx index 582bcb524bf2..158ba5626915 100644 --- a/sw/source/uibase/shells/textfld.cxx +++ b/sw/source/uibase/shells/textfld.cxx @@ -34,6 +34,7 @@ #include <svx/postattr.hxx> #include <svx/hlnkitem.hxx> #include <svx/svxdlg.hxx> +#include <osl/diagnose.h> #include <fmtinfmt.hxx> #include <fldwrap.hxx> #include <redline.hxx> diff --git a/sw/source/uibase/shells/textglos.cxx b/sw/source/uibase/shells/textglos.cxx index b6aee47f7c55..d229964d2072 100644 --- a/sw/source/uibase/shells/textglos.cxx +++ b/sw/source/uibase/shells/textglos.cxx @@ -20,6 +20,7 @@ #include <sfx2/request.hxx> #include <svl/eitem.hxx> #include <svl/stritem.hxx> +#include <osl/diagnose.h> #include <view.hxx> #include <cmdid.h> diff --git a/sw/source/uibase/shells/textidx.cxx b/sw/source/uibase/shells/textidx.cxx index b577547347e6..fc82635ecc6b 100644 --- a/sw/source/uibase/shells/textidx.cxx +++ b/sw/source/uibase/shells/textidx.cxx @@ -22,6 +22,7 @@ #include <sfx2/viewfrm.hxx> #include <svl/eitem.hxx> #include <editeng/sizeitem.hxx> +#include <osl/diagnose.h> #include <fmtfsize.hxx> #include <fldbas.hxx> #include <uiitems.hxx> diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx index 50d8171c90f6..8300a91295ca 100644 --- a/sw/source/uibase/shells/textsh.cxx +++ b/sw/source/uibase/shells/textsh.cxx @@ -44,6 +44,7 @@ #include <svtools/htmlcfg.hxx> #include <com/sun/star/embed/Aspects.hpp> #include <com/sun/star/embed/XEmbeddedObject.hpp> +#include <osl/diagnose.h> #include <comphelper/classids.hxx> #include <editeng/acorrcfg.hxx> diff --git a/sw/source/uibase/shells/textsh2.cxx b/sw/source/uibase/shells/textsh2.cxx index 0438d42aa3b1..efdb74694949 100644 --- a/sw/source/uibase/shells/textsh2.cxx +++ b/sw/source/uibase/shells/textsh2.cxx @@ -31,6 +31,7 @@ #include <fldbas.hxx> #include <dbmgr.hxx> #include <svx/dataaccessdescriptor.hxx> +#include <osl/diagnose.h> #include <vcl/svapp.hxx> diff --git a/sw/source/uibase/shells/txtattr.cxx b/sw/source/uibase/shells/txtattr.cxx index 839e7f760e47..7c34d31f9b3a 100644 --- a/sw/source/uibase/shells/txtattr.cxx +++ b/sw/source/uibase/shells/txtattr.cxx @@ -36,6 +36,7 @@ #include <editeng/scripttypeitem.hxx> #include <editeng/frmdiritem.hxx> #include <editeng/cmapitem.hxx> +#include <osl/diagnose.h> #include <paratr.hxx> #include <fmtinfmt.hxx> diff --git a/sw/source/uibase/shells/txtcrsr.cxx b/sw/source/uibase/shells/txtcrsr.cxx index 1290c2070679..d49d3d1433ef 100644 --- a/sw/source/uibase/shells/txtcrsr.cxx +++ b/sw/source/uibase/shells/txtcrsr.cxx @@ -25,6 +25,7 @@ #include <svl/eitem.hxx> #include <sfx2/viewfrm.hxx> #include <sfx2/bindings.hxx> +#include <osl/diagnose.h> #include <view.hxx> #include <wrtsh.hxx> diff --git a/sw/source/uibase/shells/txtnum.cxx b/sw/source/uibase/shells/txtnum.cxx index 8f8ca2429513..b75cc1c7dcbd 100644 --- a/sw/source/uibase/shells/txtnum.cxx +++ b/sw/source/uibase/shells/txtnum.cxx @@ -22,6 +22,7 @@ #include <svl/stritem.hxx> #include <editeng/numitem.hxx> #include <editeng/brushitem.hxx> +#include <osl/diagnose.h> #include <numrule.hxx> #include <cmdid.h> diff --git a/sw/source/uibase/table/chartins.cxx b/sw/source/uibase/table/chartins.cxx index 8c1737f11305..2fcea5f285f5 100644 --- a/sw/source/uibase/table/chartins.cxx +++ b/sw/source/uibase/table/chartins.cxx @@ -20,6 +20,7 @@ #include <sfx2/viewfrm.hxx> #include <sfx2/dispatch.hxx> #include <IDocumentChartDataProviderAccess.hxx> +#include <osl/diagnose.h> #include <swmodule.hxx> #include <wrtsh.hxx> diff --git a/sw/source/uibase/uiview/pview.cxx b/sw/source/uibase/uiview/pview.cxx index b17bebd8c261..8fc8f681dbea 100644 --- a/sw/source/uibase/uiview/pview.cxx +++ b/sw/source/uibase/uiview/pview.cxx @@ -37,6 +37,7 @@ #include <svx/svdview.hxx> #include <svx/zoomslideritem.hxx> #include <tools/svborder.hxx> +#include <osl/diagnose.h> #include <globdoc.hxx> #include <wdocsh.hxx> diff --git a/sw/source/uibase/uiview/swcli.cxx b/sw/source/uibase/uiview/swcli.cxx index 02dc88cade38..d076bb5f0ae5 100644 --- a/sw/source/uibase/uiview/swcli.cxx +++ b/sw/source/uibase/uiview/swcli.cxx @@ -26,6 +26,7 @@ #include <edtwin.hxx> #include <swcli.hxx> #include <svtools/embedhlp.hxx> +#include <osl/diagnose.h> #include <toolkit/helper/vclunohelper.hxx> diff --git a/sw/source/uibase/uiview/view0.cxx b/sw/source/uibase/uiview/view0.cxx index ad2756b8fdd8..8d7e8521664e 100644 --- a/sw/source/uibase/uiview/view0.cxx +++ b/sw/source/uibase/uiview/view0.cxx @@ -37,6 +37,7 @@ #include <avmedia/mediaplayer.hxx> #include <swmodule.hxx> #include <com/sun/star/linguistic2/XLinguProperties.hpp> +#include <osl/diagnose.h> #include <sfx2/objface.hxx> #include <wrtsh.hxx> diff --git a/sw/source/uibase/uiview/view2.cxx b/sw/source/uibase/uiview/view2.cxx index e781c95261df..70395f6f6275 100644 --- a/sw/source/uibase/uiview/view2.cxx +++ b/sw/source/uibase/uiview/view2.cxx @@ -132,6 +132,7 @@ #include <vcl/GraphicNativeMetadata.hxx> #include <vcl/settings.hxx> #include <i18nutil/searchopt.hxx> +#include <osl/diagnose.h> #include <paratr.hxx> #include <rootfrm.hxx> #include <frameformats.hxx> diff --git a/sw/source/uibase/uiview/viewcoll.cxx b/sw/source/uibase/uiview/viewcoll.cxx index 94ad59d1d3ca..9ee42e1e21b4 100644 --- a/sw/source/uibase/uiview/viewcoll.cxx +++ b/sw/source/uibase/uiview/viewcoll.cxx @@ -23,6 +23,7 @@ #include <sfx2/request.hxx> #include <svl/stritem.hxx> #include <svl/style.hxx> +#include <osl/diagnose.h> #include <view.hxx> #include <wrtsh.hxx> diff --git a/sw/source/uibase/uiview/viewdlg.cxx b/sw/source/uibase/uiview/viewdlg.cxx index c6f81808e4e3..041b13bf4885 100644 --- a/sw/source/uibase/uiview/viewdlg.cxx +++ b/sw/source/uibase/uiview/viewdlg.cxx @@ -18,6 +18,7 @@ */ #include <sfx2/request.hxx> +#include <osl/diagnose.h> #include <view.hxx> #include <wrtsh.hxx> diff --git a/sw/source/uibase/uiview/viewdlg2.cxx b/sw/source/uibase/uiview/viewdlg2.cxx index ff0c3764f6e4..dd0da7acef95 100644 --- a/sw/source/uibase/uiview/viewdlg2.cxx +++ b/sw/source/uibase/uiview/viewdlg2.cxx @@ -21,6 +21,7 @@ #include <sfx2/objface.hxx> #include <svx/svdograf.hxx> #include <svx/svdview.hxx> +#include <osl/diagnose.h> #include <fldmgr.hxx> #include <expfld.hxx> #include <modcfg.hxx> diff --git a/sw/source/uibase/uiview/viewdraw.cxx b/sw/source/uibase/uiview/viewdraw.cxx index 0e860f80472b..80024ccf6ac4 100644 --- a/sw/source/uibase/uiview/viewdraw.cxx +++ b/sw/source/uibase/uiview/viewdraw.cxx @@ -42,6 +42,7 @@ #include <sfx2/dispatch.hxx> #include <svx/svdoutl.hxx> #include <vcl/ptrstyle.hxx> +#include <osl/diagnose.h> #include <view.hxx> #include <wrtsh.hxx> diff --git a/sw/source/uibase/uiview/viewling.cxx b/sw/source/uibase/uiview/viewling.cxx index a84474176ce1..9497927262b0 100644 --- a/sw/source/uibase/uiview/viewling.cxx +++ b/sw/source/uibase/uiview/viewling.cxx @@ -38,6 +38,7 @@ #include <svx/dialmgr.hxx> #include <svx/svxerr.hxx> #include <svx/svxdlg.hxx> +#include <osl/diagnose.h> #include <swwait.hxx> #include <uitool.hxx> #include <view.hxx> diff --git a/sw/source/uibase/uiview/viewport.cxx b/sw/source/uibase/uiview/viewport.cxx index 688c28f65c87..b5ebbb258187 100644 --- a/sw/source/uibase/uiview/viewport.cxx +++ b/sw/source/uibase/uiview/viewport.cxx @@ -39,6 +39,7 @@ #include <comphelper/lok.hxx> #include <vcl/weld.hxx> #include <tools/svborder.hxx> +#include <osl/diagnose.h> #include "viewfunc.hxx" diff --git a/sw/source/uibase/uiview/viewprt.cxx b/sw/source/uibase/uiview/viewprt.cxx index be7337c25654..42081968d13f 100644 --- a/sw/source/uibase/uiview/viewprt.cxx +++ b/sw/source/uibase/uiview/viewprt.cxx @@ -35,6 +35,7 @@ #include <svl/intitem.hxx> #include <svl/flagitem.hxx> #include <sfx2/linkmgr.hxx> +#include <osl/diagnose.h> #include <modcfg.hxx> #include <edtwin.hxx> diff --git a/sw/source/uibase/uiview/viewtab.cxx b/sw/source/uibase/uiview/viewtab.cxx index d4f34c04d7cb..73da69f4f326 100644 --- a/sw/source/uibase/uiview/viewtab.cxx +++ b/sw/source/uibase/uiview/viewtab.cxx @@ -59,6 +59,7 @@ #include <comphelper/lok.hxx> #include <LibreOfficeKit/LibreOfficeKitEnums.h> #include <boost/property_tree/json_parser.hpp> +#include <osl/diagnose.h> #include <IDocumentSettingAccess.hxx> diff --git a/sw/source/uibase/uno/unodispatch.cxx b/sw/source/uibase/uno/unodispatch.cxx index d9b3481b4ee4..696f946056ad 100644 --- a/sw/source/uibase/uno/unodispatch.cxx +++ b/sw/source/uibase/uno/unodispatch.cxx @@ -26,6 +26,7 @@ #include <sfx2/dispatch.hxx> #include <svx/dataaccessdescriptor.hxx> #include <comphelper/servicehelper.hxx> +#include <osl/diagnose.h> #include <unodispatch.hxx> #include <view.hxx> #include <cmdid.h> diff --git a/sw/source/uibase/utlui/glbltree.cxx b/sw/source/uibase/utlui/glbltree.cxx index 5ddc8778d7b7..0ff3ca871b48 100644 --- a/sw/source/uibase/utlui/glbltree.cxx +++ b/sw/source/uibase/utlui/glbltree.cxx @@ -30,6 +30,7 @@ #include <sot/filelist.hxx> #include <svl/eitem.hxx> #include <vcl/graphicfilter.hxx> +#include <osl/diagnose.h> #include <sfx2/docinsert.hxx> #include <sfx2/filedlghelper.hxx> diff --git a/sw/source/uibase/utlui/gloslst.cxx b/sw/source/uibase/utlui/gloslst.cxx index 8d2dcc2af2d3..46b44ecf567d 100644 --- a/sw/source/uibase/utlui/gloslst.cxx +++ b/sw/source/uibase/utlui/gloslst.cxx @@ -21,6 +21,7 @@ #include <svl/fstathelper.hxx> #include <unotools/pathoptions.hxx> #include <unotools/transliterationwrapper.hxx> +#include <osl/diagnose.h> #include <swtypes.hxx> #include <swmodule.hxx> #include <shellio.hxx> diff --git a/sw/source/uibase/utlui/navipi.cxx b/sw/source/uibase/utlui/navipi.cxx index bbfc9b062fce..47593d643c42 100644 --- a/sw/source/uibase/utlui/navipi.cxx +++ b/sw/source/uibase/utlui/navipi.cxx @@ -27,6 +27,7 @@ #include <sfx2/dispatch.hxx> #include <sfx2/viewfrm.hxx> #include <tools/urlobj.hxx> +#include <osl/diagnose.h> #include <swtypes.hxx> #include <swmodule.hxx> #include <view.hxx> diff --git a/sw/source/uibase/utlui/numfmtlb.cxx b/sw/source/uibase/utlui/numfmtlb.cxx index 88b2b27b344a..6e5caee15da3 100644 --- a/sw/source/uibase/utlui/numfmtlb.cxx +++ b/sw/source/uibase/utlui/numfmtlb.cxx @@ -24,6 +24,7 @@ #include <svx/numinf.hxx> #include <svx/flagsdef.hxx> #include <svl/itemset.hxx> +#include <osl/diagnose.h> #include <docsh.hxx> #include <swtypes.hxx> #include <swmodule.hxx> diff --git a/sw/source/uibase/wrtsh/delete.cxx b/sw/source/uibase/wrtsh/delete.cxx index 4a9b29af36e3..7db55f76c627 100644 --- a/sw/source/uibase/wrtsh/delete.cxx +++ b/sw/source/uibase/wrtsh/delete.cxx @@ -32,6 +32,7 @@ #include <i18nutil/unicode.hxx> #include <o3tl/temporary.hxx> #include <rtl/character.hxx> +#include <osl/diagnose.h> #include <doc.hxx> inline void SwWrtShell::OpenMark() diff --git a/sw/source/uibase/wrtsh/select.cxx b/sw/source/uibase/wrtsh/select.cxx index 2c61e51c1deb..8c1c21fc964c 100644 --- a/sw/source/uibase/wrtsh/select.cxx +++ b/sw/source/uibase/wrtsh/select.cxx @@ -25,6 +25,7 @@ #include <svl/macitem.hxx> #include <unotools/charclass.hxx> #include <sfx2/event.hxx> +#include <osl/diagnose.h> #include <cmdid.h> #include <view.hxx> #include <basesh.hxx> diff --git a/sw/source/uibase/wrtsh/wrtsh1.cxx b/sw/source/uibase/wrtsh/wrtsh1.cxx index be70c7b66014..66686a8e9808 100644 --- a/sw/source/uibase/wrtsh/wrtsh1.cxx +++ b/sw/source/uibase/wrtsh/wrtsh1.cxx @@ -85,6 +85,7 @@ #include <sfx2/viewfrm.hxx> #include <vcl/uitest/logger.hxx> #include <vcl/uitest/eventdescription.hxx> +#include <osl/diagnose.h> #include <PostItMgr.hxx> #include <FrameControlsManager.hxx> diff --git a/sw/source/uibase/wrtsh/wrtsh2.cxx b/sw/source/uibase/wrtsh/wrtsh2.cxx index cbda31185fed..66b38c3d84ea 100644 --- a/sw/source/uibase/wrtsh/wrtsh2.cxx +++ b/sw/source/uibase/wrtsh/wrtsh2.cxx @@ -27,6 +27,7 @@ #include <sfx2/linkmgr.hxx> #include <sfx2/viewfrm.hxx> #include <sot/exchange.hxx> +#include <osl/diagnose.h> #include <fmtinfmt.hxx> #include <wrtsh.hxx> #include <docsh.hxx> diff --git a/sw/source/uibase/wrtsh/wrtsh3.cxx b/sw/source/uibase/wrtsh/wrtsh3.cxx index 1fd1ce2cddeb..7d30c3780fc2 100644 --- a/sw/source/uibase/wrtsh/wrtsh3.cxx +++ b/sw/source/uibase/wrtsh/wrtsh3.cxx @@ -27,6 +27,7 @@ #include <svx/srchdlg.hxx> #include <com/sun/star/form/FormButtonType.hpp> #include <com/sun/star/beans/XPropertySet.hpp> +#include <osl/diagnose.h> #include <swmodule.hxx> #include <wrtsh.hxx> #include <view.hxx> diff --git a/sw/source/uibase/wrtsh/wrtundo.cxx b/sw/source/uibase/wrtsh/wrtundo.cxx index 1e92006a232b..49d73d75e579 100644 --- a/sw/source/uibase/wrtsh/wrtundo.cxx +++ b/sw/source/uibase/wrtsh/wrtundo.cxx @@ -25,6 +25,7 @@ #include <swdtflvr.hxx> #include <svtools/svtresid.hxx> #include <svtools/strings.hrc> +#include <osl/diagnose.h> // Undo ends all modes. If a selection is emerged by the Undo, // this must be considered for further action. diff --git a/toolkit/inc/awt/vclxprinter.hxx b/toolkit/inc/awt/vclxprinter.hxx index 53da02ae1f54..41a74044bfba 100644 --- a/toolkit/inc/awt/vclxprinter.hxx +++ b/toolkit/inc/awt/vclxprinter.hxx @@ -32,6 +32,8 @@ #include <vcl/vclptr.hxx> #include <vcl/jobset.hxx> +#include <memory> + namespace com::sun::star::awt { class XPrinter; } namespace vcl { class OldStylePrintAdaptor; } class Printer; diff --git a/tools/inc/poly.h b/tools/inc/poly.h index f621a73e223f..3de1374efd94 100644 --- a/tools/inc/poly.h +++ b/tools/inc/poly.h @@ -20,6 +20,7 @@ #define INCLUDED_TOOLS_INC_POLY_H #include <sal/types.h> +#include <memory> #include <tools/poly.hxx> class SAL_WARN_UNUSED ImplPolygon diff --git a/vcl/qt5/Qt5OpenGLContext.cxx b/vcl/qt5/Qt5OpenGLContext.cxx index a33f7abde2f5..ca2ec48d1d4c 100644 --- a/vcl/qt5/Qt5OpenGLContext.cxx +++ b/vcl/qt5/Qt5OpenGLContext.cxx @@ -19,6 +19,8 @@ #include <Qt5OpenGLContext.hxx> +#include <epoxy/gl.h> + #include <vcl/sysdata.hxx> #include <opengl/zone.hxx> #include <sal/log.hxx> diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index b185c0f00836..f1d1a1a88292 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -24,6 +24,7 @@ #include <com/sun/star/accessibility/AccessibleRelationType.hpp> #include <com/sun/star/awt/XWindow.hpp> #include <com/sun/star/awt/XWindowPeer.hpp> +#include <o3tl/safeint.hxx> #include <o3tl/sorted_vector.hxx> #include <officecfg/Office/Common.hxx> #include <salframe.hxx> diff --git a/vcl/source/app/unohelp2.cxx b/vcl/source/app/unohelp2.cxx index ab53a4c7f27f..47cfab4bcf9d 100644 --- a/vcl/source/app/unohelp2.cxx +++ b/vcl/source/app/unohelp2.cxx @@ -26,6 +26,9 @@ #include <com/sun/star/datatransfer/clipboard/XClipboard.hpp> #include <com/sun/star/datatransfer/clipboard/XFlushableClipboard.hpp> #include <cppuhelper/queryinterface.hxx> +#include <boost/property_tree/json_parser.hpp> +#include <comphelper/lok.hxx> +#include <LibreOfficeKit/LibreOfficeKitEnums.h> using namespace ::com::sun::star; diff --git a/xmloff/source/script/xmlbasicscript.cxx b/xmloff/source/script/xmlbasicscript.cxx index 35a65ae13b64..f619f71c26d0 100644 --- a/xmloff/source/script/xmlbasicscript.cxx +++ b/xmloff/source/script/xmlbasicscript.cxx @@ -23,6 +23,7 @@ #include <sal/log.hxx> #include <xmlscript/xmlns.h> #include <xmloff/xmlnamespace.hxx> +#include <xmloff/xmltkmap.hxx> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/lang/XMultiComponentFactory.hpp> #include <com/sun/star/document/XEmbeddedScripts.hpp> diff --git a/xmloff/source/style/FillStyleContext.cxx b/xmloff/source/style/FillStyleContext.cxx index 1d219083d5af..8cd99a25b261 100644 --- a/xmloff/source/style/FillStyleContext.cxx +++ b/xmloff/source/style/FillStyleContext.cxx @@ -29,6 +29,7 @@ #include <xmloff/MarkerStyle.hxx> #include <xmloff/DashStyle.hxx> #include <xmloff/xmlnamespace.hxx> +#include <xmloff/xmltkmap.hxx> #include <xmloff/XMLBase64ImportContext.hxx> using namespace ::com::sun::star; diff --git a/xmloff/source/text/XMLIndexSourceBaseContext.hxx b/xmloff/source/text/XMLIndexSourceBaseContext.hxx index 1aeb98168175..17d287e9a882 100644 --- a/xmloff/source/text/XMLIndexSourceBaseContext.hxx +++ b/xmloff/source/text/XMLIndexSourceBaseContext.hxx @@ -22,6 +22,7 @@ #include <xmloff/xmlictxt.hxx> #include <com/sun/star/uno/Reference.h> #include <rtl/ustring.hxx> +#include <sax/fastattribs.hxx> namespace com::sun::star { diff --git a/xmlsecurity/source/helper/ooxmlsecparser.cxx b/xmlsecurity/source/helper/ooxmlsecparser.cxx index 149e323eb8f6..c88c4efbbe69 100644 --- a/xmlsecurity/source/helper/ooxmlsecparser.cxx +++ b/xmlsecurity/source/helper/ooxmlsecparser.cxx @@ -13,6 +13,7 @@ #include <xsecctl.hxx> #include <xmloff/xmlnamespace.hxx> +#include <xmloff/xmltkmap.hxx> #include <xmloff/xmlimp.hxx> #include <com/sun/star/xml/sax/SAXException.hpp> diff --git a/xmlsecurity/source/helper/xsecparser.cxx b/xmlsecurity/source/helper/xsecparser.cxx index 326515ba5b39..d191c540ce8f 100644 --- a/xmlsecurity/source/helper/xsecparser.cxx +++ b/xmlsecurity/source/helper/xsecparser.cxx @@ -23,6 +23,7 @@ #include <xmlsignaturehelper.hxx> #include <xmloff/xmlnamespace.hxx> +#include <xmloff/xmltkmap.hxx> #include <xmloff/xmlimp.hxx> #include <com/sun/star/xml/sax/SAXException.hpp> |