From 9adf252639bb748173eec66c76422032a56a67cd Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 31 May 2022 18:01:46 +0200 Subject: include memory for GCC12 Change-Id: Idd92510b66f63b68faa8a8d4fef01a18874e9905 --- filter/source/xsltdialog/xmlfilterjar.hxx | 1 + forms/source/component/EventThread.hxx | 1 + fpicker/source/office/contentenumeration.hxx | 2 ++ include/svtools/imageresourceaccess.hxx | 2 ++ include/svx/hexcolorcontrol.hxx | 2 ++ include/vcl/BitmapBuffer.hxx | 2 ++ io/source/acceptor/acc_pipe.cxx | 2 ++ io/source/acceptor/acc_socket.cxx | 1 + io/source/connector/connector.cxx | 2 ++ sot/source/unoolestorage/xolesimplestorage.hxx | 2 ++ .../unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx | 1 + sw/source/uibase/docvw/OverlayRanges.hxx | 1 + sw/source/uibase/docvw/ShadowOverlayObject.hxx | 2 ++ xmlsecurity/source/gpg/SEInitializer.cxx | 2 ++ xmlsecurity/source/gpg/SecurityEnvironment.hxx | 2 ++ xmlsecurity/source/helper/ooxmlsecparser.hxx | 1 + xmlsecurity/source/helper/xsecparser.hxx | 1 + 17 files changed, 27 insertions(+) diff --git a/filter/source/xsltdialog/xmlfilterjar.hxx b/filter/source/xsltdialog/xmlfilterjar.hxx index d9e20cd05847..d4a760366626 100644 --- a/filter/source/xsltdialog/xmlfilterjar.hxx +++ b/filter/source/xsltdialog/xmlfilterjar.hxx @@ -23,6 +23,7 @@ #include #include +#include #include class filter_info_impl; diff --git a/forms/source/component/EventThread.hxx b/forms/source/component/EventThread.hxx index eb3062080d73..bb8d01c48a0b 100644 --- a/forms/source/component/EventThread.hxx +++ b/forms/source/component/EventThread.hxx @@ -22,6 +22,7 @@ #include +#include #include #include diff --git a/fpicker/source/office/contentenumeration.hxx b/fpicker/source/office/contentenumeration.hxx index 920a6d8f2b08..0f6e37277376 100644 --- a/fpicker/source/office/contentenumeration.hxx +++ b/fpicker/source/office/contentenumeration.hxx @@ -26,6 +26,8 @@ #include #include +#include + namespace svt { diff --git a/include/svtools/imageresourceaccess.hxx b/include/svtools/imageresourceaccess.hxx index 6adff39ae4aa..b9135f2ccf6d 100644 --- a/include/svtools/imageresourceaccess.hxx +++ b/include/svtools/imageresourceaccess.hxx @@ -24,6 +24,8 @@ #include +#include + namespace com :: sun :: star :: io { class XInputStream; } namespace com :: sun :: star :: uno { class XComponentContext; } diff --git a/include/svx/hexcolorcontrol.hxx b/include/svx/hexcolorcontrol.hxx index 63b44992d370..fc72f493a61d 100644 --- a/include/svx/hexcolorcontrol.hxx +++ b/include/svx/hexcolorcontrol.hxx @@ -24,6 +24,8 @@ #include #include +#include + namespace weld { class Entry; } struct ImplSVEvent; diff --git a/include/vcl/BitmapBuffer.hxx b/include/vcl/BitmapBuffer.hxx index 2a064951c447..3686e5fcb508 100644 --- a/include/vcl/BitmapBuffer.hxx +++ b/include/vcl/BitmapBuffer.hxx @@ -25,6 +25,8 @@ #include #include +#include + struct SalTwoRect; struct VCL_DLLPUBLIC BitmapBuffer diff --git a/io/source/acceptor/acc_pipe.cxx b/io/source/acceptor/acc_pipe.cxx index ad9ce09a20cb..0af2ae14a32c 100644 --- a/io/source/acceptor/acc_pipe.cxx +++ b/io/source/acceptor/acc_pipe.cxx @@ -27,6 +27,8 @@ #include #include +#include + using namespace ::osl; using namespace ::cppu; using namespace ::com::sun::star::uno; diff --git a/io/source/acceptor/acc_socket.cxx b/io/source/acceptor/acc_socket.cxx index a72179ecb356..66a70a7c2d0e 100644 --- a/io/source/acceptor/acc_socket.cxx +++ b/io/source/acceptor/acc_socket.cxx @@ -20,6 +20,7 @@ #include "acceptor.hxx" #include +#include #include #include diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx index c21a34d17eac..ba9ec42ce436 100644 --- a/io/source/connector/connector.cxx +++ b/io/source/connector/connector.cxx @@ -34,6 +34,8 @@ #include #include "connector.hxx" +#include + #define IMPLEMENTATION_NAME "com.sun.star.comp.io.Connector" #define SERVICE_NAME "com.sun.star.connection.Connector" diff --git a/sot/source/unoolestorage/xolesimplestorage.hxx b/sot/source/unoolestorage/xolesimplestorage.hxx index ef0214ba61c3..af97164c1090 100644 --- a/sot/source/unoolestorage/xolesimplestorage.hxx +++ b/sot/source/unoolestorage/xolesimplestorage.hxx @@ -28,6 +28,8 @@ #include +#include + namespace com::sun::star::container { class XNameAccess; } namespace com::sun::star::io { class XInputStream; } namespace com::sun::star::io { class XStream; } diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx index 8407b084dbdc..003e930de45b 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_translation_unodialog.hxx @@ -31,6 +31,7 @@ #include #include +#include namespace textconversiondlgs { diff --git a/sw/source/uibase/docvw/OverlayRanges.hxx b/sw/source/uibase/docvw/OverlayRanges.hxx index 7482deef8f97..f8ea5694b128 100644 --- a/sw/source/uibase/docvw/OverlayRanges.hxx +++ b/sw/source/uibase/docvw/OverlayRanges.hxx @@ -24,6 +24,7 @@ #include #include +#include class SwView; diff --git a/sw/source/uibase/docvw/ShadowOverlayObject.hxx b/sw/source/uibase/docvw/ShadowOverlayObject.hxx index ec2c7eaf44c1..4b333cf4c06f 100644 --- a/sw/source/uibase/docvw/ShadowOverlayObject.hxx +++ b/sw/source/uibase/docvw/ShadowOverlayObject.hxx @@ -22,6 +22,8 @@ #include +#include + class SwView; namespace sw { namespace sidebarwindows { diff --git a/xmlsecurity/source/gpg/SEInitializer.cxx b/xmlsecurity/source/gpg/SEInitializer.cxx index cb502e8c9793..2531a827c64c 100644 --- a/xmlsecurity/source/gpg/SEInitializer.cxx +++ b/xmlsecurity/source/gpg/SEInitializer.cxx @@ -14,6 +14,8 @@ #include +#include + namespace com::sun::star::uno { class XComponentContext; } using namespace css; diff --git a/xmlsecurity/source/gpg/SecurityEnvironment.hxx b/xmlsecurity/source/gpg/SecurityEnvironment.hxx index c815e0e1f5d2..f3213e77e23b 100644 --- a/xmlsecurity/source/gpg/SecurityEnvironment.hxx +++ b/xmlsecurity/source/gpg/SecurityEnvironment.hxx @@ -18,6 +18,8 @@ #include #include +#include + namespace com::sun::star::security { class XCertificate; } namespace GpgME { class Context; } diff --git a/xmlsecurity/source/helper/ooxmlsecparser.hxx b/xmlsecurity/source/helper/ooxmlsecparser.hxx index 540028b22fc9..5fe6f53eb701 100644 --- a/xmlsecurity/source/helper/ooxmlsecparser.hxx +++ b/xmlsecurity/source/helper/ooxmlsecparser.hxx @@ -17,6 +17,7 @@ #include +#include #include class XSecController; diff --git a/xmlsecurity/source/helper/xsecparser.hxx b/xmlsecurity/source/helper/xsecparser.hxx index 7674bf28b84d..a54bbdac37a5 100644 --- a/xmlsecurity/source/helper/xsecparser.hxx +++ b/xmlsecurity/source/helper/xsecparser.hxx @@ -27,6 +27,7 @@ #include +#include #include class XMLSignatureHelper; -- cgit