summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/basegfx/raster/bpixelraster.hxx1
-rw-r--r--include/basegfx/raster/bzpixelraster.hxx1
-rw-r--r--include/basic/basmgr.hxx2
-rw-r--r--include/comphelper/unique_disposing_ptr.hxx1
-rw-r--r--include/connectivity/TColumnsHelper.hxx1
-rw-r--r--include/connectivity/TTableHelper.hxx1
-rw-r--r--include/connectivity/sdbcx/VGroup.hxx1
-rw-r--r--include/connectivity/sdbcx/VIndex.hxx1
-rw-r--r--include/connectivity/sdbcx/VUser.hxx1
-rw-r--r--include/connectivity/sqlparse.hxx1
-rw-r--r--include/editeng/bulletitem.hxx1
-rw-r--r--include/editeng/editeng.hxx1
-rw-r--r--include/editeng/editview.hxx1
-rw-r--r--include/editeng/lineitem.hxx1
-rw-r--r--include/editeng/outliner.hxx1
-rw-r--r--include/editeng/unotext.hxx1
-rw-r--r--include/formula/token.hxx1
-rw-r--r--include/o3tl/cow_wrapper.hxx1
-rw-r--r--include/sfx2/app.hxx1
-rw-r--r--include/sfx2/basedlgs.hxx1
-rw-r--r--include/sfx2/childwin.hxx1
-rw-r--r--include/sfx2/dispatch.hxx1
-rw-r--r--include/sfx2/docfile.hxx1
-rw-r--r--include/sfx2/docinsert.hxx1
-rw-r--r--include/sfx2/dockwin.hxx1
-rw-r--r--include/sfx2/frame.hxx1
-rw-r--r--include/sfx2/frmdescr.hxx1
-rw-r--r--include/sfx2/mieclip.hxx1
-rw-r--r--include/sfx2/module.hxx1
-rw-r--r--include/sfx2/msgpool.hxx1
-rw-r--r--include/sfx2/new.hxx1
-rw-r--r--include/sfx2/objface.hxx1
-rw-r--r--include/sfx2/printer.hxx1
-rw-r--r--include/sfx2/prnmon.hxx1
-rw-r--r--include/sfx2/sfxbasecontroller.hxx1
-rw-r--r--include/sfx2/shell.hxx1
-rw-r--r--include/sfx2/sidebar/SidebarController.hxx1
-rw-r--r--include/sfx2/tabdlg.hxx1
-rw-r--r--include/sfx2/tbxctrl.hxx1
-rw-r--r--include/sfx2/templdlg.hxx1
-rw-r--r--include/sfx2/unoctitm.hxx1
-rw-r--r--include/sfx2/viewfrm.hxx1
-rw-r--r--include/svl/filerec.hxx1
-rw-r--r--include/svl/ondemand.hxx1
-rw-r--r--include/svtools/DocumentInfoPreview.hxx1
-rw-r--r--include/svtools/addresstemplate.hxx1
-rw-r--r--include/svtools/editbrowsebox.hxx1
-rw-r--r--include/svtools/ehdl.hxx1
-rw-r--r--include/svtools/fileview.hxx1
-rw-r--r--include/svtools/grfmgr.hxx1
-rw-r--r--include/svtools/hyperlabel.hxx1
-rw-r--r--include/svtools/inettbc.hxx1
-rw-r--r--include/svtools/ivctrl.hxx1
-rw-r--r--include/svtools/popupwindowcontroller.hxx1
-rw-r--r--include/svtools/roadmapwizard.hxx1
-rw-r--r--include/svtools/ruler.hxx1
-rw-r--r--include/svtools/svlbitm.hxx1
-rw-r--r--include/svtools/svtabbx.hxx1
-rw-r--r--include/svtools/tabbar.hxx1
-rw-r--r--include/svtools/treelist.hxx1
-rw-r--r--include/svtools/wizardmachine.hxx1
-rw-r--r--include/svx/colorbox.hxx1
-rw-r--r--include/svx/fillctrl.hxx1
-rw-r--r--include/svx/float3d.hxx1
-rw-r--r--include/svx/fmpage.hxx1
-rw-r--r--include/svx/fmshell.hxx1
-rw-r--r--include/svx/fntctrl.hxx1
-rw-r--r--include/svx/langbox.hxx1
-rw-r--r--include/svx/numinf.hxx1
-rw-r--r--include/svx/pszctrl.hxx1
-rw-r--r--include/svx/sidebar/AreaPropertyPanelBase.hxx1
-rw-r--r--include/svx/srchdlg.hxx1
-rw-r--r--include/svx/svdmodel.hxx1
-rw-r--r--include/svx/svdobj.hxx1
-rw-r--r--include/svx/svdoedge.hxx1
-rw-r--r--include/svx/svdogrp.hxx1
-rw-r--r--include/svx/svdomedia.hxx1
-rw-r--r--include/svx/svdoole2.hxx1
-rw-r--r--include/svx/svdorect.hxx1
-rw-r--r--include/svx/unoshape.hxx1
-rw-r--r--include/svx/xbitmap.hxx1
-rw-r--r--include/svx/xmlsecctrl.hxx1
-rw-r--r--include/toolkit/awt/vclxfont.hxx1
-rw-r--r--include/tools/stream.hxx2
-rw-r--r--include/ucbhelper/contentinfo.hxx1
-rw-r--r--include/ucbhelper/resultsethelper.hxx1
-rw-r--r--include/vcl/ImageTree.hxx1
-rw-r--r--include/vcl/bitmapaccess.hxx1
-rw-r--r--include/vcl/button.hxx1
-rw-r--r--include/vcl/combobox.hxx1
-rw-r--r--include/vcl/commandevent.hxx1
-rw-r--r--include/vcl/dialog.hxx1
-rw-r--r--include/vcl/field.hxx1
-rw-r--r--include/vcl/filter/pdfdocument.hxx1
-rw-r--r--include/vcl/graph.hxx1
-rw-r--r--include/vcl/menu.hxx1
-rw-r--r--include/vcl/metaact.hxx1
-rw-r--r--include/vcl/oldprintadaptor.hxx1
-rw-r--r--include/vcl/openglwin.hxx1
-rw-r--r--include/vcl/pdfwriter.hxx1
-rw-r--r--include/vcl/pngread.hxx1
-rw-r--r--include/vcl/pngwrite.hxx1
-rw-r--r--include/vcl/printerinfomanager.hxx1
-rw-r--r--include/vcl/texteng.hxx1
-rw-r--r--include/xmloff/xmlnumfi.hxx1
105 files changed, 106 insertions, 1 deletions
diff --git a/include/basegfx/raster/bpixelraster.hxx b/include/basegfx/raster/bpixelraster.hxx
index 491f88e75543..42620c7c01d7 100644
--- a/include/basegfx/raster/bpixelraster.hxx
+++ b/include/basegfx/raster/bpixelraster.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_BASEGFX_RASTER_BPIXELRASTER_HXX
#define INCLUDED_BASEGFX_RASTER_BPIXELRASTER_HXX
+#include <memory>
#include <algorithm>
#include <string.h>
#include <sal/types.h>
diff --git a/include/basegfx/raster/bzpixelraster.hxx b/include/basegfx/raster/bzpixelraster.hxx
index e48f32fbb686..9f6900d3b125 100644
--- a/include/basegfx/raster/bzpixelraster.hxx
+++ b/include/basegfx/raster/bzpixelraster.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_BASEGFX_RASTER_BZPIXELRASTER_HXX
#define INCLUDED_BASEGFX_RASTER_BZPIXELRASTER_HXX
+#include <memory>
#include <basegfx/raster/bpixelraster.hxx>
#include <basegfx/basegfxdllapi.h>
#include <osl/diagnose.h>
diff --git a/include/basic/basmgr.hxx b/include/basic/basmgr.hxx
index 3a132ebfadd4..13ad654ff3ed 100644
--- a/include/basic/basmgr.hxx
+++ b/include/basic/basmgr.hxx
@@ -19,11 +19,13 @@
#ifndef INCLUDED_BASIC_BASMGR_HXX
#define INCLUDED_BASIC_BASMGR_HXX
+#include <tools/errinf.hxx>
#include <svl/SfxBroadcaster.hxx>
#include <basic/sbstar.hxx>
#include <com/sun/star/script/XStorageBasedLibraryContainer.hpp>
#include <com/sun/star/script/XStarBasicAccess.hpp>
#include <basic/basicdllapi.h>
+#include <memory>
#include <vector>
// Basic XML Import/Export
diff --git a/include/comphelper/unique_disposing_ptr.hxx b/include/comphelper/unique_disposing_ptr.hxx
index 1c4a8dce9fb3..a22b3ac761b3 100644
--- a/include/comphelper/unique_disposing_ptr.hxx
+++ b/include/comphelper/unique_disposing_ptr.hxx
@@ -10,6 +10,7 @@
#ifndef INCLUDED_COMPHELPER_UNIQUE_DISPOSING_PTR_HXX
#define INCLUDED_COMPHELPER_UNIQUE_DISPOSING_PTR_HXX
+#include <memory>
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/lang/XComponent.hpp>
diff --git a/include/connectivity/TColumnsHelper.hxx b/include/connectivity/TColumnsHelper.hxx
index 140d6328c1d2..2a1580485a1d 100644
--- a/include/connectivity/TColumnsHelper.hxx
+++ b/include/connectivity/TColumnsHelper.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_CONNECTIVITY_TCOLUMNSHELPER_HXX
#define INCLUDED_CONNECTIVITY_TCOLUMNSHELPER_HXX
+#include <memory>
#include <connectivity/sdbcx/VCollection.hxx>
#include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
#include <connectivity/sdbcx/IRefreshable.hxx>
diff --git a/include/connectivity/TTableHelper.hxx b/include/connectivity/TTableHelper.hxx
index 15e13e0fc9f5..72c7577e53b2 100644
--- a/include/connectivity/TTableHelper.hxx
+++ b/include/connectivity/TTableHelper.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_CONNECTIVITY_TTABLEHELPER_HXX
#define INCLUDED_CONNECTIVITY_TTABLEHELPER_HXX
+#include <memory>
#include <sal/config.h>
#include <map>
diff --git a/include/connectivity/sdbcx/VGroup.hxx b/include/connectivity/sdbcx/VGroup.hxx
index a18b4b21c153..312f074a841f 100644
--- a/include/connectivity/sdbcx/VGroup.hxx
+++ b/include/connectivity/sdbcx/VGroup.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_CONNECTIVITY_SDBCX_VGROUP_HXX
#define INCLUDED_CONNECTIVITY_SDBCX_VGROUP_HXX
+#include <memory>
#include <osl/diagnose.h>
diff --git a/include/connectivity/sdbcx/VIndex.hxx b/include/connectivity/sdbcx/VIndex.hxx
index 67560d192639..356dcf32b7a0 100644
--- a/include/connectivity/sdbcx/VIndex.hxx
+++ b/include/connectivity/sdbcx/VIndex.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_CONNECTIVITY_SDBCX_VINDEX_HXX
#define INCLUDED_CONNECTIVITY_SDBCX_VINDEX_HXX
+#include <memory>
#include <com/sun/star/sdbcx/XDataDescriptorFactory.hpp>
#include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
#include <com/sun/star/container/XNamed.hpp>
diff --git a/include/connectivity/sdbcx/VUser.hxx b/include/connectivity/sdbcx/VUser.hxx
index e434c0074ff9..32981b952fc0 100644
--- a/include/connectivity/sdbcx/VUser.hxx
+++ b/include/connectivity/sdbcx/VUser.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_CONNECTIVITY_SDBCX_VUSER_HXX
#define INCLUDED_CONNECTIVITY_SDBCX_VUSER_HXX
+#include <memory>
#include <osl/diagnose.h>
#include <com/sun/star/sdbcx/XUser.hpp>
#include <com/sun/star/sdbcx/XGroupsSupplier.hpp>
diff --git a/include/connectivity/sqlparse.hxx b/include/connectivity/sqlparse.hxx
index 7ee7a4fd3225..18bc0a3c0228 100644
--- a/include/connectivity/sqlparse.hxx
+++ b/include/connectivity/sqlparse.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_CONNECTIVITY_SQLPARSE_HXX
#define INCLUDED_CONNECTIVITY_SQLPARSE_HXX
+#include <memory>
#include <config_features.h>
#include <com/sun/star/uno/Reference.h>
diff --git a/include/editeng/bulletitem.hxx b/include/editeng/bulletitem.hxx
index 0d1fe95fefdf..c73fcb2d8cb9 100644
--- a/include/editeng/bulletitem.hxx
+++ b/include/editeng/bulletitem.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_EDITENG_BULLETITEM_HXX
#define INCLUDED_EDITENG_BULLETITEM_HXX
+#include <memory>
#include <editeng/editengdllapi.h>
#include <svl/poolitem.hxx>
#include <svtools/grfmgr.hxx>
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx
index 6b3ba51a6578..cad62da8a5aa 100644
--- a/include/editeng/editeng.hxx
+++ b/include/editeng/editeng.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_EDITENG_EDITENG_HXX
#include <rtl/ref.hxx>
+#include <memory>
#include <vector>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/i18n/WordType.hpp>
diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx
index b246e8db6ac6..55b2620c9e87 100644
--- a/include/editeng/editview.hxx
+++ b/include/editeng/editview.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_EDITENG_EDITVIEW_HXX
#define INCLUDED_EDITENG_EDITVIEW_HXX
+#include <memory>
#include <com/sun/star/i18n/WordType.hpp>
#include <rsc/rscsfx.hxx>
diff --git a/include/editeng/lineitem.hxx b/include/editeng/lineitem.hxx
index cf048589a0cb..0fb4a787fcb2 100644
--- a/include/editeng/lineitem.hxx
+++ b/include/editeng/lineitem.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_EDITENG_LINEITEM_HXX
#define INCLUDED_EDITENG_LINEITEM_HXX
+#include <memory>
#include <svl/poolitem.hxx>
#include <editeng/editengdllapi.h>
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index e8fdb13b6920..daa0dcc83d84 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -49,6 +49,7 @@
#include <o3tl/typed_flags_set.hxx>
#include <functional>
+#include <memory>
#include <vector>
class OutlinerEditEng;
diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx
index 2318730d5e06..cf9762024c4d 100644
--- a/include/editeng/unotext.hxx
+++ b/include/editeng/unotext.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_EDITENG_UNOTEXT_HXX
#define INCLUDED_EDITENG_UNOTEXT_HXX
+#include <memory>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/text/XTextRange.hpp>
#include <com/sun/star/text/XText.hpp>
diff --git a/include/formula/token.hxx b/include/formula/token.hxx
index 19d1b1bb5bdf..7c0b062abe6f 100644
--- a/include/formula/token.hxx
+++ b/include/formula/token.hxx
@@ -23,6 +23,7 @@
#include <sal/config.h>
#include <cstring>
+#include <memory>
#include <vector>
#include <formula/formuladllapi.h>
diff --git a/include/o3tl/cow_wrapper.hxx b/include/o3tl/cow_wrapper.hxx
index a80241e3a8a1..79a4630f27ec 100644
--- a/include/o3tl/cow_wrapper.hxx
+++ b/include/o3tl/cow_wrapper.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_O3TL_COW_WRAPPER_HXX
#define INCLUDED_O3TL_COW_WRAPPER_HXX
+#include <memory>
#include <osl/interlck.h>
#include <utility>
diff --git a/include/sfx2/app.hxx b/include/sfx2/app.hxx
index dbdabc015f77..f44b0a16894d 100644
--- a/include/sfx2/app.hxx
+++ b/include/sfx2/app.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SFX2_APP_HXX
#define INCLUDED_SFX2_APP_HXX
+#include <memory>
#include <sal/config.h>
#include <sfx2/dllapi.h>
#include <sal/types.h>
diff --git a/include/sfx2/basedlgs.hxx b/include/sfx2/basedlgs.hxx
index b5c06c515e16..a83ae7909c9b 100644
--- a/include/sfx2/basedlgs.hxx
+++ b/include/sfx2/basedlgs.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SFX2_BASEDLGS_HXX
#define INCLUDED_SFX2_BASEDLGS_HXX
+#include <memory>
#include <sal/config.h>
#include <sfx2/dllapi.h>
#include <sal/types.h>
diff --git a/include/sfx2/childwin.hxx b/include/sfx2/childwin.hxx
index 154b441652bd..8b718c3cdaa0 100644
--- a/include/sfx2/childwin.hxx
+++ b/include/sfx2/childwin.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SFX2_CHILDWIN_HXX
#define INCLUDED_SFX2_CHILDWIN_HXX
+#include <memory>
#include <sal/config.h>
#include <sfx2/dllapi.h>
diff --git a/include/sfx2/dispatch.hxx b/include/sfx2/dispatch.hxx
index 2487d3e7f90e..1b81b0ba4b80 100644
--- a/include/sfx2/dispatch.hxx
+++ b/include/sfx2/dispatch.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SFX2_DISPATCH_HXX
#define INCLUDED_SFX2_DISPATCH_HXX
+#include <memory>
#include <sal/config.h>
#include <sfx2/dllapi.h>
#include <sal/types.h>
diff --git a/include/sfx2/docfile.hxx b/include/sfx2/docfile.hxx
index 5727d9a372ea..291b6515ae79 100644
--- a/include/sfx2/docfile.hxx
+++ b/include/sfx2/docfile.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SFX2_DOCFILE_HXX
#define INCLUDED_SFX2_DOCFILE_HXX
+#include <memory>
#include <com/sun/star/io/XSeekable.hpp>
#include <sal/config.h>
#include <sfx2/dllapi.h>
diff --git a/include/sfx2/docinsert.hxx b/include/sfx2/docinsert.hxx
index 13f210de5b7f..b1da8052b1db 100644
--- a/include/sfx2/docinsert.hxx
+++ b/include/sfx2/docinsert.hxx
@@ -24,6 +24,7 @@
#include <sfx2/dllapi.h>
#include <tools/errcode.hxx>
#include <tools/link.hxx>
+#include <memory>
#include <vector>
namespace sfx2 { class FileDialogHelper; }
diff --git a/include/sfx2/dockwin.hxx b/include/sfx2/dockwin.hxx
index 62b6231e8bd3..7b078a96af35 100644
--- a/include/sfx2/dockwin.hxx
+++ b/include/sfx2/dockwin.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SFX2_DOCKWIN_HXX
#define INCLUDED_SFX2_DOCKWIN_HXX
+#include <memory>
#include <sal/config.h>
#include <sal/types.h>
#include <vcl/dockwin.hxx>
diff --git a/include/sfx2/frame.hxx b/include/sfx2/frame.hxx
index b14bb6e6f0b5..0884b90523da 100644
--- a/include/sfx2/frame.hxx
+++ b/include/sfx2/frame.hxx
@@ -30,6 +30,7 @@
#include <rtl/ustring.hxx>
#include <svl/poolitem.hxx>
#include <tools/ref.hxx>
+#include <memory>
#include <vector>
diff --git a/include/sfx2/frmdescr.hxx b/include/sfx2/frmdescr.hxx
index 5e8e3d99ef9d..6cbda802055f 100644
--- a/include/sfx2/frmdescr.hxx
+++ b/include/sfx2/frmdescr.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SFX2_FRMDESCR_HXX
#define INCLUDED_SFX2_FRMDESCR_HXX
+#include <memory>
#include <rtl/ustring.hxx>
#include <sal/config.h>
#include <sfx2/dllapi.h>
diff --git a/include/sfx2/mieclip.hxx b/include/sfx2/mieclip.hxx
index 365b8ed0a4d5..8fa29baa4ae6 100644
--- a/include/sfx2/mieclip.hxx
+++ b/include/sfx2/mieclip.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SFX2_MIECLIP_HXX
#define INCLUDED_SFX2_MIECLIP_HXX
+#include <memory>
#include <rtl/ustring.hxx>
#include <sal/config.h>
#include <sal/types.h>
diff --git a/include/sfx2/module.hxx b/include/sfx2/module.hxx
index c0e1d0667812..014196c50578 100644
--- a/include/sfx2/module.hxx
+++ b/include/sfx2/module.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SFX2_MODULE_HXX
#define INCLUDED_SFX2_MODULE_HXX
+#include <memory>
#include <sal/config.h>
#include <sfx2/app.hxx>
#include <sfx2/dllapi.h>
diff --git a/include/sfx2/msgpool.hxx b/include/sfx2/msgpool.hxx
index d38a73c3007d..817b914152e2 100644
--- a/include/sfx2/msgpool.hxx
+++ b/include/sfx2/msgpool.hxx
@@ -25,6 +25,7 @@
#include <sfx2/dllapi.h>
#include <sfx2/msg.hxx>
#include <string>
+#include <memory>
#include <vector>
class SfxInterface;
diff --git a/include/sfx2/new.hxx b/include/sfx2/new.hxx
index 6113215f8af7..200a15e186bb 100644
--- a/include/sfx2/new.hxx
+++ b/include/sfx2/new.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SFX2_NEW_HXX
#define INCLUDED_SFX2_NEW_HXX
+#include <memory>
#include <sal/config.h>
#include <sfx2/dllapi.h>
diff --git a/include/sfx2/objface.hxx b/include/sfx2/objface.hxx
index 3805d2fe0fb3..aa0056332916 100644
--- a/include/sfx2/objface.hxx
+++ b/include/sfx2/objface.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SFX2_OBJFACE_HXX
#define INCLUDED_SFX2_OBJFACE_HXX
+#include <memory>
#include <rtl/ustring.hxx>
#include <sal/config.h>
#include <sal/types.h>
diff --git a/include/sfx2/printer.hxx b/include/sfx2/printer.hxx
index c8d2c1e03143..a2c40249c793 100644
--- a/include/sfx2/printer.hxx
+++ b/include/sfx2/printer.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SFX2_PRINTER_HXX
#define INCLUDED_SFX2_PRINTER_HXX
+#include <memory>
#include <sal/config.h>
#include <sfx2/dllapi.h>
#include <sal/types.h>
diff --git a/include/sfx2/prnmon.hxx b/include/sfx2/prnmon.hxx
index adc57e74047b..22ff12fd2501 100644
--- a/include/sfx2/prnmon.hxx
+++ b/include/sfx2/prnmon.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SFX2_PRNMON_HXX
#define INCLUDED_SFX2_PRNMON_HXX
+#include <memory>
#include <sal/config.h>
#include <sfx2/dllapi.h>
diff --git a/include/sfx2/sfxbasecontroller.hxx b/include/sfx2/sfxbasecontroller.hxx
index 5eea0db2132c..44de7a736692 100644
--- a/include/sfx2/sfxbasecontroller.hxx
+++ b/include/sfx2/sfxbasecontroller.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SFX2_SFXBASECONTROLLER_HXX
#define INCLUDED_SFX2_SFXBASECONTROLLER_HXX
+#include <memory>
#include <sal/config.h>
#include <sfx2/dllapi.h>
#include <sal/types.h>
diff --git a/include/sfx2/shell.hxx b/include/sfx2/shell.hxx
index 2e1106591115..ddb4665d8c67 100644
--- a/include/sfx2/shell.hxx
+++ b/include/sfx2/shell.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SFX2_SHELL_HXX
#define INCLUDED_SFX2_SHELL_HXX
+#include <memory>
#include <com/sun/star/embed/VerbDescriptor.hpp>
#include <rtl/ustring.hxx>
#include <sal/config.h>
diff --git a/include/sfx2/sidebar/SidebarController.hxx b/include/sfx2/sidebar/SidebarController.hxx
index cf46885a4a7b..32340fe2c017 100644
--- a/include/sfx2/sidebar/SidebarController.hxx
+++ b/include/sfx2/sidebar/SidebarController.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SFX2_SOURCE_SIDEBAR_SIDEBARCONTROLLER_HXX
#define INCLUDED_SFX2_SOURCE_SIDEBAR_SIDEBARCONTROLLER_HXX
+#include <memory>
#include <sal/config.h>
#include <sfx2/sidebar/AsynchronousCall.hxx>
diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx
index efed3fff4d35..81c521aa10b5 100644
--- a/include/sfx2/tabdlg.hxx
+++ b/include/sfx2/tabdlg.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SFX2_TABDLG_HXX
#define INCLUDED_SFX2_TABDLG_HXX
+#include <memory>
#include <sal/config.h>
#include <sfx2/dllapi.h>
#include <sal/types.h>
diff --git a/include/sfx2/tbxctrl.hxx b/include/sfx2/tbxctrl.hxx
index e6002abb8001..339b2655b8bc 100644
--- a/include/sfx2/tbxctrl.hxx
+++ b/include/sfx2/tbxctrl.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SFX2_TBXCTRL_HXX
#define INCLUDED_SFX2_TBXCTRL_HXX
+#include <memory>
#include <sal/config.h>
#include <sfx2/dllapi.h>
#include <sal/types.h>
diff --git a/include/sfx2/templdlg.hxx b/include/sfx2/templdlg.hxx
index a34f78ff50a6..0601bf65f470 100644
--- a/include/sfx2/templdlg.hxx
+++ b/include/sfx2/templdlg.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SFX2_TEMPLDLG_HXX
#define INCLUDED_SFX2_TEMPLDLG_HXX
+#include <memory>
#include <sal/config.h>
#include <sfx2/dllapi.h>
#include <vcl/ctrl.hxx>
diff --git a/include/sfx2/unoctitm.hxx b/include/sfx2/unoctitm.hxx
index 421cd607c08c..128b8a4b9d4b 100644
--- a/include/sfx2/unoctitm.hxx
+++ b/include/sfx2/unoctitm.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SFX2_UNOCTITM_HXX
#define INCLUDED_SFX2_UNOCTITM_HXX
+#include <memory>
#include <com/sun/star/frame/XNotifyingDispatch.hpp>
#include <com/sun/star/frame/XDispatchResultListener.hpp>
#include <com/sun/star/frame/XDispatchProviderInterceptor.hpp>
diff --git a/include/sfx2/viewfrm.hxx b/include/sfx2/viewfrm.hxx
index 81084f0040b7..4de1bb297e1d 100644
--- a/include/sfx2/viewfrm.hxx
+++ b/include/sfx2/viewfrm.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SFX2_VIEWFRM_HXX
#define INCLUDED_SFX2_VIEWFRM_HXX
+#include <memory>
#include <sal/config.h>
#include <sfx2/dllapi.h>
#include <sal/types.h>
diff --git a/include/svl/filerec.hxx b/include/svl/filerec.hxx
index 503c677a42a3..a26dc6a68aeb 100644
--- a/include/svl/filerec.hxx
+++ b/include/svl/filerec.hxx
@@ -28,6 +28,7 @@
#include <tools/stream.hxx>
#include <osl/diagnose.h>
+#include <memory>
#include <vector>
#define SFX_REC_PRETAG_EXT sal_uInt8(0x00) // Pre-Tag for Extended-Records
diff --git a/include/svl/ondemand.hxx b/include/svl/ondemand.hxx
index 2eeebdad2137..3e14204a5846 100644
--- a/include/svl/ondemand.hxx
+++ b/include/svl/ondemand.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVL_ONDEMAND_HXX
#define INCLUDED_SVL_ONDEMAND_HXX
+#include <memory>
#include <unotools/syslocale.hxx>
#include <i18nlangtag/lang.h>
#include <unotools/localedatawrapper.hxx>
diff --git a/include/svtools/DocumentInfoPreview.hxx b/include/svtools/DocumentInfoPreview.hxx
index 0194520facdb..78c8bd6dca45 100644
--- a/include/svtools/DocumentInfoPreview.hxx
+++ b/include/svtools/DocumentInfoPreview.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVTOOLS_DOCUMENTINFOPREVIEW_HXX
#define INCLUDED_SVTOOLS_DOCUMENTINFOPREVIEW_HXX
+#include <memory>
#include <sal/config.h>
#include <i18nlangtag/languagetag.hxx>
diff --git a/include/svtools/addresstemplate.hxx b/include/svtools/addresstemplate.hxx
index 69d3bef4bc4f..f59cdf930baa 100644
--- a/include/svtools/addresstemplate.hxx
+++ b/include/svtools/addresstemplate.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVTOOLS_ADDRESSTEMPLATE_HXX
#define INCLUDED_SVTOOLS_ADDRESSTEMPLATE_HXX
+#include <memory>
#include <svtools/svtdllapi.h>
#include <vcl/dialog.hxx>
#include <vcl/fixed.hxx>
diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx
index e73403b921e1..0a144c69e6a9 100644
--- a/include/svtools/editbrowsebox.hxx
+++ b/include/svtools/editbrowsebox.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_SVTOOLS_EDITBROWSEBOX_HXX
#define SVTOOLS_IN_EDITBROWSEBOX_HXX
+#include <memory>
#include <svtools/svtdllapi.h>
#include <tools/ref.hxx>
#include <vcl/window.hxx>
diff --git a/include/svtools/ehdl.hxx b/include/svtools/ehdl.hxx
index 22cdafc73615..bb8e83b7677f 100644
--- a/include/svtools/ehdl.hxx
+++ b/include/svtools/ehdl.hxx
@@ -22,6 +22,7 @@
#ifndef __RSC
+#include <memory>
#include <svtools/svtdllapi.h>
#include <tools/errinf.hxx>
diff --git a/include/svtools/fileview.hxx b/include/svtools/fileview.hxx
index 3cd1e836fab6..1def65a885a2 100644
--- a/include/svtools/fileview.hxx
+++ b/include/svtools/fileview.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SVTOOLS_FILEVIEW_HXX
#define INCLUDED_SVTOOLS_FILEVIEW_HXX
+#include <memory>
#include <svtools/svtdllapi.h>
#include <com/sun/star/uno/Sequence.h>
#include <com/sun/star/ucb/XContent.hpp>
diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx
index d07a4448531b..22c65ff2a329 100644
--- a/include/svtools/grfmgr.hxx
+++ b/include/svtools/grfmgr.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVTOOLS_GRFMGR_HXX
#define INCLUDED_SVTOOLS_GRFMGR_HXX
+#include <memory>
#include <vcl/graph.hxx>
#include <svtools/svtdllapi.h>
#include <o3tl/typed_flags_set.hxx>
diff --git a/include/svtools/hyperlabel.hxx b/include/svtools/hyperlabel.hxx
index f9aeeecb1b39..b63107683767 100644
--- a/include/svtools/hyperlabel.hxx
+++ b/include/svtools/hyperlabel.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SVTOOLS_HYPERLABEL_HXX
#define INCLUDED_SVTOOLS_HYPERLABEL_HXX
+#include <memory>
#include <vcl/event.hxx>
diff --git a/include/svtools/inettbc.hxx b/include/svtools/inettbc.hxx
index 141363d1d068..5501d77b4d2c 100644
--- a/include/svtools/inettbc.hxx
+++ b/include/svtools/inettbc.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVTOOLS_INETTBC_HXX
#define INCLUDED_SVTOOLS_INETTBC_HXX
+#include <memory>
#include <rtl/ref.hxx>
#include <svtools/svtdllapi.h>
#include <tools/urlobj.hxx>
diff --git a/include/svtools/ivctrl.hxx b/include/svtools/ivctrl.hxx
index 5f9d0f1b4b89..710069c1baf9 100644
--- a/include/svtools/ivctrl.hxx
+++ b/include/svtools/ivctrl.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVTOOLS_IVCTRL_HXX
#define INCLUDED_SVTOOLS_IVCTRL_HXX
+#include <memory>
#include <svtools/svtdllapi.h>
#include <vcl/ctrl.hxx>
#include <tools/link.hxx>
diff --git a/include/svtools/popupwindowcontroller.hxx b/include/svtools/popupwindowcontroller.hxx
index 6801e2a7514e..21fe3ee6bd3e 100644
--- a/include/svtools/popupwindowcontroller.hxx
+++ b/include/svtools/popupwindowcontroller.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVTOOLS_POPUPWINDOWCONTROLLER_HXX
#define INCLUDED_SVTOOLS_POPUPWINDOWCONTROLLER_HXX
+#include <memory>
#include <svtools/svtdllapi.h>
#include <com/sun/star/lang/XServiceInfo.hpp>
diff --git a/include/svtools/roadmapwizard.hxx b/include/svtools/roadmapwizard.hxx
index 86d0bbd30428..f08add2269e2 100644
--- a/include/svtools/roadmapwizard.hxx
+++ b/include/svtools/roadmapwizard.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVTOOLS_ROADMAPWIZARD_HXX
#define INCLUDED_SVTOOLS_ROADMAPWIZARD_HXX
+#include <memory>
#include <svtools/svtdllapi.h>
#include <svtools/wizardmachine.hxx>
diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx
index f88c495992b1..292396feecf8 100644
--- a/include/svtools/ruler.hxx
+++ b/include/svtools/ruler.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVTOOLS_RULER_HXX
#define INCLUDED_SVTOOLS_RULER_HXX
+#include <memory>
#include <svtools/svtdllapi.h>
#include <rtl/ref.hxx>
#include <tools/link.hxx>
diff --git a/include/svtools/svlbitm.hxx b/include/svtools/svlbitm.hxx
index f3fba9d32fa8..c4703e53b9d6 100644
--- a/include/svtools/svlbitm.hxx
+++ b/include/svtools/svlbitm.hxx
@@ -21,6 +21,7 @@
#ifndef INCLUDED_SVTOOLS_SVLBITM_HXX
#define INCLUDED_SVTOOLS_SVLBITM_HXX
+#include <memory>
#include <svtools/svtdllapi.h>
#include <tools/link.hxx>
#include <vcl/image.hxx>
diff --git a/include/svtools/svtabbx.hxx b/include/svtools/svtabbx.hxx
index 23efa2956a09..b555c07a4519 100644
--- a/include/svtools/svtabbx.hxx
+++ b/include/svtools/svtabbx.hxx
@@ -23,6 +23,7 @@
#include <svtools/treelistbox.hxx>
#include <svtools/accessibletableprovider.hxx>
+#include <memory>
#include <vector>
enum SvTabJustify
diff --git a/include/svtools/tabbar.hxx b/include/svtools/tabbar.hxx
index 8019e38996c1..f2b0508a592b 100644
--- a/include/svtools/tabbar.hxx
+++ b/include/svtools/tabbar.hxx
@@ -23,6 +23,7 @@
#include <svtools/svtdllapi.h>
#include <tools/link.hxx>
#include <vcl/window.hxx>
+#include <memory>
#include <vector>
/*
diff --git a/include/svtools/treelist.hxx b/include/svtools/treelist.hxx
index 35358a3f2272..01ed48aeae7a 100644
--- a/include/svtools/treelist.hxx
+++ b/include/svtools/treelist.hxx
@@ -29,6 +29,7 @@
#include <tools/contnr.hxx>
#include <limits.h>
+#include <memory>
#include <vector>
enum class SvListAction
diff --git a/include/svtools/wizardmachine.hxx b/include/svtools/wizardmachine.hxx
index c72652c74765..bfd80a724015 100644
--- a/include/svtools/wizardmachine.hxx
+++ b/include/svtools/wizardmachine.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SVTOOLS_WIZARDMACHINE_HXX
#define INCLUDED_SVTOOLS_WIZARDMACHINE_HXX
+#include <memory>
#include <svtools/svtdllapi.h>
#include <svtools/wizdlg.hxx>
#include <vcl/button.hxx>
diff --git a/include/svx/colorbox.hxx b/include/svx/colorbox.hxx
index aa6f97185bd0..a813d545fb01 100644
--- a/include/svx/colorbox.hxx
+++ b/include/svx/colorbox.hxx
@@ -10,6 +10,7 @@
#ifndef INCLUDED_SVX_COLORBOX_HXX
#define INCLUDED_SVX_COLORBOX_HXX
+#include <memory>
#include <vcl/menubtn.hxx>
#include <svx/colorwindow.hxx>
#include <sfx2/controlwrapper.hxx>
diff --git a/include/svx/fillctrl.hxx b/include/svx/fillctrl.hxx
index 3ee9d551a6ed..e643874d3260 100644
--- a/include/svx/fillctrl.hxx
+++ b/include/svx/fillctrl.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVX_FILLCTRL_HXX
#define INCLUDED_SVX_FILLCTRL_HXX
+#include <memory>
#include <svl/lstner.hxx>
#include <sfx2/tbxctrl.hxx>
#include <svx/svxdllapi.h>
diff --git a/include/svx/float3d.hxx b/include/svx/float3d.hxx
index 396d104a9f53..3c315e9234e9 100644
--- a/include/svx/float3d.hxx
+++ b/include/svx/float3d.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVX_FLOAT3D_HXX
#define INCLUDED_SVX_FLOAT3D_HXX
+#include <memory>
#include <sfx2/ctrlitem.hxx>
#include <vcl/fixed.hxx>
#include <vcl/field.hxx>
diff --git a/include/svx/fmpage.hxx b/include/svx/fmpage.hxx
index 0a9c5672af61..9d0771f0d01e 100644
--- a/include/svx/fmpage.hxx
+++ b/include/svx/fmpage.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVX_FMPAGE_HXX
#define INCLUDED_SVX_FMPAGE_HXX
+#include <memory>
#include <svx/svdpage.hxx>
#include <comphelper/uno3.hxx>
#include <svx/svxdllapi.h>
diff --git a/include/svx/fmshell.hxx b/include/svx/fmshell.hxx
index 6347df6774fe..3d7d606e77b4 100644
--- a/include/svx/fmshell.hxx
+++ b/include/svx/fmshell.hxx
@@ -23,6 +23,7 @@
// ***************************************************************************************************
// ***************************************************************************************************
+#include <memory>
#include <sfx2/shell.hxx>
#include <sfx2/module.hxx>
#include <vcl/event.hxx>
diff --git a/include/svx/fntctrl.hxx b/include/svx/fntctrl.hxx
index e753970341af..ed0828e8cc3b 100644
--- a/include/svx/fntctrl.hxx
+++ b/include/svx/fntctrl.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SVX_FNTCTRL_HXX
#define INCLUDED_SVX_FNTCTRL_HXX
+#include <memory>
#include <vcl/window.hxx>
#include <editeng/svxfont.hxx>
#include <svx/svxdllapi.h>
diff --git a/include/svx/langbox.hxx b/include/svx/langbox.hxx
index 9292ab5f11a7..ddf48e6472ec 100644
--- a/include/svx/langbox.hxx
+++ b/include/svx/langbox.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SVX_LANGBOX_HXX
#define INCLUDED_SVX_LANGBOX_HXX
+#include <memory>
#include <com/sun/star/uno/Sequence.hxx>
#include <svx/svxdllapi.h>
#include <vcl/image.hxx>
diff --git a/include/svx/numinf.hxx b/include/svx/numinf.hxx
index 33035b0444e1..58a503fb74dc 100644
--- a/include/svx/numinf.hxx
+++ b/include/svx/numinf.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SVX_NUMINF_HXX
#define INCLUDED_SVX_NUMINF_HXX
+#include <memory>
#include <svl/poolitem.hxx>
#include <svx/numfmtsh.hxx>
#include <svx/svxdllapi.h>
diff --git a/include/svx/pszctrl.hxx b/include/svx/pszctrl.hxx
index 35441e14723c..40dbfcc48ff1 100644
--- a/include/svx/pszctrl.hxx
+++ b/include/svx/pszctrl.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SVX_PSZCTRL_HXX
#define INCLUDED_SVX_PSZCTRL_HXX
+#include <memory>
#include <sfx2/stbitem.hxx>
#include <svx/svxdllapi.h>
diff --git a/include/svx/sidebar/AreaPropertyPanelBase.hxx b/include/svx/sidebar/AreaPropertyPanelBase.hxx
index 048ee86d97a7..5582973ce999 100644
--- a/include/svx/sidebar/AreaPropertyPanelBase.hxx
+++ b/include/svx/sidebar/AreaPropertyPanelBase.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_SVX_SOURCE_SIDEBAR_AREA_AREAPROPERTYPANELBASE_HXX
#define INCLUDED_SVX_SOURCE_SIDEBAR_AREA_AREAPROPERTYPANELBASE_HXX
+#include <memory>
#include "AreaTransparencyGradientPopup.hxx"
#include <vcl/ctrl.hxx>
#include <sfx2/sidebar/SidebarPanelBase.hxx>
diff --git a/include/svx/srchdlg.hxx b/include/svx/srchdlg.hxx
index 3a0b1f953e2c..6c30e4bcbe9d 100644
--- a/include/svx/srchdlg.hxx
+++ b/include/svx/srchdlg.hxx
@@ -32,6 +32,7 @@
#include <svtools/svmedit.hxx>
#include <svl/srchdefs.hxx>
#include <svx/svxdllapi.h>
+#include <memory>
#include <vector>
class SvxSearchItem;
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx
index 3e8f77a09bf5..45a8c81fb2d0 100644
--- a/include/svx/svdmodel.hxx
+++ b/include/svx/svdmodel.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVX_SVDMODEL_HXX
#define INCLUDED_SVX_SVDMODEL_HXX
+#include <memory>
#include <com/sun/star/uno/Sequence.hxx>
#include <cppuhelper/weakref.hxx>
#include <editeng/forbiddencharacterstable.hxx>
diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx
index 5ca83078913c..d5c9149f34bc 100644
--- a/include/svx/svdobj.hxx
+++ b/include/svx/svdobj.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVX_SVDOBJ_HXX
#define INCLUDED_SVX_SVDOBJ_HXX
+#include <memory>
#include <com/sun/star/uno/Any.hxx>
#include <cppuhelper/weakref.hxx>
#include <rtl/ustring.hxx>
diff --git a/include/svx/svdoedge.hxx b/include/svx/svdoedge.hxx
index 5f685276c8d7..0356b470ae5c 100644
--- a/include/svx/svdoedge.hxx
+++ b/include/svx/svdoedge.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVX_SVDOEDGE_HXX
#define INCLUDED_SVX_SVDOEDGE_HXX
+#include <memory>
#include <svx/svdotext.hxx>
#include <svx/svdglue.hxx>
#include <svx/svxdllapi.h>
diff --git a/include/svx/svdogrp.hxx b/include/svx/svdogrp.hxx
index ea2988093d2f..99e0a696b980 100644
--- a/include/svx/svdogrp.hxx
+++ b/include/svx/svdogrp.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVX_SVDOGRP_HXX
#define INCLUDED_SVX_SVDOGRP_HXX
+#include <memory>
#include <svx/svdobj.hxx>
#include <svx/svxdllapi.h>
diff --git a/include/svx/svdomedia.hxx b/include/svx/svdomedia.hxx
index 4a96e9ac6c3f..793055aa1491 100644
--- a/include/svx/svdomedia.hxx
+++ b/include/svx/svdomedia.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVX_SVDOMEDIA_HXX
#define INCLUDED_SVX_SVDOMEDIA_HXX
+#include <memory>
#include <svx/svdorect.hxx>
#include <avmedia/mediaitem.hxx>
#include <svx/svxdllapi.h>
diff --git a/include/svx/svdoole2.hxx b/include/svx/svdoole2.hxx
index d1a471db2f48..2e71f0b835c2 100644
--- a/include/svx/svdoole2.hxx
+++ b/include/svx/svdoole2.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVX_SVDOOLE2_HXX
#define INCLUDED_SVX_SVDOOLE2_HXX
+#include <memory>
#include <svx/svdorect.hxx>
#include <svx/svxdllapi.h>
#include <sfx2/linkmgr.hxx>
diff --git a/include/svx/svdorect.hxx b/include/svx/svdorect.hxx
index 367ea1737f19..729d3f221a05 100644
--- a/include/svx/svdorect.hxx
+++ b/include/svx/svdorect.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVX_SVDORECT_HXX
#define INCLUDED_SVX_SVDORECT_HXX
+#include <memory>
#include <svx/svdotext.hxx>
#include <svx/svxdllapi.h>
diff --git a/include/svx/unoshape.hxx b/include/svx/unoshape.hxx
index 5e2f6184afb5..94a137c73ae8 100644
--- a/include/svx/unoshape.hxx
+++ b/include/svx/unoshape.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVX_UNOSHAPE_HXX
#define INCLUDED_SVX_UNOSHAPE_HXX
+#include <memory>
#include <com/sun/star/document/XActionLockable.hpp>
#include <com/sun/star/drawing/XEnhancedCustomShapeDefaulter.hpp>
#include <com/sun/star/drawing/XGluePointsSupplier.hpp>
diff --git a/include/svx/xbitmap.hxx b/include/svx/xbitmap.hxx
index 21087eaa3f6f..79b4db97bceb 100644
--- a/include/svx/xbitmap.hxx
+++ b/include/svx/xbitmap.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVX_XBITMAP_HXX
#define INCLUDED_SVX_XBITMAP_HXX
+#include <memory>
#include <tools/color.hxx>
#include <vcl/bitmap.hxx>
#include <svtools/grfmgr.hxx>
diff --git a/include/svx/xmlsecctrl.hxx b/include/svx/xmlsecctrl.hxx
index 8389c6e5fcc2..0f7d44b86ff0 100644
--- a/include/svx/xmlsecctrl.hxx
+++ b/include/svx/xmlsecctrl.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_SVX_XMLSECCTRL_HXX
#define INCLUDED_SVX_XMLSECCTRL_HXX
+#include <memory>
#include <sfx2/stbitem.hxx>
#include <svx/svxdllapi.h>
diff --git a/include/toolkit/awt/vclxfont.hxx b/include/toolkit/awt/vclxfont.hxx
index 3887fbe2f187..080f9feacc64 100644
--- a/include/toolkit/awt/vclxfont.hxx
+++ b/include/toolkit/awt/vclxfont.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_TOOLKIT_AWT_VCLXFONT_HXX
#define INCLUDED_TOOLKIT_AWT_VCLXFONT_HXX
+#include <memory>
#include <toolkit/dllapi.h>
#include <com/sun/star/awt/XFont2.hpp>
#include <com/sun/star/awt/XDevice.hpp>
diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx
index f78e8afc5e7f..26b2b2c498ba 100644
--- a/include/tools/stream.hxx
+++ b/include/tools/stream.hxx
@@ -23,8 +23,8 @@
#include <osl/process.h>
#include <tools/toolsdllapi.h>
#include <tools/lineend.hxx>
-#include <tools/errinf.hxx>
#include <tools/ref.hxx>
+#include <tools/errcode.hxx>
#include <rtl/string.hxx>
#include <o3tl/typed_flags_set.hxx>
diff --git a/include/ucbhelper/contentinfo.hxx b/include/ucbhelper/contentinfo.hxx
index 7b2e9a2c0c8b..b69f75d1e8b5 100644
--- a/include/ucbhelper/contentinfo.hxx
+++ b/include/ucbhelper/contentinfo.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_UCBHELPER_CONTENTINFO_HXX
#define INCLUDED_UCBHELPER_CONTENTINFO_HXX
+#include <memory>
#include <com/sun/star/ucb/XCommandInfo.hpp>
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
#include <com/sun/star/lang/XTypeProvider.hpp>
diff --git a/include/ucbhelper/resultsethelper.hxx b/include/ucbhelper/resultsethelper.hxx
index da4618c3d6c9..7f6b48487006 100644
--- a/include/ucbhelper/resultsethelper.hxx
+++ b/include/ucbhelper/resultsethelper.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_UCBHELPER_RESULTSETHELPER_HXX
#define INCLUDED_UCBHELPER_RESULTSETHELPER_HXX
+#include <memory>
#include <osl/mutex.hxx>
#include <com/sun/star/lang/XTypeProvider.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
diff --git a/include/vcl/ImageTree.hxx b/include/vcl/ImageTree.hxx
index 4af873177052..5de137128d58 100644
--- a/include/vcl/ImageTree.hxx
+++ b/include/vcl/ImageTree.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_INCLUDE_VCL_IMAGETREE_HXX
#define INCLUDED_INCLUDE_VCL_IMAGETREE_HXX
+#include <memory>
#include <sal/config.h>
#include <vcl/dllapi.h>
#include <vcl/bitmapex.hxx>
diff --git a/include/vcl/bitmapaccess.hxx b/include/vcl/bitmapaccess.hxx
index d20b9b1abd54..d61d172e2166 100644
--- a/include/vcl/bitmapaccess.hxx
+++ b/include/vcl/bitmapaccess.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_VCL_BMPACC_HXX
#define INCLUDED_VCL_BMPACC_HXX
+#include <memory>
#include <tools/solar.h>
#include <vcl/dllapi.h>
#include <vcl/salbtype.hxx>
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx
index d0e9c802f31f..73b9a6d026fc 100644
--- a/include/vcl/button.hxx
+++ b/include/vcl/button.hxx
@@ -29,6 +29,7 @@
#include <vcl/salnativewidgets.hxx>
#include <rsc/rsc-vcl-shared-types.hxx>
#include <vcl/vclptr.hxx>
+#include <memory>
#include <vector>
#include <com/sun/star/frame/FeatureStateEvent.hpp>
diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx
index ccacd3cd65e2..9377bd9f94c9 100644
--- a/include/vcl/combobox.hxx
+++ b/include/vcl/combobox.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_VCL_COMBOBOX_HXX
#define INCLUDED_VCL_COMBOBOX_HXX
+#include <memory>
#include <vcl/dllapi.h>
#include <vcl/edit.hxx>
diff --git a/include/vcl/commandevent.hxx b/include/vcl/commandevent.hxx
index d93cd3523d77..4113975de118 100644
--- a/include/vcl/commandevent.hxx
+++ b/include/vcl/commandevent.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_VCL_COMMANDEVENT_HXX
#define INCLUDED_VCL_COMMANDEVENT_HXX
+#include <memory>
#include <tools/gen.hxx>
#include <tools/solar.h>
#include <vcl/dllapi.h>
diff --git a/include/vcl/dialog.hxx b/include/vcl/dialog.hxx
index 78a0c3c27b58..478215e8d299 100644
--- a/include/vcl/dialog.hxx
+++ b/include/vcl/dialog.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_VCL_DIALOG_HXX
#define INCLUDED_VCL_DIALOG_HXX
+#include <memory>
#include <tools/solar.h>
#include <vcl/dllapi.h>
#include <vcl/syswin.hxx>
diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx
index 501d2fda0cce..e1e9900a2514 100644
--- a/include/vcl/field.hxx
+++ b/include/vcl/field.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_VCL_FIELD_HXX
#define INCLUDED_VCL_FIELD_HXX
+#include <memory>
#include <vcl/dllapi.h>
#include <tools/link.hxx>
#include <tools/date.hxx>
diff --git a/include/vcl/filter/pdfdocument.hxx b/include/vcl/filter/pdfdocument.hxx
index 5011504f13df..9297ef4a9e5e 100644
--- a/include/vcl/filter/pdfdocument.hxx
+++ b/include/vcl/filter/pdfdocument.hxx
@@ -11,6 +11,7 @@
#ifndef INCLUDED_VCL_FILTER_PDFDOCUMENT_HXX
#define INCLUDED_VCL_FILTER_PDFDOCUMENT_HXX
+#include <memory>
#include <map>
#include <vector>
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx
index 1339a88c7319..8509670dca41 100644
--- a/include/vcl/graph.hxx
+++ b/include/vcl/graph.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_VCL_GRAPH_HXX
#define INCLUDED_VCL_GRAPH_HXX
+#include <memory>
#include <tools/stream.hxx>
#include <vcl/dllapi.h>
#include <tools/solar.h>
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx
index ca63ecf64e98..e3a0e8b8c529 100644
--- a/include/vcl/menu.hxx
+++ b/include/vcl/menu.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_VCL_MENU_HXX
#define INCLUDED_VCL_MENU_HXX
+#include <memory>
#include <rsc/rsc-vcl-shared-types.hxx>
#include <tools/color.hxx>
#include <tools/solar.h>
diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx
index 09eb534f4621..8fe4f1d43845 100644
--- a/include/vcl/metaact.hxx
+++ b/include/vcl/metaact.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_VCL_METAACT_HXX
#define INCLUDED_VCL_METAACT_HXX
+#include <memory>
#include <vcl/dllapi.h>
#include <vcl/gradient.hxx>
#include <vcl/hatch.hxx>
diff --git a/include/vcl/oldprintadaptor.hxx b/include/vcl/oldprintadaptor.hxx
index 9889a18b6870..59f2379d7e91 100644
--- a/include/vcl/oldprintadaptor.hxx
+++ b/include/vcl/oldprintadaptor.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_VCL_OLDPRINTADAPTOR_HXX
#define INCLUDED_VCL_OLDPRINTADAPTOR_HXX
+#include <memory>
#include <vcl/print.hxx>
namespace vcl
diff --git a/include/vcl/openglwin.hxx b/include/vcl/openglwin.hxx
index 354a061fed96..3775b62491e6 100644
--- a/include/vcl/openglwin.hxx
+++ b/include/vcl/openglwin.hxx
@@ -10,6 +10,7 @@
#ifndef INCLUDED_VCL_OPENGLWIN_HXX
#define INCLUDED_VCL_OPENGLWIN_HXX
+#include <memory>
#include <vcl/event.hxx>
#include <vcl/syschild.hxx>
#include <vcl/dllapi.h>
diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx
index 147ffec67288..bc2608444714 100644
--- a/include/vcl/pdfwriter.hxx
+++ b/include/vcl/pdfwriter.hxx
@@ -38,6 +38,7 @@
#include <com/sun/star/lang/Locale.hpp>
#include <list>
+#include <memory>
#include <vector>
#include <set>
diff --git a/include/vcl/pngread.hxx b/include/vcl/pngread.hxx
index 3954f5cba0ab..8992709b3349 100644
--- a/include/vcl/pngread.hxx
+++ b/include/vcl/pngread.hxx
@@ -22,6 +22,7 @@
#include <vcl/dllapi.h>
#include <vcl/bitmapex.hxx>
+#include <memory>
#include <vector>
namespace vcl
diff --git a/include/vcl/pngwrite.hxx b/include/vcl/pngwrite.hxx
index a5b65532c132..fe1b2c3e412d 100644
--- a/include/vcl/pngwrite.hxx
+++ b/include/vcl/pngwrite.hxx
@@ -24,6 +24,7 @@
#include <com/sun/star/beans/PropertyValue.hpp>
#include <vcl/dllapi.h>
#include <vcl/bitmapex.hxx>
+#include <memory>
#include <vector>
namespace vcl
diff --git a/include/vcl/printerinfomanager.hxx b/include/vcl/printerinfomanager.hxx
index f80633945b23..0bfeab7289d2 100644
--- a/include/vcl/printerinfomanager.hxx
+++ b/include/vcl/printerinfomanager.hxx
@@ -20,6 +20,7 @@
#ifndef INCLUDED_VCL_PRINTERINFOMANAGER_HXX
#define INCLUDED_VCL_PRINTERINFOMANAGER_HXX
+#include <memory>
#include <list>
#include <unordered_map>
diff --git a/include/vcl/texteng.hxx b/include/vcl/texteng.hxx
index 2863ce4ac78d..83e715a73816 100644
--- a/include/vcl/texteng.hxx
+++ b/include/vcl/texteng.hxx
@@ -19,6 +19,7 @@
#ifndef INCLUDED_VCL_TEXTENG_HXX
#define INCLUDED_VCL_TEXTENG_HXX
+#include <memory>
#include <sal/config.h>
#include <cstddef>
diff --git a/include/xmloff/xmlnumfi.hxx b/include/xmloff/xmlnumfi.hxx
index 0c9defc22865..8a9d7d589d0e 100644
--- a/include/xmloff/xmlnumfi.hxx
+++ b/include/xmloff/xmlnumfi.hxx
@@ -28,6 +28,7 @@
#include <xmloff/xmlstyle.hxx>
#include <rtl/ustrbuf.hxx>
#include <i18nlangtag/lang.h>
+#include <memory>
#include <vector>
#include <unotools/localedatawrapper.hxx>