diff options
827 files changed, 837 insertions, 4 deletions
diff --git a/accessibility/inc/standard/vclxaccessiblelist.hxx b/accessibility/inc/standard/vclxaccessiblelist.hxx index 6c16ef84fa93..9d77fe7a526a 100644 --- a/accessibility/inc/standard/vclxaccessiblelist.hxx +++ b/accessibility/inc/standard/vclxaccessiblelist.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_ACCESSIBILITY_INC_STANDARD_VCLXACCESSIBLELIST_HXX #define INCLUDED_ACCESSIBILITY_INC_STANDARD_VCLXACCESSIBLELIST_HXX +#include <memory> #include <vector> #include <functional> #include <standard/vclxaccessibleedit.hxx> diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx index 741712b40c4b..78cd8f280ea5 100644 --- a/accessibility/source/extended/textwindowaccessibility.cxx +++ b/accessibility/source/extended/textwindowaccessibility.cxx @@ -29,6 +29,7 @@ #include <comphelper/sequence.hxx> #include <algorithm> +#include <memory> #include <vector> namespace accessibility diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx index 854f698e591c..f27997ddc15c 100644 --- a/basctl/source/basicide/baside2.hxx +++ b/basctl/source/basicide/baside2.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_BASCTL_SOURCE_BASICIDE_BASIDE2_HXX #define INCLUDED_BASCTL_SOURCE_BASICIDE_BASIDE2_HXX +#include <memory> #include "layout.hxx" #include "bastype3.hxx" #include "basidesh.hxx" diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx index c319abb7c06f..e6811d28d86e 100644 --- a/basctl/source/basicide/basides1.cxx +++ b/basctl/source/basicide/basides1.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "basidesh.hrc" #include "helpid.hrc" diff --git a/basctl/source/basicide/basobj2.cxx b/basctl/source/basicide/basobj2.cxx index 34eaa8bcfe9e..d974ac2266be 100644 --- a/basctl/source/basicide/basobj2.cxx +++ b/basctl/source/basicide/basobj2.cxx @@ -31,6 +31,7 @@ #include <tools/diagnose_ex.h> #include <unotools/moduleoptions.hxx> +#include <memory> #include <vector> #include <algorithm> #include <basic/basmgr.hxx> diff --git a/basctl/source/basicide/iderdll.cxx b/basctl/source/basicide/iderdll.cxx index 1faeb46ae634..275ec980903b 100644 --- a/basctl/source/basicide/iderdll.cxx +++ b/basctl/source/basicide/iderdll.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <comphelper/unique_disposing_ptr.hxx> #include <comphelper/processfactory.hxx> diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx index 3ddf0c643ab9..1853334145cc 100644 --- a/basctl/source/basicide/scriptdocument.cxx +++ b/basctl/source/basicide/scriptdocument.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "scriptdocument.hxx" #include "basobj.hxx" #include "basidesh.hrc" diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index 6aafbc0fa370..dc09a8ba8908 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <tools/errinf.hxx> #include <tools/stream.hxx> #include <sot/storage.hxx> #include <tools/urlobj.hxx> diff --git a/basic/source/comp/exprtree.cxx b/basic/source/comp/exprtree.cxx index c3b064da6325..d75b32364e30 100644 --- a/basic/source/comp/exprtree.cxx +++ b/basic/source/comp/exprtree.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include "parser.hxx" #include <basic/sbx.hxx> #include "expr.hxx" diff --git a/basic/source/comp/symtbl.cxx b/basic/source/comp/symtbl.cxx index 3de2da8b0851..b7017572e86f 100644 --- a/basic/source/comp/symtbl.cxx +++ b/basic/source/comp/symtbl.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include "parser.hxx" #include <osl/diagnose.h> diff --git a/basic/source/inc/iosys.hxx b/basic/source/inc/iosys.hxx index 9deb4bda4c96..81d9e4e32042 100644 --- a/basic/source/inc/iosys.hxx +++ b/basic/source/inc/iosys.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_BASIC_SOURCE_INC_IOSYS_HXX #define INCLUDED_BASIC_SOURCE_INC_IOSYS_HXX +#include <memory> #include <tools/stream.hxx> #include <basic/sberrors.hxx> #include <o3tl/typed_flags_set.hxx> diff --git a/basic/source/runtime/basrdll.cxx b/basic/source/runtime/basrdll.cxx index a9ceda6801ad..f2f2a68961ea 100644 --- a/basic/source/runtime/basrdll.cxx +++ b/basic/source/runtime/basrdll.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <vcl/svapp.hxx> #include <svl/solar.hrc> #include <tools/debug.hxx> diff --git a/basic/source/sbx/sbxbase.cxx b/basic/source/sbx/sbxbase.cxx index 1204e9ff7fb5..060b09101152 100644 --- a/basic/source/sbx/sbxbase.cxx +++ b/basic/source/sbx/sbxbase.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <o3tl/make_unique.hxx> #include <tools/debug.hxx> #include <tools/stream.hxx> diff --git a/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx b/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx index fa01a866a6dd..34d983605907 100644 --- a/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx +++ b/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "ViewElementListProvider.hxx" #include "chartview/DrawModelWrapper.hxx" #include "chartview/DataPointSymbolSupplier.hxx" diff --git a/chart2/source/controller/inc/AccessibleTextHelper.hxx b/chart2/source/controller/inc/AccessibleTextHelper.hxx index bd12ac349475..244b38578c27 100644 --- a/chart2/source/controller/inc/AccessibleTextHelper.hxx +++ b/chart2/source/controller/inc/AccessibleTextHelper.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_ACCESSIBLETEXTHELPER_HXX #define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_ACCESSIBLETEXTHELPER_HXX +#include <memory> #include "MutexContainer.hxx" #include <cppuhelper/compbase.hxx> #include <com/sun/star/lang/XInitialization.hpp> diff --git a/chart2/source/controller/inc/DrawViewWrapper.hxx b/chart2/source/controller/inc/DrawViewWrapper.hxx index fa5828f5110c..1561fd6819ef 100644 --- a/chart2/source/controller/inc/DrawViewWrapper.hxx +++ b/chart2/source/controller/inc/DrawViewWrapper.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DRAWVIEWWRAPPER_HXX #define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DRAWVIEWWRAPPER_HXX +#include <memory> #include <svx/view3d.hxx> #include <com/sun/star/drawing/XShape.hpp> #include <com/sun/star/frame/XModel.hpp> diff --git a/chart2/source/controller/inc/ViewElementListProvider.hxx b/chart2/source/controller/inc/ViewElementListProvider.hxx index 5fa359e83705..be224d2328b8 100644 --- a/chart2/source/controller/inc/ViewElementListProvider.hxx +++ b/chart2/source/controller/inc/ViewElementListProvider.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_VIEWELEMENTLISTPROVIDER_HXX #define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_VIEWELEMENTLISTPROVIDER_HXX +#include <memory> #include <svx/xtable.hxx> #include <svx/svdpage.hxx> diff --git a/chart2/source/controller/inc/dlg_InsertErrorBars.hxx b/chart2/source/controller/inc/dlg_InsertErrorBars.hxx index 2fc4a4c6260b..584033a45584 100644 --- a/chart2/source/controller/inc/dlg_InsertErrorBars.hxx +++ b/chart2/source/controller/inc/dlg_InsertErrorBars.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DLG_INSERTERRORBARS_HXX #define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_DLG_INSERTERRORBARS_HXX +#include <memory> #include <vcl/dialog.hxx> #include <vcl/button.hxx> #include <svl/itemset.hxx> diff --git a/chart2/source/controller/inc/res_ErrorBar.hxx b/chart2/source/controller/inc/res_ErrorBar.hxx index a22e613d63cd..2b1b5f12894d 100644 --- a/chart2/source/controller/inc/res_ErrorBar.hxx +++ b/chart2/source/controller/inc/res_ErrorBar.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_RES_ERRORBAR_HXX #define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_RES_ERRORBAR_HXX +#include <memory> #include <vcl/button.hxx> #include <sfx2/tabdlg.hxx> #include <vcl/fixed.hxx> diff --git a/chart2/source/controller/inc/uiobject.hxx b/chart2/source/controller/inc/uiobject.hxx index e1d54747e52d..580db5ea71ba 100644 --- a/chart2/source/controller/inc/uiobject.hxx +++ b/chart2/source/controller/inc/uiobject.hxx @@ -10,6 +10,7 @@ #ifndef INCLUDED_CHART2_SOURCE_CONTROLLER_INC_UIOBJECT_HXX #define INCLUDED_CHART2_SOURCE_CONTROLLER_INC_UIOBJECT_HXX +#include <memory> #include <vcl/uitest/uiobject.hxx> #include "ChartWindow.hxx" diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index 394a4e5b760b..2c5b84f8a48a 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <set> diff --git a/chart2/source/controller/main/ChartController_Insert.cxx b/chart2/source/controller/main/ChartController_Insert.cxx index 7f652b5ef1a2..c6a04bbc1b04 100644 --- a/chart2/source/controller/main/ChartController_Insert.cxx +++ b/chart2/source/controller/main/ChartController_Insert.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "ChartController.hxx" #include "dlg_InsertAxis_Grid.hxx" diff --git a/chart2/source/controller/uitest/uiobject.cxx b/chart2/source/controller/uitest/uiobject.cxx index 70d5e142f53e..9bc0f05d7ce2 100644 --- a/chart2/source/controller/uitest/uiobject.cxx +++ b/chart2/source/controller/uitest/uiobject.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "uiobject.hxx" #include "ChartWindow.hxx" diff --git a/chart2/source/model/main/ChartModel_Persistence.cxx b/chart2/source/model/main/ChartModel_Persistence.cxx index 58585018b2f0..834e05c9861c 100644 --- a/chart2/source/model/main/ChartModel_Persistence.cxx +++ b/chart2/source/model/main/ChartModel_Persistence.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "ChartModel.hxx" #include "MediaDescriptorHelper.hxx" #include "macros.hxx" diff --git a/chart2/source/view/axes/Tickmarks_Equidistant.hxx b/chart2/source/view/axes/Tickmarks_Equidistant.hxx index 6859020b0167..b99958bbc96b 100644 --- a/chart2/source/view/axes/Tickmarks_Equidistant.hxx +++ b/chart2/source/view/axes/Tickmarks_Equidistant.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_CHART2_SOURCE_VIEW_AXES_TICKMARKS_EQUIDISTANT_HXX #define INCLUDED_CHART2_SOURCE_VIEW_AXES_TICKMARKS_EQUIDISTANT_HXX +#include <memory> #include "Tickmarks.hxx" namespace chart diff --git a/chart2/source/view/charttypes/AreaChart.hxx b/chart2/source/view/charttypes/AreaChart.hxx index b26e0b0d4c8c..af8c4251c5b9 100644 --- a/chart2/source/view/charttypes/AreaChart.hxx +++ b/chart2/source/view/charttypes/AreaChart.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_CHART2_SOURCE_VIEW_CHARTTYPES_AREACHART_HXX #define INCLUDED_CHART2_SOURCE_VIEW_CHARTTYPES_AREACHART_HXX +#include <memory> #include "VSeriesPlotter.hxx" #include <com/sun/star/chart2/CurveStyle.hpp> diff --git a/chart2/source/view/charttypes/BarChart.hxx b/chart2/source/view/charttypes/BarChart.hxx index 199c034fc136..d276fa531eab 100644 --- a/chart2/source/view/charttypes/BarChart.hxx +++ b/chart2/source/view/charttypes/BarChart.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_CHART2_SOURCE_VIEW_CHARTTYPES_BARCHART_HXX #define INCLUDED_CHART2_SOURCE_VIEW_CHARTTYPES_BARCHART_HXX +#include <memory> #include "VSeriesPlotter.hxx" namespace chart diff --git a/chart2/source/view/charttypes/CandleStickChart.hxx b/chart2/source/view/charttypes/CandleStickChart.hxx index d74be2a49ed9..ab2524458c8c 100644 --- a/chart2/source/view/charttypes/CandleStickChart.hxx +++ b/chart2/source/view/charttypes/CandleStickChart.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_CHART2_SOURCE_VIEW_CHARTTYPES_CANDLESTICKCHART_HXX #define INCLUDED_CHART2_SOURCE_VIEW_CHARTTYPES_CANDLESTICKCHART_HXX +#include <memory> #include "VSeriesPlotter.hxx" namespace chart diff --git a/chart2/source/view/charttypes/NetChart.hxx b/chart2/source/view/charttypes/NetChart.hxx index bc4d7af8d676..626e9253097c 100644 --- a/chart2/source/view/charttypes/NetChart.hxx +++ b/chart2/source/view/charttypes/NetChart.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_CHART2_SOURCE_VIEW_CHARTTYPES_NETCHART_HXX #define INCLUDED_CHART2_SOURCE_VIEW_CHARTTYPES_NETCHART_HXX +#include <memory> #include "VSeriesPlotter.hxx" namespace chart diff --git a/chart2/source/view/charttypes/PieChart.hxx b/chart2/source/view/charttypes/PieChart.hxx index 8743bc0d2af8..f32e5104edf6 100644 --- a/chart2/source/view/charttypes/PieChart.hxx +++ b/chart2/source/view/charttypes/PieChart.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_CHART2_SOURCE_VIEW_CHARTTYPES_PIECHART_HXX #define INCLUDED_CHART2_SOURCE_VIEW_CHARTTYPES_PIECHART_HXX +#include <memory> #include "VSeriesPlotter.hxx" #include <basegfx/vector/b2dvector.hxx> #include <basegfx/range/b2irectangle.hxx> diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx index be0cc9bc7e9f..38a6bb865730 100644 --- a/chart2/source/view/charttypes/VSeriesPlotter.cxx +++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "VSeriesPlotter.hxx" #include "AbstractShapeFactory.hxx" #include "chartview/ExplicitValueProvider.hxx" diff --git a/chart2/source/view/inc/GL3DBarChart.hxx b/chart2/source/view/inc/GL3DBarChart.hxx index fc91f44ee856..8e83508b560f 100644 --- a/chart2/source/view/inc/GL3DBarChart.hxx +++ b/chart2/source/view/inc/GL3DBarChart.hxx @@ -13,6 +13,7 @@ #include <GL3DPlotterBase.hxx> #include <deque> +#include <memory> #include <vector> #include "VDataSeries.hxx" diff --git a/chart2/source/view/inc/VSeriesPlotter.hxx b/chart2/source/view/inc/VSeriesPlotter.hxx index 15585cb71c93..15e955a1fdca 100644 --- a/chart2/source/view/inc/VSeriesPlotter.hxx +++ b/chart2/source/view/inc/VSeriesPlotter.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_CHART2_SOURCE_VIEW_INC_VSERIESPLOTTER_HXX #define INCLUDED_CHART2_SOURCE_VIEW_INC_VSERIESPLOTTER_HXX +#include <memory> #include "PlotterBase.hxx" #include "VDataSeries.hxx" #include "LabelAlignment.hxx" diff --git a/chart2/source/view/main/VDataSeries.cxx b/chart2/source/view/main/VDataSeries.cxx index 53bf1ad8f619..a402473dd38a 100644 --- a/chart2/source/view/main/VDataSeries.cxx +++ b/chart2/source/view/main/VDataSeries.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "VDataSeries.hxx" #include "ObjectIdentifier.hxx" #include "macros.hxx" diff --git a/cli_ure/source/uno_bridge/cli_uno.cxx b/cli_ure/source/uno_bridge/cli_uno.cxx index 0d1d197a11b8..6af17e065505 100644 --- a/cli_ure/source/uno_bridge/cli_uno.cxx +++ b/cli_ure/source/uno_bridge/cli_uno.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/alloca.h> #include <osl/diagnose.h> #include "rtl/ustrbuf.hxx" diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx index 3d442d9c625d..d4dac2e011d5 100644 --- a/codemaker/source/cppumaker/cpputype.cxx +++ b/codemaker/source/cppumaker/cpputype.cxx @@ -24,6 +24,7 @@ #include <cstdlib> #include <map> #include <set> +#include <memory> #include <vector> #include <iostream> diff --git a/comphelper/source/misc/anycompare.cxx b/comphelper/source/misc/anycompare.cxx index 6c8ecd335ba6..5a7859514ac9 100644 --- a/comphelper/source/misc/anycompare.cxx +++ b/comphelper/source/misc/anycompare.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <comphelper/anycompare.hxx> #include <com/sun/star/util/Date.hpp> diff --git a/comphelper/source/misc/backupfilehelper.cxx b/comphelper/source/misc/backupfilehelper.cxx index da131acafdd4..7d03c2364b7c 100644 --- a/comphelper/source/misc/backupfilehelper.cxx +++ b/comphelper/source/misc/backupfilehelper.cxx @@ -14,6 +14,7 @@ #include <rtl/crc.h> #include <algorithm> #include <deque> +#include <memory> #include <vector> #include <zlib.h> diff --git a/compilerplugins/clang/automem.cxx b/compilerplugins/clang/automem.cxx index b4585fb76c7b..1b49d13cb097 100644 --- a/compilerplugins/clang/automem.cxx +++ b/compilerplugins/clang/automem.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <cassert> #include <string> #include <iostream> diff --git a/compilerplugins/clang/memoryvar.cxx b/compilerplugins/clang/memoryvar.cxx index 2c8f3fd193b3..32c0e038d092 100644 --- a/compilerplugins/clang/memoryvar.cxx +++ b/compilerplugins/clang/memoryvar.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <string> #include <iostream> #include <map> diff --git a/compilerplugins/clang/pluginhandler.cxx b/compilerplugins/clang/pluginhandler.cxx index b6e45c86c8f7..cc9ea891ceac 100644 --- a/compilerplugins/clang/pluginhandler.cxx +++ b/compilerplugins/clang/pluginhandler.cxx @@ -9,6 +9,7 @@ * */ +#include <memory> #include "compat.hxx" #include "pluginhandler.hxx" diff --git a/compilerplugins/clang/pluginhandler.hxx b/compilerplugins/clang/pluginhandler.hxx index f0cece4deb8c..3d5f6c82e3d9 100644 --- a/compilerplugins/clang/pluginhandler.hxx +++ b/compilerplugins/clang/pluginhandler.hxx @@ -12,6 +12,7 @@ #ifndef PLUGINHANDLER_H #define PLUGINHANDLER_H +#include <memory> #include "plugin.hxx" #include <set> diff --git a/compilerplugins/clang/ptrvector.cxx b/compilerplugins/clang/ptrvector.cxx index 12c710508f6d..2b9db655c578 100644 --- a/compilerplugins/clang/ptrvector.cxx +++ b/compilerplugins/clang/ptrvector.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <cassert> #include <string> #include <iostream> diff --git a/compilerplugins/clang/store/returnunique.cxx b/compilerplugins/clang/store/returnunique.cxx index d028e13c3cfe..d97d5253d97b 100644 --- a/compilerplugins/clang/store/returnunique.cxx +++ b/compilerplugins/clang/store/returnunique.cxx @@ -12,6 +12,7 @@ // unique_ptr is returned directly. (But other occurrences might be fine the // way they are, hence place this plugin into store/). +#include <memory> #include "plugin.hxx" namespace { diff --git a/compilerplugins/clang/store/stylepolice.cxx b/compilerplugins/clang/store/stylepolice.cxx index a0f5373a16a6..7a2e94c802ff 100644 --- a/compilerplugins/clang/store/stylepolice.cxx +++ b/compilerplugins/clang/store/stylepolice.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <regex> #include <string> #include <set> diff --git a/compilerplugins/clang/useuniqueptr.cxx b/compilerplugins/clang/useuniqueptr.cxx index f038bd9c1485..4d9d159e11fb 100644 --- a/compilerplugins/clang/useuniqueptr.cxx +++ b/compilerplugins/clang/useuniqueptr.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <cassert> #include <string> #include <iostream> diff --git a/compilerplugins/clang/vclwidgets.cxx b/compilerplugins/clang/vclwidgets.cxx index 3929cdf0e912..32d471240de1 100644 --- a/compilerplugins/clang/vclwidgets.cxx +++ b/compilerplugins/clang/vclwidgets.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <string> #include <iostream> diff --git a/connectivity/source/commontools/sqlerror.cxx b/connectivity/source/commontools/sqlerror.cxx index 9a6d5d657456..bcb2fd2e5634 100644 --- a/connectivity/source/commontools/sqlerror.cxx +++ b/connectivity/source/commontools/sqlerror.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include <connectivity/sqlerror.hxx> #include <com/sun/star/sdbc/SQLException.hpp> diff --git a/connectivity/source/drivers/mork/MDatabaseMetaData.hxx b/connectivity/source/drivers/mork/MDatabaseMetaData.hxx index 7673227fad10..58b6a213050b 100644 --- a/connectivity/source/drivers/mork/MDatabaseMetaData.hxx +++ b/connectivity/source/drivers/mork/MDatabaseMetaData.hxx @@ -10,6 +10,7 @@ #ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MORK_MDATABASEMETADATA_HXX #define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_MORK_MDATABASEMETADATA_HXX +#include <memory> #include "TDatabaseMetaDataBase.hxx" namespace connectivity diff --git a/connectivity/source/inc/calc/CConnection.hxx b/connectivity/source/inc/calc/CConnection.hxx index 75867541146e..b526a8e3a705 100644 --- a/connectivity/source/inc/calc/CConnection.hxx +++ b/connectivity/source/inc/calc/CConnection.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_CALC_CCONNECTION_HXX #define INCLUDED_CONNECTIVITY_SOURCE_INC_CALC_CCONNECTION_HXX +#include <memory> #include "file/FConnection.hxx" #include <com/sun/star/frame/XDesktop2.hpp> #include <com/sun/star/frame/XTerminateListener.hpp> diff --git a/connectivity/source/inc/dbase/dindexnode.hxx b/connectivity/source/inc/dbase/dindexnode.hxx index 00c359cbfad6..8b75f5579311 100644 --- a/connectivity/source/inc/dbase/dindexnode.hxx +++ b/connectivity/source/inc/dbase/dindexnode.hxx @@ -23,6 +23,7 @@ #include "file/FTable.hxx" #include <connectivity/FValue.hxx> #include <rtl/ref.hxx> +#include <memory> #include <vector> #define NODE_NOTFOUND 0xFFFF diff --git a/connectivity/source/resource/sharedresources.cxx b/connectivity/source/resource/sharedresources.cxx index 40ea6bd89dd7..5f6e76e55969 100644 --- a/connectivity/source/resource/sharedresources.cxx +++ b/connectivity/source/resource/sharedresources.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "resource/sharedresources.hxx" #include <comphelper/processfactory.hxx> diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx index d5c497a3f5bd..631dde57d687 100644 --- a/cppcanvas/source/mtfrenderer/emfplus.cxx +++ b/cppcanvas/source/mtfrenderer/emfplus.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <tools/stream.hxx> #include <vcl/metaact.hxx> #include <vcl/graphicfilter.hxx> diff --git a/cui/source/customize/selector.cxx b/cui/source/customize/selector.cxx index 0a22e09e8c84..1b3fd74c19a5 100644 --- a/cui/source/customize/selector.cxx +++ b/cui/source/customize/selector.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <vcl/help.hxx> #include <vcl/msgbox.hxx> #include <vcl/metric.hxx> diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index cbab8a5d718d..773aa61017e9 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <vcl/wrkwin.hxx> #include <vcl/menu.hxx> #include <vcl/layout.hxx> diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx index 3e102961d0f3..4836affd4156 100644 --- a/cui/source/dialogs/cuigaldlg.cxx +++ b/cui/source/dialogs/cuigaldlg.cxx @@ -22,6 +22,7 @@ #include <algorithm> #include <cassert> +#include <tools/errinf.hxx> #include <ucbhelper/content.hxx> #include <osl/mutex.hxx> #include <vcl/svapp.hxx> diff --git a/cui/source/dialogs/hltpbase.cxx b/cui/source/dialogs/hltpbase.cxx index 6d60d1820df5..f8370ef242e5 100644 --- a/cui/source/dialogs/hltpbase.cxx +++ b/cui/source/dialogs/hltpbase.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <osl/file.hxx> diff --git a/cui/source/dialogs/pastedlg.cxx b/cui/source/dialogs/pastedlg.cxx index 61ae7c66a9a7..c1e3f3acb98e 100644 --- a/cui/source/dialogs/pastedlg.cxx +++ b/cui/source/dialogs/pastedlg.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/embed/Aspects.hpp> #include <pastedlg.hxx> diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx index 0b2556b71f40..c70c1ee7216d 100644 --- a/cui/source/inc/cfg.hxx +++ b/cui/source/inc/cfg.hxx @@ -42,6 +42,7 @@ #include <com/sun/star/lang/XSingleComponentFactory.hpp> #include <sfx2/tabdlg.hxx> +#include <memory> #include <vector> #include <vcl/msgbox.hxx> diff --git a/cui/source/inc/optasian.hxx b/cui/source/inc/optasian.hxx index ce3070fb02e8..bdf05750b371 100644 --- a/cui/source/inc/optasian.hxx +++ b/cui/source/inc/optasian.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_CUI_SOURCE_INC_OPTASIAN_HXX #define INCLUDED_CUI_SOURCE_INC_OPTASIAN_HXX +#include <memory> #include <sfx2/tabdlg.hxx> #include <vcl/group.hxx> #include <vcl/button.hxx> diff --git a/cui/source/inc/optpath.hxx b/cui/source/inc/optpath.hxx index 914cbc74d1c5..d37571e64a97 100644 --- a/cui/source/inc/optpath.hxx +++ b/cui/source/inc/optpath.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_CUI_SOURCE_INC_OPTPATH_HXX #define INCLUDED_CUI_SOURCE_INC_OPTPATH_HXX +#include <memory> #include <sfx2/tabdlg.hxx> #include <svtools/simptabl.hxx> #include <vcl/fixed.hxx> diff --git a/cui/source/inc/zoom.hxx b/cui/source/inc/zoom.hxx index 7620a46f687b..87221f53397e 100644 --- a/cui/source/inc/zoom.hxx +++ b/cui/source/inc/zoom.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_CUI_SOURCE_INC_ZOOM_HXX #define INCLUDED_CUI_SOURCE_INC_ZOOM_HXX +#include <memory> #include <sfx2/basedlgs.hxx> #include <svx/zoom_def.hxx> #include <vcl/button.hxx> diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx index 38c30f1bf820..3eee7ba6cf89 100644 --- a/cui/source/options/optaboutconfig.cxx +++ b/cui/source/options/optaboutconfig.cxx @@ -30,6 +30,7 @@ #include <unotools/textsearch.hxx> #include <o3tl/make_unique.hxx> +#include <memory> #include <vector> #include <iostream> diff --git a/cui/source/options/optasian.cxx b/cui/source/options/optasian.cxx index da87582e22b7..018c14169b5b 100644 --- a/cui/source/options/optasian.cxx +++ b/cui/source/options/optasian.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <map> #include <optasian.hxx> #include <editeng/langitem.hxx> diff --git a/cui/source/options/optgdlg.hxx b/cui/source/options/optgdlg.hxx index b6bc275551df..7a7dd59accf9 100644 --- a/cui/source/options/optgdlg.hxx +++ b/cui/source/options/optgdlg.hxx @@ -18,6 +18,7 @@ */ #ifndef INCLUDED_CUI_SOURCE_OPTIONS_OPTGDLG_HXX #define INCLUDED_CUI_SOURCE_OPTIONS_OPTGDLG_HXX +#include <memory> #include <vcl/lstbox.hxx> #include <vcl/group.hxx> #include <vcl/field.hxx> diff --git a/cui/source/options/optinet2.hxx b/cui/source/options/optinet2.hxx index 378a0718241f..c56ae38198b0 100644 --- a/cui/source/options/optinet2.hxx +++ b/cui/source/options/optinet2.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_CUI_SOURCE_OPTIONS_OPTINET2_HXX #define INCLUDED_CUI_SOURCE_OPTIONS_OPTINET2_HXX +#include <memory> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <vcl/field.hxx> #include <vcl/group.hxx> diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx index 1863f4c188ba..bc261500f6fe 100644 --- a/cui/source/options/optjava.cxx +++ b/cui/source/options/optjava.cxx @@ -19,6 +19,7 @@ #include <sal/config.h> +#include <memory> #include <vector> #include <config_features.h> diff --git a/cui/source/options/optsave.hxx b/cui/source/options/optsave.hxx index 53e80181d150..b30d8c6f0c41 100644 --- a/cui/source/options/optsave.hxx +++ b/cui/source/options/optsave.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_CUI_SOURCE_OPTIONS_OPTSAVE_HXX #define INCLUDED_CUI_SOURCE_OPTIONS_OPTSAVE_HXX +#include <memory> #include <vcl/group.hxx> #include <vcl/field.hxx> #include <vcl/fixed.hxx> diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index 36ffea87f555..583e930916fa 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <config_features.h> #include "cuires.hrc" diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx index 23b9b4cba00b..f129aea0a1ce 100644 --- a/cui/source/tabpages/backgrnd.cxx +++ b/cui/source/tabpages/backgrnd.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/drawing/FillStyle.hpp> #include <unotools/pathoptions.hxx> #include <vcl/builderfactory.hxx> diff --git a/cui/source/tabpages/grfpage.cxx b/cui/source/tabpages/grfpage.cxx index cd4bc8a97ba8..f8df9ec63d2f 100644 --- a/cui/source/tabpages/grfpage.cxx +++ b/cui/source/tabpages/grfpage.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <svl/eitem.hxx> #include <svl/stritem.hxx> #include <sfx2/app.hxx> diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index dc018430b430..6dc34355bcf6 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -65,6 +65,7 @@ #include <tools/resary.hxx> #include <algorithm> +#include <memory> #include <vector> #include "sfx2/opengrf.hxx" diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx index ecc8d361d465..90cb36a24609 100644 --- a/cui/source/tabpages/page.cxx +++ b/cui/source/tabpages/page.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sfx2/app.hxx> #include <sfx2/objsh.hxx> #include <sfx2/printer.hxx> diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx index 0448c4e9ce10..3871af5d4635 100644 --- a/cui/source/tabpages/paragrph.cxx +++ b/cui/source/tabpages/paragrph.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <svl/style.hxx> #include <sfx2/app.hxx> #include <sfx2/dialoghelper.hxx> diff --git a/cui/source/tabpages/swpossizetabpage.cxx b/cui/source/tabpages/swpossizetabpage.cxx index 53d8836888e6..2bad725b2524 100644 --- a/cui/source/tabpages/swpossizetabpage.cxx +++ b/cui/source/tabpages/swpossizetabpage.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <cstddef> #include <swpossizetabpage.hxx> #include <dialmgr.hxx> diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx index fcec24ae3356..08cc3dc2b351 100644 --- a/cui/source/tabpages/tpbitmap.cxx +++ b/cui/source/tabpages/tpbitmap.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <stdlib.h> #include <tools/urlobj.hxx> #include <sfx2/app.hxx> diff --git a/cui/source/tabpages/tpcolor.cxx b/cui/source/tabpages/tpcolor.cxx index 62a1515d3f5d..848e476313cd 100644 --- a/cui/source/tabpages/tpcolor.cxx +++ b/cui/source/tabpages/tpcolor.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <tools/urlobj.hxx> #include <unotools/pathoptions.hxx> #include <sfx2/app.hxx> diff --git a/cui/source/tabpages/tpgradnt.cxx b/cui/source/tabpages/tpgradnt.cxx index 2f6350d97bc2..c82d4bf4b5f7 100644 --- a/cui/source/tabpages/tpgradnt.cxx +++ b/cui/source/tabpages/tpgradnt.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <vcl/wrkwin.hxx> #include <tools/urlobj.hxx> #include <vcl/msgbox.hxx> diff --git a/cui/source/tabpages/tphatch.cxx b/cui/source/tabpages/tphatch.cxx index ae39e0e6a01c..377400f56ce7 100644 --- a/cui/source/tabpages/tphatch.cxx +++ b/cui/source/tabpages/tphatch.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <tools/urlobj.hxx> #include <vcl/msgbox.hxx> #include <vcl/settings.hxx> diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx index c9719e945f6a..437cda7f6cd6 100644 --- a/cui/source/tabpages/tpline.cxx +++ b/cui/source/tabpages/tpline.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <editeng/sizeitem.hxx> #include <osl/file.hxx> #include <tools/urlobj.hxx> diff --git a/cui/source/tabpages/tppattern.cxx b/cui/source/tabpages/tppattern.cxx index 8a6b7848035e..1995c2779085 100644 --- a/cui/source/tabpages/tppattern.cxx +++ b/cui/source/tabpages/tppattern.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <vcl/wrkwin.hxx> #include <vcl/msgbox.hxx> #include <tools/urlobj.hxx> diff --git a/dbaccess/source/core/api/KeySet.cxx b/dbaccess/source/core/api/KeySet.cxx index 1ca72b3fe1c0..729b83fad4a0 100644 --- a/dbaccess/source/core/api/KeySet.cxx +++ b/dbaccess/source/core/api/KeySet.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "KeySet.hxx" #include "core_resource.hxx" #include "core_resource.hrc" diff --git a/dbaccess/source/core/api/OptimisticSet.cxx b/dbaccess/source/core/api/OptimisticSet.cxx index e67b6e3662d0..988565cb8aff 100644 --- a/dbaccess/source/core/api/OptimisticSet.cxx +++ b/dbaccess/source/core/api/OptimisticSet.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include "OptimisticSet.hxx" #include "core_resource.hxx" #include "core_resource.hrc" diff --git a/dbaccess/source/core/api/RowSetBase.hxx b/dbaccess/source/core/api/RowSetBase.hxx index 1aa91ee218b5..504abfa5e88e 100644 --- a/dbaccess/source/core/api/RowSetBase.hxx +++ b/dbaccess/source/core/api/RowSetBase.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_DBACCESS_SOURCE_CORE_API_ROWSETBASE_HXX #define INCLUDED_DBACCESS_SOURCE_CORE_API_ROWSETBASE_HXX +#include <memory> #include <cppuhelper/implbase10.hxx> #include <com/sun/star/sdbcx/XColumnsSupplier.hpp> #include <com/sun/star/sdbc/XRow.hpp> diff --git a/dbaccess/source/core/api/RowSetCache.cxx b/dbaccess/source/core/api/RowSetCache.cxx index 4a5e2e447a13..b48af131c7e1 100644 --- a/dbaccess/source/core/api/RowSetCache.cxx +++ b/dbaccess/source/core/api/RowSetCache.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "BookmarkSet.hxx" #include "CRowSetColumn.hxx" #include "CRowSetDataColumn.hxx" diff --git a/dbaccess/source/core/inc/TableDeco.hxx b/dbaccess/source/core/inc/TableDeco.hxx index 994d46d49ec3..79f28a014cfa 100644 --- a/dbaccess/source/core/inc/TableDeco.hxx +++ b/dbaccess/source/core/inc/TableDeco.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_TABLEDECO_HXX #define INCLUDED_DBACCESS_SOURCE_CORE_INC_TABLEDECO_HXX +#include <memory> #include <com/sun/star/util/XNumberFormatsSupplier.hpp> #include <com/sun/star/sdbcx/XColumnsSupplier.hpp> #include <com/sun/star/sdbcx/XDataDescriptorFactory.hpp> diff --git a/dbaccess/source/core/inc/objectnameapproval.hxx b/dbaccess/source/core/inc/objectnameapproval.hxx index 4fceb65ede1c..ce2d9b8ac6f2 100644 --- a/dbaccess/source/core/inc/objectnameapproval.hxx +++ b/dbaccess/source/core/inc/objectnameapproval.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_OBJECTNAMEAPPROVAL_HXX #define INCLUDED_DBACCESS_SOURCE_CORE_INC_OBJECTNAMEAPPROVAL_HXX +#include <memory> #include "containerapprove.hxx" #include <com/sun/star/sdbc/XConnection.hpp> diff --git a/dbaccess/source/filter/xml/xmlfilter.cxx b/dbaccess/source/filter/xml/xmlfilter.cxx index 4f2b59dc0ccc..0ff1a3d2fefe 100644 --- a/dbaccess/source/filter/xml/xmlfilter.cxx +++ b/dbaccess/source/filter/xml/xmlfilter.cxx @@ -19,6 +19,7 @@ #include <sal/config.h> +#include <tools/errinf.hxx> #include <com/sun/star/util/MeasureUnit.hpp> #include <com/sun/star/packages/WrongPasswordException.hpp> #include <com/sun/star/packages/zip/ZipIOException.hpp> diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx index 02ddc0f3eb1f..5dd81df801b4 100644 --- a/dbaccess/source/ui/app/AppController.cxx +++ b/dbaccess/source/ui/app/AppController.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "AppController.hxx" #include "dbustrings.hrc" #include "advancedsettingsdlg.hxx" diff --git a/dbaccess/source/ui/app/AppControllerDnD.cxx b/dbaccess/source/ui/app/AppControllerDnD.cxx index 7467d59623ae..14c12d0848bc 100644 --- a/dbaccess/source/ui/app/AppControllerDnD.cxx +++ b/dbaccess/source/ui/app/AppControllerDnD.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "AppController.hxx" #include <comphelper/sequence.hxx> #include <comphelper/property.hxx> diff --git a/dbaccess/source/ui/inc/RelationController.hxx b/dbaccess/source/ui/inc/RelationController.hxx index 5d999197a6d7..a779cb1757a7 100644 --- a/dbaccess/source/ui/inc/RelationController.hxx +++ b/dbaccess/source/ui/inc/RelationController.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_DBACCESS_SOURCE_UI_INC_RELATIONCONTROLLER_HXX #define INCLUDED_DBACCESS_SOURCE_UI_INC_RELATIONCONTROLLER_HXX +#include <memory> #include "JoinController.hxx" #include "RelationDesignView.hxx" #include <com/sun/star/lang/XMultiServiceFactory.hpp> diff --git a/dbaccess/source/ui/inc/singledoccontroller.hxx b/dbaccess/source/ui/inc/singledoccontroller.hxx index 88aeeae25a8a..018a69dd01f2 100644 --- a/dbaccess/source/ui/inc/singledoccontroller.hxx +++ b/dbaccess/source/ui/inc/singledoccontroller.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_DBACCESS_SOURCE_UI_INC_SINGLEDOCCONTROLLER_HXX #define INCLUDED_DBACCESS_SOURCE_UI_INC_SINGLEDOCCONTROLLER_HXX +#include <memory> #include <dbaccess/dbsubcomponentcontroller.hxx> #include <com/sun/star/document/XUndoManagerSupplier.hpp> diff --git a/dbaccess/source/ui/inc/unodatbr.hxx b/dbaccess/source/ui/inc/unodatbr.hxx index 83fcdc5385ee..2b13b34f5be9 100644 --- a/dbaccess/source/ui/inc/unodatbr.hxx +++ b/dbaccess/source/ui/inc/unodatbr.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_DBACCESS_SOURCE_UI_INC_UNODATBR_HXX #define INCLUDED_DBACCESS_SOURCE_UI_INC_UNODATBR_HXX +#include <memory> #include "brwctrlr.hxx" #include <com/sun/star/sdbc/XConnection.hpp> #include <com/sun/star/frame/XStatusListener.hpp> diff --git a/dbaccess/source/ui/misc/moduledbu.cxx b/dbaccess/source/ui/misc/moduledbu.cxx index 5c612ca7b2e2..a7e5ca75c397 100644 --- a/dbaccess/source/ui/misc/moduledbu.cxx +++ b/dbaccess/source/ui/misc/moduledbu.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "moduledbu.hxx" #include <tools/resmgr.hxx> diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx index 85390cc372b0..f9819bf7cd07 100644 --- a/dbaccess/source/ui/querydesign/querycontroller.cxx +++ b/dbaccess/source/ui/querydesign/querycontroller.cxx @@ -82,6 +82,7 @@ #include <vcl/svapp.hxx> #include <osl/mutex.hxx> #include <rtl/strbuf.hxx> +#include <memory> #include <vector> extern "C" void SAL_CALL createRegistryInfo_OQueryControl() diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx index 6bf46be55a74..f1f81c6d3991 100644 --- a/dbaccess/source/ui/uno/copytablewizard.cxx +++ b/dbaccess/source/ui/uno/copytablewizard.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "dbu_reghelper.hxx" #include "dbu_resource.hrc" #include "dbu_uno.hrc" diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx index 5f08d23541c4..8d85a078efc0 100644 --- a/desktop/qa/desktop_lib/test_desktop_lib.cxx +++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <com/sun/star/frame/Desktop.hpp> #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/frame/XComponentLoader.hpp> diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 4de87894332e..8a48f0082fde 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <config_features.h> #include <config_folders.h> diff --git a/desktop/source/deployment/gui/dp_gui_service.cxx b/desktop/source/deployment/gui/dp_gui_service.cxx index d449f055cc1c..62cb6e8fb10e 100644 --- a/desktop/source/deployment/gui/dp_gui_service.cxx +++ b/desktop/source/deployment/gui/dp_gui_service.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include "dp_gui_shared.hxx" #include "dp_gui.h" #include "dp_gui_theextmgr.hxx" diff --git a/desktop/source/deployment/registry/executable/dp_executable.cxx b/desktop/source/deployment/registry/executable/dp_executable.cxx index 2d180bbba1ae..a5bac639d480 100644 --- a/desktop/source/deployment/registry/executable/dp_executable.cxx +++ b/desktop/source/deployment/registry/executable/dp_executable.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include "dp_misc.h" #include "dp_backend.h" #include "dp_services.hxx" diff --git a/desktop/source/deployment/registry/help/dp_help.cxx b/desktop/source/deployment/registry/help/dp_help.cxx index 9ccb725c3567..4eba37cf3243 100644 --- a/desktop/source/deployment/registry/help/dp_help.cxx +++ b/desktop/source/deployment/registry/help/dp_help.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <config_features.h> #include "dp_help.hrc" diff --git a/desktop/source/deployment/registry/package/dp_package.cxx b/desktop/source/deployment/registry/package/dp_package.cxx index 2748d27ddbc9..cda1f56de4c4 100644 --- a/desktop/source/deployment/registry/package/dp_package.cxx +++ b/desktop/source/deployment/registry/package/dp_package.cxx @@ -69,6 +69,7 @@ #include <boost/optional.hpp> #include <algorithm> +#include <memory> #include <vector> #include "dp_extbackenddb.hxx" diff --git a/drawinglayer/qa/unit/border.cxx b/drawinglayer/qa/unit/border.cxx index 0df10ac5e42b..9df6f23d57df 100644 --- a/drawinglayer/qa/unit/border.cxx +++ b/drawinglayer/qa/unit/border.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <cppunit/TestAssert.h> #include <cppunit/extensions/HelperMacros.h> #include <cppunit/plugin/TestPlugIn.h> diff --git a/drawinglayer/source/animation/animationtiming.cxx b/drawinglayer/source/animation/animationtiming.cxx index c5c39d77328f..955ec511e407 100644 --- a/drawinglayer/source/animation/animationtiming.cxx +++ b/drawinglayer/source/animation/animationtiming.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <drawinglayer/animation/animationtiming.hxx> #include <basegfx/numeric/ftools.hxx> #include <o3tl/make_unique.hxx> diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx index 22e33a74828a..99d9e700e390 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "vclmetafileprocessor2d.hxx" #include <tools/gen.hxx> #include <vcl/virdev.hxx> diff --git a/editeng/source/accessibility/AccessibleStaticTextBase.cxx b/editeng/source/accessibility/AccessibleStaticTextBase.cxx index c75af4633b90..e607d30a6a4f 100644 --- a/editeng/source/accessibility/AccessibleStaticTextBase.cxx +++ b/editeng/source/accessibility/AccessibleStaticTextBase.cxx @@ -23,6 +23,7 @@ #include <limits.h> #include <utility> +#include <memory> #include <vector> #include <algorithm> #include <functional> diff --git a/editeng/source/editeng/editdbg.cxx b/editeng/source/editeng/editdbg.cxx index 9249c0b2b0d3..df8f248ff5f6 100644 --- a/editeng/source/editeng/editdbg.cxx +++ b/editeng/source/editeng/editdbg.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include <vcl/wrkwin.hxx> #include <vcl/dialog.hxx> #include <vcl/msgbox.hxx> diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx index 572402936587..26728ffbd853 100644 --- a/editeng/source/editeng/editdoc.cxx +++ b/editeng/source/editeng/editdoc.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <comphelper/string.hxx> #include <vcl/wrkwin.hxx> #include <vcl/dialog.hxx> diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx index 8dfa3a1220d9..94074d786d18 100644 --- a/editeng/source/editeng/editeng.cxx +++ b/editeng/source/editeng/editeng.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <comphelper/lok.hxx> #include <vcl/wrkwin.hxx> #include <vcl/dialog.hxx> diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx index 778bb6677f5d..b215865d0ee3 100644 --- a/editeng/source/editeng/editobj.cxx +++ b/editeng/source/editeng/editobj.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <comphelper/string.hxx> #include <rtl/strbuf.hxx> #include <vcl/wrkwin.hxx> diff --git a/editeng/source/editeng/editundo.cxx b/editeng/source/editeng/editundo.cxx index f10d7636398b..5df5f9c6c185 100644 --- a/editeng/source/editeng/editundo.cxx +++ b/editeng/source/editeng/editundo.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <vcl/wrkwin.hxx> #include <vcl/dialog.hxx> #include <vcl/msgbox.hxx> diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx index 3f6aeacd7c37..ecc78b89d071 100644 --- a/editeng/source/editeng/editview.cxx +++ b/editeng/source/editeng/editview.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include <sal/macros.h> #include <vcl/wrkwin.hxx> #include <vcl/dialog.hxx> diff --git a/editeng/source/editeng/eehtml.hxx b/editeng/source/editeng/eehtml.hxx index 633c453f60b8..69a69e74aeea 100644 --- a/editeng/source/editeng/eehtml.hxx +++ b/editeng/source/editeng/eehtml.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_EDITENG_SOURCE_EDITENG_EEHTML_HXX #define INCLUDED_EDITENG_SOURCE_EDITENG_EEHTML_HXX +#include <memory> #include <editdoc.hxx> #include <svtools/parhtml.hxx> diff --git a/editeng/source/editeng/fieldupdater.cxx b/editeng/source/editeng/fieldupdater.cxx index 022d008cf6fe..d2253d51e1ef 100644 --- a/editeng/source/editeng/fieldupdater.cxx +++ b/editeng/source/editeng/fieldupdater.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "editeng/fieldupdater.hxx" #include "editeng/flditem.hxx" #include <editeng/edtdlg.hxx> diff --git a/editeng/source/editeng/impedit5.cxx b/editeng/source/editeng/impedit5.cxx index 9a91f087f960..62fec10b9244 100644 --- a/editeng/source/editeng/impedit5.cxx +++ b/editeng/source/editeng/impedit5.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <vcl/wrkwin.hxx> #include <vcl/dialog.hxx> #include <vcl/msgbox.hxx> diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index 61bd4a58f3a1..18a8cd955c78 100644 --- a/editeng/source/items/frmitems.cxx +++ b/editeng/source/items/frmitems.cxx @@ -17,6 +17,7 @@ * the License at http: // www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/drawing/LineStyle.hpp> #include <com/sun/star/script/Converter.hpp> diff --git a/editeng/source/items/xmlcnitm.cxx b/editeng/source/items/xmlcnitm.cxx index 520b3b1fea0e..33f07dd5882a 100644 --- a/editeng/source/items/xmlcnitm.cxx +++ b/editeng/source/items/xmlcnitm.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/xml/AttributeData.hpp> #include <com/sun/star/lang/XUnoTunnel.hpp> #include <o3tl/any.hxx> diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index b3e90ffc16eb..f6fd40376a34 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <com/sun/star/io/IOException.hpp> diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx index c87953bd37d0..d4bf657e1532 100644 --- a/editeng/source/misc/unolingu.cxx +++ b/editeng/source/misc/unolingu.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include <editeng/unolingu.hxx> #include <unotools/pathoptions.hxx> #include <com/sun/star/frame/Desktop.hpp> diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx index 3d34502f611f..bbfee79f2e68 100644 --- a/editeng/source/outliner/outlvw.cxx +++ b/editeng/source/outliner/outlvw.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/i18n/WordType.hpp> #include <svl/intitem.hxx> diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx index 4ba268e7c90c..ad244b97e66a 100644 --- a/editeng/source/rtf/svxrtf.cxx +++ b/editeng/source/rtf/svxrtf.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <tools/diagnose_ex.h> #include <rtl/tencinfo.h> #include <svl/itemiter.hxx> diff --git a/editeng/source/uno/unoedhlp.cxx b/editeng/source/uno/unoedhlp.cxx index 00f27fddea8e..37205eef052f 100644 --- a/editeng/source/uno/unoedhlp.cxx +++ b/editeng/source/uno/unoedhlp.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <editeng/unoedhlp.hxx> #include <editeng/editdata.hxx> #include <editeng/editeng.hxx> diff --git a/editeng/source/uno/unoedprx.cxx b/editeng/source/uno/unoedprx.cxx index 7ddbb28a4d3a..2ac4bea3d59d 100644 --- a/editeng/source/uno/unoedprx.cxx +++ b/editeng/source/uno/unoedprx.cxx @@ -23,6 +23,7 @@ #include <limits.h> #include <utility> +#include <memory> #include <vector> #include <algorithm> #include <osl/mutex.hxx> diff --git a/editeng/source/xml/xmltxtexp.cxx b/editeng/source/xml/xmltxtexp.cxx index dfdba2f8c8a0..dc21c86c9eb0 100644 --- a/editeng/source/xml/xmltxtexp.cxx +++ b/editeng/source/xml/xmltxtexp.cxx @@ -20,6 +20,7 @@ /** this file implements an export of a selected EditEngine content into a xml stream. See editeng/source/inc/xmledit.hxx for interface */ +#include <memory> #include <com/sun/star/ucb/XAnyCompareFactory.hpp> #include <com/sun/star/style/XStyleFamiliesSupplier.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> diff --git a/extensions/source/bibliography/bibconfig.cxx b/extensions/source/bibliography/bibconfig.cxx index 34fd9a2b6bc9..af33237173ee 100644 --- a/extensions/source/bibliography/bibconfig.cxx +++ b/extensions/source/bibliography/bibconfig.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include <bibconfig.hxx> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/beans/PropertyValue.hpp> diff --git a/extensions/source/inc/componentmodule.cxx b/extensions/source/inc/componentmodule.cxx index 3f1f4925ea9d..77165e88c3ef 100644 --- a/extensions/source/inc/componentmodule.cxx +++ b/extensions/source/inc/componentmodule.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "componentmodule.hxx" #include <tools/resmgr.hxx> #include <svl/solar.hrc> diff --git a/extensions/source/propctrlr/eformshelper.cxx b/extensions/source/propctrlr/eformshelper.cxx index 160112fb7dd1..ce25451ef572 100644 --- a/extensions/source/propctrlr/eformshelper.cxx +++ b/extensions/source/propctrlr/eformshelper.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "eformshelper.hxx" #include "formstrings.hxx" #include "formresid.hrc" diff --git a/extensions/source/propctrlr/formcomponenthandler.hxx b/extensions/source/propctrlr/formcomponenthandler.hxx index 2534dfadce91..9002e2ba0f40 100644 --- a/extensions/source/propctrlr/formcomponenthandler.hxx +++ b/extensions/source/propctrlr/formcomponenthandler.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_EXTENSIONS_SOURCE_PROPCTRLR_FORMCOMPONENTHANDLER_HXX #define INCLUDED_EXTENSIONS_SOURCE_PROPCTRLR_FORMCOMPONENTHANDLER_HXX +#include <memory> #include "propertyhandler.hxx" #include "sqlcommanddesign.hxx" #include "pcrcommon.hxx" diff --git a/extensions/source/propctrlr/inspectormodelbase.cxx b/extensions/source/propctrlr/inspectormodelbase.cxx index 59415ab99a03..3da1c29f5650 100644 --- a/extensions/source/propctrlr/inspectormodelbase.cxx +++ b/extensions/source/propctrlr/inspectormodelbase.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "inspectormodelbase.hxx" #include "pcrcommon.hxx" diff --git a/extensions/source/propctrlr/propertycomposer.hxx b/extensions/source/propctrlr/propertycomposer.hxx index 6a034a9f6436..a5902adeb19f 100644 --- a/extensions/source/propctrlr/propertycomposer.hxx +++ b/extensions/source/propctrlr/propertycomposer.hxx @@ -33,6 +33,7 @@ #include <cppuhelper/basemutex.hxx> #include <comphelper/listenernotification.hxx> +#include <memory> #include <vector> #include <set> diff --git a/extensions/source/propctrlr/propertyhandler.cxx b/extensions/source/propctrlr/propertyhandler.cxx index 9f197d22a476..632036c83f54 100644 --- a/extensions/source/propctrlr/propertyhandler.cxx +++ b/extensions/source/propctrlr/propertyhandler.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "propertyhandler.hxx" #include "formmetadata.hxx" #include "formbrowsertools.hxx" diff --git a/extensions/source/propctrlr/submissionhandler.hxx b/extensions/source/propctrlr/submissionhandler.hxx index 410b72cb0259..47f18f12438e 100644 --- a/extensions/source/propctrlr/submissionhandler.hxx +++ b/extensions/source/propctrlr/submissionhandler.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_EXTENSIONS_SOURCE_PROPCTRLR_SUBMISSIONHANDLER_HXX #define INCLUDED_EXTENSIONS_SOURCE_PROPCTRLR_SUBMISSIONHANDLER_HXX +#include <memory> #include "propertyhandler.hxx" #include "eformshelper.hxx" diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx index 7a6b8ca41a91..28751feac55e 100644 --- a/filter/source/config/cache/filtercache.cxx +++ b/filter/source/config/cache/filtercache.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include "filtercache.hxx" #include "macros.hxx" #include "constant.hxx" diff --git a/filter/source/graphicfilter/icgm/bitmap.hxx b/filter/source/graphicfilter/icgm/bitmap.hxx index 3d1169cdc9b6..586b0e7cd4d6 100644 --- a/filter/source/graphicfilter/icgm/bitmap.hxx +++ b/filter/source/graphicfilter/icgm/bitmap.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_BITMAP_HXX #define INCLUDED_FILTER_SOURCE_GRAPHICFILTER_ICGM_BITMAP_HXX +#include <memory> #include "cgm.hxx" #include <vcl/bitmapaccess.hxx> diff --git a/filter/source/graphicfilter/ipcx/ipcx.cxx b/filter/source/graphicfilter/ipcx/ipcx.cxx index 67b2f7c3ded0..6698b5e69601 100644 --- a/filter/source/graphicfilter/ipcx/ipcx.cxx +++ b/filter/source/graphicfilter/ipcx/ipcx.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include <vcl/graph.hxx> #include <vcl/bitmapaccess.hxx> diff --git a/filter/source/graphicfilter/itiff/itiff.cxx b/filter/source/graphicfilter/itiff/itiff.cxx index 8ef3e8846f0a..af1707379a44 100644 --- a/filter/source/graphicfilter/itiff/itiff.cxx +++ b/filter/source/graphicfilter/itiff/itiff.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <vcl/FilterConfigItem.hxx> diff --git a/filter/source/msfilter/eschesdo.cxx b/filter/source/msfilter/eschesdo.cxx index 7c6886d8ce9c..ce1f7b792fce 100644 --- a/filter/source/msfilter/eschesdo.cxx +++ b/filter/source/msfilter/eschesdo.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "eschesdo.hxx" #include <o3tl/any.hxx> #include <svx/svdobj.hxx> diff --git a/filter/source/msfilter/viscache.hxx b/filter/source/msfilter/viscache.hxx index a604f5d1015e..24efe43bf42e 100644 --- a/filter/source/msfilter/viscache.hxx +++ b/filter/source/msfilter/viscache.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_FILTER_SOURCE_MSFILTER_VISCACHE_HXX #define INCLUDED_FILTER_SOURCE_MSFILTER_VISCACHE_HXX +#include <memory> #include <sfx2/objsh.hxx> #include <vcl/gdimtf.hxx> #include <vcl/bitmap.hxx> diff --git a/filter/source/svg/svgfilter.hxx b/filter/source/svg/svgfilter.hxx index 10574b2de7d5..4d724240f08e 100644 --- a/filter/source/svg/svgfilter.hxx +++ b/filter/source/svg/svgfilter.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_FILTER_SOURCE_SVG_SVGFILTER_HXX #define INCLUDED_FILTER_SOURCE_SVG_SVGFILTER_HXX +#include <memory> #include <com/sun/star/animations/XAnimationNodeSupplier.hpp> #include <com/sun/star/drawing/XMasterPageTarget.hpp> #include <com/sun/star/drawing/XDrawPagesSupplier.hpp> diff --git a/filter/source/t602/t602filter.hxx b/filter/source/t602/t602filter.hxx index 74fc56d5eef7..385b1b5d0d97 100644 --- a/filter/source/t602/t602filter.hxx +++ b/filter/source/t602/t602filter.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_FILTER_SOURCE_T602_T602FILTER_HXX #define INCLUDED_FILTER_SOURCE_T602_T602FILTER_HXX +#include <memory> #include <com/sun/star/document/XFilter.hpp> #include <com/sun/star/document/XImporter.hpp> #include <com/sun/star/document/XExtendedFilterDetection.hpp> diff --git a/forms/source/component/ComboBox.hxx b/forms/source/component/ComboBox.hxx index 776d5e9d4641..0693ee2cdb97 100644 --- a/forms/source/component/ComboBox.hxx +++ b/forms/source/component/ComboBox.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_FORMS_SOURCE_COMPONENT_COMBOBOX_HXX #define INCLUDED_FORMS_SOURCE_COMPONENT_COMBOBOX_HXX +#include <memory> #include "FormComponent.hxx" #include "errorbroadcaster.hxx" #include "entrylisthelper.hxx" diff --git a/forms/source/component/Edit.hxx b/forms/source/component/Edit.hxx index 97d7a4f1b755..f202959f6bc0 100644 --- a/forms/source/component/Edit.hxx +++ b/forms/source/component/Edit.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_FORMS_SOURCE_COMPONENT_EDIT_HXX #define INCLUDED_FORMS_SOURCE_COMPONENT_EDIT_HXX +#include <memory> #include "EditBase.hxx" #include <tools/link.hxx> diff --git a/forms/source/component/clickableimage.hxx b/forms/source/component/clickableimage.hxx index 15446e98fe0d..1b435e617e79 100644 --- a/forms/source/component/clickableimage.hxx +++ b/forms/source/component/clickableimage.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_FORMS_SOURCE_COMPONENT_CLICKABLEIMAGE_HXX #define INCLUDED_FORMS_SOURCE_COMPONENT_CLICKABLEIMAGE_HXX +#include <memory> #include "FormComponent.hxx" #include "EventThread.hxx" #include "imgprod.hxx" diff --git a/forms/source/richtext/richtextunowrapper.hxx b/forms/source/richtext/richtextunowrapper.hxx index 3b2ca0c53f47..a612cdc74947 100644 --- a/forms/source/richtext/richtextunowrapper.hxx +++ b/forms/source/richtext/richtextunowrapper.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTUNOWRAPPER_HXX #define INCLUDED_FORMS_SOURCE_RICHTEXT_RICHTEXTUNOWRAPPER_HXX +#include <memory> #include <editeng/unotext.hxx> #include <editeng/unoedsrc.hxx> diff --git a/forms/source/xforms/datatypes.cxx b/forms/source/xforms/datatypes.cxx index 4dffe3f2f4c5..6eb1478a552a 100644 --- a/forms/source/xforms/datatypes.cxx +++ b/forms/source/xforms/datatypes.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "datatypes.hxx" #include "resourcehelper.hxx" #include "property.hrc" diff --git a/formula/source/core/api/FormulaOpCodeMapperObj.cxx b/formula/source/core/api/FormulaOpCodeMapperObj.cxx index 24395386d0cf..e9d436df4ec7 100644 --- a/formula/source/core/api/FormulaOpCodeMapperObj.cxx +++ b/formula/source/core/api/FormulaOpCodeMapperObj.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <utility> diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index 4d9625486e7a..2e34f5255610 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sfx2/dispatch.hxx> #include <sfx2/docfile.hxx> #include <sfx2/viewfrm.hxx> diff --git a/formula/source/ui/resource/ModuleHelper.cxx b/formula/source/ui/resource/ModuleHelper.cxx index 175cf9f74914..2cfc0d1df180 100644 --- a/formula/source/ui/resource/ModuleHelper.cxx +++ b/formula/source/ui/resource/ModuleHelper.cxx @@ -16,6 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "ModuleHelper.hxx" #include <comphelper/processfactory.hxx> #include <osl/thread.h> diff --git a/fpicker/source/office/iodlg.hxx b/fpicker/source/office/iodlg.hxx index 8c74a9f58eac..535ac2ecab37 100644 --- a/fpicker/source/office/iodlg.hxx +++ b/fpicker/source/office/iodlg.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_FPICKER_SOURCE_OFFICE_IODLG_HXX #define INCLUDED_FPICKER_SOURCE_OFFICE_IODLG_HXX +#include <memory> #include <vcl/dialog.hxx> #include <vcl/button.hxx> #include <vcl/fixed.hxx> diff --git a/fpicker/source/win32/filepicker/FilePicker.cxx b/fpicker/source/win32/filepicker/FilePicker.cxx index bcea58ada593..7b60b0bb1dd6 100644 --- a/fpicker/source/win32/filepicker/FilePicker.cxx +++ b/fpicker/source/win32/filepicker/FilePicker.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <cppuhelper/interfacecontainer.h> diff --git a/fpicker/source/win32/filepicker/controlcommand.hxx b/fpicker/source/win32/filepicker/controlcommand.hxx index 4c9fe690417c..6e687661afe9 100644 --- a/fpicker/source/win32/filepicker/controlcommand.hxx +++ b/fpicker/source/win32/filepicker/controlcommand.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_CONTROLCOMMAND_HXX #define INCLUDED_FPICKER_SOURCE_WIN32_FILEPICKER_CONTROLCOMMAND_HXX +#include <memory> #include <sal/types.h> #include <com/sun/star/uno/Any.hxx> #include <rtl/ustring.hxx> diff --git a/fpicker/source/win32/folderpicker/FolderPicker.cxx b/fpicker/source/win32/folderpicker/FolderPicker.cxx index 18bac1135913..22b484034f6c 100644 --- a/fpicker/source/win32/folderpicker/FolderPicker.cxx +++ b/fpicker/source/win32/folderpicker/FolderPicker.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <osl/diagnose.h> #include "FolderPicker.hxx" diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index d35cbf52bf87..140558761777 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <config_features.h> #include <services/layoutmanager.hxx> diff --git a/framework/source/xml/imagesdocumenthandler.cxx b/framework/source/xml/imagesdocumenthandler.cxx index 0389cf1887a8..658242e9249f 100644 --- a/framework/source/xml/imagesdocumenthandler.cxx +++ b/framework/source/xml/imagesdocumenthandler.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <stdio.h> #include <xml/imagesdocumenthandler.hxx> diff --git a/helpcompiler/inc/HelpLinker.hxx b/helpcompiler/inc/HelpLinker.hxx index 051a20f04f2f..3fdbbe015230 100644 --- a/helpcompiler/inc/HelpLinker.hxx +++ b/helpcompiler/inc/HelpLinker.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_HELPCOMPILER_INC_HELPLINKER_HXX #define INCLUDED_HELPCOMPILER_INC_HELPLINKER_HXX +#include <memory> #include <helpcompiler/dllapi.h> #include <libxslt/transform.h> diff --git a/helpcompiler/source/HelpCompiler.cxx b/helpcompiler/source/HelpCompiler.cxx index 50a215db7527..8f0301ca2fe0 100644 --- a/helpcompiler/source/HelpCompiler.cxx +++ b/helpcompiler/source/HelpCompiler.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include <HelpCompiler.hxx> #include <BasCodeTagger.hxx> #include <limits.h> diff --git a/hwpfilter/source/hpara.cxx b/hwpfilter/source/hpara.cxx index 116aa0ec3d03..dfb63ddd48bd 100644 --- a/hwpfilter/source/hpara.cxx +++ b/hwpfilter/source/hpara.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "precompile.h" #include <osl/diagnose.h> diff --git a/hwpfilter/source/hwpfile.cxx b/hwpfilter/source/hwpfile.cxx index 17eed4902931..30482f625868 100644 --- a/hwpfilter/source/hwpfile.cxx +++ b/hwpfilter/source/hwpfile.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "precompile.h" #include <algorithm> diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx index d5bfc38ffc3d..bded191b7020 100644 --- a/i18npool/source/localedata/localedata.cxx +++ b/i18npool/source/localedata/localedata.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/container/XIndexAccess.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <cppuhelper/implbase.hxx> diff --git a/idl/source/cmptools/lex.cxx b/idl/source/cmptools/lex.cxx index 3a1a73c26799..fa4c9f66d24c 100644 --- a/idl/source/cmptools/lex.cxx +++ b/idl/source/cmptools/lex.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hash.hxx> #include <lex.hxx> #include <globals.hxx> 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> diff --git a/l10ntools/inc/cfgmerge.hxx b/l10ntools/inc/cfgmerge.hxx index 3d2162ad4bfe..6ebd75998aaf 100644 --- a/l10ntools/inc/cfgmerge.hxx +++ b/l10ntools/inc/cfgmerge.hxx @@ -24,6 +24,7 @@ #include <fstream> #include <unordered_map> +#include <memory> #include <vector> #include "po.hxx" diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx index 4e95a5f30ed4..b412f10df2a8 100644 --- a/l10ntools/inc/export.hxx +++ b/l10ntools/inc/export.hxx @@ -32,6 +32,7 @@ #include <iterator> #include <set> #include <unordered_map> +#include <memory> #include <vector> #include <queue> #include <string> diff --git a/l10ntools/inc/xmlparse.hxx b/l10ntools/inc/xmlparse.hxx index c9446aea7dcd..22ec04469316 100644 --- a/l10ntools/inc/xmlparse.hxx +++ b/l10ntools/inc/xmlparse.hxx @@ -23,6 +23,7 @@ #include "sal/config.h" #include <cstddef> +#include <memory> #include <vector> #include <signal.h> diff --git a/l10ntools/inc/xrmmerge.hxx b/l10ntools/inc/xrmmerge.hxx index 746095aee157..f5abcf9b59f7 100644 --- a/l10ntools/inc/xrmmerge.hxx +++ b/l10ntools/inc/xrmmerge.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_L10NTOOLS_INC_XRMMERGE_HXX #define INCLUDED_L10NTOOLS_INC_XRMMERGE_HXX +#include <memory> #include "sal/config.h" #include <fstream> diff --git a/l10ntools/source/propmerge.cxx b/l10ntools/source/propmerge.cxx index 3a7c92b0aae4..9ae073931118 100644 --- a/l10ntools/source/propmerge.cxx +++ b/l10ntools/source/propmerge.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <cstdlib> #include <cassert> #include <iostream> diff --git a/linguistic/source/misc.cxx b/linguistic/source/misc.cxx index f2c9e901e3aa..bacff91c643e 100644 --- a/linguistic/source/misc.cxx +++ b/linguistic/source/misc.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/macros.h> #include <unotools/pathoptions.hxx> #include <svl/lngmisc.hxx> diff --git a/lotuswordpro/source/filter/lwpbreaksoverride.hxx b/lotuswordpro/source/filter/lwpbreaksoverride.hxx index c833762ad325..729f983d5a11 100644 --- a/lotuswordpro/source/filter/lwpbreaksoverride.hxx +++ b/lotuswordpro/source/filter/lwpbreaksoverride.hxx @@ -60,6 +60,7 @@ #ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPBREAKSOVERRIDE_HXX #define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPBREAKSOVERRIDE_HXX +#include <memory> #include "lwpoverride.hxx" class LwpObjectStream; diff --git a/lotuswordpro/source/filter/lwpcelllayout.cxx b/lotuswordpro/source/filter/lwpcelllayout.cxx index f09630ebd181..3024e53ce1a0 100644 --- a/lotuswordpro/source/filter/lwpcelllayout.cxx +++ b/lotuswordpro/source/filter/lwpcelllayout.cxx @@ -58,6 +58,7 @@ * For LWP filter architecture prototype - cell layouts */ +#include <memory> #include "lwpcelllayout.hxx" #include "lwpfoundry.hxx" #include "lwpobjfactory.hxx" diff --git a/lotuswordpro/source/filter/lwpdocdata.cxx b/lotuswordpro/source/filter/lwpdocdata.cxx index 67abc7ff6dab..6ef841bb1f82 100644 --- a/lotuswordpro/source/filter/lwpdocdata.cxx +++ b/lotuswordpro/source/filter/lwpdocdata.cxx @@ -53,6 +53,7 @@ * * ************************************************************************/ +#include <memory> #include "lwpdocdata.hxx" #include "xfilter/xfofficemeta.hxx" #include "localtime.hxx" diff --git a/lotuswordpro/source/filter/lwpfootnote.cxx b/lotuswordpro/source/filter/lwpfootnote.cxx index 15bf99d96842..0c4dbd6ec5f9 100644 --- a/lotuswordpro/source/filter/lwpfootnote.cxx +++ b/lotuswordpro/source/filter/lwpfootnote.cxx @@ -54,6 +54,7 @@ * ************************************************************************/ +#include <memory> #include "lwpfootnote.hxx" #include "lwpstory.hxx" #include "xfilter/xffootnote.hxx" diff --git a/lotuswordpro/source/filter/lwpfoundry.hxx b/lotuswordpro/source/filter/lwpfoundry.hxx index 2009e11d90f5..cbbcd0510b58 100644 --- a/lotuswordpro/source/filter/lwpfoundry.hxx +++ b/lotuswordpro/source/filter/lwpfoundry.hxx @@ -73,6 +73,7 @@ class LwpDocument; class LwpBookMark; +#include <memory> #include <vector> #define TAG_USER_VERSION 0x72655655UL // "UVer" diff --git a/lotuswordpro/source/filter/lwpframelayout.cxx b/lotuswordpro/source/filter/lwpframelayout.cxx index cb35bd911213..553f907ca742 100644 --- a/lotuswordpro/source/filter/lwpframelayout.cxx +++ b/lotuswordpro/source/filter/lwpframelayout.cxx @@ -58,6 +58,7 @@ * the class for VO_FrameLayout ************************************************************************/ +#include <memory> #include "lwpframelayout.hxx" #include "lwppara.hxx" #include "xfilter/xfstylemanager.hxx" diff --git a/lotuswordpro/source/filter/lwpframelayout.hxx b/lotuswordpro/source/filter/lwpframelayout.hxx index 734fe88ae35f..52cbc8decf31 100644 --- a/lotuswordpro/source/filter/lwpframelayout.hxx +++ b/lotuswordpro/source/filter/lwpframelayout.hxx @@ -61,6 +61,7 @@ #ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFRAMELAYOUT_HXX #define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFRAMELAYOUT_HXX +#include <memory> #include "lwplayout.hxx" #include "lwpstory.hxx" #include "lwpmarker.hxx" diff --git a/lotuswordpro/source/filter/lwpfrib.cxx b/lotuswordpro/source/filter/lwpfrib.cxx index ae4e48e76cc1..bd951118d48d 100644 --- a/lotuswordpro/source/filter/lwpfrib.cxx +++ b/lotuswordpro/source/filter/lwpfrib.cxx @@ -58,6 +58,7 @@ * For LWP filter architecture prototype ************************************************************************/ +#include <memory> #include "lwpfrib.hxx" #include "lwpcharsetmgr.hxx" #include "lwpsection.hxx" diff --git a/lotuswordpro/source/filter/lwpfrib.hxx b/lotuswordpro/source/filter/lwpfrib.hxx index 70258c8e86be..910f85dee08f 100644 --- a/lotuswordpro/source/filter/lwpfrib.hxx +++ b/lotuswordpro/source/filter/lwpfrib.hxx @@ -60,6 +60,7 @@ #ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFRIB_HXX #define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFRIB_HXX +#include <memory> #include "lwpobjid.hxx" #include "lwpobjstrm.hxx" #include "lwpbasetype.hxx" diff --git a/lotuswordpro/source/filter/lwpglobalmgr.hxx b/lotuswordpro/source/filter/lwpglobalmgr.hxx index a335ab295e3f..1cad0da4e6da 100644 --- a/lotuswordpro/source/filter/lwpglobalmgr.hxx +++ b/lotuswordpro/source/filter/lwpglobalmgr.hxx @@ -61,6 +61,7 @@ #ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPGLOBALMGR_HXX #define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPGLOBALMGR_HXX +#include <memory> #include <map> #include "lwpheader.hxx" #include "lwpsvstream.hxx" diff --git a/lotuswordpro/source/filter/lwplayout.cxx b/lotuswordpro/source/filter/lwplayout.cxx index ca90224f7e69..c241e84f1898 100644 --- a/lotuswordpro/source/filter/lwplayout.cxx +++ b/lotuswordpro/source/filter/lwplayout.cxx @@ -58,6 +58,7 @@ * For LWP filter architecture prototype ************************************************************************/ +#include <memory> #include "lwplayout.hxx" #include "lwpusewhen.hxx" #include "lwptools.hxx" diff --git a/lotuswordpro/source/filter/lwplayout.hxx b/lotuswordpro/source/filter/lwplayout.hxx index d7a6b6077b6e..bfd9dc097aa3 100644 --- a/lotuswordpro/source/filter/lwplayout.hxx +++ b/lotuswordpro/source/filter/lwplayout.hxx @@ -61,6 +61,7 @@ #ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPLAYOUT_HXX #define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPLAYOUT_HXX +#include <memory> #include <sal/config.h> #include <rtl/ref.hxx> diff --git a/lotuswordpro/source/filter/lwpnumericfmt.cxx b/lotuswordpro/source/filter/lwpnumericfmt.cxx index 9653b095b77e..6da7cea9edc3 100644 --- a/lotuswordpro/source/filter/lwpnumericfmt.cxx +++ b/lotuswordpro/source/filter/lwpnumericfmt.cxx @@ -58,6 +58,7 @@ * For LWP filter architecture prototype - table cell numerics format */ +#include <memory> #include "lwpnumericfmt.hxx" LwpCurrencyPool LwpNumericFormat::m_aCurrencyInfo; diff --git a/lotuswordpro/source/filter/lwpobj.hxx b/lotuswordpro/source/filter/lwpobj.hxx index 8199d61de8a6..d4fc9c780f2d 100644 --- a/lotuswordpro/source/filter/lwpobj.hxx +++ b/lotuswordpro/source/filter/lwpobj.hxx @@ -61,6 +61,7 @@ #ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPOBJ_HXX #define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPOBJ_HXX +#include <memory> #include <sal/config.h> #include <stdexcept> diff --git a/lotuswordpro/source/filter/lwppagelayout.cxx b/lotuswordpro/source/filter/lwppagelayout.cxx index a8eb63d0f880..66d58fc104eb 100644 --- a/lotuswordpro/source/filter/lwppagelayout.cxx +++ b/lotuswordpro/source/filter/lwppagelayout.cxx @@ -54,6 +54,7 @@ * ************************************************************************/ +#include <memory> #include "lwppagelayout.hxx" #include "lwplaypiece.hxx" #include "lwpfootnote.hxx" diff --git a/lotuswordpro/source/filter/lwpparaproperty.hxx b/lotuswordpro/source/filter/lwpparaproperty.hxx index 5b4cdd2ec233..698550ddda65 100644 --- a/lotuswordpro/source/filter/lwpparaproperty.hxx +++ b/lotuswordpro/source/filter/lwpparaproperty.hxx @@ -61,6 +61,7 @@ #ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPPARAPROPERTY_HXX #define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPPARAPROPERTY_HXX +#include <memory> #include "lwpobj.hxx" #include "lwpobjstrm.hxx" #include "lwpdllist.hxx" diff --git a/lotuswordpro/source/filter/lwpsilverbullet.cxx b/lotuswordpro/source/filter/lwpsilverbullet.cxx index 2a206965202b..9110c45cd3c9 100644 --- a/lotuswordpro/source/filter/lwpsilverbullet.cxx +++ b/lotuswordpro/source/filter/lwpsilverbullet.cxx @@ -58,6 +58,7 @@ * For LWP filter architecture prototype ************************************************************************/ +#include <memory> #include "lwpglobalmgr.hxx" #include "lwpsilverbullet.hxx" #include "lwpdoc.hxx" diff --git a/lotuswordpro/source/filter/lwpsilverbullet.hxx b/lotuswordpro/source/filter/lwpsilverbullet.hxx index 03dc2e55af07..f130d46c6a75 100644 --- a/lotuswordpro/source/filter/lwpsilverbullet.hxx +++ b/lotuswordpro/source/filter/lwpsilverbullet.hxx @@ -61,6 +61,7 @@ #ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPSILVERBULLET_HXX #define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPSILVERBULLET_HXX +#include <memory> #include "lwpheader.hxx" #include "lwpobj.hxx" #include "lwpdlvlist.hxx" diff --git a/lotuswordpro/source/filter/lwpstory.hxx b/lotuswordpro/source/filter/lwpstory.hxx index 9168b680b19f..e8006c4266e2 100644 --- a/lotuswordpro/source/filter/lwpstory.hxx +++ b/lotuswordpro/source/filter/lwpstory.hxx @@ -63,6 +63,7 @@ #ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPSTORY_HXX #define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPSTORY_HXX +#include <memory> #include "lwpcontent.hxx" class LwpPageLayout; diff --git a/mysqlc/source/mysqlc_connection.cxx b/mysqlc/source/mysqlc_connection.cxx index 5f082310b7c7..8725f67bb08d 100644 --- a/mysqlc/source/mysqlc_connection.cxx +++ b/mysqlc/source/mysqlc_connection.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "mysqlc_connection.hxx" #include "mysqlc_databasemetadata.hxx" diff --git a/mysqlc/source/mysqlc_connection.hxx b/mysqlc/source/mysqlc_connection.hxx index 19f836c9bfcd..0afae7d4ae64 100644 --- a/mysqlc/source/mysqlc_connection.hxx +++ b/mysqlc/source/mysqlc_connection.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_MYSQLC_SOURCE_MYSQLC_CONNECTION_HXX #define INCLUDED_MYSQLC_SOURCE_MYSQLC_CONNECTION_HXX +#include <memory> #include "mysqlc_subcomponent.hxx" #include "mysqlc_types.hxx" diff --git a/o3tl/qa/test-sorted_vector.cxx b/o3tl/qa/test-sorted_vector.cxx index 3f05381fe423..9b1915a99754 100644 --- a/o3tl/qa/test-sorted_vector.cxx +++ b/o3tl/qa/test-sorted_vector.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "cppunit/TestAssert.h" #include "cppunit/TestFixture.h" #include "cppunit/extensions/HelperMacros.h" diff --git a/oox/inc/drawingml/chart/datasourcecontext.hxx b/oox/inc/drawingml/chart/datasourcecontext.hxx index 2704ccf33012..95ddd1f6381d 100644 --- a/oox/inc/drawingml/chart/datasourcecontext.hxx +++ b/oox/inc/drawingml/chart/datasourcecontext.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_OOX_DRAWINGML_CHART_DATASOURCECONTEXT_HXX #define INCLUDED_OOX_DRAWINGML_CHART_DATASOURCECONTEXT_HXX +#include <memory> #include <drawingml/chart/chartcontextbase.hxx> #include <svl/zforlist.hxx> diff --git a/oox/inc/drawingml/textparagraph.hxx b/oox/inc/drawingml/textparagraph.hxx index 337d50718ad8..10eb0ee35468 100644 --- a/oox/inc/drawingml/textparagraph.hxx +++ b/oox/inc/drawingml/textparagraph.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_OOX_DRAWINGML_TEXTPARAGRAPH_HXX #define INCLUDED_OOX_DRAWINGML_TEXTPARAGRAPH_HXX +#include <memory> #include <com/sun/star/text/XTextCursor.hpp> #include <com/sun/star/text/XText.hpp> diff --git a/opencl/inc/opencl_device_selection.h b/opencl/inc/opencl_device_selection.h index 6c8a04148f4c..f7d592de6e89 100644 --- a/opencl/inc/opencl_device_selection.h +++ b/opencl/inc/opencl_device_selection.h @@ -14,6 +14,8 @@ //#define _CRT_SECURE_NO_WARNINGS #endif +#include <memory> + #include <stdlib.h> #include <stdio.h> #include <string.h> diff --git a/package/source/xstor/owriteablestream.cxx b/package/source/xstor/owriteablestream.cxx index 6dcc6b0b2d75..d3e47db57f72 100644 --- a/package/source/xstor/owriteablestream.cxx +++ b/package/source/xstor/owriteablestream.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <com/sun/star/packages/WrongPasswordException.hpp> diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx index 470f5671fc5f..1de098f426a0 100644 --- a/package/source/xstor/xstorage.cxx +++ b/package/source/xstor/xstorage.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <cassert> diff --git a/package/source/zipapi/ZipFile.cxx b/package/source/zipapi/ZipFile.cxx index 29cec822a4c6..14b536db3ada 100644 --- a/package/source/zipapi/ZipFile.cxx +++ b/package/source/zipapi/ZipFile.cxx @@ -36,6 +36,7 @@ #include <algorithm> #include <iterator> +#include <memory> #include <vector> #include "blowfishcontext.hxx" diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx index 8bb37f161eb8..891d252c6591 100644 --- a/package/source/zippackage/ZipPackage.cxx +++ b/package/source/zippackage/ZipPackage.cxx @@ -69,6 +69,7 @@ #include "com/sun/star/io/XAsyncOutputMonitor.hpp" #include <cstring> +#include <memory> #include <vector> #include <comphelper/processfactory.hxx> diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx index 6c91b0302d19..15477a3a2099 100644 --- a/package/source/zippackage/ZipPackageStream.cxx +++ b/package/source/zippackage/ZipPackageStream.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <ZipPackageStream.hxx> #include <com/sun/star/beans/PropertyValue.hpp> diff --git a/reportdesign/source/core/sdr/ModuleHelper.cxx b/reportdesign/source/core/sdr/ModuleHelper.cxx index bb292ab0f012..f1eae9f26422 100644 --- a/reportdesign/source/core/sdr/ModuleHelper.cxx +++ b/reportdesign/source/core/sdr/ModuleHelper.cxx @@ -16,6 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "ModuleHelper.hxx" #include <comphelper/processfactory.hxx> #include <osl/thread.h> diff --git a/reportdesign/source/filter/xml/xmlExport.cxx b/reportdesign/source/filter/xml/xmlExport.cxx index 686f8383b105..0f4940df4269 100644 --- a/reportdesign/source/filter/xml/xmlExport.cxx +++ b/reportdesign/source/filter/xml/xmlExport.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "xmlExport.hxx" #include "xmlAutoStyle.hxx" #include <xmloff/ProgressBarHelper.hxx> diff --git a/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx b/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx index 0cb121a49f45..08fe41429142 100644 --- a/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx +++ b/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "xmlImportDocumentHandler.hxx" #include <com/sun/star/sdb/CommandType.hpp> #include <com/sun/star/chart2/data/DatabaseDataProvider.hpp> diff --git a/reportdesign/source/filter/xml/xmlfilter.cxx b/reportdesign/source/filter/xml/xmlfilter.cxx index dc101e13e76d..3f513db3de59 100644 --- a/reportdesign/source/filter/xml/xmlfilter.cxx +++ b/reportdesign/source/filter/xml/xmlfilter.cxx @@ -29,6 +29,7 @@ #include "xmlfilter.hxx" #include "xmlGroup.hxx" #include "xmlReport.hxx" +#include <tools/errinf.hxx> #include "xmlHelper.hxx" #include <vcl/svapp.hxx> #include <vcl/window.hxx> diff --git a/reportdesign/source/ui/inc/ReportWindow.hxx b/reportdesign/source/ui/inc/ReportWindow.hxx index 08b446e4c8d7..f287eb1cca5a 100644 --- a/reportdesign/source/ui/inc/ReportWindow.hxx +++ b/reportdesign/source/ui/inc/ReportWindow.hxx @@ -26,6 +26,7 @@ #include <svx/svdedtv.hxx> #include <sfx2/zoomitem.hxx> +#include <memory> #include <vector> #include <comphelper/propmultiplex.hxx> diff --git a/reportdesign/source/ui/misc/UITools.cxx b/reportdesign/source/ui/misc/UITools.cxx index f304c6f66927..0527ef79ca58 100644 --- a/reportdesign/source/ui/misc/UITools.cxx +++ b/reportdesign/source/ui/misc/UITools.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include <toolkit/helper/convert.hxx> #include <toolkit/helper/vclunohelper.hxx> #include "SectionView.hxx" diff --git a/reportdesign/source/ui/report/ReportSection.cxx b/reportdesign/source/ui/report/ReportSection.cxx index f074a0aebf30..28bf1db35f3f 100644 --- a/reportdesign/source/ui/report/ReportSection.cxx +++ b/reportdesign/source/ui/report/ReportSection.cxx @@ -16,6 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "ReportSection.hxx" #include "ReportWindow.hxx" #include "DesignView.hxx" diff --git a/reportdesign/source/ui/report/propbrw.cxx b/reportdesign/source/ui/report/propbrw.cxx index ad41e4aefbe6..8d436f30e291 100644 --- a/reportdesign/source/ui/report/propbrw.cxx +++ b/reportdesign/source/ui/report/propbrw.cxx @@ -16,6 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "propbrw.hxx" #include "RptObject.hxx" #include "ReportController.hxx" diff --git a/sal/qa/rtl/oustring/rtl_OUString2.cxx b/sal/qa/rtl/oustring/rtl_OUString2.cxx index 5c00a4c6f306..6c71751d3992 100644 --- a/sal/qa/rtl/oustring/rtl_OUString2.cxx +++ b/sal/qa/rtl/oustring/rtl_OUString2.cxx @@ -19,6 +19,7 @@ // autogenerated file with codegen.pl +#include <memory> #include <math.h> #include <stdio.h> diff --git a/sal/qa/rtl/process/rtl_Process.cxx b/sal/qa/rtl/process/rtl_Process.cxx index 5901529af6e9..e4b0465a2455 100644 --- a/sal/qa/rtl/process/rtl_Process.cxx +++ b/sal/qa/rtl/process/rtl_Process.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <stdlib.h> #include <stdio.h> #include <string.h> diff --git a/sal/qa/rtl/random/rtl_random.cxx b/sal/qa/rtl/random/rtl_random.cxx index f537c7c832d6..721af2a97aa1 100644 --- a/sal/qa/rtl/random/rtl_random.cxx +++ b/sal/qa/rtl/random/rtl_random.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <algorithm> #include <sal/types.h> diff --git a/sax/source/expatwrap/sax_expat.cxx b/sax/source/expatwrap/sax_expat.cxx index d71ac08985ef..35509016b9fe 100644 --- a/sax/source/expatwrap/sax_expat.cxx +++ b/sax/source/expatwrap/sax_expat.cxx @@ -19,6 +19,7 @@ #include <stdlib.h> #include <string.h> #include <cassert> +#include <memory> #include <vector> #include <osl/diagnose.h> diff --git a/sax/source/fastparser/legacyfastparser.cxx b/sax/source/fastparser/legacyfastparser.cxx index 2c70d5327da6..4acb1d890090 100644 --- a/sax/source/fastparser/legacyfastparser.cxx +++ b/sax/source/fastparser/legacyfastparser.cxx @@ -28,6 +28,7 @@ #include <comphelper/processfactory.hxx> #include <rtl/ref.hxx> #include <sax/fastparser.hxx> +#include <memory> #include <vector> #include <o3tl/make_unique.hxx> diff --git a/sc/inc/ChartTools.hxx b/sc/inc/ChartTools.hxx index 6fb62208c4ed..0de4a8ecf627 100644 --- a/sc/inc/ChartTools.hxx +++ b/sc/inc/ChartTools.hxx @@ -11,6 +11,7 @@ #ifndef INCLUDED_SC_INC_CHARTTOOLS_HXX #define INCLUDED_SC_INC_CHARTTOOLS_HXX +#include <memory> #include <svx/svdoole2.hxx> #include <svx/svditer.hxx> diff --git a/sc/inc/addincol.hxx b/sc/inc/addincol.hxx index 79150156f969..bd2a48ec04c2 100644 --- a/sc/inc/addincol.hxx +++ b/sc/inc/addincol.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_INC_ADDINCOL_HXX #define INCLUDED_SC_INC_ADDINCOL_HXX +#include <memory> #include "global.hxx" #include <com/sun/star/sheet/XVolatileResult.hpp> #include <com/sun/star/sheet/XAddIn.hpp> diff --git a/sc/inc/appoptio.hxx b/sc/inc/appoptio.hxx index d3d6f5ba61eb..cdc055e07ee2 100644 --- a/sc/inc/appoptio.hxx +++ b/sc/inc/appoptio.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_INC_APPOPTIO_HXX #define INCLUDED_SC_INC_APPOPTIO_HXX +#include <memory> #include <vcl/field.hxx> #include <sfx2/zoomitem.hxx> #include <unotools/configitem.hxx> diff --git a/sc/inc/attrib.hxx b/sc/inc/attrib.hxx index de789fb10dd7..f7a5e4a0616d 100644 --- a/sc/inc/attrib.hxx +++ b/sc/inc/attrib.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_INC_ATTRIB_HXX #define INCLUDED_SC_INC_ATTRIB_HXX +#include <memory> #include <svl/poolitem.hxx> #include <svl/intitem.hxx> #include <svl/eitem.hxx> diff --git a/sc/inc/chartpos.hxx b/sc/inc/chartpos.hxx index 8801f2c3ac63..ac53d74a0cbf 100644 --- a/sc/inc/chartpos.hxx +++ b/sc/inc/chartpos.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_INC_CHARTPOS_HXX #define INCLUDED_SC_INC_CHARTPOS_HXX +#include <memory> #include "rangelst.hxx" #include <map> diff --git a/sc/inc/chgviset.hxx b/sc/inc/chgviset.hxx index 3d93a4f18e0f..874f0724d6f1 100644 --- a/sc/inc/chgviset.hxx +++ b/sc/inc/chgviset.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SC_INC_CHGVISET_HXX #define INCLUDED_SC_INC_CHGVISET_HXX +#include <memory> #include <tools/datetime.hxx> #include <unotools/textsearch.hxx> #include <svx/ctredlin.hxx> diff --git a/sc/inc/dapiuno.hxx b/sc/inc/dapiuno.hxx index db0449decf9b..ab766f7e60f2 100644 --- a/sc/inc/dapiuno.hxx +++ b/sc/inc/dapiuno.hxx @@ -51,6 +51,7 @@ #include <cppuhelper/implbase.hxx> +#include <memory> #include <vector> namespace com { namespace sun { namespace star { namespace sheet { diff --git a/sc/inc/dptabres.hxx b/sc/inc/dptabres.hxx index 23e1bfa5e727..5f778da68e43 100644 --- a/sc/inc/dptabres.hxx +++ b/sc/inc/dptabres.hxx @@ -32,6 +32,7 @@ #include <map> #include <unordered_map> #include <unordered_set> +#include <memory> #include <vector> namespace com { namespace sun { namespace star { namespace sheet { diff --git a/sc/inc/editutil.hxx b/sc/inc/editutil.hxx index 88ddd6138ea3..cc96945dfd67 100644 --- a/sc/inc/editutil.hxx +++ b/sc/inc/editutil.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_INC_EDITUTIL_HXX #define INCLUDED_SC_INC_EDITUTIL_HXX +#include <memory> #include "scdllapi.h" #include "address.hxx" #include <editeng/editeng.hxx> diff --git a/sc/inc/funcuno.hxx b/sc/inc/funcuno.hxx index b7c87ff9da87..cf0dc8065a1b 100644 --- a/sc/inc/funcuno.hxx +++ b/sc/inc/funcuno.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_INC_FUNCUNO_HXX #define INCLUDED_SC_INC_FUNCUNO_HXX +#include <memory> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/sheet/XFunctionAccess.hpp> #include <com/sun/star/beans/XPropertySet.hpp> diff --git a/sc/inc/paramisc.hxx b/sc/inc/paramisc.hxx index 5853051a4abd..5ab41a8f625b 100644 --- a/sc/inc/paramisc.hxx +++ b/sc/inc/paramisc.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_INC_PARAMISC_HXX #define INCLUDED_SC_INC_PARAMISC_HXX +#include <memory> #include "address.hxx" #include <sal/types.h> diff --git a/sc/inc/srchuno.hxx b/sc/inc/srchuno.hxx index d139311f4fc5..bd098fbfc085 100644 --- a/sc/inc/srchuno.hxx +++ b/sc/inc/srchuno.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_INC_SRCHUNO_HXX #define INCLUDED_SC_INC_SRCHUNO_HXX +#include <memory> #include <com/sun/star/util/XReplaceDescriptor.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XUnoTunnel.hpp> diff --git a/sc/inc/tokenuno.hxx b/sc/inc/tokenuno.hxx index 17108b038659..4b5ddab038a1 100644 --- a/sc/inc/tokenuno.hxx +++ b/sc/inc/tokenuno.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_INC_TOKENUNO_HXX #define INCLUDED_SC_INC_TOKENUNO_HXX +#include <memory> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/beans/XPropertySet.hpp> diff --git a/sc/inc/validat.hxx b/sc/inc/validat.hxx index 6aeb958d9137..7515b21e29e9 100644 --- a/sc/inc/validat.hxx +++ b/sc/inc/validat.hxx @@ -24,6 +24,7 @@ #include <com/sun/star/sheet/TableValidationVisibility.hpp> #include "scdllapi.h" +namespace vcl { class Window; } namespace sc { diff --git a/sc/qa/unit/helper/shared_test_impl.hxx b/sc/qa/unit/helper/shared_test_impl.hxx index f24eaad29f0d..00bc6c65a2dd 100644 --- a/sc/qa/unit/helper/shared_test_impl.hxx +++ b/sc/qa/unit/helper/shared_test_impl.hxx @@ -10,6 +10,7 @@ #ifndef INCLUDED_SC_QA_UNIT_HELPER_SHARED_TEST_IMPL_HXX #define INCLUDED_SC_QA_UNIT_HELPER_SHARED_TEST_IMPL_HXX +#include <memory> #include "colorscale.hxx" #include "conditio.hxx" #include "document.hxx" diff --git a/sc/qa/unit/screenshots/screenshots.cxx b/sc/qa/unit/screenshots/screenshots.cxx index eb208b4ed5b5..ee6441535450 100644 --- a/sc/qa/unit/screenshots/screenshots.cxx +++ b/sc/qa/unit/screenshots/screenshots.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <test/screenshot_test.hxx> #include <com/sun/star/frame/Desktop.hpp> diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx index 93853a4c68ce..d96a3b62025d 100644 --- a/sc/qa/unit/subsequent_filters-test.cxx +++ b/sc/qa/unit/subsequent_filters-test.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <sal/config.h> #include <unotest/filters-test.hxx> #include <test/bootstrapfixture.hxx> diff --git a/sc/qa/unit/ucalc_condformat.cxx b/sc/qa/unit/ucalc_condformat.cxx index c3fe3ed3afcf..17e4e5d52d3d 100644 --- a/sc/qa/unit/ucalc_condformat.cxx +++ b/sc/qa/unit/ucalc_condformat.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "ucalc.hxx" #include "conditio.hxx" diff --git a/sc/qa/unit/ucalc_pivottable.cxx b/sc/qa/unit/ucalc_pivottable.cxx index 1706f63b03e5..a74b8d4793d2 100644 --- a/sc/qa/unit/ucalc_pivottable.cxx +++ b/sc/qa/unit/ucalc_pivottable.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "ucalc.hxx" #include "dpshttab.hxx" #include "dpobject.hxx" diff --git a/sc/qa/unit/ucalc_sharedformula.cxx b/sc/qa/unit/ucalc_sharedformula.cxx index 1659c8b46166..a85baa17879c 100644 --- a/sc/qa/unit/ucalc_sharedformula.cxx +++ b/sc/qa/unit/ucalc_sharedformula.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "ucalc.hxx" #include "editutil.hxx" #include "formulacell.hxx" diff --git a/sc/source/core/data/cellvalues.cxx b/sc/source/core/data/cellvalues.cxx index 867bac4fca2a..bad15747d064 100644 --- a/sc/source/core/data/cellvalues.cxx +++ b/sc/source/core/data/cellvalues.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <cellvalues.hxx> #include <column.hxx> #include <cellvalue.hxx> diff --git a/sc/source/core/data/clipcontext.cxx b/sc/source/core/data/clipcontext.cxx index b03f164da9f2..5980de7f2ce4 100644 --- a/sc/source/core/data/clipcontext.cxx +++ b/sc/source/core/data/clipcontext.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "clipcontext.hxx" #include "document.hxx" #include "mtvelements.hxx" diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx index d29e25f3dfce..009cbd9f9bbe 100644 --- a/sc/source/core/data/colorscale.cxx +++ b/sc/source/core/data/colorscale.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "colorscale.hxx" #include "document.hxx" #include "formulacell.hxx" diff --git a/sc/source/core/data/document10.cxx b/sc/source/core/data/document10.cxx index c5bc3118a174..0ceba39f8853 100644 --- a/sc/source/core/data/document10.cxx +++ b/sc/source/core/data/document10.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <document.hxx> #include <clipcontext.hxx> #include <formulacell.hxx> diff --git a/sc/source/core/data/documentimport.cxx b/sc/source/core/data/documentimport.cxx index 5f0dc5a5c006..dd061648e485 100644 --- a/sc/source/core/data/documentimport.cxx +++ b/sc/source/core/data/documentimport.cxx @@ -26,6 +26,7 @@ #include <svl/sharedstringpool.hxx> #include <svl/languageoptions.hxx> +#include <memory> #include <vector> namespace { diff --git a/sc/source/core/data/dpcache.cxx b/sc/source/core/data/dpcache.cxx index ccd967b65c49..e73bee5e80d5 100644 --- a/sc/source/core/data/dpcache.cxx +++ b/sc/source/core/data/dpcache.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "dpcache.hxx" #include "document.hxx" diff --git a/sc/source/core/data/dpsave.cxx b/sc/source/core/data/dpsave.cxx index c10897a0a50a..30fb96af0cf5 100644 --- a/sc/source/core/data/dpsave.cxx +++ b/sc/source/core/data/dpsave.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "dpsave.hxx" #include "dpdimsave.hxx" #include "miscuno.hxx" diff --git a/sc/source/core/data/markdata.cxx b/sc/source/core/data/markdata.cxx index 9a490134e7d8..a4db65159016 100644 --- a/sc/source/core/data/markdata.cxx +++ b/sc/source/core/data/markdata.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "markdata.hxx" #include "markarr.hxx" #include "markmulti.hxx" diff --git a/sc/source/core/data/patattr.cxx b/sc/source/core/data/patattr.cxx index a0dc97b7553a..811f986d6aef 100644 --- a/sc/source/core/data/patattr.cxx +++ b/sc/source/core/data/patattr.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "scitems.hxx" #include <editeng/adjustitem.hxx> #include <svx/algitem.hxx> diff --git a/sc/source/core/data/postit.cxx b/sc/source/core/data/postit.cxx index c0a47df3c99c..d06072cc3ef1 100644 --- a/sc/source/core/data/postit.cxx +++ b/sc/source/core/data/postit.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "postit.hxx" #include <rtl/ustrbuf.hxx> diff --git a/sc/source/core/data/simpleformulacalc.cxx b/sc/source/core/data/simpleformulacalc.cxx index d855aeda43c4..4a240b58a01a 100644 --- a/sc/source/core/data/simpleformulacalc.cxx +++ b/sc/source/core/data/simpleformulacalc.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "simpleformulacalc.hxx" #include "document.hxx" #include "tokenarray.hxx" diff --git a/sc/source/core/data/stlpool.cxx b/sc/source/core/data/stlpool.cxx index b4aa9bbb7505..f4f70c76e7f5 100644 --- a/sc/source/core/data/stlpool.cxx +++ b/sc/source/core/data/stlpool.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "scitems.hxx" #include <editeng/eeitem.hxx> #include <i18nlangtag/mslangid.hxx> diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index 17f5fe0ba55d..9286e9c0343b 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "table.hxx" #include "patattr.hxx" #include "docpool.hxx" diff --git a/sc/source/core/inc/addinlis.hxx b/sc/source/core/inc/addinlis.hxx index b11b90d0a5ee..c86663194767 100644 --- a/sc/source/core/inc/addinlis.hxx +++ b/sc/source/core/inc/addinlis.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_CORE_INC_ADDINLIS_HXX #define INCLUDED_SC_SOURCE_CORE_INC_ADDINLIS_HXX +#include <memory> #include "adiasync.hxx" #include <com/sun/star/sheet/XResultListener.hpp> #include <com/sun/star/sheet/XVolatileResult.hpp> diff --git a/sc/source/core/tool/autoform.cxx b/sc/source/core/tool/autoform.cxx index 15949443efe6..9a80710e404e 100644 --- a/sc/source/core/tool/autoform.cxx +++ b/sc/source/core/tool/autoform.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "autoform.hxx" #include <sfx2/app.hxx> diff --git a/sc/source/core/tool/cellkeytranslator.cxx b/sc/source/core/tool/cellkeytranslator.cxx index 8ccae176afd1..91e38c0e64b1 100644 --- a/sc/source/core/tool/cellkeytranslator.cxx +++ b/sc/source/core/tool/cellkeytranslator.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "cellkeytranslator.hxx" #include <comphelper/processfactory.hxx> #include <i18nlangtag/mslangid.hxx> diff --git a/sc/source/core/tool/chartarr.cxx b/sc/source/core/tool/chartarr.cxx index 36183f2e48c8..06463aef0709 100644 --- a/sc/source/core/tool/chartarr.cxx +++ b/sc/source/core/tool/chartarr.cxx @@ -34,6 +34,7 @@ #include <o3tl/make_unique.hxx> #include <formula/errorcodes.hxx> +#include <memory> #include <vector> using ::std::vector; diff --git a/sc/source/core/tool/chartlis.cxx b/sc/source/core/tool/chartlis.cxx index f482c39389ef..ba885a6be13d 100644 --- a/sc/source/core/tool/chartlis.cxx +++ b/sc/source/core/tool/chartlis.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <vcl/svapp.hxx> #include "chartlis.hxx" diff --git a/sc/source/core/tool/detdata.cxx b/sc/source/core/tool/detdata.cxx index b2671db8c2d1..3b8bad0a59bd 100644 --- a/sc/source/core/tool/detdata.cxx +++ b/sc/source/core/tool/detdata.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "detdata.hxx" #include "refupdat.hxx" #include "rechead.hxx" diff --git a/sc/source/core/tool/formulalogger.cxx b/sc/source/core/tool/formulalogger.cxx index b0c5064fb2b9..7c70d4c730f9 100644 --- a/sc/source/core/tool/formulalogger.cxx +++ b/sc/source/core/tool/formulalogger.cxx @@ -5,6 +5,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <formulalogger.hxx> #include <formulacell.hxx> #include <tokenarray.hxx> diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx index 19900015ee29..86ee46cf9ab3 100644 --- a/sc/source/core/tool/interpr2.cxx +++ b/sc/source/core/tool/interpr2.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "interpre.hxx" #include <comphelper/string.hxx> diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx index 5bd341edd4ca..2ed998b836bb 100644 --- a/sc/source/core/tool/interpr3.cxx +++ b/sc/source/core/tool/interpr3.cxx @@ -32,6 +32,7 @@ #include "globstr.hrc" #include <math.h> +#include <memory> #include <vector> #include <algorithm> #include <comphelper/random.hxx> diff --git a/sc/source/core/tool/interpr8.cxx b/sc/source/core/tool/interpr8.cxx index 534da1e12b24..e2e1e9430a18 100644 --- a/sc/source/core/tool/interpr8.cxx +++ b/sc/source/core/tool/interpr8.cxx @@ -17,6 +17,7 @@ #include <stack> #include <cmath> +#include <memory> #include <vector> using namespace formula; diff --git a/sc/source/core/tool/queryparam.cxx b/sc/source/core/tool/queryparam.cxx index 438d5020961f..fe6aa1bea950 100644 --- a/sc/source/core/tool/queryparam.cxx +++ b/sc/source/core/tool/queryparam.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "queryparam.hxx" #include "queryentry.hxx" #include "scmatrix.hxx" diff --git a/sc/source/core/tool/rangeutl.cxx b/sc/source/core/tool/rangeutl.cxx index 263c7bcf6d36..ea0dbf962be8 100644 --- a/sc/source/core/tool/rangeutl.cxx +++ b/sc/source/core/tool/rangeutl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "rangeutl.hxx" #include "document.hxx" #include "global.hxx" diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx index bd98d4b4213a..10fd2776b1d9 100644 --- a/sc/source/core/tool/scmatrix.cxx +++ b/sc/source/core/tool/scmatrix.cxx @@ -36,6 +36,7 @@ #include <math.h> +#include <memory> #include <vector> #include <limits> diff --git a/sc/source/core/tool/userlist.cxx b/sc/source/core/tool/userlist.cxx index ae9977668e89..0f542a9ed777 100644 --- a/sc/source/core/tool/userlist.cxx +++ b/sc/source/core/tool/userlist.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <unotools/charclass.hxx> #include "global.hxx" diff --git a/sc/source/filter/excel/exctools.cxx b/sc/source/filter/excel/exctools.cxx index 8f1ad2b6326c..a438f0927ab5 100644 --- a/sc/source/filter/excel/exctools.cxx +++ b/sc/source/filter/excel/exctools.cxx @@ -45,6 +45,7 @@ #include "xilink.hxx" #include "xecontent.hxx" +#include <memory> #include <vector> RootData::RootData() diff --git a/sc/source/filter/excel/impop.cxx b/sc/source/filter/excel/impop.cxx index 47962db8ab0b..32aaba1276dd 100644 --- a/sc/source/filter/excel/impop.cxx +++ b/sc/source/filter/excel/impop.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "imp_op.hxx" #include <filter/msfilter/countryid.hxx> diff --git a/sc/source/filter/excel/xecontent.cxx b/sc/source/filter/excel/xecontent.cxx index a243b80d58b8..427a8b3108fe 100644 --- a/sc/source/filter/excel/xecontent.cxx +++ b/sc/source/filter/excel/xecontent.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "xecontent.hxx" #include <list> diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx index 49566fcb1aa5..bd3a8045c8a6 100644 --- a/sc/source/filter/excel/xestyle.cxx +++ b/sc/source/filter/excel/xestyle.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "xestyle.hxx" #include <iostream> diff --git a/sc/source/filter/excel/xihelper.cxx b/sc/source/filter/excel/xihelper.cxx index 11655d5a1fb6..cc4c62147477 100644 --- a/sc/source/filter/excel/xihelper.cxx +++ b/sc/source/filter/excel/xihelper.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "xihelper.hxx" #include <svl/itemset.hxx> #include <svl/sharedstringpool.hxx> diff --git a/sc/source/filter/excel/xistyle.cxx b/sc/source/filter/excel/xistyle.cxx index 9c29a8ef505a..600c1ab5d042 100644 --- a/sc/source/filter/excel/xistyle.cxx +++ b/sc/source/filter/excel/xistyle.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "xistyle.hxx" #include <sfx2/printer.hxx> #include <sfx2/objsh.hxx> diff --git a/sc/source/filter/excel/xlroot.cxx b/sc/source/filter/excel/xlroot.cxx index 4754fa6f82a9..f2dccf1b4aa7 100644 --- a/sc/source/filter/excel/xlroot.cxx +++ b/sc/source/filter/excel/xlroot.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "xlroot.hxx" #include <rtl/strbuf.hxx> #include <com/sun/star/awt/XDevice.hpp> diff --git a/sc/source/filter/ftools/fprogressbar.cxx b/sc/source/filter/ftools/fprogressbar.cxx index a958629e288f..823c3b22b251 100644 --- a/sc/source/filter/ftools/fprogressbar.cxx +++ b/sc/source/filter/ftools/fprogressbar.cxx @@ -23,6 +23,8 @@ #include <osl/diagnose.h> #include <o3tl/make_unique.hxx> +#include <climits> + ScfProgressBar::ScfProgressSegment::ScfProgressSegment( std::size_t nSize ) : mnSize( nSize ), mnPos( 0 ) diff --git a/sc/source/filter/ftools/ftools.cxx b/sc/source/filter/ftools/ftools.cxx index 1ba516220885..0bd43ae9778e 100644 --- a/sc/source/filter/ftools/ftools.cxx +++ b/sc/source/filter/ftools/ftools.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "ftools.hxx" #include <osl/diagnose.h> #include <osl/thread.h> diff --git a/sc/source/filter/ftools/sharedformulagroups.cxx b/sc/source/filter/ftools/sharedformulagroups.cxx index 1efd8d068015..89ff4b4b7d7b 100644 --- a/sc/source/filter/ftools/sharedformulagroups.cxx +++ b/sc/source/filter/ftools/sharedformulagroups.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "sharedformulagroups.hxx" namespace sc { diff --git a/sc/source/filter/html/htmlpars.cxx b/sc/source/filter/html/htmlpars.cxx index 6f7dbde9bea3..b1f5f408bdc6 100644 --- a/sc/source/filter/html/htmlpars.cxx +++ b/sc/source/filter/html/htmlpars.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <comphelper/string.hxx> diff --git a/sc/source/filter/inc/XclExpChangeTrack.hxx b/sc/source/filter/inc/XclExpChangeTrack.hxx index cdf47298015b..19118d3a7819 100644 --- a/sc/source/filter/inc/XclExpChangeTrack.hxx +++ b/sc/source/filter/inc/XclExpChangeTrack.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_XCLEXPCHANGETRACK_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_XCLEXPCHANGETRACK_HXX +#include <memory> #include <stack> #include <tools/datetime.hxx> #include <rtl/uuid.h> diff --git a/sc/source/filter/inc/connectionsbuffer.hxx b/sc/source/filter/inc/connectionsbuffer.hxx index eaa473551fc2..c6cba16e9a2f 100644 --- a/sc/source/filter/inc/connectionsbuffer.hxx +++ b/sc/source/filter/inc/connectionsbuffer.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_CONNECTIONSBUFFER_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_CONNECTIONSBUFFER_HXX +#include <memory> #include <oox/helper/refvector.hxx> #include "workbookhelper.hxx" diff --git a/sc/source/filter/inc/drawingfragment.hxx b/sc/source/filter/inc/drawingfragment.hxx index d4000e834910..fa527f08344c 100644 --- a/sc/source/filter/inc/drawingfragment.hxx +++ b/sc/source/filter/inc/drawingfragment.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_DRAWINGFRAGMENT_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_DRAWINGFRAGMENT_HXX +#include <memory> #include <com/sun/star/awt/Rectangle.hpp> #include <oox/drawingml/shapegroupcontext.hxx> #include <oox/ole/axcontrol.hxx> diff --git a/sc/source/filter/inc/eeimport.hxx b/sc/source/filter/inc/eeimport.hxx index 55a20cc8ec4f..75ac0902ca58 100644 --- a/sc/source/filter/inc/eeimport.hxx +++ b/sc/source/filter/inc/eeimport.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_EEIMPORT_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_EEIMPORT_HXX +#include <memory> #include "global.hxx" #include "address.hxx" #include "filter.hxx" diff --git a/sc/source/filter/inc/exp_op.hxx b/sc/source/filter/inc/exp_op.hxx index 3a36c45535e1..42ee70d2ed74 100644 --- a/sc/source/filter/inc/exp_op.hxx +++ b/sc/source/filter/inc/exp_op.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_EXP_OP_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_EXP_OP_HXX +#include <memory> #include "filter.hxx" #include "root.hxx" #include "xeroot.hxx" diff --git a/sc/source/filter/inc/expbase.hxx b/sc/source/filter/inc/expbase.hxx index 4eb0459ad496..1699977e9586 100644 --- a/sc/source/filter/inc/expbase.hxx +++ b/sc/source/filter/inc/expbase.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_EXPBASE_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_EXPBASE_HXX +#include <memory> #include "global.hxx" #include "address.hxx" diff --git a/sc/source/filter/inc/formulaparser.hxx b/sc/source/filter/inc/formulaparser.hxx index b06aa1ba87d7..a71ba98a5c7b 100644 --- a/sc/source/filter/inc/formulaparser.hxx +++ b/sc/source/filter/inc/formulaparser.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_FORMULAPARSER_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_FORMULAPARSER_HXX +#include <memory> #include "formulabase.hxx" namespace oox { diff --git a/sc/source/filter/inc/namebuff.hxx b/sc/source/filter/inc/namebuff.hxx index 83fe5b21ba2c..d5eb862dd889 100644 --- a/sc/source/filter/inc/namebuff.hxx +++ b/sc/source/filter/inc/namebuff.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_NAMEBUFF_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_NAMEBUFF_HXX +#include <memory> #include <rtl/ustring.hxx> #include <osl/diagnose.h> #include "compiler.hxx" diff --git a/sc/source/filter/inc/pagesettings.hxx b/sc/source/filter/inc/pagesettings.hxx index 4e92abbe49ae..59dd1ebd0a6c 100644 --- a/sc/source/filter/inc/pagesettings.hxx +++ b/sc/source/filter/inc/pagesettings.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_PAGESETTINGS_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_PAGESETTINGS_HXX +#include <memory> #include "worksheethelper.hxx" namespace oox { class PropertySet; } diff --git a/sc/source/filter/inc/rtfexp.hxx b/sc/source/filter/inc/rtfexp.hxx index aec9f13bcf64..8309e1eb6948 100644 --- a/sc/source/filter/inc/rtfexp.hxx +++ b/sc/source/filter/inc/rtfexp.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_RTFEXP_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_RTFEXP_HXX +#include <memory> #include "expbase.hxx" class ScRTFExport : public ScExportBase diff --git a/sc/source/filter/inc/scflt.hxx b/sc/source/filter/inc/scflt.hxx index bff355c044ba..b42265184a21 100644 --- a/sc/source/filter/inc/scflt.hxx +++ b/sc/source/filter/inc/scflt.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_SCFLT_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_SCFLT_HXX +#include <memory> #include "viewopti.hxx" #include "collect.hxx" #include <tools/solar.h> diff --git a/sc/source/filter/inc/sheetdatacontext.hxx b/sc/source/filter/inc/sheetdatacontext.hxx index a9aead29288a..55285693420f 100644 --- a/sc/source/filter/inc/sheetdatacontext.hxx +++ b/sc/source/filter/inc/sheetdatacontext.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_SHEETDATACONTEXT_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_SHEETDATACONTEXT_HXX +#include <memory> #include "excelhandlers.hxx" #include "richstring.hxx" #include "sheetdatabuffer.hxx" diff --git a/sc/source/filter/inc/stylesbuffer.hxx b/sc/source/filter/inc/stylesbuffer.hxx index 19ed1e86346a..605cfa49a1e0 100644 --- a/sc/source/filter/inc/stylesbuffer.hxx +++ b/sc/source/filter/inc/stylesbuffer.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_STYLESBUFFER_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_STYLESBUFFER_HXX +#include <memory> #include <com/sun/star/awt/FontDescriptor.hpp> #include <com/sun/star/table/CellHoriJustify.hpp> #include <com/sun/star/table/CellOrientation.hpp> diff --git a/sc/source/filter/inc/themebuffer.hxx b/sc/source/filter/inc/themebuffer.hxx index 76a6d021ab91..103fefa8e695 100644 --- a/sc/source/filter/inc/themebuffer.hxx +++ b/sc/source/filter/inc/themebuffer.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_THEMEBUFFER_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_THEMEBUFFER_HXX +#include <memory> #include <oox/drawingml/theme.hxx> #include "workbookhelper.hxx" diff --git a/sc/source/filter/inc/tokstack.hxx b/sc/source/filter/inc/tokstack.hxx index 55d0dba05ea1..a3e75bb61238 100644 --- a/sc/source/filter/inc/tokstack.hxx +++ b/sc/source/filter/inc/tokstack.hxx @@ -25,6 +25,7 @@ #include "tokenarray.hxx" #include <osl/diagnose.h> +#include <memory> #include <vector> namespace svl { diff --git a/sc/source/filter/inc/worksheetfragment.hxx b/sc/source/filter/inc/worksheetfragment.hxx index 945b1740e4a8..4993bc67f198 100644 --- a/sc/source/filter/inc/worksheetfragment.hxx +++ b/sc/source/filter/inc/worksheetfragment.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_WORKSHEETFRAGMENT_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_WORKSHEETFRAGMENT_HXX +#include <memory> #include "excelhandlers.hxx" namespace oox { diff --git a/sc/source/filter/inc/xcl97rec.hxx b/sc/source/filter/inc/xcl97rec.hxx index 40d9b98bc6fa..4e55abbcf4a9 100644 --- a/sc/source/filter/inc/xcl97rec.hxx +++ b/sc/source/filter/inc/xcl97rec.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_XCL97REC_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_XCL97REC_HXX +#include <memory> #include "excrecds.hxx" #include "xcl97esc.hxx" #include "xlstyle.hxx" diff --git a/sc/source/filter/inc/xecontent.hxx b/sc/source/filter/inc/xecontent.hxx index 78eec282e0b6..8ad6da320c06 100644 --- a/sc/source/filter/inc/xecontent.hxx +++ b/sc/source/filter/inc/xecontent.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_XECONTENT_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_XECONTENT_HXX +#include <memory> #include "rangelst.hxx" #include "xlcontent.hxx" #include "xladdress.hxx" diff --git a/sc/source/filter/inc/xilink.hxx b/sc/source/filter/inc/xilink.hxx index c6bb1828656e..9a6cdf8d0dfd 100644 --- a/sc/source/filter/inc/xilink.hxx +++ b/sc/source/filter/inc/xilink.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_INC_XILINK_HXX #define INCLUDED_SC_SOURCE_FILTER_INC_XILINK_HXX +#include <memory> #include <map> #include "xllink.hxx" #include "xiroot.hxx" diff --git a/sc/source/filter/lotus/lotattr.cxx b/sc/source/filter/lotus/lotattr.cxx index 863afbeebe27..874a56db6ba0 100644 --- a/sc/source/filter/lotus/lotattr.cxx +++ b/sc/source/filter/lotus/lotattr.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "lotattr.hxx" #include <editeng/boxitem.hxx> diff --git a/sc/source/filter/oox/condformatbuffer.cxx b/sc/source/filter/oox/condformatbuffer.cxx index 58836c29dc96..677ddb98af26 100644 --- a/sc/source/filter/oox/condformatbuffer.cxx +++ b/sc/source/filter/oox/condformatbuffer.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "condformatbuffer.hxx" #include <com/sun/star/sheet/ConditionOperator2.hpp> diff --git a/sc/source/filter/oox/defnamesbuffer.cxx b/sc/source/filter/oox/defnamesbuffer.cxx index b681921c592d..22055ea3da45 100644 --- a/sc/source/filter/oox/defnamesbuffer.cxx +++ b/sc/source/filter/oox/defnamesbuffer.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "defnamesbuffer.hxx" #include <com/sun/star/sheet/ComplexReference.hpp> diff --git a/sc/source/filter/oox/extlstcontext.cxx b/sc/source/filter/oox/extlstcontext.cxx index 54f332aa740a..e1a988949f27 100644 --- a/sc/source/filter/oox/extlstcontext.cxx +++ b/sc/source/filter/oox/extlstcontext.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "extlstcontext.hxx" #include "worksheethelper.hxx" #include <oox/core/contexthandler.hxx> diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx index 9cc3cf294e77..9e8758cf184d 100644 --- a/sc/source/filter/oox/worksheethelper.cxx +++ b/sc/source/filter/oox/worksheethelper.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "worksheethelper.hxx" #include <algorithm> diff --git a/sc/source/filter/oox/worksheetsettings.cxx b/sc/source/filter/oox/worksheetsettings.cxx index 2f4041c5798c..f83a759d33fd 100644 --- a/sc/source/filter/oox/worksheetsettings.cxx +++ b/sc/source/filter/oox/worksheetsettings.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "worksheetsettings.hxx" #include <oox/core/filterbase.hxx> diff --git a/sc/source/filter/orcus/interface.cxx b/sc/source/filter/orcus/interface.cxx index c21d16ae982d..b7e0fe208049 100644 --- a/sc/source/filter/orcus/interface.cxx +++ b/sc/source/filter/orcus/interface.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "orcusinterface.hxx" #include "document.hxx" diff --git a/sc/source/filter/rtf/rtfparse.cxx b/sc/source/filter/rtf/rtfparse.cxx index 1ee195fb3d8b..321bf8ec728b 100644 --- a/sc/source/filter/rtf/rtfparse.cxx +++ b/sc/source/filter/rtf/rtfparse.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "scitems.hxx" #include <editeng/eeitem.hxx> #include <editeng/editeng.hxx> diff --git a/sc/source/filter/xcl97/XclExpChangeTrack.cxx b/sc/source/filter/xcl97/XclExpChangeTrack.cxx index c959ab460e78..3e97fc30222b 100644 --- a/sc/source/filter/xcl97/XclExpChangeTrack.cxx +++ b/sc/source/filter/xcl97/XclExpChangeTrack.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <stdio.h> #include <sot/storage.hxx> #include "XclExpChangeTrack.hxx" diff --git a/sc/source/filter/xcl97/xcl97esc.cxx b/sc/source/filter/xcl97/xcl97esc.cxx index 568e8ef6f4cd..aa6523be3fff 100644 --- a/sc/source/filter/xcl97/xcl97esc.cxx +++ b/sc/source/filter/xcl97/xcl97esc.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/awt/XControlModel.hpp> #include <com/sun/star/embed/XClassifiedObject.hpp> #include <com/sun/star/form/XFormsSupplier.hpp> diff --git a/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx b/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx index 4f4114fe498c..f0628f59de49 100644 --- a/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx +++ b/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLCHANGETRACKINGIMPORTHELPER_HXX #define INCLUDED_SC_SOURCE_FILTER_XML_XMLCHANGETRACKINGIMPORTHELPER_HXX +#include <memory> #include "chgtrack.hxx" #include <list> #include <com/sun/star/util/DateTime.hpp> diff --git a/sc/source/filter/xml/XMLExportDatabaseRanges.cxx b/sc/source/filter/xml/XMLExportDatabaseRanges.cxx index d1a169100e94..77d2711bbe2f 100644 --- a/sc/source/filter/xml/XMLExportDatabaseRanges.cxx +++ b/sc/source/filter/xml/XMLExportDatabaseRanges.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "XMLExportDatabaseRanges.hxx" #include <xmloff/xmltoken.hxx> #include <xmloff/xmlnmspe.hxx> diff --git a/sc/source/filter/xml/XMLTableShapeImportHelper.cxx b/sc/source/filter/xml/XMLTableShapeImportHelper.cxx index 83751e0a7eb6..36922cd04326 100644 --- a/sc/source/filter/xml/XMLTableShapeImportHelper.cxx +++ b/sc/source/filter/xml/XMLTableShapeImportHelper.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "XMLTableShapeImportHelper.hxx" #include "xmlimprt.hxx" #include "XMLConverter.hxx" diff --git a/sc/source/filter/xml/XMLTrackedChangesContext.cxx b/sc/source/filter/xml/XMLTrackedChangesContext.cxx index 315877586bfa..40adee5e36e5 100644 --- a/sc/source/filter/xml/XMLTrackedChangesContext.cxx +++ b/sc/source/filter/xml/XMLTrackedChangesContext.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "XMLTrackedChangesContext.hxx" #include "xmlimprt.hxx" #include "xmlconti.hxx" diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx index 9556288953f9..8d31e4f9b374 100644 --- a/sc/source/filter/xml/xmlcelli.cxx +++ b/sc/source/filter/xml/xmlcelli.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "xmlcelli.hxx" #include "xmlimprt.hxx" #include "xmltabi.hxx" diff --git a/sc/source/filter/xml/xmlcondformat.cxx b/sc/source/filter/xml/xmlcondformat.cxx index 4f413a133753..95ac3fc6848b 100644 --- a/sc/source/filter/xml/xmlcondformat.cxx +++ b/sc/source/filter/xml/xmlcondformat.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "xmlcondformat.hxx" #include <xmloff/nmspmap.hxx> diff --git a/sc/source/filter/xml/xmlcondformat.hxx b/sc/source/filter/xml/xmlcondformat.hxx index 963e3dbc154c..4975b5b086ae 100644 --- a/sc/source/filter/xml/xmlcondformat.hxx +++ b/sc/source/filter/xml/xmlcondformat.hxx @@ -10,6 +10,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLCONDFORMAT_HXX #define INCLUDED_SC_SOURCE_FILTER_XML_XMLCONDFORMAT_HXX +#include <memory> #include <xmloff/xmlictxt.hxx> #include "xmlimprt.hxx" #include "importcontext.hxx" diff --git a/sc/source/filter/xml/xmldpimp.hxx b/sc/source/filter/xml/xmldpimp.hxx index 36757416223a..2df132e7850d 100644 --- a/sc/source/filter/xml/xmldpimp.hxx +++ b/sc/source/filter/xml/xmldpimp.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLDPIMP_HXX #define INCLUDED_SC_SOURCE_FILTER_XML_XMLDPIMP_HXX +#include <memory> #include <xmloff/xmlictxt.hxx> #include <xmloff/xmlimp.hxx> #include <com/sun/star/sheet/DataPilotFieldReference.hpp> diff --git a/sc/source/filter/xml/xmlwrap.cxx b/sc/source/filter/xml/xmlwrap.cxx index 8eaa8b9a8b9b..abe9593f521d 100644 --- a/sc/source/filter/xml/xmlwrap.cxx +++ b/sc/source/filter/xml/xmlwrap.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <tools/errinf.hxx> #include <rsc/rscsfx.hxx> #include <sfx2/docfile.hxx> #include <sfx2/objsh.hxx> diff --git a/sc/source/ui/Accessibility/AccessibleCell.cxx b/sc/source/ui/Accessibility/AccessibleCell.cxx index dbb9a5f76cf7..a88d46a0d7d5 100644 --- a/sc/source/ui/Accessibility/AccessibleCell.cxx +++ b/sc/source/ui/Accessibility/AccessibleCell.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <utility> diff --git a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx index 463f55e3c2f8..467d89134dfc 100644 --- a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx +++ b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <utility> diff --git a/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx b/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx index 8158ae57907c..26918937235f 100644 --- a/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx +++ b/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx @@ -8,6 +8,7 @@ * */ +#include <memory> #include <sfx2/dispatch.hxx> #include <svl/zforlist.hxx> #include <svl/undo.hxx> diff --git a/sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx b/sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx index ce72c969972e..ce309cb135e9 100644 --- a/sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx +++ b/sc/source/ui/StatisticsDialogs/DescriptiveStatisticsDialog.cxx @@ -8,6 +8,7 @@ * */ +#include <memory> #include <sfx2/dispatch.hxx> #include <svl/zforlist.hxx> #include <svl/undo.hxx> diff --git a/sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx b/sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx index 6309f4f82356..0a7e5785340b 100644 --- a/sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx +++ b/sc/source/ui/StatisticsDialogs/ExponentialSmoothingDialog.cxx @@ -8,6 +8,7 @@ * */ +#include <memory> #include <sfx2/dispatch.hxx> #include <svl/zforlist.hxx> #include <svl/undo.hxx> diff --git a/sc/source/ui/StatisticsDialogs/FTestDialog.cxx b/sc/source/ui/StatisticsDialogs/FTestDialog.cxx index 30675e93b319..57b4ac77e0f0 100644 --- a/sc/source/ui/StatisticsDialogs/FTestDialog.cxx +++ b/sc/source/ui/StatisticsDialogs/FTestDialog.cxx @@ -8,6 +8,7 @@ * */ +#include <memory> #include <sfx2/dispatch.hxx> #include <svl/zforlist.hxx> #include <svl/undo.hxx> diff --git a/sc/source/ui/StatisticsDialogs/MovingAverageDialog.cxx b/sc/source/ui/StatisticsDialogs/MovingAverageDialog.cxx index 88a25d518adb..7ea5fadbbff5 100644 --- a/sc/source/ui/StatisticsDialogs/MovingAverageDialog.cxx +++ b/sc/source/ui/StatisticsDialogs/MovingAverageDialog.cxx @@ -8,6 +8,7 @@ * */ +#include <memory> #include <sfx2/dispatch.hxx> #include <svl/zforlist.hxx> #include <svl/undo.hxx> diff --git a/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx b/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx index 40a85ae8a9de..272b4b541c1f 100644 --- a/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx +++ b/sc/source/ui/StatisticsDialogs/RegressionDialog.cxx @@ -8,6 +8,7 @@ * */ +#include <memory> #include <sfx2/dispatch.hxx> #include <svl/zforlist.hxx> #include <svl/undo.hxx> diff --git a/sc/source/ui/StatisticsDialogs/TTestDialog.cxx b/sc/source/ui/StatisticsDialogs/TTestDialog.cxx index a3d6e245f5a2..8509f72d6226 100644 --- a/sc/source/ui/StatisticsDialogs/TTestDialog.cxx +++ b/sc/source/ui/StatisticsDialogs/TTestDialog.cxx @@ -8,6 +8,7 @@ * */ +#include <memory> #include <sfx2/dispatch.hxx> #include <svl/zforlist.hxx> #include <svl/undo.hxx> diff --git a/sc/source/ui/StatisticsDialogs/ZTestDialog.cxx b/sc/source/ui/StatisticsDialogs/ZTestDialog.cxx index ebdf064f3af7..91460d3778c7 100644 --- a/sc/source/ui/StatisticsDialogs/ZTestDialog.cxx +++ b/sc/source/ui/StatisticsDialogs/ZTestDialog.cxx @@ -8,6 +8,7 @@ * */ +#include <memory> #include <sfx2/dispatch.hxx> #include <svl/zforlist.hxx> #include <svl/undo.hxx> diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx index 787835b0a4f5..bcfcef3f2126 100644 --- a/sc/source/ui/app/inputhdl.cxx +++ b/sc/source/ui/app/inputhdl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "inputhdl.hxx" #include "scitems.hxx" #include <editeng/eeitem.hxx> diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx index 713a0fd5f451..8325302b79da 100644 --- a/sc/source/ui/app/inputwin.cxx +++ b/sc/source/ui/app/inputwin.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <algorithm> #include "scitems.hxx" diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx index c9cacdb323be..167568f44a51 100644 --- a/sc/source/ui/condformat/condformatdlgentry.cxx +++ b/sc/source/ui/condformat/condformatdlgentry.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "condformatdlg.hxx" #include "condformatdlgentry.hxx" #include "conditio.hxx" diff --git a/sc/source/ui/dbgui/PivotLayoutDialog.cxx b/sc/source/ui/dbgui/PivotLayoutDialog.cxx index 0e0ed4b144bf..95cd569d12a8 100644 --- a/sc/source/ui/dbgui/PivotLayoutDialog.cxx +++ b/sc/source/ui/dbgui/PivotLayoutDialog.cxx @@ -19,6 +19,7 @@ #include "dputil.hxx" #include "dbdocfun.hxx" +#include <memory> #include <vector> #include <com/sun/star/sheet/DataPilotFieldOrientation.hpp> diff --git a/sc/source/ui/dbgui/PivotLayoutTreeList.cxx b/sc/source/ui/dbgui/PivotLayoutTreeList.cxx index 684b00078786..717b07565f49 100644 --- a/sc/source/ui/dbgui/PivotLayoutTreeList.cxx +++ b/sc/source/ui/dbgui/PivotLayoutTreeList.cxx @@ -9,6 +9,7 @@ * This file incorporates work covered by the following license notice: */ +#include <memory> #include "PivotLayoutTreeList.hxx" #include "PivotLayoutDialog.hxx" diff --git a/sc/source/ui/dbgui/PivotLayoutTreeListData.cxx b/sc/source/ui/dbgui/PivotLayoutTreeListData.cxx index 0b8250813e20..ab9139692b9f 100644 --- a/sc/source/ui/dbgui/PivotLayoutTreeListData.cxx +++ b/sc/source/ui/dbgui/PivotLayoutTreeListData.cxx @@ -9,6 +9,7 @@ * This file incorporates work covered by the following license notice: */ +#include <memory> #include "PivotLayoutTreeListData.hxx" #include "PivotLayoutDialog.hxx" diff --git a/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx b/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx index 3f1fd31c0f10..7b80c9fc0aac 100644 --- a/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx +++ b/sc/source/ui/dbgui/PivotLayoutTreeListLabel.cxx @@ -9,6 +9,7 @@ * This file incorporates work covered by the following license notice: */ +#include <memory> #include "PivotLayoutTreeListLabel.hxx" #include "PivotLayoutDialog.hxx" diff --git a/sc/source/ui/dbgui/dbnamdlg.cxx b/sc/source/ui/dbgui/dbnamdlg.cxx index c4cc4ce4fcb8..1955934d4430 100644 --- a/sc/source/ui/dbgui/dbnamdlg.cxx +++ b/sc/source/ui/dbgui/dbnamdlg.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <cassert> diff --git a/sc/source/ui/dbgui/sortkeydlg.cxx b/sc/source/ui/dbgui/sortkeydlg.cxx index adf72d7d68f8..748782e9cf94 100644 --- a/sc/source/ui/dbgui/sortkeydlg.cxx +++ b/sc/source/ui/dbgui/sortkeydlg.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "sortkeydlg.hxx" #include "sortdlg.hxx" #include <vcl/layout.hxx> diff --git a/sc/source/ui/docshell/dbdocimp.cxx b/sc/source/ui/docshell/dbdocimp.cxx index 12fb1fd49c1c..c4310abf8b84 100644 --- a/sc/source/ui/docshell/dbdocimp.cxx +++ b/sc/source/ui/docshell/dbdocimp.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <tools/errinf.hxx> #include <comphelper/processfactory.hxx> #include <comphelper/types.hxx> #include <vcl/msgbox.hxx> diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index b4f95a008d71..3497ade75ec0 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -20,6 +20,7 @@ #include "docsh.hxx" #include "scitems.hxx" +#include <tools/errinf.hxx> #include <editeng/justifyitem.hxx> #include <comphelper/classids.hxx> #include <formula/errorcodes.hxx> diff --git a/sc/source/ui/docshell/docsh5.cxx b/sc/source/ui/docshell/docsh5.cxx index 9d23184c4b3e..8c65cbe41054 100644 --- a/sc/source/ui/docshell/docsh5.cxx +++ b/sc/source/ui/docshell/docsh5.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <cassert> diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx index d43e851763e8..28a1be9b246e 100644 --- a/sc/source/ui/docshell/docsh8.cxx +++ b/sc/source/ui/docshell/docsh8.cxx @@ -19,6 +19,7 @@ #include <config_features.h> +#include <tools/errinf.hxx> #include <tools/urlobj.hxx> #include <svl/converter.hxx> #include <comphelper/processfactory.hxx> diff --git a/sc/source/ui/drawfunc/mediash.cxx b/sc/source/ui/drawfunc/mediash.cxx index 406cd6fa49c8..d7dedbc3de04 100644 --- a/sc/source/ui/drawfunc/mediash.cxx +++ b/sc/source/ui/drawfunc/mediash.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sfx2/app.hxx> #include <sfx2/objface.hxx> #include <sfx2/request.hxx> diff --git a/sc/source/ui/formdlg/formula.cxx b/sc/source/ui/formdlg/formula.cxx index 4cb52d5ca53b..d2bb3521490b 100644 --- a/sc/source/ui/formdlg/formula.cxx +++ b/sc/source/ui/formdlg/formula.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "scitems.hxx" #include <sfx2/dispatch.hxx> #include <sfx2/docfile.hxx> diff --git a/sc/source/ui/inc/AccessibleCell.hxx b/sc/source/ui/inc/AccessibleCell.hxx index 9f6652d26e60..fdfe812ff2dd 100644 --- a/sc/source/ui/inc/AccessibleCell.hxx +++ b/sc/source/ui/inc/AccessibleCell.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLECELL_HXX #define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLECELL_HXX +#include <memory> #include "AccessibleCellBase.hxx" #include "global.hxx" #include "viewdata.hxx" diff --git a/sc/source/ui/inc/AccessibleCsvControl.hxx b/sc/source/ui/inc/AccessibleCsvControl.hxx index 8f0fad53b70f..eb2db5f0f003 100644 --- a/sc/source/ui/inc/AccessibleCsvControl.hxx +++ b/sc/source/ui/inc/AccessibleCsvControl.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLECSVCONTROL_HXX #define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBLECSVCONTROL_HXX +#include <memory> #include <com/sun/star/accessibility/XAccessibleText.hpp> #include <com/sun/star/accessibility/XAccessibleTable.hpp> #include <com/sun/star/accessibility/XAccessibleSelection.hpp> diff --git a/sc/source/ui/inc/PivotLayoutTreeList.hxx b/sc/source/ui/inc/PivotLayoutTreeList.hxx index 71e7cb2e1730..d4b5e8ff00cb 100644 --- a/sc/source/ui/inc/PivotLayoutTreeList.hxx +++ b/sc/source/ui/inc/PivotLayoutTreeList.hxx @@ -11,6 +11,7 @@ #ifndef INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELIST_HXX #define INCLUDED_SC_SOURCE_UI_INC_PIVOTLAYOUTTREELIST_HXX +#include <memory> #include "PivotLayoutTreeListBase.hxx" class ScPivotLayoutTreeList : public ScPivotLayoutTreeListBase diff --git a/sc/source/ui/inc/condformatdlgentry.hxx b/sc/source/ui/inc/condformatdlgentry.hxx index 5b23e6ec12fb..ad40058ceeb2 100644 --- a/sc/source/ui/inc/condformatdlgentry.hxx +++ b/sc/source/ui/inc/condformatdlgentry.hxx @@ -10,6 +10,7 @@ #ifndef INCLUDED_SC_SOURCE_UI_INC_CONDFORMATDLGENTRY_HXX #define INCLUDED_SC_SOURCE_UI_INC_CONDFORMATDLGENTRY_HXX +#include <memory> #include "colorscale.hxx" #include "conditio.hxx" #include <formula/funcutl.hxx> diff --git a/sc/source/ui/inc/dataprovider.hxx b/sc/source/ui/inc/dataprovider.hxx index c18b04eba037..2ad4397ce8d1 100644 --- a/sc/source/ui/inc/dataprovider.hxx +++ b/sc/source/ui/inc/dataprovider.hxx @@ -10,6 +10,7 @@ #ifndef INCLUDED_SC_SOURCE_UI_INC_DATAPROVIDER_HXX #define INCLUDED_SC_SOURCE_UI_INC_DATAPROVIDER_HXX +#include <memory> #include <salhelper/thread.hxx> #include <tools/stream.hxx> #include <rtl/ustring.hxx> diff --git a/sc/source/ui/inc/docfunc.hxx b/sc/source/ui/inc/docfunc.hxx index fdae6367abe3..db006875c3c2 100644 --- a/sc/source/ui/inc/docfunc.hxx +++ b/sc/source/ui/inc/docfunc.hxx @@ -27,6 +27,7 @@ #include "token.hxx" #include "rangenam.hxx" +#include <memory> #include <vector> #include <map> diff --git a/sc/source/ui/inc/formula.hxx b/sc/source/ui/inc/formula.hxx index 479d67586b8a..05a0bf99c422 100644 --- a/sc/source/ui/inc/formula.hxx +++ b/sc/source/ui/inc/formula.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_UI_INC_FORMULA_HXX #define INCLUDED_SC_SOURCE_UI_INC_FORMULA_HXX +#include <memory> #include "anyrefdg.hxx" #include "global.hxx" #include <vcl/lstbox.hxx> diff --git a/sc/source/ui/inc/graphsh.hxx b/sc/source/ui/inc/graphsh.hxx index ab61f6b5b678..5964ff8038a0 100644 --- a/sc/source/ui/inc/graphsh.hxx +++ b/sc/source/ui/inc/graphsh.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_UI_INC_GRAPHSH_HXX #define INCLUDED_SC_SOURCE_UI_INC_GRAPHSH_HXX +#include <memory> #include <sfx2/shell.hxx> #include "shellids.hxx" #include <sfx2/module.hxx> diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx index cc30dd92a4ed..289640098e6b 100644 --- a/sc/source/ui/inc/gridwin.hxx +++ b/sc/source/ui/inc/gridwin.hxx @@ -28,6 +28,7 @@ #include <com/sun/star/sheet/DataPilotFieldOrientation.hpp> #include <basegfx/matrix/b2dhommatrix.hxx> +#include <memory> #include <vector> namespace editeng { diff --git a/sc/source/ui/inc/pagedata.hxx b/sc/source/ui/inc/pagedata.hxx index a2325fe2bbcf..7dce22202e32 100644 --- a/sc/source/ui/inc/pagedata.hxx +++ b/sc/source/ui/inc/pagedata.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_UI_INC_PAGEDATA_HXX #define INCLUDED_SC_SOURCE_UI_INC_PAGEDATA_HXX +#include <memory> #include "global.hxx" #include "address.hxx" diff --git a/sc/source/ui/inc/printfun.hxx b/sc/source/ui/inc/printfun.hxx index 56360a178625..b302818b8a31 100644 --- a/sc/source/ui/inc/printfun.hxx +++ b/sc/source/ui/inc/printfun.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_UI_INC_PRINTFUN_HXX #define INCLUDED_SC_SOURCE_UI_INC_PRINTFUN_HXX +#include <memory> #include "pagepar.hxx" #include "editutil.hxx" diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx index a9cccb10bbbd..61596968e793 100644 --- a/sc/source/ui/inc/tabview.hxx +++ b/sc/source/ui/inc/tabview.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SC_SOURCE_UI_INC_TABVIEW_HXX #define INCLUDED_SC_SOURCE_UI_INC_TABVIEW_HXX +#include <memory> #include <vcl/scrbar.hxx> #include <vcl/help.hxx> diff --git a/sc/source/ui/inc/uiobject.hxx b/sc/source/ui/inc/uiobject.hxx index f5e6ba947ed3..a76e4b315977 100644 --- a/sc/source/ui/inc/uiobject.hxx +++ b/sc/source/ui/inc/uiobject.hxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <vcl/uitest/uiobject.hxx> class ScGridWindow; diff --git a/sc/source/ui/inc/undodraw.hxx b/sc/source/ui/inc/undodraw.hxx index cfe804c24cd9..bc6bdf3046b4 100644 --- a/sc/source/ui/inc/undodraw.hxx +++ b/sc/source/ui/inc/undodraw.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_UI_INC_UNDODRAW_HXX #define INCLUDED_SC_SOURCE_UI_INC_UNDODRAW_HXX +#include <memory> #include <svl/undo.hxx> class ScDocShell; diff --git a/sc/source/ui/inc/undostyl.hxx b/sc/source/ui/inc/undostyl.hxx index d7d96ab6304c..ac63b0ab7063 100644 --- a/sc/source/ui/inc/undostyl.hxx +++ b/sc/source/ui/inc/undostyl.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SC_SOURCE_UI_INC_UNDOSTYL_HXX #define INCLUDED_SC_SOURCE_UI_INC_UNDOSTYL_HXX +#include <memory> #include <rsc/rscsfx.hxx> #include "undobase.hxx" diff --git a/sc/source/ui/miscdlgs/solveroptions.cxx b/sc/source/ui/miscdlgs/solveroptions.cxx index 88575bd8bb2b..0fa302070af6 100644 --- a/sc/source/ui/miscdlgs/solveroptions.cxx +++ b/sc/source/ui/miscdlgs/solveroptions.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "solveroptions.hxx" #include "scresid.hxx" #include "global.hxx" diff --git a/sc/source/ui/namedlg/namedlg.cxx b/sc/source/ui/namedlg/namedlg.cxx index 2aac5a9a3ae9..e5e3e3ec80be 100644 --- a/sc/source/ui/namedlg/namedlg.cxx +++ b/sc/source/ui/namedlg/namedlg.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "global.hxx" #include "reffact.hxx" #include "document.hxx" diff --git a/sc/source/ui/namedlg/namemgrtable.cxx b/sc/source/ui/namedlg/namemgrtable.cxx index 99689657e747..50e6614b35f4 100644 --- a/sc/source/ui/namedlg/namemgrtable.cxx +++ b/sc/source/ui/namedlg/namemgrtable.cxx @@ -8,6 +8,7 @@ */ //ScRangeManagerTable +#include <memory> #include "global.hxx" #include "reffact.hxx" #include "document.hxx" diff --git a/sc/source/ui/uitest/uiobject.cxx b/sc/source/ui/uitest/uiobject.cxx index c3f8b50ec1a9..462915db0ac8 100644 --- a/sc/source/ui/uitest/uiobject.cxx +++ b/sc/source/ui/uitest/uiobject.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "uiobject.hxx" #include "rangeutl.hxx" diff --git a/sc/source/ui/unoobj/PivotTableDataProvider.cxx b/sc/source/ui/unoobj/PivotTableDataProvider.cxx index fe1e383de966..f86f6106c331 100644 --- a/sc/source/ui/unoobj/PivotTableDataProvider.cxx +++ b/sc/source/ui/unoobj/PivotTableDataProvider.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <sal/config.h> #include "PivotTableDataProvider.hxx" diff --git a/sc/source/ui/unoobj/PivotTableDataSequence.cxx b/sc/source/ui/unoobj/PivotTableDataSequence.cxx index da8bb26c3dc3..8c41e90c6c70 100644 --- a/sc/source/ui/unoobj/PivotTableDataSequence.cxx +++ b/sc/source/ui/unoobj/PivotTableDataSequence.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "PivotTableDataSequence.hxx" #include <sal/config.h> diff --git a/sc/source/ui/unoobj/TablePivotCharts.cxx b/sc/source/ui/unoobj/TablePivotCharts.cxx index e76a88b05f25..62fb682398e9 100644 --- a/sc/source/ui/unoobj/TablePivotCharts.cxx +++ b/sc/source/ui/unoobj/TablePivotCharts.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <com/sun/star/embed/Aspects.hpp> #include <com/sun/star/awt/Size.hpp> #include <com/sun/star/chart/ChartDataRowSource.hpp> diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx index cab984e09dbe..6a24e7dbeec8 100644 --- a/sc/source/ui/unoobj/chart2uno.cxx +++ b/sc/source/ui/unoobj/chart2uno.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <algorithm> diff --git a/sc/source/ui/unoobj/condformatuno.cxx b/sc/source/ui/unoobj/condformatuno.cxx index d49993b69b8a..e97311a6cff1 100644 --- a/sc/source/ui/unoobj/condformatuno.cxx +++ b/sc/source/ui/unoobj/condformatuno.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "condformatuno.hxx" #include "document.hxx" diff --git a/sc/source/ui/unoobj/editsrc.cxx b/sc/source/ui/unoobj/editsrc.cxx index 15475b3dcb4b..170c18628323 100644 --- a/sc/source/ui/unoobj/editsrc.cxx +++ b/sc/source/ui/unoobj/editsrc.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <utility> diff --git a/sc/source/ui/unoobj/fielduno.cxx b/sc/source/ui/unoobj/fielduno.cxx index 944f27144a80..785de1c51cc3 100644 --- a/sc/source/ui/unoobj/fielduno.cxx +++ b/sc/source/ui/unoobj/fielduno.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "fielduno.hxx" #include "textuno.hxx" #include "miscuno.hxx" diff --git a/sc/source/ui/unoobj/servuno.cxx b/sc/source/ui/unoobj/servuno.cxx index 65b97bdc6cff..2bfa684aa590 100644 --- a/sc/source/ui/unoobj/servuno.cxx +++ b/sc/source/ui/unoobj/servuno.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <config_features.h> #include <sal/macros.h> diff --git a/sc/source/ui/unoobj/textuno.cxx b/sc/source/ui/unoobj/textuno.cxx index 5abda13658b7..8d06f5ed5471 100644 --- a/sc/source/ui/unoobj/textuno.cxx +++ b/sc/source/ui/unoobj/textuno.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include "scitems.hxx" diff --git a/sc/source/ui/unoobj/tokenuno.cxx b/sc/source/ui/unoobj/tokenuno.cxx index cb767923743e..5998f9503047 100644 --- a/sc/source/ui/unoobj/tokenuno.cxx +++ b/sc/source/ui/unoobj/tokenuno.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "tokenuno.hxx" #include <sal/macros.h> diff --git a/sc/source/ui/view/gridwin2.cxx b/sc/source/ui/view/gridwin2.cxx index c55ce677e730..653776227e0e 100644 --- a/sc/source/ui/view/gridwin2.cxx +++ b/sc/source/ui/view/gridwin2.cxx @@ -46,6 +46,7 @@ #include <com/sun/star/sheet/DataPilotFieldOrientation.hpp> #include <unordered_map> +#include <memory> #include <vector> using namespace css; diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx index c75f34526a0f..e22bdc79f3d4 100644 --- a/sc/source/ui/view/gridwin4.cxx +++ b/sc/source/ui/view/gridwin4.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "scitems.hxx" #include <editeng/eeitem.hxx> diff --git a/sc/source/ui/view/tabvwshb.cxx b/sc/source/ui/view/tabvwshb.cxx index 0d5deada9a14..fa0f91a0b61c 100644 --- a/sc/source/ui/view/tabvwshb.cxx +++ b/sc/source/ui/view/tabvwshb.cxx @@ -24,6 +24,7 @@ #include <com/sun/star/embed/EmbedMisc.hpp> #include <com/sun/star/embed/EmbedStates.hpp> +#include <tools/errinf.hxx> #include <sfx2/app.hxx> #include <toolkit/helper/vclunohelper.hxx> #include <svx/svxdlg.hxx> diff --git a/sc/source/ui/view/viewfun4.cxx b/sc/source/ui/view/viewfun4.cxx index f0c4b19d2772..c5b10dc7ce11 100644 --- a/sc/source/ui/view/viewfun4.cxx +++ b/sc/source/ui/view/viewfun4.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "scitems.hxx" #include <editeng/eeitem.hxx> diff --git a/sccomp/source/solver/LpsolveSolver.cxx b/sccomp/source/solver/LpsolveSolver.cxx index a81883d57fca..fbb0a60c1f4f 100644 --- a/sccomp/source/solver/LpsolveSolver.cxx +++ b/sccomp/source/solver/LpsolveSolver.cxx @@ -60,6 +60,7 @@ #include <com/sun/star/uno/XComponentContext.hpp> #include <rtl/math.hxx> #include <cppuhelper/supportsservice.hxx> +#include <memory> #include <vector> using namespace com::sun::star; diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx index 9e7615321cda..bf151c477311 100644 --- a/scripting/source/stringresource/stringresource.cxx +++ b/scripting/source/stringresource/stringresource.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "stringresource.hxx" #include <com/sun/star/io/TempFile.hpp> #include <com/sun/star/io/TextInputStream.hpp> diff --git a/sd/inc/stlfamily.hxx b/sd/inc/stlfamily.hxx index 264a318c47cc..3367b49a2d44 100644 --- a/sd/inc/stlfamily.hxx +++ b/sd/inc/stlfamily.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SD_INC_STLFAMILY_HXX #define INCLUDED_SD_INC_STLFAMILY_HXX +#include <memory> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/style/XStyle.hpp> #include <com/sun/star/beans/XPropertySet.hpp> diff --git a/sd/inc/undo/undoobjects.hxx b/sd/inc/undo/undoobjects.hxx index a1d208c5be4c..27f110327d8a 100644 --- a/sd/inc/undo/undoobjects.hxx +++ b/sd/inc/undo/undoobjects.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SD_INC_UNDO_UNDOOBJECTS_HXX #define INCLUDED_SD_INC_UNDO_UNDOOBJECTS_HXX +#include <memory> #include <svx/svdundo.hxx> #include <svx/svdpage.hxx> #include <svx/svdobj.hxx> diff --git a/sd/qa/unit/dialogs-test.cxx b/sd/qa/unit/dialogs-test.cxx index 12427938a20f..3637c27831de 100644 --- a/sd/qa/unit/dialogs-test.cxx +++ b/sd/qa/unit/dialogs-test.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <sal/config.h> #include <test/screenshot_test.hxx> #include <rtl/strbuf.hxx> diff --git a/sd/qa/unit/sdmodeltestbase.hxx b/sd/qa/unit/sdmodeltestbase.hxx index 19322686df6a..c416609c6c36 100644 --- a/sd/qa/unit/sdmodeltestbase.hxx +++ b/sd/qa/unit/sdmodeltestbase.hxx @@ -10,6 +10,7 @@ #ifndef INCLUDED_SD_QA_UNIT_SDMODELTESTBASE_HXX #define INCLUDED_SD_QA_UNIT_SDMODELTESTBASE_HXX +#include <memory> #include <test/bootstrapfixture.hxx> #include <test/xmldiff.hxx> #include <test/xmltesttools.hxx> diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx index 2a29a06b17de..7c0c32f4dfa1 100644 --- a/sd/source/core/drawdoc3.cxx +++ b/sd/source/core/drawdoc3.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include "comphelper/anytostring.hxx" #include "cppuhelper/exc_hlp.hxx" diff --git a/sd/source/filter/cgm/sdcgmfilter.cxx b/sd/source/filter/cgm/sdcgmfilter.cxx index 0d24bcf88097..7fa2fed5ad46 100644 --- a/sd/source/filter/cgm/sdcgmfilter.cxx +++ b/sd/source/filter/cgm/sdcgmfilter.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <osl/module.hxx> #include <tools/urlobj.hxx> #include <unotools/ucbstreamhelper.hxx> diff --git a/sd/source/filter/eppt/eppt.hxx b/sd/source/filter/eppt/eppt.hxx index 0447c25c66f4..90c8ee5f490b 100644 --- a/sd/source/filter/eppt/eppt.hxx +++ b/sd/source/filter/eppt/eppt.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SD_SOURCE_FILTER_EPPT_EPPT_HXX #define INCLUDED_SD_SOURCE_FILTER_EPPT_EPPT_HXX +#include <memory> #include <vector> #include "escherex.hxx" #include <sal/types.h> diff --git a/sd/source/filter/eppt/epptbase.hxx b/sd/source/filter/eppt/epptbase.hxx index ffd031d07553..864fd4b9d3c0 100644 --- a/sd/source/filter/eppt/epptbase.hxx +++ b/sd/source/filter/eppt/epptbase.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SD_SOURCE_FILTER_EPPT_EPPTBASE_HXX #define INCLUDED_SD_SOURCE_FILTER_EPPT_EPPTBASE_HXX +#include <memory> #include <vector> #include <vcl/mapmod.hxx> diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx index 27f9e64565fd..690d29756b1b 100644 --- a/sd/source/filter/eppt/epptso.cxx +++ b/sd/source/filter/eppt/epptso.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <cstdlib> diff --git a/sd/source/filter/eppt/pptexsoundcollection.cxx b/sd/source/filter/eppt/pptexsoundcollection.cxx index 24ee032c6ac6..0bfc51d1b61c 100644 --- a/sd/source/filter/eppt/pptexsoundcollection.cxx +++ b/sd/source/filter/eppt/pptexsoundcollection.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <pptexsoundcollection.hxx> #include "epptdef.hxx" #include <tools/stream.hxx> diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx index 51c9ab3944fd..0cdf747dce6e 100644 --- a/sd/source/filter/eppt/pptx-text.cxx +++ b/sd/source/filter/eppt/pptx-text.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "text.hxx" #include <com/sun/star/awt/CharSet.hpp> diff --git a/sd/source/filter/ppt/propread.cxx b/sd/source/filter/ppt/propread.cxx index ae515dd84a49..e586cd95cc31 100644 --- a/sd/source/filter/ppt/propread.cxx +++ b/sd/source/filter/ppt/propread.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <propread.hxx> #include "rtl/tencinfo.h" #include "rtl/textenc.h" diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx index 62a4972c6c16..02a0dbeb3f5d 100644 --- a/sd/source/filter/xml/sdxmlwrp.cxx +++ b/sd/source/filter/xml/sdxmlwrp.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <tools/errinf.hxx> #include <rtl/strbuf.hxx> #include <com/sun/star/container/XChild.hpp> #include <com/sun/star/beans/XPropertySetInfo.hpp> diff --git a/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx b/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx index e56a0b050f85..5ff674ac856e 100644 --- a/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx +++ b/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <editeng/unoedhlp.hxx> #include <svx/svdoutl.hxx> diff --git a/sd/source/ui/app/sdmod1.cxx b/sd/source/ui/app/sdmod1.cxx index 1f0fcde5a590..98f129f7d934 100644 --- a/sd/source/ui/app/sdmod1.cxx +++ b/sd/source/ui/app/sdmod1.cxx @@ -24,7 +24,7 @@ #include "framework/FrameworkHelper.hxx" #include <svx/dialogs.hrc> - +#include <tools/errinf.hxx> #include <editeng/langitem.hxx> #include <editeng/editdata.hxx> #include <vcl/msgbox.hxx> diff --git a/sd/source/ui/dlg/dlgolbul.cxx b/sd/source/ui/dlg/dlgolbul.cxx index 66222547025e..533ec58df7ad 100644 --- a/sd/source/ui/dlg/dlgolbul.cxx +++ b/sd/source/ui/dlg/dlgolbul.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "OutlineBulletDlg.hxx" #include <svx/svxids.hrc> diff --git a/sd/source/ui/dlg/navigatr.cxx b/sd/source/ui/dlg/navigatr.cxx index 64bff37ce464..4d22b91e365c 100644 --- a/sd/source/ui/dlg/navigatr.cxx +++ b/sd/source/ui/dlg/navigatr.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <osl/file.hxx> diff --git a/sd/source/ui/docshell/docshel2.cxx b/sd/source/ui/docshell/docshel2.cxx index 851ff8c56e72..0124b1fd8efd 100644 --- a/sd/source/ui/docshell/docshel2.cxx +++ b/sd/source/ui/docshell/docshel2.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "DrawDocShell.hxx" #include <vcl/msgbox.hxx> #include <svx/svdpagv.hxx> diff --git a/sd/source/ui/framework/factories/BasicPaneFactory.cxx b/sd/source/ui/framework/factories/BasicPaneFactory.cxx index e94ea93230d2..7dd2f40b2af7 100644 --- a/sd/source/ui/framework/factories/BasicPaneFactory.cxx +++ b/sd/source/ui/framework/factories/BasicPaneFactory.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <utility> diff --git a/sd/source/ui/framework/factories/ChildWindowPane.cxx b/sd/source/ui/framework/factories/ChildWindowPane.cxx index ec0995721380..90a71e0dbbc7 100644 --- a/sd/source/ui/framework/factories/ChildWindowPane.cxx +++ b/sd/source/ui/framework/factories/ChildWindowPane.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <utility> diff --git a/sd/source/ui/func/undoback.cxx b/sd/source/ui/func/undoback.cxx index 08ff102287d2..2b47c5d7e0dc 100644 --- a/sd/source/ui/func/undoback.cxx +++ b/sd/source/ui/func/undoback.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "undoback.hxx" #include "sdpage.hxx" diff --git a/sd/source/ui/inc/DrawViewShell.hxx b/sd/source/ui/inc/DrawViewShell.hxx index 4dcffc6ab340..82cc8aed9d05 100644 --- a/sd/source/ui/inc/DrawViewShell.hxx +++ b/sd/source/ui/inc/DrawViewShell.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SD_SOURCE_UI_INC_DRAWVIEWSHELL_HXX #define INCLUDED_SD_SOURCE_UI_INC_DRAWVIEWSHELL_HXX +#include <memory> #include "ViewShell.hxx" #include "tools/AsynchronousCall.hxx" #include <sfx2/viewfac.hxx> diff --git a/sd/source/ui/inc/OutlineView.hxx b/sd/source/ui/inc/OutlineView.hxx index a4d513422390..221ea9396ddf 100644 --- a/sd/source/ui/inc/OutlineView.hxx +++ b/sd/source/ui/inc/OutlineView.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SD_SOURCE_UI_INC_OUTLINEVIEW_HXX #define INCLUDED_SD_SOURCE_UI_INC_OUTLINEVIEW_HXX +#include <memory> #include <vcl/image.hxx> #include <editeng/lrspitem.hxx> #include "View.hxx" diff --git a/sd/source/ui/inc/View.hxx b/sd/source/ui/inc/View.hxx index c179236b97a6..3c1c08f695c5 100644 --- a/sd/source/ui/inc/View.hxx +++ b/sd/source/ui/inc/View.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SD_SOURCE_UI_INC_VIEW_HXX #define INCLUDED_SD_SOURCE_UI_INC_VIEW_HXX +#include <memory> #include "pres.hxx" #include <tools/gen.hxx> #include <svtools/transfer.hxx> diff --git a/sd/source/ui/inc/fupage.hxx b/sd/source/ui/inc/fupage.hxx index a4aead46df27..03721ea41e2e 100644 --- a/sd/source/ui/inc/fupage.hxx +++ b/sd/source/ui/inc/fupage.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SD_SOURCE_UI_INC_FUPAGE_HXX #define INCLUDED_SD_SOURCE_UI_INC_FUPAGE_HXX +#include <memory> #include "fupoor.hxx" class SfxItemSet; diff --git a/sd/source/ui/inc/tools/IconCache.hxx b/sd/source/ui/inc/tools/IconCache.hxx index 965a786fd2fa..696751a5d4e5 100644 --- a/sd/source/ui/inc/tools/IconCache.hxx +++ b/sd/source/ui/inc/tools/IconCache.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SD_SOURCE_UI_INC_TOOLS_ICONCACHE_HXX #define INCLUDED_SD_SOURCE_UI_INC_TOOLS_ICONCACHE_HXX +#include <memory> #include "SdGlobalResourceContainer.hxx" #include <vcl/image.hxx> diff --git a/sd/source/ui/inc/uiobject.hxx b/sd/source/ui/inc/uiobject.hxx index b969356a6493..70d8db549dfe 100644 --- a/sd/source/ui/inc/uiobject.hxx +++ b/sd/source/ui/inc/uiobject.hxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <vcl/uitest/uiobject.hxx> namespace sd { diff --git a/sd/source/ui/inc/unosrch.hxx b/sd/source/ui/inc/unosrch.hxx index 76e17c1a4a09..750c380140a9 100644 --- a/sd/source/ui/inc/unosrch.hxx +++ b/sd/source/ui/inc/unosrch.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SD_SOURCE_UI_INC_UNOSRCH_HXX #define INCLUDED_SD_SOURCE_UI_INC_UNOSRCH_HXX +#include <memory> #include <com/sun/star/drawing/XShape.hpp> #include <com/sun/star/drawing/XDrawPage.hpp> #include <com/sun/star/text/XTextRange.hpp> diff --git a/sd/source/ui/sidebar/MasterPageContainerFiller.hxx b/sd/source/ui/sidebar/MasterPageContainerFiller.hxx index 6b4b7c7cf21d..57ca50757b40 100644 --- a/sd/source/ui/sidebar/MasterPageContainerFiller.hxx +++ b/sd/source/ui/sidebar/MasterPageContainerFiller.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SD_SOURCE_UI_SIDEBAR_MASTERPAGECONTAINERFILLER_HXX #define INCLUDED_SD_SOURCE_UI_SIDEBAR_MASTERPAGECONTAINERFILLER_HXX +#include <memory> #include "MasterPageContainer.hxx" #include "MasterPageDescriptor.hxx" #include "tools/AsynchronousTask.hxx" diff --git a/sd/source/ui/sidebar/MasterPageDescriptor.cxx b/sd/source/ui/sidebar/MasterPageDescriptor.cxx index 1083cf983c8b..c366684f4387 100644 --- a/sd/source/ui/sidebar/MasterPageDescriptor.cxx +++ b/sd/source/ui/sidebar/MasterPageDescriptor.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "MasterPageDescriptor.hxx" #include "DocumentHelper.hxx" diff --git a/sd/source/ui/sidebar/MasterPageObserver.cxx b/sd/source/ui/sidebar/MasterPageObserver.cxx index 53391614ec2c..86a9c15e3f3d 100644 --- a/sd/source/ui/sidebar/MasterPageObserver.cxx +++ b/sd/source/ui/sidebar/MasterPageObserver.cxx @@ -25,6 +25,7 @@ #include "sdpage.hxx" #include <set> #include <unordered_map> +#include <memory> #include <vector> #include <svl/lstner.hxx> #include <osl/doublecheckedlocking.h> diff --git a/sd/source/ui/sidebar/MasterPagesSelector.hxx b/sd/source/ui/sidebar/MasterPagesSelector.hxx index e5ce79854654..3afb93871338 100644 --- a/sd/source/ui/sidebar/MasterPagesSelector.hxx +++ b/sd/source/ui/sidebar/MasterPagesSelector.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SD_SOURCE_UI_SIDEBAR_MASTERPAGESSELECTOR_HXX #define INCLUDED_SD_SOURCE_UI_SIDEBAR_MASTERPAGESSELECTOR_HXX +#include <memory> #include "MasterPageContainer.hxx" #include "SlideSorterViewShell.hxx" #include "PreviewValueSet.hxx" diff --git a/sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx b/sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx index 50fb75d2a2d7..1441206ebb0f 100644 --- a/sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx +++ b/sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx @@ -26,6 +26,7 @@ #include "sdpage.hxx" #include <algorithm> +#include <memory> #include <vector> #include <comphelper/processfactory.hxx> diff --git a/sd/source/ui/sidebar/SlideBackground.hxx b/sd/source/ui/sidebar/SlideBackground.hxx index fbbe7016b8aa..0ece3318e0d1 100644 --- a/sd/source/ui/sidebar/SlideBackground.hxx +++ b/sd/source/ui/sidebar/SlideBackground.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SD_SOURCE_UI_SIDEBAR_SLIDEBACKGROUND_HXX #define INCLUDED_SD_SOURCE_UI_SIDEBAR_SLIDEBACKGROUND_HXX +#include <memory> #include <vcl/ctrl.hxx> #include <vcl/lstbox.hxx> #include <vcl/fixed.hxx> diff --git a/sd/source/ui/slideshow/slideshowimpl.hxx b/sd/source/ui/slideshow/slideshowimpl.hxx index 32aace0af8d2..68778470509c 100644 --- a/sd/source/ui/slideshow/slideshowimpl.hxx +++ b/sd/source/ui/slideshow/slideshowimpl.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SD_SOURCE_UI_SLIDESHOW_SLIDESHOWIMPL_HXX #define INCLUDED_SD_SOURCE_UI_SLIDESHOW_SLIDESHOWIMPL_HXX +#include <memory> #include "sal/config.h" #include "com/sun/star/uno/XComponentContext.hpp" #include <cppuhelper/compbase.hxx> diff --git a/sd/source/ui/slideshow/slideshowviewimpl.hxx b/sd/source/ui/slideshow/slideshowviewimpl.hxx index 02dfb2ece249..4ebffd7df4e6 100644 --- a/sd/source/ui/slideshow/slideshowviewimpl.hxx +++ b/sd/source/ui/slideshow/slideshowviewimpl.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SD_SOURCE_UI_SLIDESHOW_SLIDESHOWVIEWIMPL_HXX #define INCLUDED_SD_SOURCE_UI_SLIDESHOW_SLIDESHOWVIEWIMPL_HXX +#include <memory> #include <cppuhelper/compbase.hxx> #include <cppuhelper/basemutex.hxx> #include <comphelper/listenernotification.hxx> diff --git a/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx b/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx index 351100a33a39..e783d059ade7 100644 --- a/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx +++ b/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "SlsBitmapCache.hxx" #include "SlsCacheCompactor.hxx" #include "SlsBitmapCompressor.hxx" diff --git a/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx b/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx index 563eb87a4733..dc85f2a475f7 100644 --- a/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx +++ b/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "SlsCacheCompactor.hxx" #include "SlsBitmapCompressor.hxx" diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx index 504cae72e242..08671ecbbd63 100644 --- a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <cstdlib> diff --git a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx index 2a5aceed4cee..b7d819a6ebf3 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SD_SOURCE_UI_SLIDESORTER_INC_CONTROLLER_SLSCLIPBOARD_HXX #define INCLUDED_SD_SOURCE_UI_SLIDESORTER_INC_CONTROLLER_SLSCLIPBOARD_HXX +#include <memory> #include "ViewClipboard.hxx" #include "controller/SlsSelectionObserver.hxx" #include "sdxfer.hxx" diff --git a/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx b/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx index d312fe2700ae..948af27cfb7c 100644 --- a/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx +++ b/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx @@ -26,6 +26,7 @@ #include <sal/types.h> #include <tools/fract.hxx> #include <vcl/mapmod.hxx> +#include <memory> #include <vector> #include <utility> diff --git a/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx b/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx index 31bf5285daab..b5ddc36f373c 100644 --- a/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx +++ b/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <utility> diff --git a/sd/source/ui/slidesorter/view/SlideSorterView.cxx b/sd/source/ui/slidesorter/view/SlideSorterView.cxx index 40a18782ff7f..3a98bfcb0cb6 100644 --- a/sd/source/ui/slidesorter/view/SlideSorterView.cxx +++ b/sd/source/ui/slidesorter/view/SlideSorterView.cxx @@ -69,6 +69,7 @@ //#define DEBUG_TIMING #ifdef DEBUG_TIMING +#include <memory> #include <vector> #endif diff --git a/sd/source/ui/slidesorter/view/SlsFontProvider.cxx b/sd/source/ui/slidesorter/view/SlsFontProvider.cxx index f3c42508cf2d..1b7e147b9ccf 100644 --- a/sd/source/ui/slidesorter/view/SlsFontProvider.cxx +++ b/sd/source/ui/slidesorter/view/SlsFontProvider.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "view/SlsFontProvider.hxx" #include "controller/SlideSorterController.hxx" diff --git a/sd/source/ui/tools/AsynchronousCall.cxx b/sd/source/ui/tools/AsynchronousCall.cxx index 633ebadf8720..fb88aa0d1000 100644 --- a/sd/source/ui/tools/AsynchronousCall.cxx +++ b/sd/source/ui/tools/AsynchronousCall.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "tools/AsynchronousCall.hxx" #include "DrawViewShell.hxx" diff --git a/sd/source/ui/tools/IconCache.cxx b/sd/source/ui/tools/IconCache.cxx index 5e7156f7a3f2..1c520d1d305c 100644 --- a/sd/source/ui/tools/IconCache.cxx +++ b/sd/source/ui/tools/IconCache.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "tools/IconCache.hxx" #include "sdresid.hxx" diff --git a/sd/source/ui/tools/SdGlobalResourceContainer.cxx b/sd/source/ui/tools/SdGlobalResourceContainer.cxx index eda6e230f4d2..c1dc47bc917e 100644 --- a/sd/source/ui/tools/SdGlobalResourceContainer.cxx +++ b/sd/source/ui/tools/SdGlobalResourceContainer.cxx @@ -27,6 +27,7 @@ #include <rtl/instance.hxx> #include <algorithm> +#include <memory> #include <vector> using namespace ::com::sun::star; diff --git a/sd/source/ui/uitest/uiobject.cxx b/sd/source/ui/uitest/uiobject.cxx index a604f640014b..2a564c2c68fb 100644 --- a/sd/source/ui/uitest/uiobject.cxx +++ b/sd/source/ui/uitest/uiobject.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "uiobject.hxx" #include "Window.hxx" diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index d68425076e89..0bd7d4532a6c 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <boost/property_tree/json_parser.hpp> #include <com/sun/star/presentation/XPresentation2.hpp> diff --git a/sd/source/ui/unoidl/unosrch.cxx b/sd/source/ui/unoidl/unosrch.cxx index a24f235ecde6..b672b87aad88 100644 --- a/sd/source/ui/unoidl/unosrch.cxx +++ b/sd/source/ui/unoidl/unosrch.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx index 17d9fa3bdbbf..f1c6d3186a0d 100644 --- a/sd/source/ui/view/DocumentRenderer.cxx +++ b/sd/source/ui/view/DocumentRenderer.cxx @@ -53,6 +53,7 @@ #include <unotools/moduleoptions.hxx> #include <xmloff/autolayout.hxx> +#include <memory> #include <vector> using namespace ::com::sun::star; diff --git a/sd/source/ui/view/ToolBarManager.cxx b/sd/source/ui/view/ToolBarManager.cxx index 73e87799e06a..6ed60e075d27 100644 --- a/sd/source/ui/view/ToolBarManager.cxx +++ b/sd/source/ui/view/ToolBarManager.cxx @@ -44,6 +44,7 @@ #include <map> #include <utility> +#include <memory> #include <vector> using namespace ::com::sun::star; diff --git a/sd/source/ui/view/drtxtob.cxx b/sd/source/ui/view/drtxtob.cxx index 5be13466ac6c..33e8977c6292 100644 --- a/sd/source/ui/view/drtxtob.cxx +++ b/sd/source/ui/view/drtxtob.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "TextObjectBar.hxx" #include <svx/svxids.hrc> diff --git a/sd/source/ui/view/drviews7.cxx b/sd/source/ui/view/drviews7.cxx index 82209d72ca4a..97644b2321ca 100644 --- a/sd/source/ui/view/drviews7.cxx +++ b/sd/source/ui/view/drviews7.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <utility> diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx index e997b80f3fee..2c7f16a1338d 100644 --- a/sd/source/ui/view/viewshel.cxx +++ b/sd/source/ui/view/viewshel.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "ViewShell.hxx" #include "ViewShellImplementation.hxx" #include "createtableobjectbar.hxx" diff --git a/sdext/source/presenter/PresenterProtocolHandler.cxx b/sdext/source/presenter/PresenterProtocolHandler.cxx index 8869303f6e64..240ba57e7aab 100644 --- a/sdext/source/presenter/PresenterProtocolHandler.cxx +++ b/sdext/source/presenter/PresenterProtocolHandler.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "PresenterProtocolHandler.hxx" #include "PresenterConfigurationAccess.hxx" #include "PresenterController.hxx" diff --git a/sdext/source/presenter/PresenterSlideSorter.hxx b/sdext/source/presenter/PresenterSlideSorter.hxx index 021786efd2e4..05bf90a50f7c 100644 --- a/sdext/source/presenter/PresenterSlideSorter.hxx +++ b/sdext/source/presenter/PresenterSlideSorter.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERSLIDESORTER_HXX #define INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERSLIDESORTER_HXX +#include <memory> #include "PresenterController.hxx" #include "PresenterPaneContainer.hxx" #include "PresenterViewFactory.hxx" diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx index 1c3cdc82aeca..da421158f497 100644 --- a/sfx2/source/appl/appcfg.cxx +++ b/sfx2/source/appl/appcfg.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/frame/XDesktop.hpp> #include <com/sun/star/util/XURLTransformer.hpp> #include <com/sun/star/beans/PropertyValue.hpp> diff --git a/sfx2/source/appl/childwinimpl.cxx b/sfx2/source/appl/childwinimpl.cxx index e1e20abb7835..21e508f01f19 100644 --- a/sfx2/source/appl/childwinimpl.cxx +++ b/sfx2/source/appl/childwinimpl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "childwinimpl.hxx" size_t SfxChildWinContextArr_Impl::size() const diff --git a/sfx2/source/appl/linksrc.cxx b/sfx2/source/appl/linksrc.cxx index a12f86c04f8e..623026586750 100644 --- a/sfx2/source/appl/linksrc.cxx +++ b/sfx2/source/appl/linksrc.cxx @@ -23,6 +23,7 @@ #include <com/sun/star/uno/Any.hxx> #include <vcl/timer.hxx> +#include <memory> #include <vector> #include <algorithm> diff --git a/sfx2/source/appl/lnkbase2.cxx b/sfx2/source/appl/lnkbase2.cxx index 3b80c7bfc9d3..af60ef3bb9d7 100644 --- a/sfx2/source/appl/lnkbase2.cxx +++ b/sfx2/source/appl/lnkbase2.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include <sfx2/lnkbase.hxx> #include <sot/exchange.hxx> #include <com/sun/star/uno/Any.hxx> diff --git a/sfx2/source/control/request.cxx b/sfx2/source/control/request.cxx index 489d9f3f5bc7..77a7e4d6d5d7 100644 --- a/sfx2/source/control/request.cxx +++ b/sfx2/source/control/request.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/frame/DispatchStatement.hpp> #include <com/sun/star/container/XIndexReplace.hpp> #include <com/sun/star/beans/PropertyValue.hpp> diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx index 5782802cf201..67d8ff728401 100644 --- a/sfx2/source/dialog/filedlghelper.cxx +++ b/sfx2/source/dialog/filedlghelper.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sfx2/filedlghelper.hxx> #include <sal/types.h> #include <com/sun/star/lang/XInitialization.hpp> diff --git a/sfx2/source/dialog/infobar.cxx b/sfx2/source/dialog/infobar.cxx index 087913f38cf7..69b4df48df69 100644 --- a/sfx2/source/dialog/infobar.cxx +++ b/sfx2/source/dialog/infobar.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <basegfx/polygon/b2dpolygon.hxx> #include <drawinglayer/primitive2d/polygonprimitive2d.hxx> #include <drawinglayer/primitive2d/polypolygonprimitive2d.hxx> diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx index e6ee534f67fa..5ae04bef74a5 100644 --- a/sfx2/source/dialog/splitwin.cxx +++ b/sfx2/source/dialog/splitwin.cxx @@ -38,6 +38,7 @@ #include <sfx2/msgpool.hxx> #include <sfx2/viewfrm.hxx> +#include <memory> #include <vector> #include <utility> diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx index ad1e5627efd7..334f2d4eed24 100644 --- a/sfx2/source/doc/doctemplates.cxx +++ b/sfx2/source/doc/doctemplates.cxx @@ -82,6 +82,7 @@ #include <sfx2/docfile.hxx> #include "doc.hrc" +#include <memory> #include <vector> #define SERVICENAME_TYPEDETECTION "com.sun.star.document.TypeDetection" diff --git a/sfx2/source/doc/printhelper.hxx b/sfx2/source/doc/printhelper.hxx index 88cdca28b7ee..f56ae938d66e 100644 --- a/sfx2/source/doc/printhelper.hxx +++ b/sfx2/source/doc/printhelper.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SFX2_SOURCE_DOC_PRINTHELPER_HXX #define INCLUDED_SFX2_SOURCE_DOC_PRINTHELPER_HXX +#include <memory> #include <sal/config.h> #include <sfx2/dllapi.h> #include <sfx2/viewsh.hxx> diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index c7941649ca64..28dedc648552 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <config_features.h> #include <sfx2/sfxbasemodel.hxx> diff --git a/sfx2/source/inc/appdata.hxx b/sfx2/source/inc/appdata.hxx index 8e9392160086..5dd88fdb0f81 100644 --- a/sfx2/source/inc/appdata.hxx +++ b/sfx2/source/inc/appdata.hxx @@ -31,6 +31,7 @@ #include <com/sun/star/frame/XModel.hpp> #include "bitset.hxx" +#include <memory> #include <vector> class SfxApplication; diff --git a/sfx2/source/sidebar/ControllerItem.cxx b/sfx2/source/sidebar/ControllerItem.cxx index 5bc39b3e664d..b21ffdd7a1f2 100644 --- a/sfx2/source/sidebar/ControllerItem.cxx +++ b/sfx2/source/sidebar/ControllerItem.cxx @@ -16,6 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sfx2/sidebar/ControllerItem.hxx> #include <sfx2/msgpool.hxx> diff --git a/sfx2/source/uitest/sfx_uiobject.cxx b/sfx2/source/uitest/sfx_uiobject.cxx index 6a45ab3ca6d2..062910287adc 100644 --- a/sfx2/source/uitest/sfx_uiobject.cxx +++ b/sfx2/source/uitest/sfx_uiobject.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <uitest/sfx_uiobject.hxx> #include <sfx2/tabdlg.hxx> diff --git a/sfx2/source/view/viewimp.hxx b/sfx2/source/view/viewimp.hxx index af98ebe14a72..2994a218086d 100644 --- a/sfx2/source/view/viewimp.hxx +++ b/sfx2/source/view/viewimp.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SFX2_SOURCE_VIEW_VIEWIMP_HXX #define INCLUDED_SFX2_SOURCE_VIEW_VIEWIMP_HXX +#include <memory> #include <basic/sbxobj.hxx> #include <sfx2/viewsh.hxx> #include <sfx2/viewfrm.hxx> diff --git a/shell/source/win32/shlxthandler/propsheets/document_statistic.hxx b/shell/source/win32/shlxthandler/propsheets/document_statistic.hxx index 876ecfe81918..93967a253668 100644 --- a/shell/source/win32/shlxthandler/propsheets/document_statistic.hxx +++ b/shell/source/win32/shlxthandler/propsheets/document_statistic.hxx @@ -22,6 +22,7 @@ #include <utility> #include <string> +#include <memory> #include <vector> #include "metainforeader.hxx" diff --git a/sot/source/sdstor/stg.cxx b/sot/source/sdstor/stg.cxx index d04ce1719fec..7f4c0fb50157 100644 --- a/sot/source/sdstor/stg.cxx +++ b/sot/source/sdstor/stg.cxx @@ -33,6 +33,8 @@ #include "stgio.hxx" #include "stgole.hxx" +#include <memory> + static long nTmpCount = 0; // The internal open mode is StreamMode::READ | StreamMode::TRUNC, which is silly diff --git a/sot/source/sdstor/stgcache.hxx b/sot/source/sdstor/stgcache.hxx index 14942e35a760..1a61c89f7d3a 100644 --- a/sot/source/sdstor/stgcache.hxx +++ b/sot/source/sdstor/stgcache.hxx @@ -26,6 +26,8 @@ #include <tools/stream.hxx> #include <stgelem.hxx> #include <salhelper/simplereferenceobject.hxx> + +#include <memory> #include <unordered_map> #include <functional> diff --git a/sot/source/sdstor/stgio.cxx b/sot/source/sdstor/stgio.cxx index cfb29fd7c7a0..0ed5097dd0ce 100644 --- a/sot/source/sdstor/stgio.cxx +++ b/sot/source/sdstor/stgio.cxx @@ -26,6 +26,8 @@ #include "stgio.hxx" #include <rtl/instance.hxx> +#include <memory> + ///////////////////////////// class StgIo // This class holds the storage header and all internal streams. diff --git a/sot/source/sdstor/stgole.cxx b/sot/source/sdstor/stgole.cxx index 077bbb79f4f6..15907d4d8502 100644 --- a/sot/source/sdstor/stgole.cxx +++ b/sot/source/sdstor/stgole.cxx @@ -17,12 +17,12 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <algorithm> #include "rtl/string.h" #include "stgole.hxx" #include "sot/storinfo.hxx" -#include <memory> #include <sot/exchange.hxx> #ifdef _MSC_VER diff --git a/sot/source/sdstor/stgole.hxx b/sot/source/sdstor/stgole.hxx index 0bdf50397ff6..2c0b057d8eb2 100644 --- a/sot/source/sdstor/stgole.hxx +++ b/sot/source/sdstor/stgole.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SOT_SOURCE_SDSTOR_STGOLE_HXX #define INCLUDED_SOT_SOURCE_SDSTOR_STGOLE_HXX +#include <memory> #include <string.h> #include "sot/stg.hxx" diff --git a/sot/source/sdstor/stgstrms.hxx b/sot/source/sdstor/stgstrms.hxx index d2b8f3062e33..bdd3e8755813 100644 --- a/sot/source/sdstor/stgstrms.hxx +++ b/sot/source/sdstor/stgstrms.hxx @@ -22,7 +22,9 @@ #include <tools/stream.hxx> #include <rtl/ref.hxx> + #include <vector> +#include <memory> class StgIo; class StgStrm; diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx index 60d5c6fbaa50..1c1b99563505 100644 --- a/starmath/source/ElementsDockingWindow.cxx +++ b/starmath/source/ElementsDockingWindow.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <ElementsDockingWindow.hxx> #include <starmath.hrc> diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx index ea4e4c01634a..85b9598ec756 100644 --- a/starmath/source/cfgitem.cxx +++ b/starmath/source/cfgitem.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <vector> #include <svl/itemset.hxx> diff --git a/starmath/source/cursor.cxx b/starmath/source/cursor.cxx index 7c6ad9f4118e..e09496260329 100644 --- a/starmath/source/cursor.cxx +++ b/starmath/source/cursor.cxx @@ -6,6 +6,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "cursor.hxx" #include "visitors.hxx" #include "document.hxx" diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 6cc18cb47374..836e8c682000 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/i18n/UnicodeType.hpp> #include <i18nlangtag/lang.h> #include <editeng/unolingu.hxx> diff --git a/starmath/source/uiobject.cxx b/starmath/source/uiobject.cxx index 0ed9468c00d7..d505ed9d95eb 100644 --- a/starmath/source/uiobject.cxx +++ b/starmath/source/uiobject.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "uiobject.hxx" #include "ElementsDockingWindow.hxx" diff --git a/starmath/source/uiobject.hxx b/starmath/source/uiobject.hxx index e2c6828bada3..004f1ab79dd1 100644 --- a/starmath/source/uiobject.hxx +++ b/starmath/source/uiobject.hxx @@ -10,6 +10,7 @@ #ifndef INCLUDED_STARMATH_SOURCE_UIOBJECT_HXX #define INCLUDED_STARMATH_SOURCE_UIOBJECT_HXX +#include <memory> #include <vcl/uitest/uiobject.hxx> class SmElementsControl; diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index a80b3be6ad02..1a54081eab52 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <svl/style.hxx> #include <com/sun/star/lang/XComponent.hpp> diff --git a/svl/source/misc/urihelper.cxx b/svl/source/misc/urihelper.cxx index 50c8b79b7b48..6da98476fa06 100644 --- a/svl/source/misc/urihelper.cxx +++ b/svl/source/misc/urihelper.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <unicode/idna.h> diff --git a/svl/source/numbers/currencytable.cxx b/svl/source/numbers/currencytable.cxx index 380e47bd4a2e..feef71b43b94 100644 --- a/svl/source/numbers/currencytable.cxx +++ b/svl/source/numbers/currencytable.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <svl/currencytable.hxx> NfCurrencyTable::iterator NfCurrencyTable::begin() diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx index 1ca8375b0164..2b3c80eed377 100644 --- a/svl/source/undo/undo.cxx +++ b/svl/source/undo/undo.cxx @@ -29,6 +29,7 @@ #include <boost/property_tree/json_parser.hpp> #include <unotools/datetime.hxx> +#include <memory> #include <vector> #include <list> #include <limits.h> diff --git a/svtools/inc/uitest/uiobject.hxx b/svtools/inc/uitest/uiobject.hxx index 873c3d57dedf..e8ed0af640af 100644 --- a/svtools/inc/uitest/uiobject.hxx +++ b/svtools/inc/uitest/uiobject.hxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <vcl/uitest/uiobject.hxx> class SvTreeListBox; diff --git a/svtools/source/contnr/svtabbx.cxx b/svtools/source/contnr/svtabbx.cxx index 5e3e5e641081..4bddb65a48ce 100644 --- a/svtools/source/contnr/svtabbx.cxx +++ b/svtools/source/contnr/svtabbx.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <svtools/svtabbx.hxx> #include <svtools/headbar.hxx> #include <svtools/svtresid.hxx> diff --git a/svtools/source/contnr/treelistentry.cxx b/svtools/source/contnr/treelistentry.cxx index 1576a6248b6b..029abb3366d9 100644 --- a/svtools/source/contnr/treelistentry.cxx +++ b/svtools/source/contnr/treelistentry.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <svtools/treelistentry.hxx> #include <svtools/treelist.hxx> #include <o3tl/make_unique.hxx> diff --git a/svtools/source/control/ctrltool.cxx b/svtools/source/control/ctrltool.cxx index 4a31b22ba7f4..22bf7c16e561 100644 --- a/svtools/source/control/ctrltool.cxx +++ b/svtools/source/control/ctrltool.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <string.h> #include <comphelper/string.hxx> diff --git a/svtools/source/control/toolbarmenu.cxx b/svtools/source/control/toolbarmenu.cxx index 160df55c8251..f419975e1cc7 100644 --- a/svtools/source/control/toolbarmenu.cxx +++ b/svtools/source/control/toolbarmenu.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/accessibility/AccessibleEventId.hpp> #include <com/sun/star/accessibility/AccessibleStateType.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx index 91de032185f1..b2f367d041af 100644 --- a/svtools/source/dialogs/addresstemplate.cxx +++ b/svtools/source/dialogs/addresstemplate.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include <svtools/addresstemplate.hxx> #include "addresstemplate.hrc" #include <svtools/svtools.hrc> diff --git a/svtools/source/graphic/graphicunofactory.cxx b/svtools/source/graphic/graphicunofactory.cxx index 5a2132bf6bab..391d743a05e4 100644 --- a/svtools/source/graphic/graphicunofactory.cxx +++ b/svtools/source/graphic/graphicunofactory.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <cppuhelper/implbase.hxx> #include <cppuhelper/supportsservice.hxx> #include <com/sun/star/graphic/XGraphicObject.hpp> diff --git a/svtools/source/misc/acceleratorexecute.cxx b/svtools/source/misc/acceleratorexecute.cxx index e06aa584856c..207e9d4448b8 100644 --- a/svtools/source/misc/acceleratorexecute.cxx +++ b/svtools/source/misc/acceleratorexecute.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <svtools/acceleratorexecute.hxx> #include <com/sun/star/frame/ModuleManager.hpp> diff --git a/svtools/source/svrtf/svparser.cxx b/svtools/source/svrtf/svparser.cxx index c01f93d1d4b6..c2de091f1f0d 100644 --- a/svtools/source/svrtf/svparser.cxx +++ b/svtools/source/svrtf/svparser.cxx @@ -25,6 +25,7 @@ #include <rtl/character.hxx> #include <vector> +#include <climits> // structure to store the actuel data struct SvParser_Impl diff --git a/svtools/source/uitest/uiobject.cxx b/svtools/source/uitest/uiobject.cxx index 9dfc37c15f0a..f36d57e153c4 100644 --- a/svtools/source/uitest/uiobject.cxx +++ b/svtools/source/uitest/uiobject.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "uitest/uiobject.hxx" #include <svtools/treelistbox.hxx> diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx index c807b2a2e2c9..a0e0853a79fe 100644 --- a/svtools/source/uno/treecontrolpeer.cxx +++ b/svtools/source/uno/treecontrolpeer.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include <com/sun/star/graphic/GraphicProvider.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/DisposedException.hpp> diff --git a/svx/inc/uiobject.hxx b/svx/inc/uiobject.hxx index f511f46185b4..6159a26f98a8 100644 --- a/svx/inc/uiobject.hxx +++ b/svx/inc/uiobject.hxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <vcl/uitest/uiobject.hxx> class SvxShowCharSet; diff --git a/svx/source/accessibility/AccessibleEmptyEditSource.cxx b/svx/source/accessibility/AccessibleEmptyEditSource.cxx index ea020a63dc40..59643e33f8d9 100644 --- a/svx/source/accessibility/AccessibleEmptyEditSource.cxx +++ b/svx/source/accessibility/AccessibleEmptyEditSource.cxx @@ -21,6 +21,7 @@ // Global header +#include <memory> #include <svl/itemset.hxx> #include <editeng/editdata.hxx> #include <editeng/outliner.hxx> diff --git a/svx/source/accessibility/AccessibleTextEventQueue.cxx b/svx/source/accessibility/AccessibleTextEventQueue.cxx index 03ed7c567f99..c932ea7c9cd6 100644 --- a/svx/source/accessibility/AccessibleTextEventQueue.cxx +++ b/svx/source/accessibility/AccessibleTextEventQueue.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "AccessibleTextEventQueue.hxx" #include <svx/unoshape.hxx> #include "editeng/unolingu.hxx" diff --git a/svx/source/dialog/pagectrl.cxx b/svx/source/dialog/pagectrl.cxx index 087b2e2dc6f5..02eb8d54a5cc 100644 --- a/svx/source/dialog/pagectrl.cxx +++ b/svx/source/dialog/pagectrl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <vcl/bitmap.hxx> #include <vcl/builderfactory.hxx> #include <vcl/settings.hxx> diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx index 415e3d23eb92..888965e6ea2e 100644 --- a/svx/source/dialog/rubydialog.cxx +++ b/svx/source/dialog/rubydialog.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <o3tl/any.hxx> diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx index 79d44e75318e..76cd0c17fd9e 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include <sal/macros.h> #include "fmprop.hrc" #include "svx/fmresids.hrc" diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx index 81e1a695ff45..85b2a11184d0 100644 --- a/svx/source/form/filtnav.cxx +++ b/svx/source/form/filtnav.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "filtnav.hxx" #include "fmexch.hxx" #include "fmhelp.hrc" diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx index d6da352e106f..4064c14b6573 100644 --- a/svx/source/form/fmvwimp.cxx +++ b/svx/source/form/fmvwimp.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include "fmdocumentclassification.hxx" #include "fmobj.hxx" #include "fmpgeimp.hxx" diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx index d7157b319c3e..be74e6ea1caf 100644 --- a/svx/source/form/navigatortree.cxx +++ b/svx/source/form/navigatortree.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <svx/dialmgr.hxx> #include <svx/fmshell.hxx> #include <svx/fmmodel.hxx> diff --git a/svx/source/inc/formcontroller.hxx b/svx/source/inc/formcontroller.hxx index 399cd80fbe85..1b9a365c3481 100644 --- a/svx/source/inc/formcontroller.hxx +++ b/svx/source/inc/formcontroller.hxx @@ -21,6 +21,7 @@ #include <sal/config.h> +#include <memory> #include <vector> #include "delayedevent.hxx" diff --git a/svx/source/inc/gridcell.hxx b/svx/source/inc/gridcell.hxx index eaef62eaf09d..371a16c11938 100644 --- a/svx/source/inc/gridcell.hxx +++ b/svx/source/inc/gridcell.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SVX_SOURCE_INC_GRIDCELL_HXX #define INCLUDED_SVX_SOURCE_INC_GRIDCELL_HXX +#include <memory> #include <svx/gridctrl.hxx> #include "sqlparserclient.hxx" diff --git a/svx/source/mnuctrls/smarttagmenu.cxx b/svx/source/mnuctrls/smarttagmenu.cxx index da51cbe5288c..a53d00de888a 100644 --- a/svx/source/mnuctrls/smarttagmenu.cxx +++ b/svx/source/mnuctrls/smarttagmenu.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <svtools/popupmenucontrollerbase.hxx> #include <svx/SmartTagItem.hxx> #include <vcl/commandinfoprovider.hxx> diff --git a/svx/source/sidebar/line/LinePropertyPanelBase.cxx b/svx/source/sidebar/line/LinePropertyPanelBase.cxx index 9f7465a6fe1e..158b6810817d 100644 --- a/svx/source/sidebar/line/LinePropertyPanelBase.cxx +++ b/svx/source/sidebar/line/LinePropertyPanelBase.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sfx2/sidebar/ControlFactory.hxx> #include <svx/sidebar/LinePropertyPanelBase.hxx> #include <svx/dialogs.hrc> diff --git a/svx/source/sidebar/media/MediaPlaybackPanel.hxx b/svx/source/sidebar/media/MediaPlaybackPanel.hxx index b4633d7a5549..69022e1c673c 100644 --- a/svx/source/sidebar/media/MediaPlaybackPanel.hxx +++ b/svx/source/sidebar/media/MediaPlaybackPanel.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SD_SOURCE_SIDEBAR_MEDIAPLAYBACKPANEL_HXX #define INCLUDED_SD_SOURCE_SIDEBAR_MEDIAPLAYBACKPANEL_HXX +#include <memory> #include <vcl/ctrl.hxx> #include <com/sun/star/frame/XFrame.hpp> @@ -81,4 +82,4 @@ private: #endif -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/styles/CommonStylePreviewRenderer.cxx b/svx/source/styles/CommonStylePreviewRenderer.cxx index a9d4ac52ef3c..45360ba89eb9 100644 --- a/svx/source/styles/CommonStylePreviewRenderer.cxx +++ b/svx/source/styles/CommonStylePreviewRenderer.cxx @@ -8,6 +8,7 @@ * */ +#include <memory> #include <svx/CommonStylePreviewRenderer.hxx> #include <sfx2/objsh.hxx> diff --git a/svx/source/svdraw/svdobjuserdatalist.cxx b/svx/source/svdraw/svdobjuserdatalist.cxx index aa59da10198f..679af34fa785 100644 --- a/svx/source/svdraw/svdobjuserdatalist.cxx +++ b/svx/source/svdraw/svdobjuserdatalist.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <svdobjuserdatalist.hxx> #include <vcl/outdev.hxx> diff --git a/svx/source/svdraw/svdpage.cxx b/svx/source/svdraw/svdpage.cxx index 3ad1d0bb4709..fe27594e9ecc 100644 --- a/svx/source/svdraw/svdpage.cxx +++ b/svx/source/svdraw/svdpage.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <cassert> #include <svx/svdpage.hxx> diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index 0b0596bae078..db30cc7cbd34 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/style/XStyleFamiliesSupplier.hpp> #include <com/sun/star/container/XNamed.hpp> #include <com/sun/star/container/XNameAccess.hpp> diff --git a/svx/source/tbxctrls/PaletteManager.cxx b/svx/source/tbxctrls/PaletteManager.cxx index 1354efba237c..140f515268d2 100644 --- a/svx/source/tbxctrls/PaletteManager.cxx +++ b/svx/source/tbxctrls/PaletteManager.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <svx/PaletteManager.hxx> #include <osl/file.hxx> #include <unotools/pathoptions.hxx> diff --git a/svx/source/uitest/uiobject.cxx b/svx/source/uitest/uiobject.cxx index dc5db9e72ab9..701eb7ef891c 100644 --- a/svx/source/uitest/uiobject.cxx +++ b/svx/source/uitest/uiobject.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "uiobject.hxx" #include <svx/charmap.hxx> diff --git a/svx/source/unodraw/XPropertyTable.cxx b/svx/source/unodraw/XPropertyTable.cxx index 7dbd98693f8a..f26b850debe8 100644 --- a/svx/source/unodraw/XPropertyTable.cxx +++ b/svx/source/unodraw/XPropertyTable.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include "svx/XPropertyTable.hxx" #include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp> #include <com/sun/star/drawing/LineDash.hpp> diff --git a/svx/source/xoutdev/xtabcolr.cxx b/svx/source/xoutdev/xtabcolr.cxx index 44f881403580..50a9d02e14ee 100644 --- a/svx/source/xoutdev/xtabcolr.cxx +++ b/svx/source/xoutdev/xtabcolr.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "svx/XPropertyTable.hxx" #include <unotools/pathoptions.hxx> diff --git a/svx/source/xoutdev/xtable.cxx b/svx/source/xoutdev/xtable.cxx index 2760ab83a600..e80016640775 100644 --- a/svx/source/xoutdev/xtable.cxx +++ b/svx/source/xoutdev/xtable.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <svx/XPropertyTable.hxx> #include "xmlxtexp.hxx" #include "xmlxtimp.hxx" diff --git a/sw/inc/EnhancedPDFExportHelper.hxx b/sw/inc/EnhancedPDFExportHelper.hxx index 692e580fae60..c9804130acd5 100644 --- a/sw/inc/EnhancedPDFExportHelper.hxx +++ b/sw/inc/EnhancedPDFExportHelper.hxx @@ -26,6 +26,7 @@ #include <swtypes.hxx> #include <map> +#include <memory> #include <vector> #include <set> diff --git a/sw/inc/anchoreddrawobject.hxx b/sw/inc/anchoreddrawobject.hxx index 870585850960..bc52043255a0 100644 --- a/sw/inc/anchoreddrawobject.hxx +++ b/sw/inc/anchoreddrawobject.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_ANCHOREDDRAWOBJECT_HXX #define INCLUDED_SW_INC_ANCHOREDDRAWOBJECT_HXX +#include <memory> #include <anchoredobject.hxx> namespace tools { class Rectangle; } diff --git a/sw/inc/breakit.hxx b/sw/inc/breakit.hxx index 0bb13f08f8a0..1c6f9d5c7dbd 100644 --- a/sw/inc/breakit.hxx +++ b/sw/inc/breakit.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_INC_BREAKIT_HXX #define INCLUDED_SW_INC_BREAKIT_HXX +#include <memory> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/i18n/XBreakIterator.hpp> diff --git a/sw/inc/calc.hxx b/sw/inc/calc.hxx index db850ac533cd..4bc00cc6bac4 100644 --- a/sw/inc/calc.hxx +++ b/sw/inc/calc.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_INC_CALC_HXX #define INCLUDED_SW_INC_CALC_HXX +#include <memory> #include <vector> #include <basic/sbxvar.hxx> #include <unotools/syslocale.hxx> diff --git a/sw/inc/cellfml.hxx b/sw/inc/cellfml.hxx index 3f918bd2384a..6492095e7c06 100644 --- a/sw/inc/cellfml.hxx +++ b/sw/inc/cellfml.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_INC_CELLFML_HXX #define INCLUDED_SW_INC_CELLFML_HXX +#include <memory> #include <rtl/ustring.hxx> class SwTable; diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx index b769a1d2600b..9d2114516c5d 100644 --- a/sw/inc/docsh.hxx +++ b/sw/inc/docsh.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_DOCSH_HXX #define INCLUDED_SW_INC_DOCSH_HXX +#include <memory> #include <rtl/ref.hxx> #include <com/sun/star/frame/XController.hpp> #include <com/sun/star/uno/Sequence.h> diff --git a/sw/inc/docstyle.hxx b/sw/inc/docstyle.hxx index dcbc55556fe7..c742704600cf 100644 --- a/sw/inc/docstyle.hxx +++ b/sw/inc/docstyle.hxx @@ -27,6 +27,7 @@ #include "swdllapi.h" #include <unordered_map> +#include <memory> #include <vector> class SwDoc; diff --git a/sw/inc/dpage.hxx b/sw/inc/dpage.hxx index 0d8438c9ea54..c54ca8e0df33 100644 --- a/sw/inc/dpage.hxx +++ b/sw/inc/dpage.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_DPAGE_HXX #define INCLUDED_SW_INC_DPAGE_HXX +#include <memory> #include <svx/fmpage.hxx> #include <svx/svdobj.hxx> diff --git a/sw/inc/expfld.hxx b/sw/inc/expfld.hxx index 11629562e8ea..9c5e00dc3f25 100644 --- a/sw/inc/expfld.hxx +++ b/sw/inc/expfld.hxx @@ -23,6 +23,7 @@ #include <fldbas.hxx> #include <cellfml.hxx> #include <set> +#include <memory> #include <vector> class SfxPoolItem; diff --git a/sw/inc/fmtcntnt.hxx b/sw/inc/fmtcntnt.hxx index 62580c78bb31..032fe31c34ba 100644 --- a/sw/inc/fmtcntnt.hxx +++ b/sw/inc/fmtcntnt.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_FMTCNTNT_HXX #define INCLUDED_SW_INC_FMTCNTNT_HXX +#include <memory> #include <svl/poolitem.hxx> #include <hintids.hxx> #include <format.hxx> diff --git a/sw/inc/fmturl.hxx b/sw/inc/fmturl.hxx index 74b1e430e92d..fc062e3b9c64 100644 --- a/sw/inc/fmturl.hxx +++ b/sw/inc/fmturl.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_FMTURL_HXX #define INCLUDED_SW_INC_FMTURL_HXX +#include <memory> #include <svl/poolitem.hxx> #include "swdllapi.h" #include <hintids.hxx> diff --git a/sw/inc/frmfmt.hxx b/sw/inc/frmfmt.hxx index 9302682ec687..6fec965473b1 100644 --- a/sw/inc/frmfmt.hxx +++ b/sw/inc/frmfmt.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_FRMFMT_HXX #define INCLUDED_SW_INC_FRMFMT_HXX +#include <memory> #include <com/sun/star/text/PositionLayoutDir.hpp> #include <cppuhelper/weakref.hxx> #include <tools/gen.hxx> diff --git a/sw/inc/htmltbl.hxx b/sw/inc/htmltbl.hxx index 5107eea17aed..dc263e378d62 100644 --- a/sw/inc/htmltbl.hxx +++ b/sw/inc/htmltbl.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_INC_HTMLTBL_HXX #define INCLUDED_SW_INC_HTMLTBL_HXX +#include <memory> #include <vcl/timer.hxx> #include <editeng/svxenum.hxx> diff --git a/sw/inc/ndnotxt.hxx b/sw/inc/ndnotxt.hxx index 85b21486de18..89d8b1aa4b57 100644 --- a/sw/inc/ndnotxt.hxx +++ b/sw/inc/ndnotxt.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_NDNOTXT_HXX #define INCLUDED_SW_INC_NDNOTXT_HXX +#include <memory> #include "node.hxx" namespace tools { class PolyPolygon; } diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index 1798dad33a03..0f1dc5225a6a 100644 --- a/sw/inc/ndtxt.hxx +++ b/sw/inc/ndtxt.hxx @@ -31,6 +31,7 @@ #include <sfx2/Metadatable.hxx> +#include <memory> #include <vector> #include <set> diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx index 5975916e21e3..9639ef9c44be 100644 --- a/sw/inc/numrule.hxx +++ b/sw/inc/numrule.hxx @@ -30,6 +30,7 @@ #include <SwNumberTreeTypes.hxx> #include <ndarr.hxx> #include <unordered_map> +#include <memory> #include <vector> #include <charfmt.hxx> diff --git a/sw/inc/redline.hxx b/sw/inc/redline.hxx index 688cd1797c9d..6092b6650056 100644 --- a/sw/inc/redline.hxx +++ b/sw/inc/redline.hxx @@ -28,6 +28,7 @@ #include <IDocumentRedlineAccess.hxx> #include <cstddef> +#include <memory> #include <vector> class SfxItemSet; diff --git a/sw/inc/shellres.hxx b/sw/inc/shellres.hxx index 9015f844320c..afa66c112acb 100644 --- a/sw/inc/shellres.hxx +++ b/sw/inc/shellres.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_SHELLRES_HXX #define INCLUDED_SW_INC_SHELLRES_HXX +#include <memory> #include <swdllapi.h> #include <rtl/ustring.hxx> #include <vcl/bitmap.hxx> diff --git a/sw/inc/swacorr.hxx b/sw/inc/swacorr.hxx index 5ca345548dc1..ce2e9cdb8b1f 100644 --- a/sw/inc/swacorr.hxx +++ b/sw/inc/swacorr.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_SWACORR_HXX #define INCLUDED_SW_INC_SWACORR_HXX +#include <memory> #include <editeng/svxacorr.hxx> #include <com/sun/star/uno/Reference.h> diff --git a/sw/inc/unobaseclass.hxx b/sw/inc/unobaseclass.hxx index d8263b51b496..f72f07d5c83a 100644 --- a/sw/inc/unobaseclass.hxx +++ b/sw/inc/unobaseclass.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_INC_UNOBASECLASS_HXX #define INCLUDED_SW_INC_UNOBASECLASS_HXX +#include <memory> #include <com/sun/star/lang/XUnoTunnel.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/container/XEnumeration.hpp> diff --git a/sw/qa/extras/htmlexport/htmlexport.cxx b/sw/qa/extras/htmlexport/htmlexport.cxx index e6a996df4166..c28d1ec4b997 100644 --- a/sw/qa/extras/htmlexport/htmlexport.cxx +++ b/sw/qa/extras/htmlexport/htmlexport.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <swmodeltestbase.hxx> #include <com/sun/star/awt/Gradient.hpp> diff --git a/sw/qa/extras/inc/swmodeltestbase.hxx b/sw/qa/extras/inc/swmodeltestbase.hxx index e2ce0f5a9cd8..75604978ceb4 100644 --- a/sw/qa/extras/inc/swmodeltestbase.hxx +++ b/sw/qa/extras/inc/swmodeltestbase.hxx @@ -10,6 +10,7 @@ #ifndef INCLUDED_SW_QA_EXTRAS_INC_SWMODELTESTBASE_HXX #define INCLUDED_SW_QA_EXTRAS_INC_SWMODELTESTBASE_HXX +#include <memory> #include <com/sun/star/container/XContentEnumerationAccess.hpp> #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/frame/Desktop.hpp> diff --git a/sw/qa/extras/odfexport/odfexport.cxx b/sw/qa/extras/odfexport/odfexport.cxx index 41b421b36116..2110f549031e 100644 --- a/sw/qa/extras/odfexport/odfexport.cxx +++ b/sw/qa/extras/odfexport/odfexport.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <swmodeltestbase.hxx> #include <config_features.h> diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx index f6a0dc3efa57..612656cde2ec 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "config_test.h" #ifdef MACOSX diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index 9154ef1cfa3c..185ec428edff 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "config_test.h" #ifdef MACOSX diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx index 2cfaa282ab2b..a0c80b150825 100644 --- a/sw/qa/extras/rtfimport/rtfimport.cxx +++ b/sw/qa/extras/rtfimport/rtfimport.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <swmodeltestbase.hxx> #include <com/sun/star/awt/FontDescriptor.hpp> diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx index 83a3e8398531..75ef9f9b82bb 100644 --- a/sw/qa/extras/uiwriter/uiwriter.cxx +++ b/sw/qa/extras/uiwriter/uiwriter.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <com/sun/star/awt/FontWeight.hpp> #include <com/sun/star/drawing/GraphicExportFilter.hpp> #include <com/sun/star/i18n/TextConversionOption.hpp> diff --git a/sw/source/core/access/accportions.hxx b/sw/source/core/access/accportions.hxx index 97248bd0ba46..93ffeba0d942 100644 --- a/sw/source/core/access/accportions.hxx +++ b/sw/source/core/access/accportions.hxx @@ -23,6 +23,7 @@ #include <SwPortionHandler.hxx> #include <sal/types.h> #include <rtl/ustrbuf.hxx> +#include <memory> #include <vector> class SwTextNode; diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx index b1c653b23812..f624de58079a 100644 --- a/sw/source/core/crsr/crsrsh.cxx +++ b/sw/source/core/crsr/crsrsh.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/text/XTextRange.hpp> #include <hintids.hxx> diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx index 0192bbb2efb1..8c02241805ed 100644 --- a/sw/source/core/doc/docbm.cxx +++ b/sw/source/core/doc/docbm.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <MarkManager.hxx> #include <bookmrk.hxx> #include <cntfrm.hxx> diff --git a/sw/source/core/doc/docruby.cxx b/sw/source/core/doc/docruby.cxx index 980ce7ebe330..82bbe01a6c1a 100644 --- a/sw/source/core/doc/docruby.cxx +++ b/sw/source/core/doc/docruby.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <string.h> #include <com/sun/star/i18n/UnicodeType.hpp> diff --git a/sw/source/core/doc/fmtcol.cxx b/sw/source/core/doc/fmtcol.cxx index 28f5df18361b..618278a47d09 100644 --- a/sw/source/core/doc/fmtcol.cxx +++ b/sw/source/core/doc/fmtcol.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <libxml/xmlwriter.h> #include <sal/macros.h> diff --git a/sw/source/core/doc/htmltbl.cxx b/sw/source/core/doc/htmltbl.cxx index e15f70aae6e3..9f9e6fdfeac1 100644 --- a/sw/source/core/doc/htmltbl.cxx +++ b/sw/source/core/doc/htmltbl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "hintids.hxx" #include <vcl/wrkwin.hxx> diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx index c0bddb4c928e..286d2269b0b2 100644 --- a/sw/source/core/doc/number.cxx +++ b/sw/source/core/doc/number.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <string.h> diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx index e302ee6c0f6d..ecb1d13efa98 100644 --- a/sw/source/core/doc/poolfmt.cxx +++ b/sw/source/core/doc/poolfmt.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <i18nlangtag/mslangid.hxx> #include <unotools/localedatawrapper.hxx> diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx index 05fd94d30c9b..13494cfe9317 100644 --- a/sw/source/core/doc/tblrwcl.cxx +++ b/sw/source/core/doc/tblrwcl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/text/HoriOrientation.hpp> #include <hintids.hxx> diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx index 44d932947a2a..10c90fddd03a 100644 --- a/sw/source/core/docnode/ndtbl.cxx +++ b/sw/source/core/docnode/ndtbl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <fesh.hxx> #include <hintids.hxx> #include <editeng/lrspitem.hxx> diff --git a/sw/source/core/draw/dcontact.cxx b/sw/source/core/draw/dcontact.cxx index 03607dbe4b5e..6e81be59c157 100644 --- a/sw/source/core/draw/dcontact.cxx +++ b/sw/source/core/draw/dcontact.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "hintids.hxx" #include <editeng/protitem.hxx> #include <editeng/opaqitem.hxx> diff --git a/sw/source/core/edit/edattr.cxx b/sw/source/core/edit/edattr.cxx index 1111ffaf62a4..fc6a4df0be70 100644 --- a/sw/source/core/edit/edattr.cxx +++ b/sw/source/core/edit/edattr.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <editeng/tstpitem.hxx> #include <editeng/lrspitem.hxx> diff --git a/sw/source/core/edit/eddel.cxx b/sw/source/core/edit/eddel.cxx index 591fe8f911db..d19f7eac6545 100644 --- a/sw/source/core/edit/eddel.cxx +++ b/sw/source/core/edit/eddel.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <doc.hxx> #include <IDocumentUndoRedo.hxx> diff --git a/sw/source/core/fields/authfld.cxx b/sw/source/core/fields/authfld.cxx index bf7cabb18d03..f217f00467a0 100644 --- a/sw/source/core/fields/authfld.cxx +++ b/sw/source/core/fields/authfld.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <comphelper/string.hxx> #include <editeng/unolingu.hxx> diff --git a/sw/source/core/frmedt/fecopy.cxx b/sw/source/core/frmedt/fecopy.cxx index 444f4de516b3..4dc6d5140f91 100644 --- a/sw/source/core/frmedt/fecopy.cxx +++ b/sw/source/core/frmedt/fecopy.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <vcl/graph.hxx> diff --git a/sw/source/core/frmedt/fetab.cxx b/sw/source/core/frmedt/fetab.cxx index b1f20640739b..6bcae1c5d65d 100644 --- a/sw/source/core/frmedt/fetab.cxx +++ b/sw/source/core/frmedt/fetab.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <o3tl/make_unique.hxx> diff --git a/sw/source/core/inc/UndoBookmark.hxx b/sw/source/core/inc/UndoBookmark.hxx index f5790bde1882..dce0b4642f08 100644 --- a/sw/source/core/inc/UndoBookmark.hxx +++ b/sw/source/core/inc/UndoBookmark.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_UNDOBOOKMARK_HXX #define INCLUDED_SW_SOURCE_CORE_INC_UNDOBOOKMARK_HXX +#include <memory> #include <undobj.hxx> class SwHistoryBookmark; diff --git a/sw/source/core/inc/UndoNumbering.hxx b/sw/source/core/inc/UndoNumbering.hxx index aa16113f9fe2..66444b1edaef 100644 --- a/sw/source/core/inc/UndoNumbering.hxx +++ b/sw/source/core/inc/UndoNumbering.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_UNDONUMBERING_HXX #define INCLUDED_SW_SOURCE_CORE_INC_UNDONUMBERING_HXX +#include <memory> #include <vector> #include <undobj.hxx> #include <rtl/ustring.hxx> diff --git a/sw/source/core/inc/UndoOverwrite.hxx b/sw/source/core/inc/UndoOverwrite.hxx index 1b520fae1efb..d5040bc823da 100644 --- a/sw/source/core/inc/UndoOverwrite.hxx +++ b/sw/source/core/inc/UndoOverwrite.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_UNDOOVERWRITE_HXX #define INCLUDED_SW_SOURCE_CORE_INC_UNDOOVERWRITE_HXX +#include <memory> #include <com/sun/star/uno/Sequence.h> #include <rtl/ustring.hxx> #include <undobj.hxx> diff --git a/sw/source/core/inc/UndoRedline.hxx b/sw/source/core/inc/UndoRedline.hxx index c839a6d2d1df..8a62b33937a5 100644 --- a/sw/source/core/inc/UndoRedline.hxx +++ b/sw/source/core/inc/UndoRedline.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_UNDOREDLINE_HXX #define INCLUDED_SW_SOURCE_CORE_INC_UNDOREDLINE_HXX +#include <memory> #include <undobj.hxx> struct SwSortOptions; diff --git a/sw/source/core/inc/acorrect.hxx b/sw/source/core/inc/acorrect.hxx index 104b3653351d..f2382dbeddde 100644 --- a/sw/source/core/inc/acorrect.hxx +++ b/sw/source/core/inc/acorrect.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_ACORRECT_HXX #define INCLUDED_SW_SOURCE_CORE_INC_ACORRECT_HXX +#include <memory> #include <editeng/svxacorr.hxx> #include <swundo.hxx> diff --git a/sw/source/core/inc/swfont.hxx b/sw/source/core/inc/swfont.hxx index 83ceece5b427..17510eafef09 100644 --- a/sw/source/core/inc/swfont.hxx +++ b/sw/source/core/inc/swfont.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_SWFONT_HXX #define INCLUDED_SW_SOURCE_CORE_INC_SWFONT_HXX +#include <memory> #include <i18nlangtag/lang.h> #include <tools/color.hxx> #include <tools/gen.hxx> diff --git a/sw/source/core/inc/txtfly.hxx b/sw/source/core/inc/txtfly.hxx index e74d429d974b..772cd8d2d493 100644 --- a/sw/source/core/inc/txtfly.hxx +++ b/sw/source/core/inc/txtfly.hxx @@ -22,6 +22,7 @@ #include "swtypes.hxx" #include "swrect.hxx" #include <com/sun/star/text/WrapTextMode.hpp> +#include <memory> #include <vector> class OutputDevice; diff --git a/sw/source/core/inc/unometa.hxx b/sw/source/core/inc/unometa.hxx index 90573dd83970..2857bbd50913 100644 --- a/sw/source/core/inc/unometa.hxx +++ b/sw/source/core/inc/unometa.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_SOURCE_CORE_INC_UNOMETA_HXX #define INCLUDED_SW_SOURCE_CORE_INC_UNOMETA_HXX +#include <memory> #include <deque> #include <com/sun/star/lang/XServiceInfo.hpp> diff --git a/sw/source/core/layout/calcmove.cxx b/sw/source/core/layout/calcmove.cxx index 6d9721748cb5..3c9b36198788 100644 --- a/sw/source/core/layout/calcmove.cxx +++ b/sw/source/core/layout/calcmove.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "rootfrm.hxx" #include "pagefrm.hxx" #include "viewopt.hxx" diff --git a/sw/source/core/layout/flowfrm.cxx b/sw/source/core/layout/flowfrm.cxx index 3c6198e15b24..88de9e047f9c 100644 --- a/sw/source/core/layout/flowfrm.cxx +++ b/sw/source/core/layout/flowfrm.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <bodyfrm.hxx> diff --git a/sw/source/core/layout/layouter.cxx b/sw/source/core/layout/layouter.cxx index f564d7ae4c0b..cfa4d8cb80f8 100644 --- a/sw/source/core/layout/layouter.cxx +++ b/sw/source/core/layout/layouter.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "layouter.hxx" #include "doc.hxx" #include "sectfrm.hxx" diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 109d4486c475..9a99104da447 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -92,6 +92,7 @@ #include <basegfx/matrix/b2dhommatrixtools.hxx> #include <basegfx/color/bcolortools.hxx> +#include <memory> #include <vector> #include <algorithm> #include <wrtsh.hxx> diff --git a/sw/source/core/text/atrhndl.hxx b/sw/source/core/text/atrhndl.hxx index fa6b0830c990..2338710da368 100644 --- a/sw/source/core/text/atrhndl.hxx +++ b/sw/source/core/text/atrhndl.hxx @@ -23,6 +23,7 @@ #define INITIAL_NUM_ATTR 3 #define NUM_ATTRIBUTE_STACKS 44 +#include <memory> #include <txatbase.hxx> #include <swfntcch.hxx> diff --git a/sw/source/core/text/blink.cxx b/sw/source/core/text/blink.cxx index fc492ae5723a..dc870ff98313 100644 --- a/sw/source/core/text/blink.cxx +++ b/sw/source/core/text/blink.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "viewsh.hxx" #include "rootfrm.hxx" #include "txtfrm.hxx" diff --git a/sw/source/core/text/frmpaint.cxx b/sw/source/core/text/frmpaint.cxx index 8dfd0fac9360..e3f1b146851d 100644 --- a/sw/source/core/text/frmpaint.cxx +++ b/sw/source/core/text/frmpaint.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/text/HoriOrientation.hpp> #include <hintids.hxx> #include <editeng/pgrditem.hxx> diff --git a/sw/source/core/text/guess.hxx b/sw/source/core/text/guess.hxx index 952d80580ac9..3590976ad638 100644 --- a/sw/source/core/text/guess.hxx +++ b/sw/source/core/text/guess.hxx @@ -18,6 +18,7 @@ */ #ifndef INCLUDED_SW_SOURCE_CORE_TEXT_GUESS_HXX #define INCLUDED_SW_SOURCE_CORE_TEXT_GUESS_HXX +#include <memory> #include <com/sun/star/linguistic2/XHyphenatedWord.hpp> #include "swtypes.hxx" diff --git a/sw/source/core/text/inftxt.hxx b/sw/source/core/text/inftxt.hxx index c7572fd01dbf..9950d417c39e 100644 --- a/sw/source/core/text/inftxt.hxx +++ b/sw/source/core/text/inftxt.hxx @@ -18,6 +18,7 @@ */ #ifndef INCLUDED_SW_SOURCE_CORE_TEXT_INFTXT_HXX #define INCLUDED_SW_SOURCE_CORE_TEXT_INFTXT_HXX +#include <memory> #include <com/sun/star/linguistic2/XHyphenatedWord.hpp> #include <com/sun/star/beans/PropertyValues.hpp> diff --git a/sw/source/core/text/pormulti.hxx b/sw/source/core/text/pormulti.hxx index 7af74fcc9764..60d3eddce3a8 100644 --- a/sw/source/core/text/pormulti.hxx +++ b/sw/source/core/text/pormulti.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_CORE_TEXT_PORMULTI_HXX #define INCLUDED_SW_SOURCE_CORE_TEXT_PORMULTI_HXX +#include <memory> #include "porlay.hxx" #include "porexp.hxx" #include <com/sun/star/text/RubyAdjust.hpp> diff --git a/sw/source/core/text/redlnitr.hxx b/sw/source/core/text/redlnitr.hxx index 69cfb437c391..b7665e64427c 100644 --- a/sw/source/core/text/redlnitr.hxx +++ b/sw/source/core/text/redlnitr.hxx @@ -26,6 +26,7 @@ #include "swfont.hxx" #include <cstddef> +#include <memory> #include <vector> class SwTextNode; diff --git a/sw/source/core/tox/ToxLinkProcessor.cxx b/sw/source/core/tox/ToxLinkProcessor.cxx index f24b1a3d8234..674008bb165c 100644 --- a/sw/source/core/tox/ToxLinkProcessor.cxx +++ b/sw/source/core/tox/ToxLinkProcessor.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "ToxLinkProcessor.hxx" #include "SwStyleNameMapper.hxx" diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx index ec43a811c485..62abf09a980b 100644 --- a/sw/source/core/txtnode/fntcache.cxx +++ b/sw/source/core/txtnode/fntcache.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <cstdlib> diff --git a/sw/source/core/undo/unsect.cxx b/sw/source/core/undo/unsect.cxx index dad13d0c6347..e2b3c08fc15c 100644 --- a/sw/source/core/undo/unsect.cxx +++ b/sw/source/core/undo/unsect.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <UndoSection.hxx> #include <sfx2/linkmgr.hxx> diff --git a/sw/source/core/undo/unsort.cxx b/sw/source/core/undo/unsort.cxx index b6892c8faadb..89dc23b8bd46 100644 --- a/sw/source/core/undo/unsort.cxx +++ b/sw/source/core/undo/unsort.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <UndoSort.hxx> #include <doc.hxx> #include <swundo.hxx> diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx index 9479f9be96c1..cb3d5b326445 100644 --- a/sw/source/core/unocore/unodraw.cxx +++ b/sw/source/core/unocore/unodraw.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <cmdid.h> diff --git a/sw/source/core/unocore/unoidx.cxx b/sw/source/core/unocore/unoidx.cxx index ee0a34f6fefa..dbdd6e13d971 100644 --- a/sw/source/core/unocore/unoidx.cxx +++ b/sw/source/core/unocore/unoidx.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <unoidx.hxx> #include <unoidxcoll.hxx> diff --git a/sw/source/core/unocore/unorefmk.cxx b/sw/source/core/unocore/unorefmk.cxx index 0617be992dca..a66d7200b48c 100644 --- a/sw/source/core/unocore/unorefmk.cxx +++ b/sw/source/core/unocore/unorefmk.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <utility> diff --git a/sw/source/core/unocore/unosect.cxx b/sw/source/core/unocore/unosect.cxx index 211f78b987b5..b41221e56eb1 100644 --- a/sw/source/core/unocore/unosect.cxx +++ b/sw/source/core/unocore/unosect.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <unosection.hxx> #include <com/sun/star/beans/PropertyAttribute.hpp> diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index d040c02e7101..4125bc11026b 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -21,6 +21,7 @@ #include <list> #include <array> #include <utility> +#include <memory> #include <vector> #include <algorithm> diff --git a/sw/source/filter/basflt/fltshell.cxx b/sw/source/filter/basflt/fltshell.cxx index 2e9f2121bf0f..039a1c39a0ea 100644 --- a/sw/source/filter/basflt/fltshell.cxx +++ b/sw/source/filter/basflt/fltshell.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <cstddef> diff --git a/sw/source/filter/html/htmlgrin.cxx b/sw/source/filter/html/htmlgrin.cxx index abff69ca2fef..d13e02734563 100644 --- a/sw/source/filter/html/htmlgrin.cxx +++ b/sw/source/filter/html/htmlgrin.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "hintids.hxx" #include <comphelper/string.hxx> #include <vcl/svapp.hxx> diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx index 0254036220b6..90f487888ea7 100644 --- a/sw/source/filter/html/htmltab.cxx +++ b/sw/source/filter/html/htmltab.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "hintids.hxx" #include <vcl/svapp.hxx> #include <vcl/wrkwin.hxx> diff --git a/sw/source/filter/html/svxcss1.cxx b/sw/source/filter/html/svxcss1.cxx index 55b141c06585..c309fc4f0391 100644 --- a/sw/source/filter/html/svxcss1.cxx +++ b/sw/source/filter/html/svxcss1.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <stdlib.h> #include <svx/svxids.hrc> diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx index be451faa479c..9624e4ab9108 100644 --- a/sw/source/filter/html/swhtml.cxx +++ b/sw/source/filter/html/swhtml.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <config_features.h> #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp> @@ -31,6 +32,7 @@ #endif #include <hintids.hxx> +#include <tools/errinf.hxx> #include <svl/stritem.hxx> #include <svtools/imap.hxx> #include <svtools/htmltokn.h> diff --git a/sw/source/filter/writer/writer.cxx b/sw/source/filter/writer/writer.cxx index 6e3ba3d9af85..0872179801cb 100644 --- a/sw/source/filter/writer/writer.cxx +++ b/sw/source/filter/writer/writer.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <sot/storage.hxx> diff --git a/sw/source/filter/writer/wrtswtbl.cxx b/sw/source/filter/writer/wrtswtbl.cxx index 2836639b3ccb..df38952d847f 100644 --- a/sw/source/filter/writer/wrtswtbl.cxx +++ b/sw/source/filter/writer/wrtswtbl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <editeng/boxitem.hxx> #include <editeng/brushitem.hxx> diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 6c0176fd3bba..356f468debab 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "docxattributeoutput.hxx" #include "docxhelper.hxx" #include "docxsdrexport.hxx" diff --git a/sw/source/filter/ww8/docxexportfilter.cxx b/sw/source/filter/ww8/docxexportfilter.cxx index 9cfba638a7f6..31b58968b591 100644 --- a/sw/source/filter/ww8/docxexportfilter.cxx +++ b/sw/source/filter/ww8/docxexportfilter.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "docxexportfilter.hxx" #include "rtfexportfilter.hxx" #include "docxexport.hxx" diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index bb9bc38329d4..4bd9ad0598f0 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "rtfattributeoutput.hxx" #include <cstring> #include "rtfsdrexport.hxx" diff --git a/sw/source/filter/ww8/rtfattributeoutput.hxx b/sw/source/filter/ww8/rtfattributeoutput.hxx index f204fe31a7c8..75560083f33d 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.hxx +++ b/sw/source/filter/ww8/rtfattributeoutput.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_SOURCE_FILTER_WW8_RTFATTRIBUTEOUTPUT_HXX #define INCLUDED_SW_SOURCE_FILTER_WW8_RTFATTRIBUTEOUTPUT_HXX +#include <memory> #include <com/sun/star/drawing/FillStyle.hpp> #include "attributeoutputbase.hxx" diff --git a/sw/source/filter/ww8/rtfsdrexport.cxx b/sw/source/filter/ww8/rtfsdrexport.cxx index edb73a6f9eb6..d94902c275dd 100644 --- a/sw/source/filter/ww8/rtfsdrexport.cxx +++ b/sw/source/filter/ww8/rtfsdrexport.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "rtfsdrexport.hxx" #include "rtfattributeoutput.hxx" #include <svtools/rtfkeywd.hxx> diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx index 8bf4fc9eac0d..8247f958def7 100644 --- a/sw/source/filter/ww8/wrtw8esh.cxx +++ b/sw/source/filter/ww8/wrtw8esh.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/embed/Aspects.hpp> #include <hintids.hxx> diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx index 7aee7de8609b..69716cf5be3c 100644 --- a/sw/source/filter/ww8/wrtww8.cxx +++ b/sw/source/filter/ww8/wrtww8.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <iostream> #include <com/sun/star/embed/ElementModes.hpp> diff --git a/sw/source/filter/ww8/wrtww8gr.cxx b/sw/source/filter/ww8/wrtww8gr.cxx index 7fdb12949f5a..91ddb5d0604f 100644 --- a/sw/source/filter/ww8/wrtww8gr.cxx +++ b/sw/source/filter/ww8/wrtww8gr.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/embed/XEmbedPersist.hpp> #include <com/sun/star/embed/Aspects.hpp> #include <com/sun/star/embed/ElementModes.hpp> diff --git a/sw/source/filter/ww8/ww8glsy.cxx b/sw/source/filter/ww8/ww8glsy.cxx index 5ac6101ff948..f206d1493fd9 100644 --- a/sw/source/filter/ww8/ww8glsy.cxx +++ b/sw/source/filter/ww8/ww8glsy.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <tools/urlobj.hxx> #include <svl/urihelper.hxx> #include <rtl/tencinfo.h> diff --git a/sw/source/filter/ww8/ww8glsy.hxx b/sw/source/filter/ww8/ww8glsy.hxx index 117e66d3cb8a..cfb8b297865e 100644 --- a/sw/source/filter/ww8/ww8glsy.hxx +++ b/sw/source/filter/ww8/ww8glsy.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_SOURCE_FILTER_WW8_WW8GLSY_HXX #define INCLUDED_SW_SOURCE_FILTER_WW8_WW8GLSY_HXX +#include <memory> #include <sot/storage.hxx> #include "ww8scan.hxx" diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx index bb1287fe45d0..401daf475a19 100644 --- a/sw/source/filter/ww8/ww8par3.cxx +++ b/sw/source/filter/ww8/ww8par3.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <svl/itemiter.hxx> #include <vcl/svapp.hxx> #include <vcl/outdev.hxx> diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx index d23385cb7762..8f51cc10d9db 100644 --- a/sw/source/filter/ww8/ww8scan.cxx +++ b/sw/source/filter/ww8/ww8scan.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "ww8scan.hxx" #include "ww8par.hxx" diff --git a/sw/source/filter/xml/XMLRedlineImportHelper.cxx b/sw/source/filter/xml/XMLRedlineImportHelper.cxx index 7157c7e776e7..b7e89103214d 100644 --- a/sw/source/filter/xml/XMLRedlineImportHelper.cxx +++ b/sw/source/filter/xml/XMLRedlineImportHelper.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <cstddef> diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx index cb2bbd433912..d899db80c4e8 100644 --- a/sw/source/filter/xml/swxml.cxx +++ b/sw/source/filter/xml/swxml.cxx @@ -35,6 +35,7 @@ #include <com/sun/star/packages/WrongPasswordException.hpp> #include <com/sun/star/ucb/InteractiveAugmentedIOException.hpp> #include <o3tl/any.hxx> +#include <tools/errinf.hxx> #include <sfx2/docfile.hxx> #include <svtools/sfxecode.hxx> #include <svl/stritem.hxx> diff --git a/sw/source/filter/xml/wrtxml.cxx b/sw/source/filter/xml/wrtxml.cxx index 9f0b42984bf7..3086a86b05f2 100644 --- a/sw/source/filter/xml/wrtxml.cxx +++ b/sw/source/filter/xml/wrtxml.cxx @@ -27,6 +27,7 @@ #include <com/sun/star/frame/XModule.hpp> #include <comphelper/processfactory.hxx> #include <comphelper/genericpropertyset.hxx> +#include <tools/errinf.hxx> #include <o3tl/any.hxx> #include <unotools/streamwrap.hxx> #include <svx/xmlgrhlp.hxx> diff --git a/sw/source/filter/xml/xmlbrshi.hxx b/sw/source/filter/xml/xmlbrshi.hxx index dc6076499773..a73fbe0ba3df 100644 --- a/sw/source/filter/xml/xmlbrshi.hxx +++ b/sw/source/filter/xml/xmlbrshi.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_SW_SOURCE_FILTER_XML_XMLBRSHI_HXX #define INCLUDED_SW_SOURCE_FILTER_XML_XMLBRSHI_HXX +#include <memory> #include <com/sun/star/io/XOutputStream.hpp> #include <xmloff/xmlictxt.hxx> diff --git a/sw/source/ui/chrdlg/chardlg.cxx b/sw/source/ui/chrdlg/chardlg.cxx index e357175c216a..4973803d2149 100644 --- a/sw/source/ui/chrdlg/chardlg.cxx +++ b/sw/source/ui/chrdlg/chardlg.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <comphelper/fileurl.hxx> diff --git a/sw/source/ui/chrdlg/swuiccoll.cxx b/sw/source/ui/chrdlg/swuiccoll.cxx index 286f0d4f83cf..b76eb30dbf8c 100644 --- a/sw/source/ui/chrdlg/swuiccoll.cxx +++ b/sw/source/ui/chrdlg/swuiccoll.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "cmdid.h" #include "swmodule.hxx" #include "view.hxx" diff --git a/sw/source/ui/envelp/label1.cxx b/sw/source/ui/envelp/label1.cxx index e2d3fc066889..34b00493b67f 100644 --- a/sw/source/ui/envelp/label1.cxx +++ b/sw/source/ui/envelp/label1.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <vcl/waitobj.hxx> #include <rtl/ustring.hxx> #include <svtools/treelistentry.hxx> diff --git a/sw/source/ui/table/tautofmt.cxx b/sw/source/ui/table/tautofmt.cxx index 0cbfba9f4e72..1295b902935c 100644 --- a/sw/source/ui/table/tautofmt.cxx +++ b/sw/source/ui/table/tautofmt.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <vcl/edit.hxx> #include <vcl/layout.hxx> #include <vcl/msgbox.hxx> diff --git a/sw/source/uibase/app/appopt.cxx b/sw/source/uibase/app/appopt.cxx index e30b2a4fb243..732b413e0334 100644 --- a/sw/source/uibase/app/appopt.cxx +++ b/sw/source/uibase/app/appopt.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <cmdid.h> #include <com/sun/star/i18n/ScriptType.hpp> diff --git a/sw/source/uibase/app/docstyle.cxx b/sw/source/uibase/app/docstyle.cxx index d8cbf183d675..79a10a7b9ff0 100644 --- a/sw/source/uibase/app/docstyle.cxx +++ b/sw/source/uibase/app/docstyle.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <cstdlib> diff --git a/sw/source/uibase/app/swdll.cxx b/sw/source/uibase/app/swdll.cxx index 549df9b99a4e..0b226ec4dadd 100644 --- a/sw/source/uibase/app/swdll.cxx +++ b/sw/source/uibase/app/swdll.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <config_features.h> #include <svx/svdobj.hxx> diff --git a/sw/source/uibase/config/modcfg.cxx b/sw/source/uibase/config/modcfg.cxx index 5c96d41c2b9d..bb0083ea5d38 100644 --- a/sw/source/uibase/config/modcfg.cxx +++ b/sw/source/uibase/config/modcfg.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <comphelper/classids.hxx> #include <o3tl/any.hxx> diff --git a/sw/source/uibase/config/uinums.cxx b/sw/source/uibase/config/uinums.cxx index f6eb039df8fd..5b126a19e692 100644 --- a/sw/source/uibase/config/uinums.cxx +++ b/sw/source/uibase/config/uinums.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <uinums.hxx> #include <hintids.hxx> diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx index a0ee6b5e14eb..52f9e023c440 100644 --- a/sw/source/uibase/dbui/dbmgr.cxx +++ b/sw/source/uibase/dbui/dbmgr.cxx @@ -39,6 +39,7 @@ #include <com/sun/star/ui/dialogs/XFilePicker2.hpp> #include <com/sun/star/ui/dialogs/XFilterManager.hpp> #include <com/sun/star/beans/XPropertySet.hpp> +#include <tools/errinf.hxx> #include <sfx2/fcontnr.hxx> #include <sfx2/filedlghelper.hxx> #include <sfx2/viewfrm.hxx> diff --git a/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx b/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx index 117fe87afdc3..aa44cf093099 100644 --- a/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx +++ b/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <SwSpellDialogChildWindow.hxx> #include <vcl/layout.hxx> #include <editeng/svxacorr.hxx> diff --git a/sw/source/uibase/docvw/romenu.cxx b/sw/source/uibase/docvw/romenu.cxx index 44d26b6441bc..18f0e5e37d10 100644 --- a/sw/source/uibase/docvw/romenu.cxx +++ b/sw/source/uibase/docvw/romenu.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <hintids.hxx> #include <svl/eitem.hxx> diff --git a/sw/source/uibase/envelp/labelcfg.cxx b/sw/source/uibase/envelp/labelcfg.cxx index 70716ae02489..aceedc727db8 100644 --- a/sw/source/uibase/envelp/labelcfg.cxx +++ b/sw/source/uibase/envelp/labelcfg.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <config_folders.h> #include <swtypes.hxx> diff --git a/sw/source/uibase/inc/content.hxx b/sw/source/uibase/inc/content.hxx index 690b99ab2d82..d579346fecca 100644 --- a/sw/source/uibase/inc/content.hxx +++ b/sw/source/uibase/inc/content.hxx @@ -18,6 +18,7 @@ */ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_CONTENT_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_CONTENT_HXX +#include <memory> #include <limits.h> #include "swcont.hxx" diff --git a/sw/source/uibase/inc/dbtree.hxx b/sw/source/uibase/inc/dbtree.hxx index 47d179d524ce..1d55c686e3e2 100644 --- a/sw/source/uibase/inc/dbtree.hxx +++ b/sw/source/uibase/inc/dbtree.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_DBTREE_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_DBTREE_HXX +#include <memory> #include <svtools/treelistbox.hxx> #include "swdllapi.h" diff --git a/sw/source/uibase/inc/gloshdl.hxx b/sw/source/uibase/inc/gloshdl.hxx index 8b43af0b126e..92398bc60536 100644 --- a/sw/source/uibase/inc/gloshdl.hxx +++ b/sw/source/uibase/inc/gloshdl.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_GLOSHDL_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_GLOSHDL_HXX +#include <memory> #include <rtl/ustring.hxx> #include "swdllapi.h" diff --git a/sw/source/uibase/inc/grfsh.hxx b/sw/source/uibase/inc/grfsh.hxx index c54047ea52b1..b58be7a763ff 100644 --- a/sw/source/uibase/inc/grfsh.hxx +++ b/sw/source/uibase/inc/grfsh.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_GRFSH_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_GRFSH_HXX +#include <memory> #include "frmsh.hxx" class SwGrfShell: public SwBaseShell diff --git a/sw/source/uibase/inc/mailmrge.hxx b/sw/source/uibase/inc/mailmrge.hxx index 349fba6c2697..a37e3b728101 100644 --- a/sw/source/uibase/inc/mailmrge.hxx +++ b/sw/source/uibase/inc/mailmrge.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_MAILMRGE_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_MAILMRGE_HXX +#include <memory> #include <svx/stddlg.hxx> #include <vcl/button.hxx> diff --git a/sw/source/uibase/inc/numberingtypelistbox.hxx b/sw/source/uibase/inc/numberingtypelistbox.hxx index 741447cbc994..784817410e86 100644 --- a/sw/source/uibase/inc/numberingtypelistbox.hxx +++ b/sw/source/uibase/inc/numberingtypelistbox.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_NUMBERINGTYPELISTBOX_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_NUMBERINGTYPELISTBOX_HXX +#include <memory> #include <vcl/lstbox.hxx> #include "swdllapi.h" #include <o3tl/typed_flags_set.hxx> diff --git a/sw/source/uibase/inc/optcomp.hxx b/sw/source/uibase/inc/optcomp.hxx index 83d74baa436c..85c8b15dfa2b 100644 --- a/sw/source/uibase/inc/optcomp.hxx +++ b/sw/source/uibase/inc/optcomp.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_OPTCOMP_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_OPTCOMP_HXX +#include <memory> #include <sfx2/tabdlg.hxx> #include <vcl/fixed.hxx> #include <vcl/layout.hxx> diff --git a/sw/source/uibase/inc/outline.hxx b/sw/source/uibase/inc/outline.hxx index b97af7a30853..b45ca7f26a90 100644 --- a/sw/source/uibase/inc/outline.hxx +++ b/sw/source/uibase/inc/outline.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_OUTLINE_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_OUTLINE_HXX +#include <memory> #include <sfx2/tabdlg.hxx> #include <vcl/menu.hxx> diff --git a/sw/source/uibase/inc/swtablerep.hxx b/sw/source/uibase/inc/swtablerep.hxx index 2bf8c1d1a019..32c584286567 100644 --- a/sw/source/uibase/inc/swtablerep.hxx +++ b/sw/source/uibase/inc/swtablerep.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_SWTABLEREP_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_SWTABLEREP_HXX +#include <memory> #include <sfx2/tabdlg.hxx> #include "swdllapi.h" #include "swtypes.hxx" diff --git a/sw/source/uibase/inc/uiitems.hxx b/sw/source/uibase/inc/uiitems.hxx index 124bf7e33a08..6cb33a60a9a0 100644 --- a/sw/source/uibase/inc/uiitems.hxx +++ b/sw/source/uibase/inc/uiitems.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_UIITEMS_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_UIITEMS_HXX +#include <memory> #include <svl/intitem.hxx> #include "swdllapi.h" #include "cmdid.h" diff --git a/sw/source/uibase/inc/uiobject.hxx b/sw/source/uibase/inc/uiobject.hxx index 568aa6c487d0..08310ba17473 100644 --- a/sw/source/uibase/inc/uiobject.hxx +++ b/sw/source/uibase/inc/uiobject.hxx @@ -10,6 +10,7 @@ #ifndef SW_SOURCE_UIBASE_INC_UIOBJECT_HXX #define SW_SOURCE_UIBASE_INC_UIOBJECT_HXX +#include <memory> #include <vcl/uitest/uiobject.hxx> class SwEditWin; diff --git a/sw/source/uibase/inc/usrpref.hxx b/sw/source/uibase/inc/usrpref.hxx index 3a8e3a1a7a46..af2b97852f21 100644 --- a/sw/source/uibase/inc/usrpref.hxx +++ b/sw/source/uibase/inc/usrpref.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_USRPREF_HXX #define INCLUDED_SW_SOURCE_UIBASE_INC_USRPREF_HXX +#include <memory> #include <unotools/configitem.hxx> #include <fldupde.hxx> #include "viewopt.hxx" diff --git a/sw/source/uibase/sidebar/PageColumnControl.cxx b/sw/source/uibase/sidebar/PageColumnControl.cxx index 3d6a384b7508..c039dd8624e5 100644 --- a/sw/source/uibase/sidebar/PageColumnControl.cxx +++ b/sw/source/uibase/sidebar/PageColumnControl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "PageColumnControl.hxx" #include <cmdid.h> diff --git a/sw/source/uibase/sidebar/PageFooterPanel.hxx b/sw/source/uibase/sidebar/PageFooterPanel.hxx index 70d718fb6546..bf96a0f7568c 100644 --- a/sw/source/uibase/sidebar/PageFooterPanel.hxx +++ b/sw/source/uibase/sidebar/PageFooterPanel.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_PAGEFOOTERPANEL_HXX #define INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_PAGEFOOTERPANEL_HXX +#include <memory> #include <com/sun/star/frame/XFrame.hpp> #include <svx/sidebar/PanelLayout.hxx> diff --git a/sw/source/uibase/sidebar/PageFormatPanel.hxx b/sw/source/uibase/sidebar/PageFormatPanel.hxx index 5c5c174b848a..94b611d4278a 100644 --- a/sw/source/uibase/sidebar/PageFormatPanel.hxx +++ b/sw/source/uibase/sidebar/PageFormatPanel.hxx @@ -43,6 +43,7 @@ #include <svl/poolitem.hxx> #include <svx/relfld.hxx> +#include <memory> #include <vector> namespace sw { namespace sidebar { diff --git a/sw/source/uibase/sidebar/PageHeaderPanel.hxx b/sw/source/uibase/sidebar/PageHeaderPanel.hxx index e92a2fa06e5a..de2ceb958ed1 100644 --- a/sw/source/uibase/sidebar/PageHeaderPanel.hxx +++ b/sw/source/uibase/sidebar/PageHeaderPanel.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_PAGEHEADERPANEL_HXX #define INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_PAGEHEADERPANEL_HXX +#include <memory> #include <com/sun/star/frame/XFrame.hpp> #include <svx/sidebar/PanelLayout.hxx> diff --git a/sw/source/uibase/sidebar/PageMarginControl.cxx b/sw/source/uibase/sidebar/PageMarginControl.cxx index bb9de2bd8f2b..080ebcfba28f 100644 --- a/sw/source/uibase/sidebar/PageMarginControl.cxx +++ b/sw/source/uibase/sidebar/PageMarginControl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <cstdlib> diff --git a/sw/source/uibase/sidebar/PageOrientationControl.hxx b/sw/source/uibase/sidebar/PageOrientationControl.hxx index 704e214787f8..ea29ec7370d8 100644 --- a/sw/source/uibase/sidebar/PageOrientationControl.hxx +++ b/sw/source/uibase/sidebar/PageOrientationControl.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_PAGEORIENTATIONCONTROL_HXX #define INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_PAGEORIENTATIONCONTROL_HXX +#include <memory> #include <svx/tbxctl.hxx> #include <svx/pageitem.hxx> #include <svx/rulritem.hxx> diff --git a/sw/source/uibase/sidebar/PageSizeControl.cxx b/sw/source/uibase/sidebar/PageSizeControl.cxx index ae6916488950..6dfb0867a9f1 100644 --- a/sw/source/uibase/sidebar/PageSizeControl.cxx +++ b/sw/source/uibase/sidebar/PageSizeControl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "PageSizeControl.hxx" #include <cmdid.h> diff --git a/sw/source/uibase/sidebar/PageStylesPanel.hxx b/sw/source/uibase/sidebar/PageStylesPanel.hxx index 9429c6148a56..13ccd95efa0b 100644 --- a/sw/source/uibase/sidebar/PageStylesPanel.hxx +++ b/sw/source/uibase/sidebar/PageStylesPanel.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_PAGESTYLESPANEL_HXX #define INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_PAGESTYLESPANEL_HXX +#include <memory> #include <com/sun/star/frame/XFrame.hpp> #include <svx/sidebar/PanelLayout.hxx> diff --git a/sw/source/uibase/sidebar/StylePresetsPanel.hxx b/sw/source/uibase/sidebar/StylePresetsPanel.hxx index 19f1d624a5da..5a56a6ef6bfc 100644 --- a/sw/source/uibase/sidebar/StylePresetsPanel.hxx +++ b/sw/source/uibase/sidebar/StylePresetsPanel.hxx @@ -11,6 +11,7 @@ #ifndef INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_STYLEPRESETSPANEL_HXX #define INCLUDED_SW_SOURCE_UIBASE_SIDEBAR_STYLEPRESETSPANEL_HXX +#include <memory> #include <com/sun/star/frame/XFrame.hpp> #include <svx/sidebar/PanelLayout.hxx> diff --git a/sw/source/uibase/uitest/uiobject.cxx b/sw/source/uibase/uitest/uiobject.cxx index bf630740654b..eb1f23677fd9 100644 --- a/sw/source/uibase/uitest/uiobject.cxx +++ b/sw/source/uibase/uitest/uiobject.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "uiobject.hxx" #include "edtwin.hxx" #include "view.hxx" diff --git a/sw/source/uibase/uiview/formatclipboard.cxx b/sw/source/uibase/uiview/formatclipboard.cxx index f1d9e1a02112..0d41ba96e037 100644 --- a/sw/source/uibase/uiview/formatclipboard.cxx +++ b/sw/source/uibase/uiview/formatclipboard.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "formatclipboard.hxx" #include <svx/svxids.hrc> diff --git a/sw/source/uibase/uiview/srcview.cxx b/sw/source/uibase/uiview/srcview.cxx index 30f19297d1d1..550ae169e88a 100644 --- a/sw/source/uibase/uiview/srcview.cxx +++ b/sw/source/uibase/uiview/srcview.cxx @@ -22,6 +22,7 @@ #include <comphelper/string.hxx> #include <unotools/tempfile.hxx> #include <tools/urlobj.hxx> +#include <tools/errinf.hxx> #include <vcl/layout.hxx> #include <vcl/print.hxx> #include <vcl/msgbox.hxx> diff --git a/sw/source/uibase/uiview/viewstat.cxx b/sw/source/uibase/uiview/viewstat.cxx index f670bf866395..522503c58b56 100644 --- a/sw/source/uibase/uiview/viewstat.cxx +++ b/sw/source/uibase/uiview/viewstat.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <config_features.h> #include <hintids.hxx> diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx index 040e883ad877..e2d23c2483af 100644 --- a/sw/source/uibase/uno/unotxvw.cxx +++ b/sw/source/uibase/uno/unotxvw.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "viscrs.hxx" #include <o3tl/any.hxx> #include <sfx2/frame.hxx> diff --git a/toolkit/source/awt/vclxfont.cxx b/toolkit/source/awt/vclxfont.cxx index a26739c1bb49..8bd86eb79905 100644 --- a/toolkit/source/awt/vclxfont.cxx +++ b/toolkit/source/awt/vclxfont.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <string.h> #include <toolkit/awt/vclxfont.hxx> diff --git a/toolkit/source/awt/vclxgraphics.cxx b/toolkit/source/awt/vclxgraphics.cxx index b4cb91244a69..5bb70dbbb7a7 100644 --- a/toolkit/source/awt/vclxgraphics.cxx +++ b/toolkit/source/awt/vclxgraphics.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include <toolkit/awt/vclxgraphics.hxx> #include <toolkit/awt/vclxdevice.hxx> #include <toolkit/awt/vclxfont.hxx> diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index 48a1ed1a7f93..b4d2ba3c8c7f 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include <com/sun/star/awt/WindowEvent.hpp> #include <com/sun/star/awt/KeyEvent.hpp> #include <com/sun/star/awt/KeyModifier.hpp> diff --git a/toolkit/source/controls/grid/sortablegriddatamodel.cxx b/toolkit/source/controls/grid/sortablegriddatamodel.cxx index 84e450e15f7c..91fc53f1ef95 100644 --- a/toolkit/source/controls/grid/sortablegriddatamodel.cxx +++ b/toolkit/source/controls/grid/sortablegriddatamodel.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/i18n/Collator.hpp> #include <com/sun/star/i18n/XCollator.hpp> #include <com/sun/star/lang/IllegalArgumentException.hpp> diff --git a/toolkit/source/helper/formpdfexport.cxx b/toolkit/source/helper/formpdfexport.cxx index e1cf60ff6e07..0b5801396288 100644 --- a/toolkit/source/helper/formpdfexport.cxx +++ b/toolkit/source/helper/formpdfexport.cxx @@ -18,6 +18,7 @@ */ +#include <memory> #include <toolkit/helper/formpdfexport.hxx> #include <com/sun/star/container/XIndexAccess.hpp> diff --git a/tools/qa/cppunit/test_urlobj.cxx b/tools/qa/cppunit/test_urlobj.cxx index 2dfc092d5adb..2c14f2210dab 100644 --- a/tools/qa/cppunit/test_urlobj.cxx +++ b/tools/qa/cppunit/test_urlobj.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <string> #include <sal/types.h> diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx index 87716e28096c..488348719892 100644 --- a/tools/source/stream/stream.cxx +++ b/tools/source/stream/stream.cxx @@ -20,6 +20,7 @@ // TODO: Read->RefreshBuffer-> React to changes from m_nBufActualLen #include <cstddef> +#include <memory> #include <string.h> #include <stdio.h> diff --git a/ucb/source/core/ucbcmds.cxx b/ucb/source/core/ucbcmds.cxx index 4f829ddf860f..7ca7f3323eb5 100644 --- a/ucb/source/core/ucbcmds.cxx +++ b/ucb/source/core/ucbcmds.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <osl/diagnose.h> #include <comphelper/processfactory.hxx> #include <cppuhelper/implbase.hxx> diff --git a/ucb/source/core/ucbstore.cxx b/ucb/source/core/ucbstore.cxx index 4b057398f78d..bbd120d9819d 100644 --- a/ucb/source/core/ucbstore.cxx +++ b/ucb/source/core/ucbstore.cxx @@ -24,6 +24,7 @@ *************************************************************************/ +#include <memory> #include <list> #include <unordered_map> #include <osl/diagnose.h> diff --git a/ucb/source/ucp/ftp/ftpdynresultset.hxx b/ucb/source/ucp/ftp/ftpdynresultset.hxx index 928f29a2671a..3994df20dcf6 100644 --- a/ucb/source/ucp/ftp/ftpdynresultset.hxx +++ b/ucb/source/ucp/ftp/ftpdynresultset.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_UCB_SOURCE_UCP_FTP_FTPDYNRESULTSET_HXX #define INCLUDED_UCB_SOURCE_UCP_FTP_FTPDYNRESULTSET_HXX +#include <memory> #include "rtl/ref.hxx" #include "ucbhelper/resultsethelper.hxx" diff --git a/ucb/source/ucp/package/pkgprovider.hxx b/ucb/source/ucp/package/pkgprovider.hxx index c0c1b5b75fd6..92bb3ba36967 100644 --- a/ucb/source/ucp/package/pkgprovider.hxx +++ b/ucb/source/ucp/package/pkgprovider.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_UCB_SOURCE_UCP_PACKAGE_PKGPROVIDER_HXX #define INCLUDED_UCB_SOURCE_UCP_PACKAGE_PKGPROVIDER_HXX +#include <memory> #include <ucbhelper/providerhelper.hxx> #include "pkguri.hxx" diff --git a/ucb/source/ucp/webdav-neon/ContentProperties.cxx b/ucb/source/ucp/webdav-neon/ContentProperties.cxx index f9cd24fd0e50..e90021b0ee8e 100644 --- a/ucb/source/ucp/webdav-neon/ContentProperties.cxx +++ b/ucb/source/ucp/webdav-neon/ContentProperties.cxx @@ -32,6 +32,7 @@ ************************************************************************** *************************************************************************/ +#include <memory> #include <osl/diagnose.h> #include <com/sun/star/util/DateTime.hpp> #include "NeonUri.hxx" diff --git a/ucb/source/ucp/webdav-neon/DAVSessionFactory.cxx b/ucb/source/ucp/webdav-neon/DAVSessionFactory.cxx index d189a66cba7e..eb001870c1f7 100644 --- a/ucb/source/ucp/webdav-neon/DAVSessionFactory.cxx +++ b/ucb/source/ucp/webdav-neon/DAVSessionFactory.cxx @@ -26,6 +26,7 @@ * ************************************************************************/ +#include <memory> #include "DAVSessionFactory.hxx" #include "NeonSession.hxx" #include "NeonUri.hxx" diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx index 606c61adcb22..1f4845d543d2 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -33,6 +33,7 @@ *************************************************************************/ +#include <memory> #include <comphelper/processfactory.hxx> #include <osl/diagnose.h> #include <osl/doublecheckedlocking.h> diff --git a/ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx b/ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx index e79d991d8620..5599b04ff65f 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontentcaps.cxx @@ -32,6 +32,7 @@ *************************************************************************/ +#include <memory> #include <set> #include <com/sun/star/beans/Property.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> diff --git a/ucb/source/ucp/webdav-neon/webdavprovider.hxx b/ucb/source/ucp/webdav-neon/webdavprovider.hxx index 071260c6e4c5..10e56674c894 100644 --- a/ucb/source/ucp/webdav-neon/webdavprovider.hxx +++ b/ucb/source/ucp/webdav-neon/webdavprovider.hxx @@ -29,6 +29,7 @@ #ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_WEBDAVPROVIDER_HXX #define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_WEBDAVPROVIDER_HXX +#include <memory> #include <config_lgpl.h> #include <rtl/ref.hxx> #include <com/sun/star/beans/Property.hpp> diff --git a/ucb/source/ucp/webdav/ContentProperties.cxx b/ucb/source/ucp/webdav/ContentProperties.cxx index b43f58543782..ddeefbdd41aa 100644 --- a/ucb/source/ucp/webdav/ContentProperties.cxx +++ b/ucb/source/ucp/webdav/ContentProperties.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <osl/diagnose.h> #include <com/sun/star/util/DateTime.hpp> #include "SerfUri.hxx" diff --git a/ucb/source/ucp/webdav/DAVSessionFactory.cxx b/ucb/source/ucp/webdav/DAVSessionFactory.cxx index c31d3cc0a9a7..dcf293541acd 100644 --- a/ucb/source/ucp/webdav/DAVSessionFactory.cxx +++ b/ucb/source/ucp/webdav/DAVSessionFactory.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "DAVSessionFactory.hxx" #include "SerfSession.hxx" #include "SerfUri.hxx" diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx index 125a099496ec..2fcbb2b200fb 100644 --- a/ucb/source/ucp/webdav/webdavcontent.cxx +++ b/ucb/source/ucp/webdav/webdavcontent.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <osl/diagnose.h> #include <osl/doublecheckedlocking.h> #include <rtl/uri.hxx> diff --git a/ucb/source/ucp/webdav/webdavcontentcaps.cxx b/ucb/source/ucp/webdav/webdavcontentcaps.cxx index d8e19447a31b..6f9d2feab38f 100644 --- a/ucb/source/ucp/webdav/webdavcontentcaps.cxx +++ b/ucb/source/ucp/webdav/webdavcontentcaps.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <set> #include <com/sun/star/beans/Property.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> diff --git a/ucbhelper/source/provider/resultset.cxx b/ucbhelper/source/provider/resultset.cxx index 291fbff5a029..3264e9049234 100644 --- a/ucbhelper/source/provider/resultset.cxx +++ b/ucbhelper/source/provider/resultset.cxx @@ -23,6 +23,7 @@ ************************************************************************** *************************************************************************/ +#include <memory> #include <cppuhelper/interfacecontainer.hxx> #include <com/sun/star/beans/PropertyAttribute.hpp> #include <ucbhelper/getcomponentcontext.hxx> diff --git a/uui/source/iahndl-authentication.cxx b/uui/source/iahndl-authentication.cxx index 21506c18134e..3370030d81c5 100644 --- a/uui/source/iahndl-authentication.cxx +++ b/uui/source/iahndl-authentication.cxx @@ -36,6 +36,7 @@ #include <rtl/digest.h> #include <osl/mutex.hxx> #include <tools/errcode.hxx> +#include <tools/errinf.hxx> #include <vcl/msgbox.hxx> #include <vcl/abstdlg.hxx> #include <vcl/svapp.hxx> diff --git a/uui/source/interactionhandler.cxx b/uui/source/interactionhandler.cxx index f2c461370595..c399c8c14482 100644 --- a/uui/source/interactionhandler.cxx +++ b/uui/source/interactionhandler.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <osl/diagnose.h> diff --git a/vbahelper/source/msforms/vbacombobox.hxx b/vbahelper/source/msforms/vbacombobox.hxx index 1fbd26ba5ec9..0ae4d98e40bc 100644 --- a/vbahelper/source/msforms/vbacombobox.hxx +++ b/vbahelper/source/msforms/vbacombobox.hxx @@ -18,6 +18,7 @@ */ #ifndef INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBACOMBOBOX_HXX #define INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBACOMBOBOX_HXX +#include <memory> #include <cppuhelper/implbase.hxx> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/beans/XPropertySet.hpp> diff --git a/vbahelper/source/msforms/vbacontrol.cxx b/vbahelper/source/msforms/vbacontrol.cxx index d0b6e6020a2f..0906439c1e04 100644 --- a/vbahelper/source/msforms/vbacontrol.cxx +++ b/vbahelper/source/msforms/vbacontrol.cxx @@ -16,6 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/form/FormComponentType.hpp> #include <com/sun/star/awt/XControlModel.hpp> #include <com/sun/star/awt/XControl.hpp> diff --git a/vbahelper/source/msforms/vbalistbox.hxx b/vbahelper/source/msforms/vbalistbox.hxx index d51410d31e9c..19c60d8bb6cd 100644 --- a/vbahelper/source/msforms/vbalistbox.hxx +++ b/vbahelper/source/msforms/vbalistbox.hxx @@ -18,6 +18,7 @@ */ #ifndef INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBALISTBOX_HXX #define INCLUDED_VBAHELPER_SOURCE_MSFORMS_VBALISTBOX_HXX +#include <memory> #include <cppuhelper/implbase.hxx> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/script/XDefaultProperty.hpp> diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index 8449c9988da0..033389e53aeb 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "headless/svpgdi.hxx" #include "headless/svpbmp.hxx" #include "headless/svpframe.hxx" diff --git a/vcl/headless/svpglyphcache.cxx b/vcl/headless/svpglyphcache.cxx index aac6160e9748..d375ff32a68d 100644 --- a/vcl/headless/svpglyphcache.cxx +++ b/vcl/headless/svpglyphcache.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/types.h> #include <cassert> diff --git a/vcl/inc/controldata.hxx b/vcl/inc/controldata.hxx index 1ba107938858..37bb2fafabba 100644 --- a/vcl/inc/controldata.hxx +++ b/vcl/inc/controldata.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_VCL_INC_CONTROLDATA_HXX #define INCLUDED_VCL_INC_CONTROLDATA_HXX +#include <memory> #include <vcl/controllayout.hxx> namespace vcl diff --git a/vcl/inc/impbmp.hxx b/vcl/inc/impbmp.hxx index 5824068c6c8a..a6212693498e 100644 --- a/vcl/inc/impbmp.hxx +++ b/vcl/inc/impbmp.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_VCL_INC_IMPBMP_HXX #define INCLUDED_VCL_INC_IMPBMP_HXX +#include <memory> #include <vcl/salbtype.hxx> extern const sal_uLong nVCLRLut[ 6 ]; diff --git a/vcl/inc/opengl/FixedTextureAtlas.hxx b/vcl/inc/opengl/FixedTextureAtlas.hxx index bf9ee043fed0..203550acf00d 100644 --- a/vcl/inc/opengl/FixedTextureAtlas.hxx +++ b/vcl/inc/opengl/FixedTextureAtlas.hxx @@ -11,6 +11,7 @@ #ifndef INCLUDED_VCL_INC_OPENGL_FIXEDTEXTUREATLAS_HXX #define INCLUDED_VCL_INC_OPENGL_FIXEDTEXTUREATLAS_HXX +#include <memory> #include "opengl/texture.hxx" struct FixedTexture; diff --git a/vcl/inc/opengl/PackedTextureAtlas.hxx b/vcl/inc/opengl/PackedTextureAtlas.hxx index a7417fca8b8b..9640c8ff8243 100644 --- a/vcl/inc/opengl/PackedTextureAtlas.hxx +++ b/vcl/inc/opengl/PackedTextureAtlas.hxx @@ -11,6 +11,7 @@ #ifndef INCLUDED_VCL_INC_OPENGL_PACKEDTEXTUREATLAS_HXX #define INCLUDED_VCL_INC_OPENGL_PACKEDTEXTUREATLAS_HXX +#include <memory> #include "opengl/texture.hxx" struct PackedTexture; diff --git a/vcl/inc/opengl/win/gdiimpl.hxx b/vcl/inc/opengl/win/gdiimpl.hxx index d3435e2550de..82a6e8c5b70e 100644 --- a/vcl/inc/opengl/win/gdiimpl.hxx +++ b/vcl/inc/opengl/win/gdiimpl.hxx @@ -10,6 +10,7 @@ #ifndef INCLUDED_VCL_INC_OPENGL_WIN_GDIIMPL_HXX #define INCLUDED_VCL_INC_OPENGL_WIN_GDIIMPL_HXX +#include <memory> #include <vcl/dllapi.h> #include "openglgdiimpl.hxx" diff --git a/vcl/inc/opengl/x11/salvd.hxx b/vcl/inc/opengl/x11/salvd.hxx index ea4f5c8f5d1b..8828db95b5ce 100644 --- a/vcl/inc/opengl/x11/salvd.hxx +++ b/vcl/inc/opengl/x11/salvd.hxx @@ -10,6 +10,7 @@ #ifndef INCLUDED_VCL_INC_OPENGL_X11_SALVD_H #define INCLUDED_VCL_INC_OPENGL_X11_SALVD_H +#include <memory> #include <X11/Xlib.h> #include <X11/Xutil.h> diff --git a/vcl/inc/unx/fontmanager.hxx b/vcl/inc/unx/fontmanager.hxx index 4160f8520578..521ac458d5a7 100644 --- a/vcl/inc/unx/fontmanager.hxx +++ b/vcl/inc/unx/fontmanager.hxx @@ -31,6 +31,7 @@ #include <list> #include <map> #include <set> +#include <memory> #include <vector> #include <unordered_map> diff --git a/vcl/inc/unx/glyphcache.hxx b/vcl/inc/unx/glyphcache.hxx index ba889d7d876a..d244daf67c59 100644 --- a/vcl/inc/unx/glyphcache.hxx +++ b/vcl/inc/unx/glyphcache.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_VCL_INC_GENERIC_GLYPHCACHE_HXX #define INCLUDED_VCL_INC_GENERIC_GLYPHCACHE_HXX +#include <memory> #include <ft2build.h> #include FT_FREETYPE_H #include FT_GLYPH_H diff --git a/vcl/inc/win/saldata.hxx b/vcl/inc/win/saldata.hxx index 698e923f7b03..100681050e51 100644 --- a/vcl/inc/win/saldata.hxx +++ b/vcl/inc/win/saldata.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_VCL_INC_WIN_SALDATA_HXX #define INCLUDED_VCL_INC_WIN_SALDATA_HXX +#include <memory> #include "osl/module.h" #include <svdata.hxx> diff --git a/vcl/null/printerinfomanager.cxx b/vcl/null/printerinfomanager.cxx index a5cd3b438cf2..4cc7e78f3bb1 100644 --- a/vcl/null/printerinfomanager.cxx +++ b/vcl/null/printerinfomanager.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <vcl/printerinfomanager.hxx> #include "unx/gendata.hxx" diff --git a/vcl/opengl/FixedTextureAtlas.cxx b/vcl/opengl/FixedTextureAtlas.cxx index aeece80a7760..7a321d8cccfb 100644 --- a/vcl/opengl/FixedTextureAtlas.cxx +++ b/vcl/opengl/FixedTextureAtlas.cxx @@ -8,6 +8,7 @@ * */ +#include <memory> #include <sal/config.h> #include <vcl/opengl/OpenGLContext.hxx> #include <vcl/opengl/OpenGLHelper.hxx> diff --git a/vcl/opengl/PackedTextureAtlas.cxx b/vcl/opengl/PackedTextureAtlas.cxx index dc6d0db4c76f..8b20bf275cf1 100644 --- a/vcl/opengl/PackedTextureAtlas.cxx +++ b/vcl/opengl/PackedTextureAtlas.cxx @@ -8,6 +8,7 @@ * */ +#include <memory> #include <sal/config.h> #include <vcl/opengl/OpenGLContext.hxx> #include <vcl/opengl/OpenGLHelper.hxx> diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx index b752f28e5617..5c94dfdaa2a9 100644 --- a/vcl/opengl/salbmp.cxx +++ b/vcl/opengl/salbmp.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <vcl/opengl/OpenGLHelper.hxx> diff --git a/vcl/opengl/win/gdiimpl.cxx b/vcl/opengl/win/gdiimpl.cxx index ec2ca14ed816..41cbda7e7165 100644 --- a/vcl/opengl/win/gdiimpl.cxx +++ b/vcl/opengl/win/gdiimpl.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "opengl/win/gdiimpl.hxx" #include <comphelper/windowserrorstring.hxx> diff --git a/vcl/opengl/x11/gdiimpl.cxx b/vcl/opengl/x11/gdiimpl.cxx index 3fe62601e200..bbf7b811d8c7 100644 --- a/vcl/opengl/x11/gdiimpl.cxx +++ b/vcl/opengl/x11/gdiimpl.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <vcl/salbtype.hxx> #include <vcl/lazydelete.hxx> diff --git a/vcl/source/app/session.cxx b/vcl/source/app/session.cxx index 3f3f20b7242b..a991ecc9ecaf 100644 --- a/vcl/source/app/session.cxx +++ b/vcl/source/app/session.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "sal/config.h" #include <cppuhelper/basemutex.hxx> diff --git a/vcl/source/control/imp_listbox.cxx b/vcl/source/control/imp_listbox.cxx index e7aeca467362..6a4e02eaae04 100644 --- a/vcl/source/control/imp_listbox.cxx +++ b/vcl/source/control/imp_listbox.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <tools/debug.hxx> #include <vcl/svapp.hxx> diff --git a/vcl/source/edit/textdoc.cxx b/vcl/source/edit/textdoc.cxx index aacd1d21cc75..dce76e1cc0b6 100644 --- a/vcl/source/edit/textdoc.cxx +++ b/vcl/source/edit/textdoc.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <textdoc.hxx> #include <stdlib.h> #include <osl/diagnose.h> diff --git a/vcl/source/edit/textview.cxx b/vcl/source/edit/textview.cxx index edcfac1f3a8e..083f3a984df9 100644 --- a/vcl/source/edit/textview.cxx +++ b/vcl/source/edit/textview.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <i18nutil/searchopt.hxx> #include <vcl/textview.hxx> #include <vcl/texteng.hxx> diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx index 72c2a38f72b3..a62146d1dec5 100644 --- a/vcl/source/edit/vclmedit.cxx +++ b/vcl/source/edit/vclmedit.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <vcl/builder.hxx> #include <vcl/decoview.hxx> #include <vcl/svapp.hxx> diff --git a/vcl/source/filter/ixbm/xbmread.cxx b/vcl/source/filter/ixbm/xbmread.cxx index b0dd915c5b41..45e885bece52 100644 --- a/vcl/source/filter/ixbm/xbmread.cxx +++ b/vcl/source/filter/ixbm/xbmread.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <comphelper/string.hxx> diff --git a/vcl/source/filter/wmf/winmtf.cxx b/vcl/source/filter/wmf/winmtf.cxx index cf88ff61736d..818ef4884197 100644 --- a/vcl/source/filter/wmf/winmtf.cxx +++ b/vcl/source/filter/wmf/winmtf.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "winmtf.hxx" #include <basegfx/matrix/b2dhommatrix.hxx> #include <basegfx/polygon/b2dpolypolygontools.hxx> diff --git a/vcl/source/filter/wmf/winmtf.hxx b/vcl/source/filter/wmf/winmtf.hxx index 3940062f37d5..a10d5f158da2 100644 --- a/vcl/source/filter/wmf/winmtf.hxx +++ b/vcl/source/filter/wmf/winmtf.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_VCL_SOURCE_FILTER_WMF_WINMTF_HXX #define INCLUDED_VCL_SOURCE_FILTER_WMF_WINMTF_HXX +#include <memory> #include <sal/config.h> #include <vcl/graph.hxx> diff --git a/vcl/source/font/PhysicalFontCollection.cxx b/vcl/source/font/PhysicalFontCollection.cxx index 7682bc53cb13..b10f3c295926 100644 --- a/vcl/source/font/PhysicalFontCollection.cxx +++ b/vcl/source/font/PhysicalFontCollection.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <map> #include <i18nlangtag/mslangid.hxx> diff --git a/vcl/source/gdi/CommonSalLayout.cxx b/vcl/source/gdi/CommonSalLayout.cxx index 522a0dc6f5ec..0bce1b8046c4 100644 --- a/vcl/source/gdi/CommonSalLayout.cxx +++ b/vcl/source/gdi/CommonSalLayout.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "CommonSalLayout.hxx" #include <vcl/unohelp.hxx> diff --git a/vcl/source/gdi/bitmap4.cxx b/vcl/source/gdi/bitmap4.cxx index 3a172718572c..789ebc80296e 100644 --- a/vcl/source/gdi/bitmap4.cxx +++ b/vcl/source/gdi/bitmap4.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <stdlib.h> #include <osl/diagnose.h> #include <vcl/bitmapaccess.hxx> diff --git a/vcl/source/gdi/embeddedfontshelper.cxx b/vcl/source/gdi/embeddedfontshelper.cxx index 1577ca45e0d4..d370c381b1f4 100644 --- a/vcl/source/gdi/embeddedfontshelper.cxx +++ b/vcl/source/gdi/embeddedfontshelper.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <config_folders.h> #include <config_eot.h> diff --git a/vcl/source/gdi/impanmvw.cxx b/vcl/source/gdi/impanmvw.cxx index 45928c4dbec3..969b071aef76 100644 --- a/vcl/source/gdi/impanmvw.cxx +++ b/vcl/source/gdi/impanmvw.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "impanmvw.hxx" #include <vcl/virdev.hxx> diff --git a/vcl/source/gdi/pdfwriter_impl.hxx b/vcl/source/gdi/pdfwriter_impl.hxx index bf57a017be93..c65e24075e0b 100644 --- a/vcl/source/gdi/pdfwriter_impl.hxx +++ b/vcl/source/gdi/pdfwriter_impl.hxx @@ -22,6 +22,7 @@ #include <map> #include <list> #include <unordered_map> +#include <memory> #include <vector> #include <com/sun/star/lang/Locale.hpp> diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx index aa2aefa5f760..12087c8b8f32 100644 --- a/vcl/source/gdi/pngread.cxx +++ b/vcl/source/gdi/pngread.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <vcl/pngread.hxx> #include <cmath> diff --git a/vcl/source/gdi/region.cxx b/vcl/source/gdi/region.cxx index fd256020c76f..cec2de3f6b37 100644 --- a/vcl/source/gdi/region.cxx +++ b/vcl/source/gdi/region.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <limits.h> #include <tools/vcompat.hxx> #include <tools/stream.hxx> diff --git a/vcl/source/gdi/salgdilayout.cxx b/vcl/source/gdi/salgdilayout.cxx index 47825fa5620e..b4e7e66e1564 100644 --- a/vcl/source/gdi/salgdilayout.cxx +++ b/vcl/source/gdi/salgdilayout.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <config_features.h> #if HAVE_FEATURE_OPENGL #include "openglgdiimpl.hxx" diff --git a/vcl/source/outdev/gradient.cxx b/vcl/source/outdev/gradient.cxx index c522a8b0a086..0facd3be408e 100644 --- a/vcl/source/outdev/gradient.cxx +++ b/vcl/source/outdev/gradient.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <cassert> #include <tools/poly.hxx> diff --git a/vcl/source/outdev/outdevstatestack.cxx b/vcl/source/outdev/outdevstatestack.cxx index 24eb24557580..a5209439920f 100644 --- a/vcl/source/outdev/outdevstatestack.cxx +++ b/vcl/source/outdev/outdevstatestack.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <outdevstatestack.hxx> bool OutDevStateStack::empty() const diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx index d68bd989851e..f99cf54a9cb3 100644 --- a/vcl/source/outdev/text.cxx +++ b/vcl/source/outdev/text.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <basegfx/matrix/b2dhommatrix.hxx> #include <com/sun/star/i18n/WordType.hpp> diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx index 74d75b7a2fad..5f2767aafba5 100644 --- a/vcl/source/uitest/uiobject.cxx +++ b/vcl/source/uitest/uiobject.cxx @@ -24,6 +24,7 @@ #include <rtl/ustrbuf.hxx> #include <iostream> +#include <memory> #include <vector> UIObject::~UIObject() diff --git a/vcl/source/uitest/uitest.cxx b/vcl/source/uitest/uitest.cxx index 3b19a9acc49c..1058ecefb956 100644 --- a/vcl/source/uitest/uitest.cxx +++ b/vcl/source/uitest/uitest.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <vcl/uitest/uitest.hxx> #include <vcl/uitest/uiobject.hxx> diff --git a/vcl/source/uitest/uno/uiobject_uno.cxx b/vcl/source/uitest/uno/uiobject_uno.cxx index 14268cee9367..65956ac93a62 100644 --- a/vcl/source/uitest/uno/uiobject_uno.cxx +++ b/vcl/source/uitest/uno/uiobject_uno.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include "uiobject_uno.hxx" #include <vcl/svapp.hxx> #include <vcl/idle.hxx> diff --git a/vcl/source/window/btndlg.cxx b/vcl/source/window/btndlg.cxx index 7f2423ffd3bd..be9644c5b7ce 100644 --- a/vcl/source/window/btndlg.cxx +++ b/vcl/source/window/btndlg.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <svdata.hxx> #include <vcl/button.hxx> diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 2fb3299d2a05..4e9901cc3bc4 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <com/sun/star/packages/zip/ZipFileAccess.hpp> #include <comphelper/processfactory.hxx> diff --git a/vcl/source/window/cursor.cxx b/vcl/source/window/cursor.cxx index 7fadc20317e7..23afab02edf2 100644 --- a/vcl/source/window/cursor.cxx +++ b/vcl/source/window/cursor.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <vcl/svapp.hxx> #include <vcl/timer.hxx> #include <vcl/settings.hxx> diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx index 8d7460c4f9cf..f760e5f9f263 100644 --- a/vcl/source/window/syswin.cxx +++ b/vcl/source/window/syswin.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <cstdlib> diff --git a/vcl/unx/generic/app/sm.cxx b/vcl/unx/generic/app/sm.cxx index 5b7d1d947c53..e33ccfd50726 100644 --- a/vcl/unx/generic/app/sm.cxx +++ b/vcl/unx/generic/app/sm.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "sal/config.h" #include <cassert> diff --git a/vcl/unx/generic/fontmanager/fontconfig.cxx b/vcl/unx/generic/fontmanager/fontconfig.cxx index 49cfc23d5311..07614f60e399 100644 --- a/vcl/unx/generic/fontmanager/fontconfig.cxx +++ b/vcl/unx/generic/fontmanager/fontconfig.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "unx/fontmanager.hxx" #include "impfont.hxx" #include <vcl/svapp.hxx> diff --git a/vcl/unx/generic/fontmanager/fontmanager.cxx b/vcl/unx/generic/fontmanager/fontmanager.cxx index e7347af4c491..1130715872d4 100644 --- a/vcl/unx/generic/fontmanager/fontmanager.cxx +++ b/vcl/unx/generic/fontmanager/fontmanager.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <unistd.h> #include <sys/stat.h> #include <dirent.h> diff --git a/vcl/unx/generic/gdi/gdiimpl.cxx b/vcl/unx/generic/gdi/gdiimpl.cxx index 5e44e4b2fd30..94c28de3d83a 100644 --- a/vcl/unx/generic/gdi/gdiimpl.cxx +++ b/vcl/unx/generic/gdi/gdiimpl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <X11/Xlib.h> #include <X11/Xutil.h> #include <X11/extensions/Xrender.h> diff --git a/vcl/unx/generic/print/bitmap_gfx.cxx b/vcl/unx/generic/print/bitmap_gfx.cxx index 0573001edb06..95552d5b858d 100644 --- a/vcl/unx/generic/print/bitmap_gfx.cxx +++ b/vcl/unx/generic/print/bitmap_gfx.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "psputil.hxx" #include "unx/printergfx.hxx" diff --git a/vcl/unx/gtk/salnativewidgets-gtk.cxx b/vcl/unx/gtk/salnativewidgets-gtk.cxx index 46ebe46c7e84..491444287256 100644 --- a/vcl/unx/gtk/salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk/salnativewidgets-gtk.cxx @@ -32,6 +32,7 @@ #include <cstdio> #include <cmath> +#include <memory> #include <vector> #include <algorithm> #include <unordered_map> diff --git a/vcl/unx/kde4/KDESalFrame.cxx b/vcl/unx/kde4/KDESalFrame.cxx index 9ff22c93fe46..226ec506b3fd 100644 --- a/vcl/unx/kde4/KDESalFrame.cxx +++ b/vcl/unx/kde4/KDESalFrame.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <QtGui/QColor> #include <QtGui/QStyle> #include <QtCore/QDebug> diff --git a/vcl/win/gdi/salgdi2.cxx b/vcl/win/gdi/salgdi2.cxx index 000746bbf042..40cecd383395 100644 --- a/vcl/win/gdi/salgdi2.cxx +++ b/vcl/win/gdi/salgdi2.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <string.h> #include <stdlib.h> diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx index de1b852fed5f..d262f0633f92 100644 --- a/vcl/win/gdi/winlayout.cxx +++ b/vcl/win/gdi/winlayout.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "osl/module.h" #include "osl/file.h" diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index adf0a80c6956..bf72067b9afb 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/document/DocumentProperties.hpp> #include <com/sun/star/drawing/XEnhancedCustomShapeDefaulter.hpp> diff --git a/writerperfect/inc/DirectoryStream.hxx b/writerperfect/inc/DirectoryStream.hxx index 36b818d272a5..c3928661eb97 100644 --- a/writerperfect/inc/DirectoryStream.hxx +++ b/writerperfect/inc/DirectoryStream.hxx @@ -14,6 +14,7 @@ #include <com/sun/star/uno/Reference.h> #include <writerperfectdllapi.h> #include <memory> +#include <climits> namespace com { diff --git a/writerperfect/inc/DocumentHandler.hxx b/writerperfect/inc/DocumentHandler.hxx index 00666f9c12da..af4e128bd411 100644 --- a/writerperfect/inc/DocumentHandler.hxx +++ b/writerperfect/inc/DocumentHandler.hxx @@ -26,6 +26,8 @@ #include <writerperfectdllapi.h> +#include <climits> + namespace com { namespace sun diff --git a/writerperfect/source/common/DirectoryStream.cxx b/writerperfect/source/common/DirectoryStream.cxx index dd4be4c05be7..a23f2571adbd 100644 --- a/writerperfect/source/common/DirectoryStream.cxx +++ b/writerperfect/source/common/DirectoryStream.cxx @@ -19,6 +19,7 @@ * For further information visit http://libwpd.sourceforge.net */ +#include <memory> #include <com/sun/star/container/XChild.hpp> #include <com/sun/star/io/XInputStream.hpp> #include <com/sun/star/sdbc/XResultSet.hpp> diff --git a/writerperfect/source/common/WPXSvInputStream.cxx b/writerperfect/source/common/WPXSvInputStream.cxx index c02734f02aeb..fca11418aed6 100644 --- a/writerperfect/source/common/WPXSvInputStream.cxx +++ b/writerperfect/source/common/WPXSvInputStream.cxx @@ -22,6 +22,7 @@ #include <unotools/streamwrap.hxx> #include <unotools/ucbstreamhelper.hxx> +#include <climits> #include <limits> #include <memory> #include <unordered_map> diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx index daa19657a0e0..0df51a5e577a 100644 --- a/xmlhelp/source/cxxhelp/provider/databases.cxx +++ b/xmlhelp/source/cxxhelp/provider/databases.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include "db.hxx" #include <osl/diagnose.h> #include <osl/thread.h> diff --git a/xmlhelp/source/cxxhelp/provider/provider.hxx b/xmlhelp/source/cxxhelp/provider/provider.hxx index 7f2a1ddc2f3f..e4296fb9fb4f 100644 --- a/xmlhelp/source/cxxhelp/provider/provider.hxx +++ b/xmlhelp/source/cxxhelp/provider/provider.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_XMLHELP_SOURCE_CXXHELP_PROVIDER_PROVIDER_HXX #define INCLUDED_XMLHELP_SOURCE_CXXHELP_PROVIDER_PROVIDER_HXX +#include <memory> #include <rtl/ustring.hxx> #include <osl/mutex.hxx> #include <ucbhelper/providerhelper.hxx> diff --git a/xmlhelp/source/cxxhelp/provider/resultset.hxx b/xmlhelp/source/cxxhelp/provider/resultset.hxx index 943385976e54..82849ab3abe3 100644 --- a/xmlhelp/source/cxxhelp/provider/resultset.hxx +++ b/xmlhelp/source/cxxhelp/provider/resultset.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_XMLHELP_SOURCE_CXXHELP_PROVIDER_RESULTSET_HXX #define INCLUDED_XMLHELP_SOURCE_CXXHELP_PROVIDER_RESULTSET_HXX +#include <memory> #include <ucbhelper/resultsethelper.hxx> #include <rtl/ref.hxx> diff --git a/xmloff/inc/XMLFootnoteConfigurationImportContext.hxx b/xmloff/inc/XMLFootnoteConfigurationImportContext.hxx index fc9c894456c9..6153f68c4c33 100644 --- a/xmloff/inc/XMLFootnoteConfigurationImportContext.hxx +++ b/xmloff/inc/XMLFootnoteConfigurationImportContext.hxx @@ -20,6 +20,7 @@ #ifndef INCLUDED_XMLOFF_INC_XMLFOOTNOTECONFIGURATIONIMPORTCONTEXT_HXX #define INCLUDED_XMLOFF_INC_XMLFOOTNOTECONFIGURATIONIMPORTCONTEXT_HXX +#include <memory> #include <xmloff/xmlstyle.hxx> namespace com { namespace sun { namespace star { diff --git a/xmloff/qa/unit/tokenmap-test.cxx b/xmloff/qa/unit/tokenmap-test.cxx index dec88882b1d8..b1cc87f7fd53 100644 --- a/xmloff/qa/unit/tokenmap-test.cxx +++ b/xmloff/qa/unit/tokenmap-test.cxx @@ -7,6 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <memory> #include <cppunit/TestAssert.h> #include <cppunit/TestFixture.h> #include <cppunit/extensions/HelperMacros.h> diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx index de3e32c7cd58..56d32ee8e1a9 100644 --- a/xmloff/source/chart/SchXMLExport.cxx +++ b/xmloff/source/chart/SchXMLExport.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <sax/tools/converter.hxx> diff --git a/xmloff/source/core/unoatrcn.cxx b/xmloff/source/core/unoatrcn.cxx index 335dbeb916ef..df18d1f91543 100644 --- a/xmloff/source/core/unoatrcn.cxx +++ b/xmloff/source/core/unoatrcn.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <string.h> #include <com/sun/star/xml/AttributeData.hpp> #include <o3tl/any.hxx> diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index fc4f740bc0be..2df69a1c1a93 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <stack> diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx index c213c05b053a..eba9d2ad21b6 100644 --- a/xmloff/source/core/xmlimp.cxx +++ b/xmloff/source/core/xmlimp.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <string.h> #include <tools/diagnose_ex.h> diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx index fdbddbfafce8..108ab89f5299 100644 --- a/xmloff/source/draw/animationimport.cxx +++ b/xmloff/source/draw/animationimport.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <xmloff/unointerfacetouniqueidentifiermapper.hxx> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> diff --git a/xmloff/source/style/MarkerStyle.cxx b/xmloff/source/style/MarkerStyle.cxx index a0dc8db6c587..d6eba2a483e5 100644 --- a/xmloff/source/style/MarkerStyle.cxx +++ b/xmloff/source/style/MarkerStyle.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <xmloff/MarkerStyle.hxx> #include "xexptran.hxx" #include <xmloff/attrlist.hxx> diff --git a/xmloff/source/style/impastpl.cxx b/xmloff/source/style/impastpl.cxx index 0a20118c83e7..b18727373e4a 100644 --- a/xmloff/source/style/impastpl.cxx +++ b/xmloff/source/style/impastpl.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <algorithm> #include <rtl/ustrbuf.hxx> diff --git a/xmloff/source/style/xmlexppr.cxx b/xmloff/source/style/xmlexppr.cxx index 9675c42b4cee..b99e9c2b5fde 100644 --- a/xmloff/source/style/xmlexppr.cxx +++ b/xmloff/source/style/xmlexppr.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/container/XNameContainer.hpp> #include <com/sun/star/xml/AttributeData.hpp> #include <com/sun/star/beans/XPropertyState.hpp> diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx index 9194ba6ca8f6..7bb2e30862d0 100644 --- a/xmloff/source/style/xmlnumfi.cxx +++ b/xmloff/source/style/xmlnumfi.cxx @@ -47,6 +47,7 @@ #include <xmloff/xmltoken.hxx> #include <xmloff/languagetagodf.hxx> +#include <memory> #include <vector> using namespace ::com::sun::star; diff --git a/xmloff/source/text/XMLPropertyBackpatcher.cxx b/xmloff/source/text/XMLPropertyBackpatcher.cxx index 7da4b8da0f41..76f413a8a642 100644 --- a/xmloff/source/text/XMLPropertyBackpatcher.cxx +++ b/xmloff/source/text/XMLPropertyBackpatcher.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/uno/Reference.h> diff --git a/xmloff/source/text/txtimppr.cxx b/xmloff/source/text/txtimppr.cxx index 6571c1a51510..893957a22dd8 100644 --- a/xmloff/source/text/txtimppr.cxx +++ b/xmloff/source/text/txtimppr.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <memory> #include <sal/config.h> #include <o3tl/any.hxx> diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index a0ae49d0022a..f2db593d0f74 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -110,6 +110,7 @@ #include <com/sun/star/rdf/XMetadatable.hpp> #include <list> #include <unordered_map> +#include <memory> #include <vector> #include <algorithm> #include <iterator> |