summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basctl/inc/pch/precompiled_basctl.hxx40
-rw-r--r--basegfx/inc/pch/precompiled_basegfx.hxx1
-rw-r--r--basic/inc/pch/precompiled_sb.hxx6
-rw-r--r--chart2/inc/pch/precompiled_chartcontroller.hxx4
-rw-r--r--chart2/inc/pch/precompiled_chartcore.hxx7
-rw-r--r--comphelper/inc/pch/precompiled_comphelper.hxx15
-rw-r--r--connectivity/inc/pch/precompiled_ado.hxx2
-rw-r--r--connectivity/inc/pch/precompiled_calc.hxx2
-rw-r--r--connectivity/inc/pch/precompiled_dbase.hxx3
-rw-r--r--connectivity/inc/pch/precompiled_dbtools.hxx1
-rw-r--r--connectivity/inc/pch/precompiled_file.hxx1
-rw-r--r--connectivity/inc/pch/precompiled_firebird_sdbc.hxx5
-rw-r--r--connectivity/inc/pch/precompiled_flat.hxx1
-rw-r--r--connectivity/inc/pch/precompiled_odbc.hxx3
-rw-r--r--connectivity/inc/pch/precompiled_postgresql-sdbc-impl.hxx1
-rw-r--r--cppcanvas/inc/pch/precompiled_cppcanvas.hxx2
-rw-r--r--cppuhelper/inc/pch/precompiled_cppuhelper.hxx3
-rw-r--r--cui/inc/pch/precompiled_cui.hxx12
-rw-r--r--dbaccess/inc/pch/precompiled_dba.hxx3
-rw-r--r--dbaccess/inc/pch/precompiled_dbmm.hxx3
-rw-r--r--dbaccess/inc/pch/precompiled_dbu.hxx13
-rw-r--r--desktop/inc/pch/precompiled_deployment.hxx4
-rw-r--r--desktop/inc/pch/precompiled_deploymentgui.hxx1
-rw-r--r--desktop/inc/pch/precompiled_deploymentmisc.hxx2
-rw-r--r--desktop/inc/pch/precompiled_sofficeapp.hxx21
-rw-r--r--drawinglayer/inc/pch/precompiled_drawinglayer.hxx3
-rw-r--r--editeng/inc/pch/precompiled_editeng.hxx11
-rw-r--r--framework/inc/pch/precompiled_fwe.hxx8
-rw-r--r--framework/inc/pch/precompiled_fwk.hxx5
-rw-r--r--hwpfilter/inc/pch/precompiled_hwp.hxx1
-rw-r--r--oox/inc/pch/precompiled_oox.hxx6
-rw-r--r--package/inc/pch/precompiled_package2.hxx1
-rw-r--r--package/inc/pch/precompiled_xstor.hxx3
-rw-r--r--reportdesign/inc/pch/precompiled_rptui.hxx11
-rw-r--r--sal/inc/pch/precompiled_sal.hxx5
-rw-r--r--sc/inc/pch/precompiled_sc.hxx25
-rw-r--r--sc/inc/pch/precompiled_scfilt.hxx9
-rw-r--r--sc/inc/pch/precompiled_scui.hxx6
-rw-r--r--sc/inc/pch/precompiled_vbaobj.hxx6
-rw-r--r--sd/inc/pch/precompiled_sd.hxx5
-rw-r--r--sd/inc/pch/precompiled_sdui.hxx2
-rw-r--r--sdext/inc/pch/precompiled_PresentationMinimizer.hxx1
-rw-r--r--sdext/inc/pch/precompiled_PresenterScreen.hxx1
-rw-r--r--sfx2/inc/pch/precompiled_sfx.hxx10
-rw-r--r--sot/inc/pch/precompiled_sot.hxx1
-rw-r--r--starmath/inc/pch/precompiled_sm.hxx6
-rw-r--r--svl/inc/pch/precompiled_svl.hxx11
-rw-r--r--svtools/inc/pch/precompiled_svt.hxx25
-rw-r--r--svx/inc/pch/precompiled_svx.hxx10
-rw-r--r--svx/inc/pch/precompiled_svxcore.hxx20
-rw-r--r--sw/inc/pch/precompiled_msword.hxx12
-rw-r--r--sw/inc/pch/precompiled_sw.hxx17
-rw-r--r--sw/inc/pch/precompiled_swui.hxx1
-rw-r--r--sw/inc/pch/precompiled_vbaswobj.hxx3
-rw-r--r--tools/inc/pch/precompiled_tl.hxx5
-rw-r--r--unotools/inc/pch/precompiled_utl.hxx5
-rw-r--r--unoxml/inc/pch/precompiled_unoxml.hxx2
-rw-r--r--uui/inc/pch/precompiled_uui.hxx15
-rw-r--r--vbahelper/inc/pch/precompiled_msforms.hxx2
-rw-r--r--vbahelper/inc/pch/precompiled_vbahelper.hxx1
-rw-r--r--vcl/inc/pch/precompiled_vcl.hxx5
-rw-r--r--writerfilter/inc/pch/precompiled_writerfilter.hxx27
-rw-r--r--xmloff/inc/pch/precompiled_xo.hxx6
-rw-r--r--xmloff/inc/pch/precompiled_xof.hxx2
-rw-r--r--xmlscript/inc/pch/precompiled_xmlscript.hxx2
-rw-r--r--xmlsecurity/inc/pch/precompiled_xmlsecurity.hxx2
-rw-r--r--xmlsecurity/inc/pch/precompiled_xsec_fw.hxx1
-rw-r--r--xmlsecurity/inc/pch/precompiled_xsec_xmlsec.hxx2
68 files changed, 280 insertions, 178 deletions
diff --git a/basctl/inc/pch/precompiled_basctl.hxx b/basctl/inc/pch/precompiled_basctl.hxx
index f2145d18935b..3d8c89f624b2 100644
--- a/basctl/inc/pch/precompiled_basctl.hxx
+++ b/basctl/inc/pch/precompiled_basctl.hxx
@@ -14,18 +14,14 @@
also fixes all possible problems, so it's usually better to use it).
*/
-#include <algorithm>
#include <basic/basicmanagerrepository.hxx>
#include <basic/basmgr.hxx>
#include <basic/basrdll.hxx>
-#include <basic/codecompletecache.hxx>
#include <basic/sbmeth.hxx>
#include <basic/sbmod.hxx>
#include <basic/sbuno.hxx>
-#include <basic/sbx.hxx>
#include <boost/make_shared.hpp>
#include <boost/scoped_ptr.hpp>
-#include <cassert>
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
#include <com/sun/star/accessibility/AccessibleRole.hpp>
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
@@ -33,7 +29,6 @@
#include <com/sun/star/awt/ScrollBarOrientation.hpp>
#include <com/sun/star/awt/Toolkit.hpp>
#include <com/sun/star/awt/UnoControlDialog.hpp>
-#include <com/sun/star/awt/XDevice.hpp>
#include <com/sun/star/awt/XDialog.hpp>
#include <com/sun/star/awt/XUnoControlContainer.hpp>
#include <com/sun/star/awt/XVclContainerPeer.hpp>
@@ -49,7 +44,6 @@
#include <com/sun/star/datatransfer/MimeContentTypeFactory.hpp>
#include <com/sun/star/datatransfer/XMimeContentType.hpp>
#include <com/sun/star/document/MacroExecMode.hpp>
-#include <com/sun/star/document/XDocumentEventBroadcaster.hpp>
#include <com/sun/star/document/XEmbeddedScripts.hpp>
#include <com/sun/star/document/XScriptInvocationContext.hpp>
#include <com/sun/star/form/binding/XBindableValue.hpp>
@@ -60,7 +54,6 @@
#include <com/sun/star/frame/FrameSearchFlag.hpp>
#include <com/sun/star/frame/ModuleManager.hpp>
#include <com/sun/star/frame/XDesktop.hpp>
-#include <com/sun/star/frame/XFramesSupplier.hpp>
#include <com/sun/star/frame/XLayoutManager.hpp>
#include <com/sun/star/frame/XModel2.hpp>
#include <com/sun/star/frame/XStorable.hpp>
@@ -73,11 +66,7 @@
#include <com/sun/star/io/Pipe.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/packages/manifest/ManifestWriter.hpp>
-#include <com/sun/star/reflection/XIdlField.hpp>
-#include <com/sun/star/reflection/XIdlMethod.hpp>
-#include <com/sun/star/reflection/XInterfaceMemberTypeDescription.hpp>
#include <com/sun/star/reflection/theCoreReflection.hpp>
-#include <com/sun/star/registry/XRegistryKey.hpp>
#include <com/sun/star/resource/StringResource.hpp>
#include <com/sun/star/resource/StringResourceWithLocation.hpp>
#include <com/sun/star/resource/XStringResourceSupplier.hpp>
@@ -93,7 +82,6 @@
#include <com/sun/star/script/vba/XVBACompatibility.hpp>
#include <com/sun/star/script/vba/XVBAModuleInfo.hpp>
#include <com/sun/star/task/InteractionHandler.hpp>
-#include <com/sun/star/task/XStatusIndicatorFactory.hpp>
#include <com/sun/star/ucb/NameClash.hpp>
#include <com/sun/star/ucb/SimpleFileAccess.hpp>
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
@@ -102,10 +90,6 @@
#include <com/sun/star/ui/dialogs/FolderPicker.hpp>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp>
-#include <com/sun/star/ui/dialogs/XFilterManager.hpp>
-#include <com/sun/star/uno/Exception.hpp>
-#include <com/sun/star/uno/Sequence.h>
-#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/uri/UriReferenceFactory.hpp>
#include <com/sun/star/util/NumberFormatsSupplier.hpp>
#include <com/sun/star/util/VetoException.hpp>
@@ -114,34 +98,26 @@
#include <comphelper/documentinfo.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/scoped_disposing_ptr.hxx>
-#include <comphelper/sequence.hxx>
#include <comphelper/stl_types.hxx>
#include <comphelper/string.hxx>
-#include <comphelper/syntaxhighlight.hxx>
#include <comphelper/types.hxx>
#include <config_options.h>
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/compbase1.hxx>
#include <cppuhelper/component_context.hxx>
#include <cppuhelper/factory.hxx>
-#include <cppuhelper/implbase1.hxx>
-#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
-#include <deque>
#include <editeng/sizeitem.hxx>
#include <editeng/unolingu.hxx>
#include <framework/documentundoguard.hxx>
+#include <initializer_list>
#include <map>
#include <o3tl/compat_functional.hxx>
#include <officecfg/Office/Common.hxx>
+#include <osl/diagnose.h>
#include <osl/file.hxx>
#include <osl/mutex.hxx>
-#include <osl/process.h>
-#include <rtl/bootstrap.hxx>
#include <rtl/uri.hxx>
-#include <rtl/ustring.hxx>
-#include <sal/config.h>
-#include <sal/macros.h>
#include <set>
#include <sfx2/app.hxx>
#include <sfx2/bindings.hxx>
@@ -150,7 +126,6 @@
#include <sfx2/dispatch.hxx>
#include <sfx2/docfac.hxx>
#include <sfx2/docfile.hxx>
-#include <sfx2/genlink.hxx>
#include <sfx2/imagemgr.hxx>
#include <sfx2/infobar.hxx>
#include <sfx2/minfitem.hxx>
@@ -159,14 +134,10 @@
#include <sfx2/passwd.hxx>
#include <sfx2/printer.hxx>
#include <sfx2/request.hxx>
-#include <sfx2/sfxdefs.hxx>
#include <sfx2/sfxmodelfactory.hxx>
#include <sfx2/signaturestate.hxx>
#include <sfx2/viewfac.hxx>
#include <sfx2/viewfrm.hxx>
-#include <sot/storage.hxx>
-#include <sot/storinfo.hxx>
-#include <stddef.h>
#include <svl/aeitem.hxx>
#include <svl/intitem.hxx>
#include <svl/itempool.hxx>
@@ -178,7 +149,6 @@
#include <svl/whiter.hxx>
#include <svtools/imagemgr.hxx>
#include <svtools/langtab.hxx>
-#include <svtools/miscopt.hxx>
#include <svtools/svlbitm.hxx>
#include <svtools/textwindowpeer.hxx>
#include <svtools/treelistentry.hxx>
@@ -201,7 +171,6 @@
#include <tools/diagnose_ex.h>
#include <tools/multisel.hxx>
#include <tools/resary.hxx>
-#include <tools/stream.hxx>
#include <tools/urlobj.hxx>
#include <ucbhelper/content.hxx>
#include <unotools/accessiblerelationsethelper.hxx>
@@ -211,12 +180,9 @@
#include <unotools/pathoptions.hxx>
#include <unotools/sharedunocomponent.hxx>
#include <unotools/syslocale.hxx>
-#include <vcl/bitmap.hxx>
-#include <vcl/builder.hxx>
#include <vcl/help.hxx>
#include <vcl/layout.hxx>
#include <vcl/msgbox.hxx>
-#include <vcl/print.hxx>
#include <vcl/scrbar.hxx>
#include <vcl/seleng.hxx>
#include <vcl/settings.hxx>
@@ -224,8 +190,6 @@
#include <vcl/svapp.hxx>
#include <vcl/syswin.hxx>
#include <vcl/taskpanelist.hxx>
-#include <vcl/texteng.hxx>
-#include <vcl/textview.hxx>
#include <vcl/toolbox.hxx>
#include <vcl/txtattr.hxx>
#include <vcl/unohelp.hxx>
diff --git a/basegfx/inc/pch/precompiled_basegfx.hxx b/basegfx/inc/pch/precompiled_basegfx.hxx
index 50b477cf7835..e289dcfa8464 100644
--- a/basegfx/inc/pch/precompiled_basegfx.hxx
+++ b/basegfx/inc/pch/precompiled_basegfx.hxx
@@ -59,6 +59,7 @@
#include <rtl/math.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <utility>
#include <vector>
diff --git a/basic/inc/pch/precompiled_sb.hxx b/basic/inc/pch/precompiled_sb.hxx
index 08e6c874b0d3..8ed406da7931 100644
--- a/basic/inc/pch/precompiled_sb.hxx
+++ b/basic/inc/pch/precompiled_sb.hxx
@@ -20,7 +20,7 @@
#include <boost/scoped_ptr.hpp>
#include <com/sun/star/bridge/oleautomation/Decimal.hpp>
#include <com/sun/star/bridge/oleautomation/XAutomationObject.hpp>
-#include <com/sun/star/i18n/LocaleCalendar.hpp>
+#include <com/sun/star/i18n/LocaleCalendar2.hpp>
#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/script/XErrorQuery.hpp>
@@ -32,6 +32,8 @@
#include <comphelper/processfactory.hxx>
#include <comphelper/random.hxx>
#include <comphelper/string.hxx>
+#include <config_features.h>
+#include <config_version.h>
#include <cstddef>
#include <ctype.h>
#include <errno.h>
@@ -60,7 +62,9 @@
#include <svl/zforlist.hxx>
#include <tools/color.hxx>
#include <tools/date.hxx>
+#include <tools/debug.hxx>
#include <tools/errcode.hxx>
+#include <tools/fract.hxx>
#include <tools/shl.hxx>
#include <tools/stream.hxx>
#include <tools/urlobj.hxx>
diff --git a/chart2/inc/pch/precompiled_chartcontroller.hxx b/chart2/inc/pch/precompiled_chartcontroller.hxx
index e27901f4c671..12b3613f56bb 100644
--- a/chart2/inc/pch/precompiled_chartcontroller.hxx
+++ b/chart2/inc/pch/precompiled_chartcontroller.hxx
@@ -72,6 +72,7 @@
#include <com/sun/star/chart2/RelativeSize.hpp>
#include <com/sun/star/chart2/Symbol.hpp>
#include <com/sun/star/chart2/SymbolStyle.hpp>
+#include <com/sun/star/chart2/X3DChartWindowProvider.hpp>
#include <com/sun/star/chart2/XAnyDescriptionAccess.hpp>
#include <com/sun/star/chart2/XAxis.hpp>
#include <com/sun/star/chart2/XChartDocument.hpp>
@@ -193,12 +194,14 @@
#include <memory>
#include <numeric>
#include <o3tl/compat_functional.hxx>
+#include <osl/diagnose.h>
#include <osl/mutex.hxx>
#include <rtl/instance.hxx>
#include <rtl/math.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/ustring.hxx>
#include <rtl/uuid.h>
+#include <sal/config.h>
#include <sfx2/dispatch.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/tabdlg.hxx>
@@ -315,6 +318,7 @@
#include <vcl/image.hxx>
#include <vcl/layout.hxx>
#include <vcl/msgbox.hxx>
+#include <vcl/openglwin.hxx>
#include <vcl/outdev.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
diff --git a/chart2/inc/pch/precompiled_chartcore.hxx b/chart2/inc/pch/precompiled_chartcore.hxx
index b0492806c693..7527cd7750db 100644
--- a/chart2/inc/pch/precompiled_chartcore.hxx
+++ b/chart2/inc/pch/precompiled_chartcore.hxx
@@ -33,6 +33,7 @@
#include <boost/bind.hpp>
#include <boost/checked_delete.hpp>
#include <boost/ptr_container/ptr_map.hpp>
+#include <boost/ptr_container/ptr_vector.hpp>
#include <boost/scoped_array.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
@@ -84,11 +85,9 @@
#include <com/sun/star/chart2/XAnyDescriptionAccess.hpp>
#include <com/sun/star/chart2/XAxis.hpp>
#include <com/sun/star/chart2/XChartDocument.hpp>
-#include <com/sun/star/chart2/XChartType.hpp>
#include <com/sun/star/chart2/XChartTypeContainer.hpp>
#include <com/sun/star/chart2/XChartTypeTemplate.hpp>
#include <com/sun/star/chart2/XColorScheme.hpp>
-#include <com/sun/star/chart2/XCoordinateSystem.hpp>
#include <com/sun/star/chart2/XCoordinateSystemContainer.hpp>
#include <com/sun/star/chart2/XDataSeries.hpp>
#include <com/sun/star/chart2/XDataSeriesContainer.hpp>
@@ -236,6 +235,7 @@
#include <drawinglayer/XShapeDumper.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/eeitem.hxx>
+#include <editeng/frmdiritem.hxx>
#include <editeng/sizeitem.hxx>
#include <editeng/unolingu.hxx>
#include <editeng/unoprnms.hxx>
@@ -279,6 +279,7 @@
#include <svl/zformat.hxx>
#include <svtools/sfxecode.hxx>
#include <svx/XPropertyTable.hxx>
+#include <svx/charthelper.hxx>
#include <svx/chrtitem.hxx>
#include <svx/e3dsceneupdater.hxx>
#include <svx/objfac3d.hxx>
@@ -296,10 +297,10 @@
#include <svx/xtable.hxx>
#include <time.h>
#include <tools/color.hxx>
-#include <tools/debug.hxx>
#include <tools/resmgr.hxx>
#include <tools/solar.h>
#include <ucbhelper/content.hxx>
+#include <unordered_map>
#include <unotools/charclass.hxx>
#include <unotools/configitem.hxx>
#include <unotools/lingucfg.hxx>
diff --git a/comphelper/inc/pch/precompiled_comphelper.hxx b/comphelper/inc/pch/precompiled_comphelper.hxx
index fdbc176a4e7b..5aacf0b62959 100644
--- a/comphelper/inc/pch/precompiled_comphelper.hxx
+++ b/comphelper/inc/pch/precompiled_comphelper.hxx
@@ -15,10 +15,10 @@
*/
#include <algorithm>
+#include <assert.h>
#include <boost/bind.hpp>
#include <boost/current_function.hpp>
#include <boost/noncopyable.hpp>
-#include <boost/random.hpp>
#include <boost/scoped_array.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
@@ -52,6 +52,7 @@
#include <com/sun/star/configuration/ReadWriteAccess.hpp>
#include <com/sun/star/configuration/XReadWriteAccess.hpp>
#include <com/sun/star/configuration/theDefaultProvider.hpp>
+#include <com/sun/star/container/ElementExistException.hpp>
#include <com/sun/star/container/XChild.hpp>
#include <com/sun/star/container/XContainerQuery.hpp>
#include <com/sun/star/container/XEnumerableMap.hpp>
@@ -110,6 +111,7 @@
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/lang/NotInitializedException.hpp>
+#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XLocalizable.hpp>
@@ -154,6 +156,8 @@
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/uno/XInterface.hpp>
#include <com/sun/star/uno/genfunc.h>
+#include <com/sun/star/uri/UriReferenceFactory.hpp>
+#include <com/sun/star/uri/XVndSunStarExpandUrlReference.hpp>
#include <com/sun/star/util/Date.hpp>
#include <com/sun/star/util/DateTime.hpp>
#include <com/sun/star/util/NumberFormat.hpp>
@@ -189,6 +193,7 @@
#include <cppuhelper/weakagg.hxx>
#include <cppuhelper/weakref.hxx>
#include <cstddef>
+#include <ctype.h>
#include <deque>
#include <functional>
#include <i18nlangtag/languagetag.hxx>
@@ -196,20 +201,20 @@
#include <limits>
#include <map>
#include <memory.h>
+#include <memory>
#include <osl/conditn.hxx>
#include <osl/diagnose.h>
#include <osl/file.hxx>
#include <osl/mutex.hxx>
#include <osl/thread.h>
#include <osl/time.h>
-#include <rtl/bootstrap.hxx>
+#include <random>
#include <rtl/digest.h>
#include <rtl/instance.hxx>
#include <rtl/math.hxx>
#include <rtl/random.h>
#include <rtl/strbuf.hxx>
#include <rtl/string.hxx>
-#include <rtl/uri.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/ustring.hxx>
#include <sal/config.h>
@@ -217,11 +222,15 @@
#include <set>
#include <stdarg.h>
#include <string.h>
+#include <thread>
+#include <time.h>
#include <typelib/typedescription.h>
#include <typelib/typedescription.hxx>
#include <ucbhelper/content.hxx>
#include <unicode/uchar.h>
#include <uno/data.h>
+#include <unordered_map>
+#include <utility>
#include <vector>
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/inc/pch/precompiled_ado.hxx b/connectivity/inc/pch/precompiled_ado.hxx
index 3f5932e9708d..be53e17d4281 100644
--- a/connectivity/inc/pch/precompiled_ado.hxx
+++ b/connectivity/inc/pch/precompiled_ado.hxx
@@ -48,9 +48,11 @@
#include <comphelper/uno3.hxx>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/interfacecontainer.h>
+#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <limits>
+#include <memory>
#include <o3tl/compat_functional.hxx>
#include <osl/diagnose.h>
#include <osl/file.hxx>
diff --git a/connectivity/inc/pch/precompiled_calc.hxx b/connectivity/inc/pch/precompiled_calc.hxx
index 53081733ac0a..7ea0ca9b839e 100644
--- a/connectivity/inc/pch/precompiled_calc.hxx
+++ b/connectivity/inc/pch/precompiled_calc.hxx
@@ -47,10 +47,12 @@
#include <comphelper/types.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <cppuhelper/factory.hxx>
+#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <osl/thread.h>
#include <rtl/math.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/config.h>
#include <svl/converter.hxx>
#include <svl/zforlist.hxx>
#include <tools/urlobj.hxx>
diff --git a/connectivity/inc/pch/precompiled_dbase.hxx b/connectivity/inc/pch/precompiled_dbase.hxx
index 02525d584cf5..b5636bd88000 100644
--- a/connectivity/inc/pch/precompiled_dbase.hxx
+++ b/connectivity/inc/pch/precompiled_dbase.hxx
@@ -19,6 +19,7 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
+#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <com/sun/star/sdb/SQLFilterOperator.hpp>
#include <com/sun/star/sdbc/ColumnValue.hpp>
@@ -43,10 +44,12 @@
#include <comphelper/types.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <cppuhelper/factory.hxx>
+#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <osl/thread.h>
#include <rtl/math.hxx>
#include <rtl/strbuf.hxx>
+#include <sal/config.h>
#include <stdio.h>
#include <svl/converter.hxx>
#include <svl/zforlist.hxx>
diff --git a/connectivity/inc/pch/precompiled_dbtools.hxx b/connectivity/inc/pch/precompiled_dbtools.hxx
index 40fa64c705a9..e3c4c6d9f97c 100644
--- a/connectivity/inc/pch/precompiled_dbtools.hxx
+++ b/connectivity/inc/pch/precompiled_dbtools.hxx
@@ -166,7 +166,6 @@
#include <stdio.h>
#include <string.h>
#include <svtools/miscopt.hxx>
-#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
#include <tools/fract.hxx>
#include <tools/wldcrd.hxx>
diff --git a/connectivity/inc/pch/precompiled_file.hxx b/connectivity/inc/pch/precompiled_file.hxx
index cfdc9c491c71..1a35d7d64ee5 100644
--- a/connectivity/inc/pch/precompiled_file.hxx
+++ b/connectivity/inc/pch/precompiled_file.hxx
@@ -49,6 +49,7 @@
#include <comphelper/types.hxx>
#include <comphelper/uno3.hxx>
#include <cppuhelper/propshlp.hxx>
+#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <i18nlangtag/mslangid.hxx>
diff --git a/connectivity/inc/pch/precompiled_firebird_sdbc.hxx b/connectivity/inc/pch/precompiled_firebird_sdbc.hxx
index a14609007c84..92614e4b1923 100644
--- a/connectivity/inc/pch/precompiled_firebird_sdbc.hxx
+++ b/connectivity/inc/pch/precompiled_firebird_sdbc.hxx
@@ -28,6 +28,7 @@
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/EventObject.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
+#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <com/sun/star/sdbc/ColumnValue.hpp>
#include <com/sun/star/sdbc/DataType.hpp>
#include <com/sun/star/sdbc/FetchDirection.hpp>
@@ -44,7 +45,9 @@
#include <comphelper/processfactory.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/storagehelper.hxx>
+#include <cppuhelper/exc_hlp.hxx>
#include <cppuhelper/factory.hxx>
+#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <ibase.h>
@@ -56,8 +59,10 @@
#include <rtl/string.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/types.h>
+#include <stdexcept>
#include <svtools/miscopt.hxx>
#include <time.h>
+#include <unotools/localfilehelper.hxx>
#include <unotools/tempfile.hxx>
#include <unotools/ucbstreamhelper.hxx>
diff --git a/connectivity/inc/pch/precompiled_flat.hxx b/connectivity/inc/pch/precompiled_flat.hxx
index 66ce47d2ba92..f9ac31afa248 100644
--- a/connectivity/inc/pch/precompiled_flat.hxx
+++ b/connectivity/inc/pch/precompiled_flat.hxx
@@ -40,6 +40,7 @@
#include <comphelper/string.hxx>
#include <comphelper/types.hxx>
#include <cppuhelper/factory.hxx>
+#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <ctype.h>
#include <i18nlangtag/languagetag.hxx>
diff --git a/connectivity/inc/pch/precompiled_odbc.hxx b/connectivity/inc/pch/precompiled_odbc.hxx
index 61a720519683..fe7c4046de88 100644
--- a/connectivity/inc/pch/precompiled_odbc.hxx
+++ b/connectivity/inc/pch/precompiled_odbc.hxx
@@ -41,6 +41,7 @@
#include <comphelper/types.hxx>
#include <comphelper/uno3.hxx>
#include <cppuhelper/factory.hxx>
+#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <o3tl/compat_functional.hxx>
@@ -48,6 +49,8 @@
#include <osl/process.h>
#include <osl/thread.h>
#include <rtl/ustrbuf.hxx>
+#include <sal/config.h>
+#include <sal/types.h>
#include <stdio.h>
#include <string.h>
#include <string>
diff --git a/connectivity/inc/pch/precompiled_postgresql-sdbc-impl.hxx b/connectivity/inc/pch/precompiled_postgresql-sdbc-impl.hxx
index 9fe26c1bf3c1..9a19a91a7bc6 100644
--- a/connectivity/inc/pch/precompiled_postgresql-sdbc-impl.hxx
+++ b/connectivity/inc/pch/precompiled_postgresql-sdbc-impl.hxx
@@ -43,6 +43,7 @@
#include <com/sun/star/sdbcx/Privilege.hpp>
#include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
#include <com/sun/star/sdbcx/XKeysSupplier.hpp>
+#include <comphelper/sequence.hxx>
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/implementationentry.hxx>
#include <cppuhelper/queryinterface.hxx>
diff --git a/cppcanvas/inc/pch/precompiled_cppcanvas.hxx b/cppcanvas/inc/pch/precompiled_cppcanvas.hxx
index e9aabf862198..a40975e73b15 100644
--- a/cppcanvas/inc/pch/precompiled_cppcanvas.hxx
+++ b/cppcanvas/inc/pch/precompiled_cppcanvas.hxx
@@ -72,12 +72,14 @@
#include <rtl/math.hxx>
#include <rtl/ustring.hxx>
#include <sal/alloca.h>
+#include <sal/config.h>
#include <sal/types.h>
#include <stdio.h>
#include <tools/diagnose_ex.h>
#include <tools/gen.hxx>
#include <tools/poly.hxx>
#include <tools/stream.hxx>
+#include <utility>
#include <vcl/bitmapex.hxx>
#include <vcl/canvastools.hxx>
#include <vcl/gdimtf.hxx>
diff --git a/cppuhelper/inc/pch/precompiled_cppuhelper.hxx b/cppuhelper/inc/pch/precompiled_cppuhelper.hxx
index 81686f210d02..3bcc6fd16e0c 100644
--- a/cppuhelper/inc/pch/precompiled_cppuhelper.hxx
+++ b/cppuhelper/inc/pch/precompiled_cppuhelper.hxx
@@ -18,6 +18,7 @@
#include <boost/noncopyable.hpp>
#include <boost/scoped_array.hpp>
#include <boost/shared_ptr.hpp>
+#include <boost/weak_ptr.hpp>
#include <cassert>
#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/beans/Property.hpp>
@@ -78,6 +79,7 @@
#include <com/sun/star/reflection/XStructTypeDescription.hpp>
#include <com/sun/star/reflection/XTypeDescription.hpp>
#include <com/sun/star/reflection/theCoreReflection.hpp>
+#include <com/sun/star/registry/CannotRegisterImplementationException.hpp>
#include <com/sun/star/registry/InvalidRegistryException.hpp>
#include <com/sun/star/security/RuntimePermission.hpp>
#include <com/sun/star/security/XAccessController.hpp>
@@ -145,6 +147,7 @@
#include <uno/lbnames.h>
#include <uno/mapping.hxx>
#include <unoidl/unoidl.hxx>
+#include <unordered_map>
#include <vector>
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/inc/pch/precompiled_cui.hxx b/cui/inc/pch/precompiled_cui.hxx
index 9538003788fd..4c2d5a8df3eb 100644
--- a/cui/inc/pch/precompiled_cui.hxx
+++ b/cui/inc/pch/precompiled_cui.hxx
@@ -43,6 +43,7 @@
#include "svx/svxgrahicitem.hxx"
#include "svx/xattr.hxx"
#include "svx/xoutbmp.hxx"
+#include "ucbhelper/content.hxx"
#include <algorithm>
#include <avmedia/mediawindow.hxx>
#include <basegfx/color/bcolortools.hxx>
@@ -249,8 +250,9 @@
#include <com/sun/star/util/XChangesBatch.hpp>
#include <com/sun/star/util/XFlushable.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
-#include <com/sun/star/util/theMacroExpander.hpp>
#include <com/sun/star/util/thePathSettings.hpp>
+#include <com/sun/star/xml/sax/Parser.hpp>
+#include <com/sun/star/xml/sax/XParser.hpp>
#include <comphelper/anytostring.hxx>
#include <comphelper/broadcasthelper.hxx>
#include <comphelper/classids.hxx>
@@ -258,10 +260,12 @@
#include <comphelper/docpasswordrequest.hxx>
#include <comphelper/documentinfo.hxx>
#include <comphelper/extract.hxx>
+#include <comphelper/getexpandeduri.hxx>
#include <comphelper/namedvaluecollection.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/proparrhlp.hxx>
#include <comphelper/propertycontainer.hxx>
+#include <comphelper/random.hxx>
#include <comphelper/seqstream.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/sequenceashashmap.hxx>
@@ -346,6 +350,7 @@
#include <memory>
#include <officecfg/Office/Common.hxx>
#include <officecfg/Office/OptionsDialog.hxx>
+#include <osl/diagnose.h>
#include <osl/file.hxx>
#include <osl/module.hxx>
#include <osl/mutex.hxx>
@@ -356,7 +361,6 @@
#include <rtl/math.hxx>
#include <rtl/strbuf.hxx>
#include <rtl/textenc.h>
-#include <rtl/uri.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/ustring.hxx>
#include <sal/config.h>
@@ -417,6 +421,7 @@
#include <svl/cjkoptions.hxx>
#include <svl/cntwall.hxx>
#include <svl/ctloptions.hxx>
+#include <svl/currencytable.hxx>
#include <svl/eitem.hxx>
#include <svl/filenotation.hxx>
#include <svl/flagitem.hxx>
@@ -542,6 +547,7 @@
#include <svx/sxmtpitm.hxx>
#include <svx/sxmtritm.hxx>
#include <svx/sxmuitm.hxx>
+#include <svx/transfrmhelper.hxx>
#include <svx/ucsubset.hxx>
#include <svx/unobrushitemhelper.hxx>
#include <svx/viewlayoutitem.hxx>
@@ -561,6 +567,7 @@
#include <tools/date.hxx>
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
+#include <tools/fract.hxx>
#include <tools/mapunit.hxx>
#include <tools/rc.h>
#include <tools/rcid.h>
@@ -602,6 +609,7 @@
#include <unotools/ucbstreamhelper.hxx>
#include <unotools/useroptions.hxx>
#include <unotools/viewoptions.hxx>
+#include <utility>
#include <vcl/IconThemeInfo.hxx>
#include <vcl/bitmap.hxx>
#include <vcl/bmpacc.hxx>
diff --git a/dbaccess/inc/pch/precompiled_dba.hxx b/dbaccess/inc/pch/precompiled_dba.hxx
index 0815ae41daab..d097d7933c88 100644
--- a/dbaccess/inc/pch/precompiled_dba.hxx
+++ b/dbaccess/inc/pch/precompiled_dba.hxx
@@ -122,6 +122,7 @@
#include <com/sun/star/lang/WrappedTargetException.hpp>
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <com/sun/star/lang/XComponent.hpp>
+#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/reflection/ProxyFactory.hpp>
#include <com/sun/star/registry/InvalidRegistryException.hpp>
@@ -270,6 +271,7 @@
#include <comphelper/string.hxx>
#include <comphelper/types.hxx>
#include <comphelper/uno3.hxx>
+#include <config_features.h>
#include <connectivity/BlobHelper.hxx>
#include <connectivity/CommonTools.hxx>
#include <connectivity/FValue.hxx>
@@ -318,6 +320,7 @@
#include <rtl/ref.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/config.h>
+#include <sal/log.hxx>
#include <sal/macros.h>
#include <sax/tools/converter.hxx>
#include <set>
diff --git a/dbaccess/inc/pch/precompiled_dbmm.hxx b/dbaccess/inc/pch/precompiled_dbmm.hxx
index 7ff78a8232d7..30ada28e3334 100644
--- a/dbaccess/inc/pch/precompiled_dbmm.hxx
+++ b/dbaccess/inc/pch/precompiled_dbmm.hxx
@@ -14,6 +14,7 @@
also fixes all possible problems, so it's usually better to use it).
*/
+#include <algorithm>
#include <com/sun/star/document/XEmbeddedScripts.hpp>
#include <com/sun/star/document/XEventsSupplier.hpp>
#include <com/sun/star/document/XStorageBasedDocument.hpp>
@@ -72,8 +73,8 @@
#include <tools/urlobj.hxx>
#include <ucbhelper/content.hxx>
#include <unotools/sharedunocomponent.hxx>
+#include <vcl/layout.hxx>
#include <vcl/metric.hxx>
-#include <vcl/msgbox.hxx>
#include <vcl/svapp.hxx>
#include <vector>
#include <xmlscript/xmldlg_imexp.hxx>
diff --git a/dbaccess/inc/pch/precompiled_dbu.hxx b/dbaccess/inc/pch/precompiled_dbu.hxx
index fbdb795f00fc..ac40b27a5606 100644
--- a/dbaccess/inc/pch/precompiled_dbu.hxx
+++ b/dbaccess/inc/pch/precompiled_dbu.hxx
@@ -14,11 +14,9 @@
also fixes all possible problems, so it's usually better to use it).
*/
-#include "com/sun/star/beans/NamedValue.hpp"
#include "com/sun/star/beans/XMultiPropertySet.hpp"
#include "com/sun/star/beans/XPropertiesChangeListener.hpp"
#include "com/sun/star/sdb/RowSetVetoException.hpp"
-#include "com/sun/star/ui/dialogs/TemplateDescription.hpp"
#include "comphelper/processfactory.hxx"
#include "cppuhelper/basemutex.hxx"
#include "officecfg/Office/Common.hxx"
@@ -36,7 +34,6 @@
#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
#include <cassert>
-#include <unordered_map>
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
#include <com/sun/star/accessibility/AccessibleRelationType.hpp>
#include <com/sun/star/accessibility/AccessibleRole.hpp>
@@ -142,6 +139,7 @@
#include <com/sun/star/io/XActiveDataSource.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
+#include <com/sun/star/lang/NotInitializedException.hpp>
#include <com/sun/star/lang/XEventListener.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
@@ -179,12 +177,14 @@
#include <com/sun/star/sdb/XSingleSelectQueryAnalyzer.hpp>
#include <com/sun/star/sdb/XSingleSelectQueryComposer.hpp>
#include <com/sun/star/sdb/XTextConnectionSettings.hpp>
+#include <com/sun/star/sdb/application/CopyTableContinuation.hpp>
#include <com/sun/star/sdb/application/CopyTableOperation.hpp>
#include <com/sun/star/sdb/application/CopyTableWizard.hpp>
#include <com/sun/star/sdb/application/DatabaseObject.hpp>
#include <com/sun/star/sdb/application/DatabaseObjectContainer.hpp>
#include <com/sun/star/sdb/application/MacroMigrationWizard.hpp>
#include <com/sun/star/sdb/application/NamedDatabaseObject.hpp>
+#include <com/sun/star/sdb/application/XCopyTableWizard.hpp>
#include <com/sun/star/sdb/application/XDatabaseDocumentUI.hpp>
#include <com/sun/star/sdb/application/XTableUIProvider.hpp>
#include <com/sun/star/sdb/tools/XConnectionTools.hpp>
@@ -192,10 +192,13 @@
#include <com/sun/star/sdbc/ColumnValue.hpp>
#include <com/sun/star/sdbc/ConnectionPool.hpp>
#include <com/sun/star/sdbc/DataType.hpp>
+#include <com/sun/star/sdbc/DriverManager.hpp>
#include <com/sun/star/sdbc/FetchDirection.hpp>
#include <com/sun/star/sdbc/KeyRule.hpp>
#include <com/sun/star/sdbc/SQLException.hpp>
#include <com/sun/star/sdbc/SQLWarning.hpp>
+#include <com/sun/star/sdbc/XBlob.hpp>
+#include <com/sun/star/sdbc/XClob.hpp>
#include <com/sun/star/sdbc/XColumnLocate.hpp>
#include <com/sun/star/sdbc/XConnection.hpp>
#include <com/sun/star/sdbc/XDataSource.hpp>
@@ -242,6 +245,7 @@
#include <com/sun/star/task/XInteractionRequest.hpp>
#include <com/sun/star/task/XInteractionRetry.hpp>
#include <com/sun/star/task/XJobExecutor.hpp>
+#include <com/sun/star/ucb/AlreadyInitializedException.hpp>
#include <com/sun/star/ucb/AuthenticationRequest.hpp>
#include <com/sun/star/ucb/Command.hpp>
#include <com/sun/star/ucb/IOErrorCode.hpp>
@@ -301,6 +305,7 @@
#include <comphelper/namedvaluecollection.hxx>
#include <comphelper/numbers.hxx>
#include <comphelper/processfactory.hxx>
+#include <comphelper/proparrhlp.hxx>
#include <comphelper/property.hxx>
#include <comphelper/seqstream.hxx>
#include <comphelper/sequence.hxx>
@@ -447,6 +452,7 @@
#include <ucbhelper/content.hxx>
#include <ucbhelper/interactionrequest.hxx>
#include <ucbhelper/simpleauthenticationrequest.hxx>
+#include <unordered_map>
#include <unotools/bootstrap.hxx>
#include <unotools/closeveto.hxx>
#include <unotools/configmgr.hxx>
@@ -455,6 +461,7 @@
#include <unotools/localfilehelper.hxx>
#include <unotools/moduleoptions.hxx>
#include <unotools/pathoptions.hxx>
+#include <unotools/sharedunocomponent.hxx>
#include <unotools/syslocale.hxx>
#include <unotools/tempfile.hxx>
#include <unotools/ucbhelper.hxx>
diff --git a/desktop/inc/pch/precompiled_deployment.hxx b/desktop/inc/pch/precompiled_deployment.hxx
index fe14641f5929..e8b9ba7f5e4a 100644
--- a/desktop/inc/pch/precompiled_deployment.hxx
+++ b/desktop/inc/pch/precompiled_deployment.hxx
@@ -18,8 +18,6 @@
#include <boost/bind.hpp>
#include <boost/optional.hpp>
#include <cassert>
-#include <unordered_map>
-#include <unordered_set>
#include <com/sun/star/beans/Ambiguous.hpp>
#include <com/sun/star/beans/Optional.hpp>
#include <com/sun/star/beans/StringPair.hpp>
@@ -143,6 +141,8 @@
#include <svl/inettype.hxx>
#include <ucbhelper/content.hxx>
#include <uno/current_context.hxx>
+#include <unordered_map>
+#include <unordered_set>
#include <unotools/pathoptions.hxx>
#include <unotools/tempfile.hxx>
#include <unotools/ucbhelper.hxx>
diff --git a/desktop/inc/pch/precompiled_deploymentgui.hxx b/desktop/inc/pch/precompiled_deploymentgui.hxx
index cc3b7fae3c87..888858290e6c 100644
--- a/desktop/inc/pch/precompiled_deploymentgui.hxx
+++ b/desktop/inc/pch/precompiled_deploymentgui.hxx
@@ -140,6 +140,7 @@
#include <vcl/dialog.hxx>
#include <vcl/fixed.hxx>
#include <vcl/image.hxx>
+#include <vcl/layout.hxx>
#include <vcl/menu.hxx>
#include <vcl/msgbox.hxx>
#include <vcl/scrbar.hxx>
diff --git a/desktop/inc/pch/precompiled_deploymentmisc.hxx b/desktop/inc/pch/precompiled_deploymentmisc.hxx
index a50cc5600825..fdfc13b8bda2 100644
--- a/desktop/inc/pch/precompiled_deploymentmisc.hxx
+++ b/desktop/inc/pch/precompiled_deploymentmisc.hxx
@@ -52,8 +52,10 @@
#include <com/sun/star/xml/xpath/XPathAPI.hpp>
#include <comphelper/makesequence.hxx>
#include <comphelper/processfactory.hxx>
+#include <comphelper/random.hxx>
#include <comphelper/seqstream.hxx>
#include <comphelper/sequence.hxx>
+#include <config_features.h>
#include <config_folders.h>
#include <cppuhelper/exc_hlp.hxx>
#include <cppuhelper/implbase1.hxx>
diff --git a/desktop/inc/pch/precompiled_sofficeapp.hxx b/desktop/inc/pch/precompiled_sofficeapp.hxx
index 3062919e7548..764e8016efc9 100644
--- a/desktop/inc/pch/precompiled_sofficeapp.hxx
+++ b/desktop/inc/pch/precompiled_sofficeapp.hxx
@@ -23,7 +23,6 @@
#include <boost/scoped_array.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
-#include <boost/weak_ptr.hpp>
#include <cassert>
#include <com/sun/star/awt/XTopWindow.hpp>
#include <com/sun/star/beans/NamedValue.hpp>
@@ -37,6 +36,7 @@
#include <com/sun/star/configuration/backend/BackendAccessException.hpp>
#include <com/sun/star/configuration/backend/BackendSetupException.hpp>
#include <com/sun/star/configuration/theDefaultProvider.hpp>
+#include <com/sun/star/container/XContainerQuery.hpp>
#include <com/sun/star/container/XEnumeration.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/deployment/ExtensionManager.hpp>
@@ -46,7 +46,8 @@
#include <com/sun/star/document/CorruptedFilterConfigurationException.hpp>
#include <com/sun/star/document/MacroExecMode.hpp>
#include <com/sun/star/document/UpdateDocMode.hpp>
-#include <com/sun/star/document/XEventListener.hpp>
+#include <com/sun/star/document/XDocumentEventListener.hpp>
+#include <com/sun/star/document/XTypeDetection.hpp>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/embed/FileSystemStorageFactory.hpp>
#include <com/sun/star/embed/XStorage.hpp>
@@ -57,21 +58,19 @@
#include <com/sun/star/frame/XDispatch.hpp>
#include <com/sun/star/frame/XDispatchProvider.hpp>
#include <com/sun/star/frame/XFramesSupplier.hpp>
-#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/frame/XSessionManagerListener.hpp>
#include <com/sun/star/frame/XStorable.hpp>
+#include <com/sun/star/frame/XStorable2.hpp>
#include <com/sun/star/frame/XSynchronousDispatch.hpp>
#include <com/sun/star/frame/XUIControllerRegistration.hpp>
#include <com/sun/star/frame/theAutoRecovery.hpp>
#include <com/sun/star/frame/theGlobalEventBroadcaster.hpp>
#include <com/sun/star/frame/thePopupMenuControllerFactory.hpp>
#include <com/sun/star/frame/theUICommandDescription.hpp>
-#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/lang/ServiceNotRegisteredException.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XLocalizable.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/office/Quickstart.hpp>
#include <com/sun/star/packages/zip/ZipIOException.hpp>
#include <com/sun/star/registry/XSimpleRegistry.hpp>
@@ -85,7 +84,6 @@
#include <com/sun/star/task/theJobExecutor.hpp>
#include <com/sun/star/ucb/UniversalContentBroker.hpp>
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
-#include <com/sun/star/ucb/XContentProvider.hpp>
#include <com/sun/star/ucb/XUniversalContentBroker.hpp>
#include <com/sun/star/ui/UIConfigurationManager.hpp>
#include <com/sun/star/ui/XUIConfiguration.hpp>
@@ -114,12 +112,14 @@
#include <comphelper/configuration.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/sequence.hxx>
+#include <comphelper/storagehelper.hxx>
#include <comphelper/string.hxx>
#include <comphelper/synchronousdispatch.hxx>
#include <config_features.h>
#include <config_folders.h>
#include <config_telepathy.h>
#include <config_vclplug.h>
+#include <config_version.h>
#include <cppuhelper/bootstrap.hxx>
#include <cppuhelper/compbase3.hxx>
#include <cppuhelper/implbase1.hxx>
@@ -140,7 +140,6 @@
#include <osl/file.h>
#include <osl/file.hxx>
#include <osl/module.h>
-#include <osl/module.hxx>
#include <osl/mutex.hxx>
#include <osl/process.h>
#include <osl/security.hxx>
@@ -156,7 +155,6 @@
#include <sal/config.h>
#include <sal/log.hxx>
#include <sal/types.h>
-#include <salinst.hxx>
#include <set>
#include <sfx2/app.hxx>
#include <sfx2/docfile.hxx>
@@ -164,7 +162,6 @@
#include <sfx2/fcontnr.hxx>
#include <stdio.h>
#include <stdlib.h>
-#include <string.h>
#include <svl/documentlockfile.hxx>
#include <svl/eitem.hxx>
#include <svl/fstathelper.hxx>
@@ -179,11 +176,9 @@
#include <svtools/miscopt.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <tools/config.hxx>
-#include <tools/errinf.hxx>
#include <tools/extendapplicationenvironment.hxx>
#include <tools/getprocessworkingdir.hxx>
#include <tools/rcid.h>
-#include <tools/resmgr.hxx>
#include <tools/urlobj.hxx>
#include <uno/current_context.hxx>
#include <unotools/bootstrap.hxx>
@@ -192,19 +187,17 @@
#include <unotools/mediadescriptor.hxx>
#include <unotools/moduleoptions.hxx>
#include <unotools/pathoptions.hxx>
-#include <unotools/syslocaleoptions.hxx>
#include <unotools/tempfile.hxx>
#include <unotools/textsearch.hxx>
#include <unotools/ucbhelper.hxx>
#include <vcl/graphicfilter.hxx>
#include <vcl/help.hxx>
+#include <vcl/layout.hxx>
#include <vcl/msgbox.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <vcl/svmain.hxx>
-#include <vcl/sysdata.hxx>
#include <vcl/timer.hxx>
-#include <vcl/virdev.hxx>
#include <vcl/wrkwin.hxx>
#include <vector>
diff --git a/drawinglayer/inc/pch/precompiled_drawinglayer.hxx b/drawinglayer/inc/pch/precompiled_drawinglayer.hxx
index 9e5efa2763d9..d993b0664ec7 100644
--- a/drawinglayer/inc/pch/precompiled_drawinglayer.hxx
+++ b/drawinglayer/inc/pch/precompiled_drawinglayer.hxx
@@ -79,6 +79,7 @@
#include <com/sun/star/xml/sax/XParser.hpp>
#include <comphelper/broadcasthelper.hxx>
#include <comphelper/processfactory.hxx>
+#include <comphelper/random.hxx>
#include <comphelper/scoped_disposing_ptr.hxx>
#include <comphelper/string.hxx>
#include <cppuhelper/factory.hxx>
@@ -89,6 +90,7 @@
#include <iostream>
#include <libxml/xmlwriter.h>
#include <numeric>
+#include <osl/diagnose.h>
#include <rtl/instance.hxx>
#include <rtl/strbuf.hxx>
#include <rtl/ustrbuf.hxx>
@@ -103,6 +105,7 @@
#include <toolkit/helper/vclunohelper.hxx>
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
+#include <tools/fract.hxx>
#include <tools/gen.hxx>
#include <tools/stream.hxx>
#include <vcl/animate.hxx>
diff --git a/editeng/inc/pch/precompiled_editeng.hxx b/editeng/inc/pch/precompiled_editeng.hxx
index b7da7d29304b..5831f78fce09 100644
--- a/editeng/inc/pch/precompiled_editeng.hxx
+++ b/editeng/inc/pch/precompiled_editeng.hxx
@@ -22,12 +22,12 @@
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <boost/bind.hpp>
+#include <boost/intrusive_ptr.hpp>
#include <boost/make_shared.hpp>
#include <boost/ref.hpp>
#include <boost/scoped_array.hpp>
#include <boost/scoped_ptr.hpp>
#include <cassert>
-#include <unordered_map>
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
#include <com/sun/star/accessibility/AccessibleRelationType.hpp>
#include <com/sun/star/accessibility/AccessibleRole.hpp>
@@ -179,6 +179,9 @@
#include <com/sun/star/util/SortField.hpp>
#include <com/sun/star/util/SortFieldType.hpp>
#include <com/sun/star/xml/AttributeData.hpp>
+#include <com/sun/star/xml/sax/FastParser.hpp>
+#include <com/sun/star/xml/sax/FastToken.hpp>
+#include <com/sun/star/xml/sax/FastTokenHandler.hpp>
#include <com/sun/star/xml/sax/InputSource.hpp>
#include <com/sun/star/xml/sax/Parser.hpp>
#include <com/sun/star/xml/sax/Writer.hpp>
@@ -195,6 +198,7 @@
#include <comphelper/types.hxx>
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/implbase4.hxx>
+#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <cppuhelper/weakref.hxx>
@@ -203,6 +207,7 @@
#include <i18nlangtag/languagetag.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <i18nutil/unicode.hxx>
+#include <libxml/xmlwriter.h>
#include <limits.h>
#include <limits>
#include <linguistic/lngprops.hxx>
@@ -262,17 +267,20 @@
#include <tools/color.hxx>
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
+#include <tools/errinf.hxx>
#include <tools/gen.hxx>
#include <tools/mapunit.hxx>
#include <tools/poly.hxx>
#include <tools/resid.hxx>
#include <tools/rtti.hxx>
+#include <tools/solar.h>
#include <tools/stream.hxx>
#include <tools/tenccvt.hxx>
#include <tools/urlobj.hxx>
#include <ucbhelper/commandenvironment.hxx>
#include <ucbhelper/content.hxx>
#include <unicode/ubidi.h>
+#include <unordered_map>
#include <unotools/accessiblerelationsethelper.hxx>
#include <unotools/accessiblestatesethelper.hxx>
#include <unotools/charclass.hxx>
@@ -304,6 +312,7 @@
#include <vcl/graphicfilter.hxx>
#include <vcl/help.hxx>
#include <vcl/keycodes.hxx>
+#include <vcl/layout.hxx>
#include <vcl/mapmod.hxx>
#include <vcl/menu.hxx>
#include <vcl/metaact.hxx>
diff --git a/framework/inc/pch/precompiled_fwe.hxx b/framework/inc/pch/precompiled_fwe.hxx
index 1747dc065f8a..ec8ec98a2602 100644
--- a/framework/inc/pch/precompiled_fwe.hxx
+++ b/framework/inc/pch/precompiled_fwe.hxx
@@ -16,7 +16,6 @@
#include <algorithm>
#include <boost/function.hpp>
-#include <unordered_map>
#include <com/sun/star/awt/XBitmap.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
@@ -46,17 +45,16 @@
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
-#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/util/DateTime.hpp>
#include <com/sun/star/util/URL.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
-#include <com/sun/star/util/theMacroExpander.hpp>
#include <com/sun/star/xml/sax/Parser.hpp>
#include <com/sun/star/xml/sax/Writer.hpp>
#include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
#include <comphelper/asyncnotification.hxx>
#include <comphelper/attributelist.hxx>
#include <comphelper/flagguard.hxx>
+#include <comphelper/getexpandeduri.hxx>
#include <comphelper/interaction.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/sequenceashashmap.hxx>
@@ -64,16 +62,17 @@
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/interfacecontainer.hxx>
#include <cppuhelper/proptypehlp.hxx>
+#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <cppuhelper/weak.hxx>
#include <limits.h>
#include <osl/conditn.hxx>
+#include <osl/diagnose.h>
#include <osl/mutex.hxx>
#include <queue>
#include <rtl/ref.hxx>
#include <rtl/strbuf.hxx>
-#include <rtl/uri.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/config.h>
#include <sal/macros.h>
@@ -85,6 +84,7 @@
#include <tools/diagnose_ex.h>
#include <tools/stream.hxx>
#include <tools/urlobj.hxx>
+#include <unordered_map>
#include <unotools/bootstrap.hxx>
#include <unotools/configitem.hxx>
#include <unotools/configmgr.hxx>
diff --git a/framework/inc/pch/precompiled_fwk.hxx b/framework/inc/pch/precompiled_fwk.hxx
index ee59e9094fcb..98d91b4f1b14 100644
--- a/framework/inc/pch/precompiled_fwk.hxx
+++ b/framework/inc/pch/precompiled_fwk.hxx
@@ -16,7 +16,6 @@
#include "officecfg/Office/Common.hxx"
#include <algorithm>
-#include <unordered_map>
#include <boost/bind.hpp>
#include <boost/noncopyable.hpp>
#include <boost/scoped_ptr.hpp>
@@ -257,7 +256,6 @@
#include <com/sun/star/util/XStringSubstitution.hpp>
#include <com/sun/star/util/XStringWidth.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
-#include <com/sun/star/util/theMacroExpander.hpp>
#include <com/sun/star/util/thePathSettings.hpp>
#include <com/sun/star/xml/sax/InputSource.hpp>
#include <com/sun/star/xml/sax/Parser.hpp>
@@ -269,6 +267,7 @@
#include <comphelper/configurationhelper.hxx>
#include <comphelper/enumhelper.hxx>
#include <comphelper/extract.hxx>
+#include <comphelper/getexpandeduri.hxx>
#include <comphelper/interaction.hxx>
#include <comphelper/namedvaluecollection.hxx>
#include <comphelper/processfactory.hxx>
@@ -298,6 +297,7 @@
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <cppuhelper/weak.hxx>
+#include <cstring>
#include <functional>
#include <i18nlangtag/languagetag.hxx>
#include <i18nlangtag/mslangid.hxx>
@@ -364,6 +364,7 @@
#include <tools/wldcrd.hxx>
#include <ucbhelper/content.hxx>
#include <uno/current_context.hxx>
+#include <unordered_map>
#include <unotools/bootstrap.hxx>
#include <unotools/cmdoptions.hxx>
#include <unotools/configitem.hxx>
diff --git a/hwpfilter/inc/pch/precompiled_hwp.hxx b/hwpfilter/inc/pch/precompiled_hwp.hxx
index f149f13f8d71..13658fb72775 100644
--- a/hwpfilter/inc/pch/precompiled_hwp.hxx
+++ b/hwpfilter/inc/pch/precompiled_hwp.hxx
@@ -25,6 +25,7 @@
#include <list>
#include <locale.h>
#include <math.h>
+#include <memory>
#include <osl/diagnose.h>
#include <sal/config.h>
#include <sal/macros.h>
diff --git a/oox/inc/pch/precompiled_oox.hxx b/oox/inc/pch/precompiled_oox.hxx
index 6b6d99129ee9..03696c9667ae 100644
--- a/oox/inc/pch/precompiled_oox.hxx
+++ b/oox/inc/pch/precompiled_oox.hxx
@@ -25,6 +25,7 @@
#include "svx/EnhancedCustomShapeTypeNames.hxx"
#include <algorithm>
#include <assert.h>
+#include <basegfx/color/bcolor.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/numeric/ftools.hxx>
#include <basegfx/point/b2dpoint.hxx>
@@ -321,6 +322,7 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/uri/UriReferenceFactory.hpp>
+#include <com/sun/star/util/Duration.hpp>
#include <com/sun/star/util/MeasureUnit.hpp>
#include <com/sun/star/util/XNumberFormatTypes.hpp>
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
@@ -339,6 +341,7 @@
#include <comphelper/configurationhelper.hxx>
#include <comphelper/docpasswordhelper.hxx>
#include <comphelper/processfactory.hxx>
+#include <comphelper/random.hxx>
#include <comphelper/seqstream.hxx>
#include <comphelper/sequenceashashmap.hxx>
#include <comphelper/sequenceasvector.hxx>
@@ -401,6 +404,9 @@
#include <svx/unoapi.hxx>
#include <svx/unopage.hxx>
#include <svx/unoshape.hxx>
+#include <tools/color.hxx>
+#include <tools/date.hxx>
+#include <tools/datetime.hxx>
#include <tools/gen.hxx>
#include <tools/globname.hxx>
#include <tools/mapunit.hxx>
diff --git a/package/inc/pch/precompiled_package2.hxx b/package/inc/pch/precompiled_package2.hxx
index 600b6812c75c..8c5fff94ce0a 100644
--- a/package/inc/pch/precompiled_package2.hxx
+++ b/package/inc/pch/precompiled_package2.hxx
@@ -34,6 +34,7 @@
#include <com/sun/star/io/XTruncate.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
+#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <com/sun/star/packages/manifest/ManifestReader.hpp>
diff --git a/package/inc/pch/precompiled_xstor.hxx b/package/inc/pch/precompiled_xstor.hxx
index cd8ae7a74ba2..28988a6cac57 100644
--- a/package/inc/pch/precompiled_xstor.hxx
+++ b/package/inc/pch/precompiled_xstor.hxx
@@ -33,6 +33,7 @@
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <com/sun/star/lang/XComponent.hpp>
+#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XTypeProvider.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <com/sun/star/logging/DocumentIOLogRing.hpp>
@@ -50,10 +51,12 @@
#include <comphelper/storagehelper.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <cppuhelper/factory.hxx>
+#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <osl/diagnose.h>
#include <rtl/digest.h>
#include <rtl/instance.hxx>
+#include <sal/config.h>
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/reportdesign/inc/pch/precompiled_rptui.hxx b/reportdesign/inc/pch/precompiled_rptui.hxx
index 0d00098cacb3..4b2793f40a48 100644
--- a/reportdesign/inc/pch/precompiled_rptui.hxx
+++ b/reportdesign/inc/pch/precompiled_rptui.hxx
@@ -80,6 +80,7 @@
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/lang/NullPointerException.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
+#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/linguistic2/XSpellChecker1.hpp>
#include <com/sun/star/report/Function.hpp>
@@ -262,6 +263,16 @@
#include <svx/unoprov.hxx>
#include <svx/unoshape.hxx>
#include <svx/xdef.hxx>
+#include <svx/xfillit.hxx>
+#include <svx/xflbckit.hxx>
+#include <svx/xflbmpit.hxx>
+#include <svx/xflbmsli.hxx>
+#include <svx/xflbmsxy.hxx>
+#include <svx/xflbmtit.hxx>
+#include <svx/xflboxy.hxx>
+#include <svx/xflbstit.hxx>
+#include <svx/xflbtoxy.hxx>
+#include <svx/xfltrit.hxx>
#include <svx/xgrscit.hxx>
#include <svx/xlineit0.hxx>
#include <svx/xlnclit.hxx>
diff --git a/sal/inc/pch/precompiled_sal.hxx b/sal/inc/pch/precompiled_sal.hxx
index 53d4c50535f7..1ac777dcf076 100644
--- a/sal/inc/pch/precompiled_sal.hxx
+++ b/sal/inc/pch/precompiled_sal.hxx
@@ -20,7 +20,9 @@
#include "osl/diagnose.hxx"
#include "osl/module.h"
#include "osl/module.hxx"
+#include "osl/pipe.h"
#include "osl/process.h"
+#include "osl/socket.h"
#include "osl/thread.h"
#include "osl/thread.hxx"
#include "osl/time.h"
@@ -53,7 +55,6 @@
#include <assert.h>
#include <boost/noncopyable.hpp>
#include <boost/scoped_array.hpp>
-#include <boost/unordered_map.hpp>
#include <cassert>
#include <config_features.h>
#include <config_folders.h>
@@ -69,6 +70,7 @@
#include <osl/diagnose.h>
#include <osl/doublecheckedlocking.h>
#include <osl/endian.h>
+#include <osl/file.h>
#include <osl/file.hxx>
#include <osl/interlck.h>
#include <osl/module.h>
@@ -106,6 +108,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unordered_map>
#include <vector>
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/pch/precompiled_sc.hxx b/sc/inc/pch/precompiled_sc.hxx
index 476dea8b6401..249cd6d8e964 100644
--- a/sc/inc/pch/precompiled_sc.hxx
+++ b/sc/inc/pch/precompiled_sc.hxx
@@ -15,6 +15,7 @@
*/
#include "libxml/xpath.h"
+#include "officecfg/Office/Calc.hxx"
#include <algorithm>
#include <avmedia/mediaitem.hxx>
#include <avmedia/mediaplayer.hxx>
@@ -36,25 +37,17 @@
#include <basic/sbxobj.hxx>
#include <boost/bind.hpp>
#include <boost/checked_delete.hpp>
+#include <boost/math/special_functions/log1p.hpp>
#include <boost/noncopyable.hpp>
+#include <boost/ptr_container/ptr_map.hpp>
#include <boost/ptr_container/ptr_vector.hpp>
#include <boost/random.hpp>
-#include <boost/random/bernoulli_distribution.hpp>
-#include <boost/random/binomial_distribution.hpp>
-#include <boost/random/cauchy_distribution.hpp>
-#include <boost/random/chi_squared_distribution.hpp>
-#include <boost/random/geometric_distribution.hpp>
-#include <boost/random/negative_binomial_distribution.hpp>
-#include <boost/random/normal_distribution.hpp>
-#include <boost/random/uniform_int_distribution.hpp>
-#include <boost/random/uniform_real_distribution.hpp>
#include <boost/scoped_array.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/static_assert.hpp>
#include <cassert>
#include <climits>
-#include <cmath>
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
#include <com/sun/star/accessibility/AccessibleEventObject.hpp>
#include <com/sun/star/accessibility/AccessibleRelationType.hpp>
@@ -125,6 +118,7 @@
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/datatransfer/XTransferable.hpp>
#include <com/sun/star/document/IndexedPropertyValues.hpp>
+#include <com/sun/star/document/LinkUpdateModes.hpp>
#include <com/sun/star/document/NamedPropertyValues.hpp>
#include <com/sun/star/document/UpdateDocMode.hpp>
#include <com/sun/star/document/XActionLockable.hpp>
@@ -307,7 +301,6 @@
#include <com/sun/star/sheet/XSheetAnnotationsSupplier.hpp>
#include <com/sun/star/sheet/XSheetCellRange.hpp>
#include <com/sun/star/sheet/XSheetCondition.hpp>
-#include <com/sun/star/sheet/XSheetConditionalEntries.hpp>
#include <com/sun/star/sheet/XSheetConditionalEntry.hpp>
#include <com/sun/star/sheet/XSheetLinkable.hpp>
#include <com/sun/star/sheet/XSolver.hpp>
@@ -428,7 +421,6 @@
#include <comphelper/types.hxx>
#include <comphelper/uno3.hxx>
#include <config_features.h>
-#include <config_folders.h>
#include <config_mpl.h>
#include <config_options.h>
#include <config_orcus.h>
@@ -527,6 +519,7 @@
#include <formula/formulahelper.hxx>
#include <formula/grammar.hxx>
#include <formula/opcode.hxx>
+#include <formula/random.hxx>
#include <formula/token.hxx>
#include <formula/vectortoken.hxx>
#include <functional>
@@ -546,8 +539,10 @@
#include <mdds/multi_type_vector_types.hpp>
#include <memory>
#include <numeric>
+#include <o3tl/ptr_container.hxx>
#include <officecfg/Office/Calc.hxx>
#include <officecfg/Office/Common.hxx>
+#include <opencl/openclwrapper.hxx>
#include <osl/conditn.hxx>
#include <osl/diagnose.h>
#include <osl/file.hxx>
@@ -556,7 +551,9 @@
#include <osl/security.hxx>
#include <osl/thread.h>
#include <osl/time.h>
+#include <ostream>
#include <queue>
+#include <random>
#include <rsc/rscsfx.hxx>
#include <rtl/bootstrap.hxx>
#include <rtl/crc.h>
@@ -613,6 +610,7 @@
#include <sfx2/sfxmodelfactory.hxx>
#include <sfx2/sidebar/ControlFactory.hxx>
#include <sfx2/sidebar/EnumContext.hxx>
+#include <sfx2/sidebar/Sidebar.hxx>
#include <sfx2/sidebar/SidebarChildWindow.hxx>
#include <sfx2/sidebar/SidebarPanelBase.hxx>
#include <sfx2/sidebar/Theme.hxx>
@@ -708,6 +706,7 @@
#include <svx/AccessibleShapeTreeInfo.hxx>
#include <svx/AccessibleTextHelper.hxx>
#include <svx/AffineMatrixItem.hxx>
+#include <svx/ParaLineSpacingPopup.hxx>
#include <svx/ShapeTypeHandler.hxx>
#include <svx/SvxShapeTypes.hxx>
#include <svx/algitem.hxx>
@@ -817,7 +816,6 @@
#include <svx/tbcontrl.hxx>
#include <svx/tbxalign.hxx>
#include <svx/tbxcolor.hxx>
-#include <svx/tbxcolorupdate.hxx>
#include <svx/tbxctl.hxx>
#include <svx/tbxcustomshapes.hxx>
#include <svx/txenctab.hxx>
@@ -886,7 +884,6 @@
#include <tools/resary.hxx>
#include <tools/resid.hxx>
#include <tools/rtti.hxx>
-#include <tools/shl.hxx>
#include <tools/solar.h>
#include <tools/stream.hxx>
#include <tools/tenccvt.hxx>
diff --git a/sc/inc/pch/precompiled_scfilt.hxx b/sc/inc/pch/precompiled_scfilt.hxx
index 40a09ab18ebe..3ad7f6d11144 100644
--- a/sc/inc/pch/precompiled_scfilt.hxx
+++ b/sc/inc/pch/precompiled_scfilt.hxx
@@ -182,6 +182,7 @@
#include <com/sun/star/sheet/DataPilotFieldShowItemsMode.hpp>
#include <com/sun/star/sheet/DataPilotFieldSortInfo.hpp>
#include <com/sun/star/sheet/DataPilotFieldSortMode.hpp>
+#include <com/sun/star/sheet/DataPilotOutputRangeType.hpp>
#include <com/sun/star/sheet/ExternalLinkType.hpp>
#include <com/sun/star/sheet/ExternalReference.hpp>
#include <com/sun/star/sheet/FilterConnection.hpp>
@@ -238,16 +239,13 @@
#include <com/sun/star/sheet/XSheetAnnotations.hpp>
#include <com/sun/star/sheet/XSheetAnnotationsSupplier.hpp>
#include <com/sun/star/sheet/XSheetCellRangeContainer.hpp>
-#include <com/sun/star/sheet/XSheetCellRanges.hpp>
#include <com/sun/star/sheet/XSheetCondition2.hpp>
-#include <com/sun/star/sheet/XSheetConditionalEntries.hpp>
#include <com/sun/star/sheet/XSheetFilterDescriptor3.hpp>
#include <com/sun/star/sheet/XSheetLinkable.hpp>
#include <com/sun/star/sheet/XSheetOperation.hpp>
#include <com/sun/star/sheet/XSheetOutline.hpp>
#include <com/sun/star/sheet/XSpreadsheet.hpp>
#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
-#include <com/sun/star/sheet/XSpreadsheets.hpp>
#include <com/sun/star/sheet/XUnnamedDatabaseRanges.hpp>
#include <com/sun/star/style/GraphicLocation.hpp>
#include <com/sun/star/style/HorizontalAlignment.hpp>
@@ -292,7 +290,9 @@
#include <comphelper/processfactory.hxx>
#include <comphelper/sequenceashashmap.hxx>
#include <comphelper/string.hxx>
+#include <comphelper/threadpool.hxx>
#include <comphelper/types.hxx>
+#include <config_features.h>
#include <config_orcus.h>
#include <cppuhelper/component_context.hxx>
#include <cppuhelper/factory.hxx>
@@ -354,6 +354,8 @@
#include <map>
#include <math.h>
#include <memory>
+#include <o3tl/numeric.hxx>
+#include <o3tl/ptr_container.hxx>
#include <officecfg/Office/Calc.hxx>
#include <officecfg/Setup.hxx>
#include <officecfg/System.hxx>
@@ -497,6 +499,7 @@
#include <svx/xlnstwit.hxx>
#include <svx/xlntrit.hxx>
#include <svx/xoutbmp.hxx>
+#include <thread>
#include <toolkit/helper/vclunohelper.hxx>
#include <tools/color.hxx>
#include <tools/date.hxx>
diff --git a/sc/inc/pch/precompiled_scui.hxx b/sc/inc/pch/precompiled_scui.hxx
index c8b57db1e709..2ce4c4e3d6b9 100644
--- a/sc/inc/pch/precompiled_scui.hxx
+++ b/sc/inc/pch/precompiled_scui.hxx
@@ -14,11 +14,15 @@
also fixes all possible problems, so it's usually better to use it).
*/
+#include <algorithm>
#include <basic/sbmeth.hxx>
#include <basic/sbmod.hxx>
#include <basic/sbstar.hxx>
#include <boost/scoped_array.hpp>
#include <boost/scoped_ptr.hpp>
+#include <cmath>
+#include <com/sun/star/frame/Desktop.hpp>
+#include <com/sun/star/frame/XDesktop2.hpp>
#include <com/sun/star/i18n/LocaleDataItem.hpp>
#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
@@ -37,6 +41,7 @@
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <comphelper/processfactory.hxx>
+#include <comphelper/random.hxx>
#include <comphelper/string.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/brushitem.hxx>
@@ -64,6 +69,7 @@
#include <rtl/math.hxx>
#include <rtl/tencinfo.h>
#include <rtl/ustrbuf.hxx>
+#include <sal/config.h>
#include <sal/types.h>
#include <sfx2/app.hxx>
#include <sfx2/basedlgs.hxx>
diff --git a/sc/inc/pch/precompiled_vbaobj.hxx b/sc/inc/pch/precompiled_vbaobj.hxx
index 806cf6508943..bb9a44467230 100644
--- a/sc/inc/pch/precompiled_vbaobj.hxx
+++ b/sc/inc/pch/precompiled_vbaobj.hxx
@@ -66,7 +66,10 @@
#include <com/sun/star/drawing/XControlShape.hpp>
#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
#include <com/sun/star/drawing/XShape.hpp>
+#include <com/sun/star/drawing/XShapes.hpp>
#include <com/sun/star/form/FormComponentType.hpp>
+#include <com/sun/star/form/XForm.hpp>
+#include <com/sun/star/form/XFormComponent.hpp>
#include <com/sun/star/form/XFormsSupplier.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/frame/FrameSearchFlag.hpp>
@@ -83,10 +86,8 @@
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XMultiComponentFactory.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/reflection/XIdlMethod.hpp>
-#include <com/sun/star/registry/XRegistryKey.hpp>
#include <com/sun/star/script/ArrayWrapper.hpp>
#include <com/sun/star/script/BasicErrorException.hpp>
#include <com/sun/star/script/ModuleInfo.hpp>
@@ -204,6 +205,7 @@
#include <comphelper/unwrapargs.hxx>
#include <cppuhelper/bootstrap.hxx>
#include <cppuhelper/component_context.hxx>
+#include <cppuhelper/exc_hlp.hxx>
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/implbase4.hxx>
diff --git a/sd/inc/pch/precompiled_sd.hxx b/sd/inc/pch/precompiled_sd.hxx
index 992b90101ff0..0873a0a0d715 100644
--- a/sd/inc/pch/precompiled_sd.hxx
+++ b/sd/inc/pch/precompiled_sd.hxx
@@ -225,7 +225,6 @@
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/frame/XStatusListener.hpp>
#include <com/sun/star/frame/XStorable.hpp>
-#include <com/sun/star/frame/status/FontHeight.hpp>
#include <com/sun/star/frame/theAutoRecovery.hpp>
#include <com/sun/star/frame/theUICommandDescription.hpp>
#include <com/sun/star/gallery/GalleryItemType.hpp>
@@ -355,11 +354,13 @@
#include <comphelper/documentconstants.hxx>
#include <comphelper/extract.hxx>
#include <comphelper/genericpropertyset.hxx>
+#include <comphelper/getexpandeduri.hxx>
#include <comphelper/namedvaluecollection.hxx>
#include <comphelper/oslfile2streamwrap.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/propertysethelper.hxx>
#include <comphelper/propertysetinfo.hxx>
+#include <comphelper/random.hxx>
#include <comphelper/scopeguard.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/servicehelper.hxx>
@@ -612,6 +613,7 @@
#include <svx/AccessibleShapeInfo.hxx>
#include <svx/AffineMatrixItem.hxx>
#include <svx/DescriptionGenerator.hxx>
+#include <svx/ParaLineSpacingPopup.hxx>
#include <svx/ShapeTypeHandler.hxx>
#include <svx/SpellDialogChildWindow.hxx>
#include <svx/SvxColorChildWindow.hxx>
@@ -818,6 +820,7 @@
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
#include <tools/errinf.hxx>
+#include <tools/fract.hxx>
#include <tools/gen.hxx>
#include <tools/globname.hxx>
#include <tools/helpers.hxx>
diff --git a/sd/inc/pch/precompiled_sdui.hxx b/sd/inc/pch/precompiled_sdui.hxx
index 73f479f910bf..63f5bd6cd592 100644
--- a/sd/inc/pch/precompiled_sdui.hxx
+++ b/sd/inc/pch/precompiled_sdui.hxx
@@ -36,6 +36,7 @@
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/document/PrinterIndependentLayout.hpp>
+#include <com/sun/star/drawing/LineStyle.hpp>
#include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
#include <com/sun/star/drawing/XMasterPagesSupplier.hpp>
#include <com/sun/star/embed/EmbedStates.hpp>
@@ -123,6 +124,7 @@
#include <svx/svdmark.hxx>
#include <svx/svdmodel.hxx>
#include <svx/svdobj.hxx>
+#include <svx/svdograf.hxx>
#include <svx/svdoole2.hxx>
#include <svx/svdotext.hxx>
#include <svx/svdpagv.hxx>
diff --git a/sdext/inc/pch/precompiled_PresentationMinimizer.hxx b/sdext/inc/pch/precompiled_PresentationMinimizer.hxx
index 0a38add1b8a3..8fc83cab1cca 100644
--- a/sdext/inc/pch/precompiled_PresentationMinimizer.hxx
+++ b/sdext/inc/pch/precompiled_PresentationMinimizer.hxx
@@ -98,6 +98,7 @@
#include <com/sun/star/view/XSelectionSupplier.hpp>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/supportsservice.hxx>
+#include <osl/diagnose.h>
#include <osl/file.hxx>
#include <osl/mutex.hxx>
#include <osl/thread.h>
diff --git a/sdext/inc/pch/precompiled_PresenterScreen.hxx b/sdext/inc/pch/precompiled_PresenterScreen.hxx
index c11d04838a33..405e652a1be0 100644
--- a/sdext/inc/pch/precompiled_PresenterScreen.hxx
+++ b/sdext/inc/pch/precompiled_PresenterScreen.hxx
@@ -137,6 +137,7 @@
#include <iterator>
#include <map>
#include <math.h>
+#include <osl/diagnose.h>
#include <osl/doublecheckedlocking.h>
#include <osl/mutex.hxx>
#include <osl/thread.hxx>
diff --git a/sfx2/inc/pch/precompiled_sfx.hxx b/sfx2/inc/pch/precompiled_sfx.hxx
index 8ea040fff5c6..bf2e4b8c60ef 100644
--- a/sfx2/inc/pch/precompiled_sfx.hxx
+++ b/sfx2/inc/pch/precompiled_sfx.hxx
@@ -42,8 +42,10 @@
#include <basic/sbxvar.hxx>
#include <boost/bind.hpp>
#include <boost/function.hpp>
+#include <boost/logic/tribool.hpp>
#include <boost/noncopyable.hpp>
#include <boost/optional.hpp>
+#include <boost/ptr_container/ptr_map.hpp>
#include <boost/ptr_container/ptr_vector.hpp>
#include <boost/scoped_array.hpp>
#include <boost/scoped_ptr.hpp>
@@ -401,6 +403,7 @@
#include <com/sun/star/ui/dialogs/XFilePreview.hpp>
#include <com/sun/star/ui/dialogs/XFilterGroupManager.hpp>
#include <com/sun/star/ui/dialogs/XFilterManager.hpp>
+#include <com/sun/star/ui/dialogs/XSLTFilterDialog.hpp>
#include <com/sun/star/ui/theModuleUIConfigurationManagerSupplier.hpp>
#include <com/sun/star/ui/theUIElementFactoryManager.hpp>
#include <com/sun/star/ui/theWindowContentFactoryManager.hpp>
@@ -505,12 +508,14 @@
#include <cppuhelper/implbase6.hxx>
#include <cppuhelper/interfacecontainer.h>
#include <cppuhelper/interfacecontainer.hxx>
+#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <cppuhelper/weak.hxx>
#include <cppuhelper/weakref.hxx>
#include <cstdarg>
#include <cstring>
+#include <deque>
#include <drawinglayer/attribute/fillgraphicattribute.hxx>
#include <drawinglayer/attribute/fontattribute.hxx>
#include <drawinglayer/primitive2d/baseprimitive2d.hxx>
@@ -541,6 +546,7 @@
#include <i18nlangtag/languagetag.hxx>
#include <i18nutil/paper.hxx>
#include <iomanip>
+#include <iostream>
#include <libxml/tree.h>
#include <limits.h>
#include <limits>
@@ -591,6 +597,7 @@
#include <sot/storage.hxx>
#include <sot/storinfo.hxx>
#include <stack>
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -686,6 +693,7 @@
#include <tools/datetime.hxx>
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
+#include <tools/errcode.hxx>
#include <tools/fract.hxx>
#include <tools/gen.hxx>
#include <tools/helpers.hxx>
@@ -770,6 +778,7 @@
#include <vcl/layout.hxx>
#include <vcl/lineinfo.hxx>
#include <vcl/menu.hxx>
+#include <vcl/menubtn.hxx>
#include <vcl/metric.hxx>
#include <vcl/mnemonic.hxx>
#include <vcl/msgbox.hxx>
@@ -785,6 +794,7 @@
#include <vcl/status.hxx>
#include <vcl/stdtext.hxx>
#include <vcl/svapp.hxx>
+#include <vcl/syswin.hxx>
#include <vcl/taskpanelist.hxx>
#include <vcl/texteng.hxx>
#include <vcl/timer.hxx>
diff --git a/sot/inc/pch/precompiled_sot.hxx b/sot/inc/pch/precompiled_sot.hxx
index 961bc077783c..b38649a4b1dc 100644
--- a/sot/inc/pch/precompiled_sot.hxx
+++ b/sot/inc/pch/precompiled_sot.hxx
@@ -35,6 +35,7 @@
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/lang/Locale.hpp>
+#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <com/sun/star/packages/manifest/ManifestReader.hpp>
#include <com/sun/star/packages/manifest/ManifestWriter.hpp>
diff --git a/starmath/inc/pch/precompiled_sm.hxx b/starmath/inc/pch/precompiled_sm.hxx
index 0f75800fa407..bcfb5ab6b4df 100644
--- a/starmath/inc/pch/precompiled_sm.hxx
+++ b/starmath/inc/pch/precompiled_sm.hxx
@@ -16,6 +16,8 @@
#include "svx/modctrl.hxx"
#include "tools/rcid.h"
+#include <boost/scoped_array.hpp>
+#include <boost/scoped_ptr.hpp>
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
#include <com/sun/star/accessibility/AccessibleEventObject.hpp>
#include <com/sun/star/accessibility/AccessibleRole.hpp>
@@ -27,7 +29,6 @@
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/awt/XFocusListener.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
-#include <com/sun/star/beans/PropertyState.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/container/XChild.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
@@ -102,6 +103,7 @@
#include <rtl/math.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/ustring.hxx>
+#include <sal/config.h>
#include <sal/macros.h>
#include <sax/tools/converter.hxx>
#include <sfx2/app.hxx>
@@ -128,6 +130,7 @@
#include <sot/factory.hxx>
#include <sot/formats.hxx>
#include <sot/storage.hxx>
+#include <stack>
#include <stdio.h>
#include <svl/eitem.hxx>
#include <svl/fstathelper.hxx>
@@ -182,6 +185,7 @@
#include <unotools/saveopt.hxx>
#include <unotools/streamwrap.hxx>
#include <unotools/syslocale.hxx>
+#include <utility>
#include <vcl/builder.hxx>
#include <vcl/decoview.hxx>
#include <vcl/help.hxx>
diff --git a/svl/inc/pch/precompiled_svl.hxx b/svl/inc/pch/precompiled_svl.hxx
index 1d0dbdf55491..34b9604332d4 100644
--- a/svl/inc/pch/precompiled_svl.hxx
+++ b/svl/inc/pch/precompiled_svl.hxx
@@ -16,7 +16,6 @@
#include "officecfg/Office/Common.hxx"
#include <algorithm>
-#include <assert.h>
#include <boost/noncopyable.hpp>
#include <boost/numeric/conversion/cast.hpp>
#include <boost/ptr_container/ptr_map.hpp>
@@ -44,10 +43,12 @@
#include <com/sun/star/i18n/CalendarFieldIndex.hpp>
#include <com/sun/star/i18n/KNumberFormatType.hpp>
#include <com/sun/star/i18n/KNumberFormatUsage.hpp>
-#include <com/sun/star/i18n/LocaleCalendar.hpp>
+#include <com/sun/star/i18n/LocaleCalendar2.hpp>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <com/sun/star/i18n/TransliterationModulesExtra.hpp>
#include <com/sun/star/io/WrongFormatException.hpp>
+#include <com/sun/star/io/XInputStream.hpp>
+#include <com/sun/star/io/XSeekable.hpp>
#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
@@ -95,11 +96,13 @@
#include <comphelper/string.hxx>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/weakref.hxx>
#include <cstdarg>
#include <cstdlib>
#include <ctype.h>
+#include <deque>
#include <errno.h>
#include <float.h>
#include <functional>
@@ -107,6 +110,7 @@
#include <i18nlangtag/languagetag.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <iostream>
+#include <libxml/xmlwriter.h>
#include <limits.h>
#include <limits>
#include <list>
@@ -116,10 +120,12 @@
#include <mdds/multi_type_vector_custom_func1.hpp>
#include <mdds/multi_type_vector_trait.hpp>
#include <mdds/multi_type_vector_types.hpp>
+#include <o3tl/ptr_container.hxx>
#include <osl/diagnose.h>
#include <osl/endian.h>
#include <osl/file.h>
#include <osl/file.hxx>
+#include <osl/getglobalmutex.hxx>
#include <osl/mutex.hxx>
#include <osl/security.hxx>
#include <osl/socket.hxx>
@@ -162,6 +168,7 @@
#include <tools/wldcrd.hxx>
#include <ucbhelper/content.hxx>
#include <unordered_map>
+#include <unordered_set>
#include <unotools/bootstrap.hxx>
#include <unotools/calendarwrapper.hxx>
#include <unotools/charclass.hxx>
diff --git a/svtools/inc/pch/precompiled_svt.hxx b/svtools/inc/pch/precompiled_svt.hxx
index 6d703ea81dfd..7e86e0980080 100644
--- a/svtools/inc/pch/precompiled_svt.hxx
+++ b/svtools/inc/pch/precompiled_svt.hxx
@@ -64,7 +64,6 @@
#include <com/sun/star/beans/PropertyState.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/PropertyValues.hpp>
-#include <com/sun/star/beans/XMultiPropertySet.hpp>
#include <com/sun/star/beans/XPropertyAccess.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertySetInfo.hpp>
@@ -115,14 +114,10 @@
#include <com/sun/star/form/binding/XListEntrySource.hpp>
#include <com/sun/star/form/binding/XValueBinding.hpp>
#include <com/sun/star/frame/Desktop.hpp>
-#include <com/sun/star/frame/DocumentTemplates.hpp>
-#include <com/sun/star/frame/Frame.hpp>
#include <com/sun/star/frame/ModuleManager.hpp>
-#include <com/sun/star/frame/XComponentLoader.hpp>
#include <com/sun/star/frame/XController.hpp>
#include <com/sun/star/frame/XDispatch.hpp>
#include <com/sun/star/frame/XDispatchProvider.hpp>
-#include <com/sun/star/frame/XDocumentTemplates.hpp>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/frame/XLayoutManager.hpp>
#include <com/sun/star/frame/XModel.hpp>
@@ -143,7 +138,6 @@
#include <com/sun/star/i18n/DirectionProperty.hpp>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <com/sun/star/i18n/Weekdays.hpp>
-#include <com/sun/star/io/IOException.hpp>
#include <com/sun/star/io/NotConnectedException.hpp>
#include <com/sun/star/io/XPersist.hpp>
#include <com/sun/star/io/XSeekable.hpp>
@@ -173,8 +167,6 @@
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
#include <com/sun/star/sheet/XCellRangeAddressable.hpp>
#include <com/sun/star/sheet/XCellRangeReferrer.hpp>
-#include <com/sun/star/system/SystemShellExecute.hpp>
-#include <com/sun/star/system/SystemShellExecuteFlags.hpp>
#include <com/sun/star/table/BorderLineStyle.hpp>
#include <com/sun/star/table/CellAddress.hpp>
#include <com/sun/star/table/CellRangeAddress.hpp>
@@ -194,7 +186,6 @@
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
#include <com/sun/star/ucb/XCommandInfo.hpp>
#include <com/sun/star/ucb/XCommandProcessor2.hpp>
-#include <com/sun/star/ucb/XContent.hpp>
#include <com/sun/star/ucb/XContentAccess.hpp>
#include <com/sun/star/ucb/XDynamicResultSet.hpp>
#include <com/sun/star/ucb/XProgressHandler.hpp>
@@ -231,18 +222,15 @@
#include <com/sun/star/util/SearchOptions.hpp>
#include <com/sun/star/util/SearchResult.hpp>
#include <com/sun/star/util/Time.hpp>
-#include <com/sun/star/util/URL.hpp>
#include <com/sun/star/util/URLTransformer.hpp>
#include <com/sun/star/util/XCloseBroadcaster.hpp>
#include <com/sun/star/util/XCloseable.hpp>
#include <com/sun/star/util/XModifiable.hpp>
#include <com/sun/star/util/XModifyListener.hpp>
#include <com/sun/star/util/XNumberFormatTypes.hpp>
-#include <com/sun/star/util/XOfficeInstallationDirectories.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
#include <com/sun/star/util/theOfficeInstallationDirectories.hpp>
#include <com/sun/star/view/SelectionType.hpp>
-#include <com/sun/star/view/XPrintable.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
#include <comphelper/accessibleeventnotifier.hxx>
#include <comphelper/accimplaccess.hxx>
@@ -273,6 +261,7 @@
#include <cppuhelper/implbase5.hxx>
#include <cppuhelper/implementationentry.hxx>
#include <cppuhelper/interfacecontainer.h>
+#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <cppuhelper/weak.hxx>
@@ -293,8 +282,9 @@
#include <math.h>
#include <memory>
#include <numeric>
+#include <o3tl/numeric.hxx>
+#include <o3tl/ptr_container.hxx>
#include <officecfg/Office/Common.hxx>
-#include <org/freedesktop/PackageKit/SyncDbusSessionHelper.hpp>
#include <osl/conditn.hxx>
#include <osl/diagnose.h>
#include <osl/file.h>
@@ -338,7 +328,6 @@
#include <svl/eitem.hxx>
#include <svl/filenotation.hxx>
#include <svl/inettype.hxx>
-#include <svl/itempool.hxx>
#include <svl/itemprop.hxx>
#include <svl/itemset.hxx>
#include <svl/macitem.hxx>
@@ -367,8 +356,8 @@
#include <tools/datetime.hxx>
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
-#include <tools/errcode.hxx>
#include <tools/fldunit.hxx>
+#include <tools/fract.hxx>
#include <tools/gen.hxx>
#include <tools/globname.hxx>
#include <tools/helpers.hxx>
@@ -399,8 +388,6 @@
#include <unotools/configmgr.hxx>
#include <unotools/confignode.hxx>
#include <unotools/configpaths.hxx>
-#include <unotools/dynamicmenuoptions.hxx>
-#include <unotools/extendedsecurityoptions.hxx>
#include <unotools/historyoptions.hxx>
#include <unotools/intlwrapper.hxx>
#include <unotools/localedatawrapper.hxx>
@@ -412,7 +399,7 @@
#include <unotools/tempfile.hxx>
#include <unotools/ucbhelper.hxx>
#include <unotools/ucbstreamhelper.hxx>
-#include <unotools/viewoptions.hxx>
+#include <utility>
#include <vcl/FilterConfigItem.hxx>
#include <vcl/accel.hxx>
#include <vcl/alpha.hxx>
@@ -456,7 +443,6 @@
#include <vcl/mnemonic.hxx>
#include <vcl/msgbox.hxx>
#include <vcl/outdev.hxx>
-#include <vcl/pdfextoutdevdata.hxx>
#include <vcl/pngread.hxx>
#include <vcl/pngwrite.hxx>
#include <vcl/prgsbar.hxx>
@@ -468,7 +454,6 @@
#include <vcl/seleng.hxx>
#include <vcl/settings.hxx>
#include <vcl/spinfld.hxx>
-#include <vcl/split.hxx>
#include <vcl/status.hxx>
#include <vcl/stdtext.hxx>
#include <vcl/svapp.hxx>
diff --git a/svx/inc/pch/precompiled_svx.hxx b/svx/inc/pch/precompiled_svx.hxx
index a9ae9bec5d8f..db9d7fed3000 100644
--- a/svx/inc/pch/precompiled_svx.hxx
+++ b/svx/inc/pch/precompiled_svx.hxx
@@ -222,7 +222,6 @@
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/RuntimeException.hpp>
-#include <com/sun/star/uno/Sequence.h>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/util/NumberFormat.hpp>
@@ -270,6 +269,7 @@
#include <cppuhelper/implbase7.hxx>
#include <cppuhelper/interfacecontainer.h>
#include <cppuhelper/interfacecontainer.hxx>
+#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <cppuhelper/weakref.hxx>
@@ -303,6 +303,7 @@
#include <editeng/kernitem.hxx>
#include <editeng/langitem.hxx>
#include <editeng/lrspitem.hxx>
+#include <editeng/lspcitem.hxx>
#include <editeng/numitem.hxx>
#include <editeng/outliner.hxx>
#include <editeng/outlobj.hxx>
@@ -331,6 +332,7 @@
#include <math.h>
#include <memory>
#include <numeric>
+#include <o3tl/numeric.hxx>
#include <officecfg/Office/Recovery.hxx>
#include <osl/diagnose.h>
#include <osl/file.hxx>
@@ -395,6 +397,7 @@
#include <svl/aeitem.hxx>
#include <svl/cjkoptions.hxx>
#include <svl/ctloptions.hxx>
+#include <svl/currencytable.hxx>
#include <svl/eitem.hxx>
#include <svl/filenotation.hxx>
#include <svl/intitem.hxx>
@@ -429,6 +432,7 @@
#include <svtools/insdlg.hxx>
#include <svtools/langtab.hxx>
#include <svtools/miscopt.hxx>
+#include <svtools/popupwindowcontroller.hxx>
#include <svtools/rtfkeywd.hxx>
#include <svtools/rtfout.hxx>
#include <svtools/rtftoken.h>
@@ -450,6 +454,7 @@
#include <tools/debug.hxx>
#include <tools/diagnose_ex.h>
#include <tools/errinf.hxx>
+#include <tools/fract.hxx>
#include <tools/gen.hxx>
#include <tools/helpers.hxx>
#include <tools/mapunit.hxx>
@@ -463,6 +468,7 @@
#include <tools/wldcrd.hxx>
#include <unicode/uchar.h>
#include <uno/mapping.hxx>
+#include <unordered_map>
#include <unotools/accessiblerelationsethelper.hxx>
#include <unotools/accessiblestatesethelper.hxx>
#include <unotools/charclass.hxx>
@@ -487,7 +493,6 @@
#include <vcl/event.hxx>
#include <vcl/field.hxx>
#include <vcl/fixed.hxx>
-#include <vcl/floatwin.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.hxx>
#include <vcl/graphicfilter.hxx>
@@ -518,7 +523,6 @@
#include <vcl/window.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/xtextedt.hxx>
-#include <unordered_map>
#include <vector>
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/pch/precompiled_svxcore.hxx b/svx/inc/pch/precompiled_svxcore.hxx
index 53958f79ba9f..641fc127430a 100644
--- a/svx/inc/pch/precompiled_svxcore.hxx
+++ b/svx/inc/pch/precompiled_svxcore.hxx
@@ -14,7 +14,6 @@
also fixes all possible problems, so it's usually better to use it).
*/
-#include "com/sun/star/document/XStorageBasedDocument.hpp"
#include "com/sun/star/ui/dialogs/TemplateDescription.hpp"
#include "cppuhelper/factory.hxx"
#include "editeng/AccessibleStringWrap.hxx"
@@ -151,6 +150,8 @@
#include <com/sun/star/beans/theIntrospection.hpp>
#include <com/sun/star/chart/ChartAxisArrangeOrderType.hpp>
#include <com/sun/star/chart2/XChartDocument.hpp>
+#include <com/sun/star/chart2/XChartTypeContainer.hpp>
+#include <com/sun/star/chart2/XCoordinateSystemContainer.hpp>
#include <com/sun/star/container/EnumerableMap.hpp>
#include <com/sun/star/container/XChild.hpp>
#include <com/sun/star/container/XContainer.hpp>
@@ -371,6 +372,7 @@
#include <com/sun/star/text/WritingMode.hpp>
#include <com/sun/star/text/WritingMode2.hpp>
#include <com/sun/star/text/textfield/Type.hpp>
+#include <com/sun/star/ucb/CommandFailedException.hpp>
#include <com/sun/star/ucb/NameClash.hpp>
#include <com/sun/star/ucb/SimpleFileAccess.hpp>
#include <com/sun/star/ucb/TransferInfo.hpp>
@@ -407,7 +409,7 @@
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
#include <com/sun/star/util/XNumberFormatter.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
-#include <com/sun/star/util/XUpdatable.hpp>
+#include <com/sun/star/util/XUpdatable2.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
#include <com/sun/star/xforms/XFormsSupplier.hpp>
#include <com/sun/star/xml/dom/DOMException.hpp>
@@ -433,6 +435,7 @@
#include <comphelper/propagg.hxx>
#include <comphelper/property.hxx>
#include <comphelper/propertysetinfo.hxx>
+#include <comphelper/random.hxx>
#include <comphelper/scopeguard.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/servicehelper.hxx>
@@ -445,6 +448,7 @@
#include <config_features.h>
#include <config_options.h>
#include <connectivity/IParseContext.hxx>
+#include <connectivity/dbconversion.hxx>
#include <connectivity/dbexception.hxx>
#include <connectivity/dbtools.hxx>
#include <connectivity/formattedcolumnvalue.hxx>
@@ -601,12 +605,14 @@
#include <i18nlangtag/languagetag.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <i18nutil/unicode.hxx>
+#include <libxml/xmlwriter.h>
#include <limits>
#include <linguistic/misc.hxx>
#include <map>
#include <math.h>
#include <memory>
#include <o3tl/compat_functional.hxx>
+#include <o3tl/numeric.hxx>
#include <osl/diagnose.h>
#include <osl/endian.h>
#include <osl/file.hxx>
@@ -625,6 +631,7 @@
#include <sal/config.h>
#include <sal/log.hxx>
#include <sal/macros.h>
+#include <salhelper/thread.hxx>
#include <sax/tools/converter.hxx>
#include <set>
#include <sfx2/app.hxx>
@@ -653,6 +660,8 @@
#include <sfx2/request.hxx>
#include <sfx2/sfxstatuslistener.hxx>
#include <sfx2/sfxuno.hxx>
+#include <sfx2/sidebar/Sidebar.hxx>
+#include <sfx2/sidebar/SidebarToolBox.hxx>
#include <sfx2/sidebar/Theme.hxx>
#include <sfx2/templdlg.hxx>
#include <sfx2/tplpitem.hxx>
@@ -703,6 +712,7 @@
#include <svtools/borderhelper.hxx>
#include <svtools/calendar.hxx>
#include <svtools/colorcfg.hxx>
+#include <svtools/colrdlg.hxx>
#include <svtools/ctrlbox.hxx>
#include <svtools/ctrltool.hxx>
#include <svtools/ehdl.hxx>
@@ -753,6 +763,7 @@
#include <tools/vcompat.hxx>
#include <tools/zcodec.hxx>
#include <ucbhelper/content.hxx>
+#include <unordered_map>
#include <unotools/datetime.hxx>
#include <unotools/fontoptions.hxx>
#include <unotools/intlwrapper.hxx>
@@ -773,7 +784,6 @@
#include <vcl/bmpacc.hxx>
#include <vcl/builder.hxx>
#include <vcl/canvastools.hxx>
-#include <vcl/ctrl.hxx>
#include <vcl/cursor.hxx>
#include <vcl/cvtgrf.hxx>
#include <vcl/dibtools.hxx>
@@ -789,11 +799,13 @@
#include <vcl/i18nhelp.hxx>
#include <vcl/image.hxx>
#include <vcl/jobset.hxx>
+#include <vcl/layout.hxx>
#include <vcl/lazydelete.hxx>
#include <vcl/lineinfo.hxx>
#include <vcl/longcurr.hxx>
#include <vcl/lstbox.hxx>
#include <vcl/menu.hxx>
+#include <vcl/menubtn.hxx>
#include <vcl/metaact.hxx>
#include <vcl/metric.hxx>
#include <vcl/mnemonic.hxx>
@@ -804,7 +816,6 @@
#include <vcl/region.hxx>
#include <vcl/salbtype.hxx>
#include <vcl/settings.hxx>
-#include <vcl/split.hxx>
#include <vcl/stdtext.hxx>
#include <vcl/svapp.hxx>
#include <vcl/svgdata.hxx>
@@ -815,7 +826,6 @@
#include <vcl/window.hxx>
#include <vcl/wmf.hxx>
#include <vcl/wrkwin.hxx>
-#include <unordered_map>
#include <vector>
#include <xmloff/xmlictxt.hxx>
diff --git a/sw/inc/pch/precompiled_msword.hxx b/sw/inc/pch/precompiled_msword.hxx
index a717e12582b8..0ddc79224fc8 100644
--- a/sw/inc/pch/precompiled_msword.hxx
+++ b/sw/inc/pch/precompiled_msword.hxx
@@ -19,12 +19,10 @@
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basic/basmgr.hxx>
#include <boost/noncopyable.hpp>
-#include <boost/optional.hpp>
#include <boost/scoped_array.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/static_assert.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
-#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/XPropertyContainer.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/chart2/XChartDocument.hpp>
@@ -37,6 +35,8 @@
#include <com/sun/star/document/XFilter.hpp>
#include <com/sun/star/document/XImporter.hpp>
#include <com/sun/star/document/XViewDataSupplier.hpp>
+#include <com/sun/star/drawing/LineStyle.hpp>
+#include <com/sun/star/drawing/PointSequenceSequence.hpp>
#include <com/sun/star/drawing/ShadingPattern.hpp>
#include <com/sun/star/drawing/XConnectableShape.hpp>
#include <com/sun/star/drawing/XConnectorShape.hpp>
@@ -81,7 +81,6 @@
#include <com/sun/star/ui/XImageManager.hpp>
#include <com/sun/star/ui/XUIConfigurationPersistence.hpp>
#include <com/sun/star/ui/theModuleUIConfigurationManagerSupplier.hpp>
-#include <com/sun/star/uno/Sequence.h>
#include <com/sun/star/util/XCloseable.hpp>
#include <com/sun/star/xml/dom/XDocument.hpp>
#include <com/sun/star/xml/sax/Writer.hpp>
@@ -89,13 +88,15 @@
#include <comphelper/docpasswordrequest.hxx>
#include <comphelper/embeddedobjectcontainer.hxx>
#include <comphelper/extract.hxx>
+#include <comphelper/flagguard.hxx>
#include <comphelper/processfactory.hxx>
+#include <comphelper/random.hxx>
#include <comphelper/seqstream.hxx>
#include <comphelper/sequenceashashmap.hxx>
+#include <comphelper/sequenceasvector.hxx>
#include <comphelper/storagehelper.hxx>
#include <comphelper/string.hxx>
#include <config_features.h>
-#include <config_version.h>
#include <cppuhelper/implementationentry.hxx>
#include <cstdio>
#include <cstring>
@@ -139,7 +140,6 @@
#include <editeng/pbinitem.hxx>
#include <editeng/pgrditem.hxx>
#include <editeng/postitem.hxx>
-#include <editeng/protitem.hxx>
#include <editeng/scriptspaceitem.hxx>
#include <editeng/shaditem.hxx>
#include <editeng/shdditem.hxx>
@@ -187,7 +187,6 @@
#include <osl/time.h>
#include <rtl/math.hxx>
#include <rtl/random.h>
-#include <rtl/strbuf.hxx>
#include <rtl/tencinfo.h>
#include <rtl/ustrbuf.hxx>
#include <rtl/ustring.hxx>
@@ -263,7 +262,6 @@
#include <ucbhelper/content.hxx>
#include <unicode/ubidi.h>
#include <unordered_set>
-#include <unotools/configmgr.hxx>
#include <unotools/docinfohelper.hxx>
#include <unotools/fltrcfg.hxx>
#include <unotools/fontcfg.hxx>
diff --git a/sw/inc/pch/precompiled_sw.hxx b/sw/inc/pch/precompiled_sw.hxx
index 9ac41daa9315..fadb0801ab42 100644
--- a/sw/inc/pch/precompiled_sw.hxx
+++ b/sw/inc/pch/precompiled_sw.hxx
@@ -27,7 +27,6 @@
#include <basegfx/color/bcolortools.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
-#include <basegfx/numeric/ftools.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
@@ -441,6 +440,8 @@
#include <com/sun/star/xforms/XFormsSupplier.hpp>
#include <com/sun/star/xforms/XFormsUIHelper1.hpp>
#include <com/sun/star/xforms/XModel2.hpp>
+#include <com/sun/star/xml/sax/FastParser.hpp>
+#include <com/sun/star/xml/sax/FastToken.hpp>
#include <com/sun/star/xml/sax/InputSource.hpp>
#include <com/sun/star/xml/sax/Parser.hpp>
#include <com/sun/star/xml/sax/Writer.hpp>
@@ -488,6 +489,7 @@
#include <cppuhelper/weakref.hxx>
#include <cstdarg>
#include <cstdlib>
+#include <ctime>
#include <ctype.h>
#include <deque>
#include <drawinglayer/attribute/fillgradientattribute.hxx>
@@ -613,7 +615,6 @@
#include <i18nutil/unicode.hxx>
#include <iostream>
#include <iterator>
-#include <libxml/encoding.h>
#include <libxml/xmlwriter.h>
#include <limits.h>
#include <limits>
@@ -624,6 +625,8 @@
#include <math.h>
#include <memory>
#include <numeric>
+#include <o3tl/numeric.hxx>
+#include <o3tl/ptr_container.hxx>
#include <o3tl/sorted_vector.hxx>
#include <officecfg/Office/Common.hxx>
#include <officecfg/Office/Writer.hxx>
@@ -711,12 +714,14 @@
#include <sfx2/sfxuno.hxx>
#include <sfx2/sidebar/ControlFactory.hxx>
#include <sfx2/sidebar/EnumContext.hxx>
+#include <sfx2/sidebar/Sidebar.hxx>
#include <sfx2/sidebar/SidebarChildWindow.hxx>
#include <sfx2/sidebar/SidebarPanelBase.hxx>
#include <sfx2/styfitem.hxx>
#include <sfx2/styledlg.hxx>
#include <sfx2/tabdlg.hxx>
#include <sfx2/taskpane.hxx>
+#include <sfx2/templatedlg.hxx>
#include <sfx2/templdlg.hxx>
#include <sfx2/tplpitem.hxx>
#include <sfx2/viewfrm.hxx>
@@ -812,6 +817,7 @@
#include <svx/AccessibleShape.hxx>
#include <svx/AccessibleTextHelper.hxx>
#include <svx/AffineMatrixItem.hxx>
+#include <svx/ParaLineSpacingPopup.hxx>
#include <svx/ShapeTypeHandler.hxx>
#include <svx/SmartTagCtl.hxx>
#include <svx/SmartTagItem.hxx>
@@ -957,7 +963,6 @@
#include <svx/unomid.hxx>
#include <svx/unomod.hxx>
#include <svx/unomodel.hxx>
-#include <svx/unopage.hxx>
#include <svx/unoprov.hxx>
#include <svx/unoshape.hxx>
#include <svx/verttexttbxctrl.hxx>
@@ -1009,7 +1014,6 @@
#include <svx/xtextit0.hxx>
#include <svx/zoomsliderctrl.hxx>
#include <svx/zoomslideritem.hxx>
-#include <time.h>
#include <toolkit/awt/vclxaccessiblecomponent.hxx>
#include <toolkit/awt/vclxdevice.hxx>
#include <toolkit/helper/vclunohelper.hxx>
@@ -1033,8 +1037,6 @@
#include <tools/resid.hxx>
#include <tools/resmgr.hxx>
#include <tools/rtti.hxx>
-#include <tools/shl.hxx>
-#include <tools/solar.h>
#include <tools/stream.hxx>
#include <tools/time.hxx>
#include <tools/urlobj.hxx>
@@ -1129,7 +1131,6 @@
#include <vcl/vclenum.hxx>
#include <vcl/virdev.hxx>
#include <vcl/window.hxx>
-#include <vcl/wmf.hxx>
#include <vcl/wrkwin.hxx>
#include <vector>
#include <xmloff/DocumentSettingsContext.hxx>
@@ -1165,6 +1166,8 @@
#include <xmloff/xmlmetae.hxx>
#include <xmloff/xmlmetai.hxx>
#include <xmloff/xmlnmspe.hxx>
+#include <xmloff/xmlnume.hxx>
+#include <xmloff/xmlnumi.hxx>
#include <xmloff/xmlprhdl.hxx>
#include <xmloff/xmlprmap.hxx>
#include <xmloff/xmlscripti.hxx>
diff --git a/sw/inc/pch/precompiled_swui.hxx b/sw/inc/pch/precompiled_swui.hxx
index a2dd8574dba3..e03b3e9accd5 100644
--- a/sw/inc/pch/precompiled_swui.hxx
+++ b/sw/inc/pch/precompiled_swui.hxx
@@ -213,7 +213,6 @@
#include <toolkit/helper/vclunohelper.hxx>
#include <tools/poly.hxx>
#include <tools/resmgr.hxx>
-#include <tools/shl.hxx>
#include <tools/stream.hxx>
#include <tools/urlobj.hxx>
#include <ucbhelper/content.hxx>
diff --git a/sw/inc/pch/precompiled_vbaswobj.hxx b/sw/inc/pch/precompiled_vbaswobj.hxx
index e3bce36df0a0..4021e27302df 100644
--- a/sw/inc/pch/precompiled_vbaswobj.hxx
+++ b/sw/inc/pch/precompiled_vbaswobj.hxx
@@ -52,10 +52,8 @@
#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XMultiComponentFactory.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
-#include <com/sun/star/registry/XRegistryKey.hpp>
#include <com/sun/star/script/ModuleType.hpp>
#include <com/sun/star/script/vba/VBAEventId.hpp>
#include <com/sun/star/style/BreakType.hpp>
@@ -172,6 +170,7 @@
#include <ooo/vba/word/XBookmark.hpp>
#include <ooo/vba/word/XBorder.hpp>
#include <ooo/vba/word/XDialog.hpp>
+#include <osl/diagnose.h>
#include <osl/file.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/macros.h>
diff --git a/tools/inc/pch/precompiled_tl.hxx b/tools/inc/pch/precompiled_tl.hxx
index 6a47b833a628..ffdf9ea0f0f3 100644
--- a/tools/inc/pch/precompiled_tl.hxx
+++ b/tools/inc/pch/precompiled_tl.hxx
@@ -16,6 +16,7 @@
#include <algorithm>
#include <basegfx/curve/b2dcubicbezier.hxx>
+#include <basegfx/numeric/ftools.hxx>
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
@@ -23,6 +24,8 @@
#include <basegfx/polygon/b2dpolypolygoncutter.hxx>
#include <basegfx/vector/b2dvector.hxx>
#include <boost/checked_delete.hpp>
+#include <boost/noncopyable.hpp>
+#include <boost/rational.hpp>
#include <boost/static_assert.hpp>
#include <cassert>
#include <cmath>
@@ -47,7 +50,9 @@
#include <limits>
#include <list>
#include <math.h>
+#include <memory>
#include <new>
+#include <numeric>
#include <osl/diagnose.h>
#include <osl/endian.h>
#include <osl/file.hxx>
diff --git a/unotools/inc/pch/precompiled_utl.hxx b/unotools/inc/pch/precompiled_utl.hxx
index 129cddec2a54..00e8ddb43a16 100644
--- a/unotools/inc/pch/precompiled_utl.hxx
+++ b/unotools/inc/pch/precompiled_utl.hxx
@@ -46,7 +46,7 @@
#include <com/sun/star/i18n/CollatorOptions.hpp>
#include <com/sun/star/i18n/KNumberFormatType.hpp>
#include <com/sun/star/i18n/KNumberFormatUsage.hpp>
-#include <com/sun/star/i18n/LocaleCalendar.hpp>
+#include <com/sun/star/i18n/LocaleCalendar2.hpp>
#include <com/sun/star/i18n/LocaleData.hpp>
#include <com/sun/star/i18n/NativeNumberSupplier.hpp>
#include <com/sun/star/i18n/NumberFormatIndex.hpp>
@@ -120,6 +120,7 @@
#include <com/sun/star/xml/sax/XAttributeList.hpp>
#include <comphelper/configurationhelper.hxx>
#include <comphelper/docpasswordhelper.hxx>
+#include <comphelper/getexpandeduri.hxx>
#include <comphelper/namedvaluecollection.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/sequence.hxx>
@@ -134,6 +135,7 @@
#include <cppuhelper/factory.hxx>
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <cppuhelper/weakref.hxx>
@@ -163,7 +165,6 @@
#include <rtl/string.h>
#include <rtl/string.hxx>
#include <rtl/tencinfo.h>
-#include <rtl/uri.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/ustring.h>
#include <rtl/ustring.hxx>
diff --git a/unoxml/inc/pch/precompiled_unoxml.hxx b/unoxml/inc/pch/precompiled_unoxml.hxx
index a1a49fdcd7d3..bb69ccc705e1 100644
--- a/unoxml/inc/pch/precompiled_unoxml.hxx
+++ b/unoxml/inc/pch/precompiled_unoxml.hxx
@@ -17,7 +17,6 @@
#include <algorithm>
#include <boost/bind.hpp>
#include <boost/shared_ptr.hpp>
-#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
@@ -47,6 +46,7 @@
#include <libxml/xmlstring.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
+#include <osl/diagnose.h>
#include <osl/mutex.hxx>
#include <rtl/alloc.h>
#include <rtl/instance.hxx>
diff --git a/uui/inc/pch/precompiled_uui.hxx b/uui/inc/pch/precompiled_uui.hxx
index f2ae65a7317d..9d02068cdeb2 100644
--- a/uui/inc/pch/precompiled_uui.hxx
+++ b/uui/inc/pch/precompiled_uui.hxx
@@ -36,8 +36,6 @@
#include <com/sun/star/document/XImporter.hpp>
#include <com/sun/star/document/XInteractionFilterOptions.hpp>
#include <com/sun/star/document/XInteractionFilterSelect.hpp>
-#include <com/sun/star/frame/Desktop.hpp>
-#include <com/sun/star/frame/XDispatchProvider.hpp>
#include <com/sun/star/java/WrongJavaVersionException.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
@@ -51,8 +49,6 @@
#include <com/sun/star/security/NoPasswordException.hpp>
#include <com/sun/star/security/XCertificateExtension.hpp>
#include <com/sun/star/security/XSanExtension.hpp>
-#include <com/sun/star/system/SystemShellExecute.hpp>
-#include <com/sun/star/system/SystemShellExecuteFlags.hpp>
#include <com/sun/star/task/DocumentMSPasswordRequest.hpp>
#include <com/sun/star/task/DocumentMSPasswordRequest2.hpp>
#include <com/sun/star/task/DocumentMacroConfirmationRequest.hpp>
@@ -73,6 +69,7 @@
#include <com/sun/star/task/XInteractionPassword2.hpp>
#include <com/sun/star/task/XInteractionRequest.hpp>
#include <com/sun/star/task/XInteractionRetry.hpp>
+#include <com/sun/star/ucb/AuthenticationFallbackRequest.hpp>
#include <com/sun/star/ucb/AuthenticationRequest.hpp>
#include <com/sun/star/ucb/CertificateValidationRequest.hpp>
#include <com/sun/star/ucb/InteractiveAppException.hpp>
@@ -90,6 +87,7 @@
#include <com/sun/star/ucb/NameClashResolveRequest.hpp>
#include <com/sun/star/ucb/URLAuthenticationRequest.hpp>
#include <com/sun/star/ucb/UnsupportedNameClashException.hpp>
+#include <com/sun/star/ucb/XInteractionAuthFallback.hpp>
#include <com/sun/star/ucb/XInteractionReplaceExistingData.hpp>
#include <com/sun/star/ucb/XInteractionSupplyAuthentication.hpp>
#include <com/sun/star/ucb/XInteractionSupplyAuthentication2.hpp>
@@ -99,9 +97,7 @@
#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
-#include <com/sun/star/util/URLTransformer.hpp>
#include <com/sun/star/util/XStringWidth.hpp>
-#include <com/sun/star/util/XURLTransformer.hpp>
#include <com/sun/star/xforms/InvalidDataOnSubmitException.hpp>
#include <com/sun/star/xml/crypto/XSecurityEnvironment.hpp>
#include <comphelper/documentconstants.hxx>
@@ -110,22 +106,18 @@
#include <comphelper/sequence.hxx>
#include <comphelper/sequenceashashmap.hxx>
#include <comphelper/string.hxx>
-#include <config_features.h>
-#include <config_folders.h>
#include <cppu/macros.hxx>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/supportsservice.hxx>
+#include <iostream>
#include <memory>
-#include <officecfg/Office/Addons.hxx>
#include <osl/conditn.hxx>
#include <osl/diagnose.h>
#include <osl/file.hxx>
#include <osl/mutex.hxx>
-#include <osl/process.h>
#include <osl/thread.hxx>
-#include <rtl/bootstrap.hxx>
#include <rtl/digest.h>
#include <rtl/strbuf.hxx>
#include <rtl/ustring.hxx>
@@ -148,6 +140,7 @@
#include <unotools/localfilehelper.hxx>
#include <vcl/abstdlg.hxx>
#include <vcl/button.hxx>
+#include <vcl/layout.hxx>
#include <vcl/msgbox.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
diff --git a/vbahelper/inc/pch/precompiled_msforms.hxx b/vbahelper/inc/pch/precompiled_msforms.hxx
index dcfc172189da..0987adad14e5 100644
--- a/vbahelper/inc/pch/precompiled_msforms.hxx
+++ b/vbahelper/inc/pch/precompiled_msforms.hxx
@@ -14,8 +14,6 @@
also fixes all possible problems, so it's usually better to use it).
*/
-#include "com/sun/star/lang/XMultiServiceFactory.hpp"
-#include "com/sun/star/registry/XRegistryKey.hpp"
#include "comphelper/servicedecl.hxx"
#include "cppuhelper/implementationentry.hxx"
#include <basic/sbmeth.hxx>
diff --git a/vbahelper/inc/pch/precompiled_vbahelper.hxx b/vbahelper/inc/pch/precompiled_vbahelper.hxx
index 93eac8850145..9cf0d5ae7194 100644
--- a/vbahelper/inc/pch/precompiled_vbahelper.hxx
+++ b/vbahelper/inc/pch/precompiled_vbahelper.hxx
@@ -115,6 +115,7 @@
#include <com/sun/star/util/XURLTransformer.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
#include <comphelper/processfactory.hxx>
+#include <comphelper/random.hxx>
#include <comphelper/unwrapargs.hxx>
#include <cppuhelper/bootstrap.hxx>
#include <cppuhelper/component_context.hxx>
diff --git a/vcl/inc/pch/precompiled_vcl.hxx b/vcl/inc/pch/precompiled_vcl.hxx
index 77c04e797659..a89183c68648 100644
--- a/vcl/inc/pch/precompiled_vcl.hxx
+++ b/vcl/inc/pch/precompiled_vcl.hxx
@@ -88,7 +88,6 @@
#include "rtl/instance.hxx"
#include "rtl/logfile.hxx"
#include "rtl/math.hxx"
-#include "rtl/process.h"
#include "rtl/strbuf.hxx"
#include "rtl/string.hxx"
#include "rtl/tencinfo.h"
@@ -137,6 +136,7 @@
#include <basegfx/vector/b2dvector.hxx>
#include <basegfx/vector/b2isize.hxx>
#include <boost/bind.hpp>
+#include <boost/functional/hash.hpp>
#include <boost/make_shared.hpp>
#include <boost/mem_fn.hpp>
#include <boost/optional.hpp>
@@ -287,6 +287,7 @@
#include <cppuhelper/factory.hxx>
#include <cppuhelper/implbase1.hxx>
#include <cppuhelper/implbase3.hxx>
+#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/typeprovider.hxx>
#include <cppuhelper/weak.hxx>
@@ -296,6 +297,8 @@
#include <ctype.h>
#include <fcntl.h>
#include <functional>
+#include <glm/glm.hpp>
+#include <glm/gtc/type_ptr.hpp>
#include <i18nlangtag/lang.h>
#include <i18nlangtag/languagetag.hxx>
#include <i18nlangtag/mslangid.hxx>
diff --git a/writerfilter/inc/pch/precompiled_writerfilter.hxx b/writerfilter/inc/pch/precompiled_writerfilter.hxx
index be50d59520cd..76d69d940520 100644
--- a/writerfilter/inc/pch/precompiled_writerfilter.hxx
+++ b/writerfilter/inc/pch/precompiled_writerfilter.hxx
@@ -17,8 +17,8 @@
#include "oox/core/fasttokenhandler.hxx"
#include "oox/token/tokens.hxx"
#include <algorithm>
+#include <boost/logic/tribool.hpp>
#include <boost/optional.hpp>
-#include <memory>
#include <boost/tuple/tuple.hpp>
#include <com/sun/star/awt/FontPitch.hpp>
#include <com/sun/star/awt/FontRelief.hpp>
@@ -26,8 +26,6 @@
#include <com/sun/star/awt/FontStrikeout.hpp>
#include <com/sun/star/awt/FontUnderline.hpp>
#include <com/sun/star/awt/FontWeight.hpp>
-#include <com/sun/star/awt/Point.hpp>
-#include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/awt/XControlModel.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
@@ -47,17 +45,17 @@
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <com/sun/star/document/XEmbeddedObjectResolver.hpp>
+#include <com/sun/star/document/XEmbeddedObjectSupplier.hpp>
#include <com/sun/star/document/XEventBroadcaster.hpp>
+#include <com/sun/star/document/XFilter.hpp>
+#include <com/sun/star/document/XImporter.hpp>
#include <com/sun/star/document/XOOXMLDocumentPropertiesImporter.hpp>
#include <com/sun/star/document/XStorageBasedDocument.hpp>
#include <com/sun/star/document/XViewDataSupplier.hpp>
-#include <com/sun/star/drawing/BitmapMode.hpp>
#include <com/sun/star/drawing/ColorMode.hpp>
-#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeSegmentCommand.hpp>
#include <com/sun/star/drawing/FillStyle.hpp>
-#include <com/sun/star/drawing/HomogenMatrix3.hpp>
#include <com/sun/star/drawing/LineStyle.hpp>
#include <com/sun/star/drawing/PointSequence.hpp>
#include <com/sun/star/drawing/PointSequenceSequence.hpp>
@@ -74,19 +72,18 @@
#include <com/sun/star/form/XForm.hpp>
#include <com/sun/star/form/XFormComponent.hpp>
#include <com/sun/star/form/XFormsSupplier.hpp>
-#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/graphic/GraphicProvider.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
#include <com/sun/star/graphic/XGraphicProvider.hpp>
#include <com/sun/star/io/BufferSizeExceededException.hpp>
-#include <com/sun/star/io/UnexpectedEOFException.hpp>
#include <com/sun/star/io/WrongFormatException.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XStream.hpp>
#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <com/sun/star/lang/XComponent.hpp>
+#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/style/BreakType.hpp>
@@ -106,10 +103,10 @@
#include <com/sun/star/table/TableBorder.hpp>
#include <com/sun/star/table/TableBorderDistances.hpp>
#include <com/sun/star/table/XCellRange.hpp>
-#include <com/sun/star/task/XStatusIndicator.hpp>
#include <com/sun/star/text/ChapterFormat.hpp>
#include <com/sun/star/text/ControlCharacter.hpp>
#include <com/sun/star/text/FilenameDisplayFormat.hpp>
+#include <com/sun/star/text/FontEmphasis.hpp>
#include <com/sun/star/text/FootnoteNumbering.hpp>
#include <com/sun/star/text/GraphicCrop.hpp>
#include <com/sun/star/text/HoriOrientation.hpp>
@@ -143,8 +140,7 @@
#include <com/sun/star/text/XTextCopy.hpp>
#include <com/sun/star/text/XTextDocument.hpp>
#include <com/sun/star/text/XTextFieldsSupplier.hpp>
-#include <com/sun/star/text/XTextFrame.hpp>
-#include <com/sun/star/text/XTextRange.hpp>
+#include <com/sun/star/text/XTextRangeCompare.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Type.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
@@ -158,6 +154,7 @@
#include <com/sun/star/xml/sax/FastShapeContextHandler.hpp>
#include <com/sun/star/xml/sax/Parser.hpp>
#include <com/sun/star/xml/sax/SAXException.hpp>
+#include <com/sun/star/xml/sax/SAXParseException.hpp>
#include <com/sun/star/xml/sax/XParser.hpp>
#include <comphelper/classids.hxx>
#include <comphelper/embeddedobjectcontainer.hxx>
@@ -172,7 +169,6 @@
#include <cppuhelper/supportsservice.hxx>
#include <editeng/borderline.hxx>
#include <editeng/unoprnms.hxx>
-#include <filter/msfilter/escherex.hxx>
#include <filter/msfilter/util.hxx>
#include <fstream>
#include <functional>
@@ -182,6 +178,8 @@
#include <libxml/xmlstring.h>
#include <map>
#include <math.h>
+#include <memory>
+#include <o3tl/numeric.hxx>
#include <officecfg/Office/Common.hxx>
#include <oox/core/filterdetect.hxx>
#include <oox/drawingml/drawingmltypes.hxx>
@@ -198,7 +196,6 @@
#include <ooxml/resourceids.hxx>
#include <osl/diagnose.h>
#include <osl/file.hxx>
-#include <osl/module.hxx>
#include <osl/mutex.hxx>
#include <rtl/instance.hxx>
#include <rtl/math.hxx>
@@ -218,8 +215,9 @@
#include <string.h>
#include <string>
#include <svl/lngmisc.hxx>
-#include <svtools/grfmgr.hxx>
+#include <svx/svdobj.hxx>
#include <svx/svdtrans.hxx>
+#include <svx/unoapi.hxx>
#include <tools/color.hxx>
#include <tools/datetimeutils.hxx>
#include <tools/globname.hxx>
@@ -234,7 +232,6 @@
#include <unotools/streamwrap.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <vcl/embeddedfontshelper.hxx>
-#include <vcl/graph.hxx>
#include <vcl/outdev.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
diff --git a/xmloff/inc/pch/precompiled_xo.hxx b/xmloff/inc/pch/precompiled_xo.hxx
index 67ce4a1fdc8a..1255351a0b51 100644
--- a/xmloff/inc/pch/precompiled_xo.hxx
+++ b/xmloff/inc/pch/precompiled_xo.hxx
@@ -396,6 +396,7 @@
#include <com/sun/star/text/XLineNumberingProperties.hpp>
#include <com/sun/star/text/XNumberingRulesSupplier.hpp>
#include <com/sun/star/text/XNumberingTypeInfo.hpp>
+#include <com/sun/star/text/XParagraphAppend.hpp>
#include <com/sun/star/text/XRelativeTextContentInsert.hpp>
#include <com/sun/star/text/XRelativeTextContentRemove.hpp>
#include <com/sun/star/text/XText.hpp>
@@ -416,6 +417,7 @@
#include <com/sun/star/text/XTextShapesSupplier.hpp>
#include <com/sun/star/text/XTextTable.hpp>
#include <com/sun/star/text/XTextTablesSupplier.hpp>
+#include <com/sun/star/ucb/SimpleFileAccess.hpp>
#include <com/sun/star/ucb/XAnyCompareFactory.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Exception.hpp>
@@ -487,6 +489,8 @@
#include <comphelper/namecontainer.hxx>
#include <comphelper/namedvaluecollection.hxx>
#include <comphelper/processfactory.hxx>
+#include <comphelper/random.hxx>
+#include <comphelper/seqstream.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/sequenceasvector.hxx>
#include <comphelper/servicehelper.hxx>
@@ -530,7 +534,6 @@
#include <set>
#include <stack>
#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
#include <svl/itemset.hxx>
#include <svl/nfsymbol.hxx>
@@ -548,6 +551,7 @@
#include <tools/gen.hxx>
#include <tools/globname.hxx>
#include <tools/helpers.hxx>
+#include <tools/solar.h>
#include <tools/time.hxx>
#include <tools/urlobj.hxx>
#include <typeinfo>
diff --git a/xmloff/inc/pch/precompiled_xof.hxx b/xmloff/inc/pch/precompiled_xof.hxx
index 02b1a9e0cca1..d04fbe313d13 100644
--- a/xmloff/inc/pch/precompiled_xof.hxx
+++ b/xmloff/inc/pch/precompiled_xof.hxx
@@ -17,6 +17,7 @@
#include <com/sun/star/beans/XPropertySetInfo.hpp>
#include <com/sun/star/i18n/CharacterClassification.hpp>
#include <com/sun/star/i18n/UnicodeType.hpp>
+#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/registry/XRegistryKey.hpp>
#include <com/sun/star/uri/UriReferenceFactory.hpp>
#include <com/sun/star/uri/XVndSunStarScriptUrl.hpp>
@@ -30,6 +31,7 @@
#include <comphelper/servicehelper.hxx>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/supportsservice.hxx>
+#include <osl/diagnose.h>
#include <osl/mutex.hxx>
#include <rtl/math.hxx>
#include <rtl/ref.hxx>
diff --git a/xmlscript/inc/pch/precompiled_xmlscript.hxx b/xmlscript/inc/pch/precompiled_xmlscript.hxx
index d78546bb0872..f51dce6f7d19 100644
--- a/xmlscript/inc/pch/precompiled_xmlscript.hxx
+++ b/xmlscript/inc/pch/precompiled_xmlscript.hxx
@@ -24,6 +24,7 @@
#include <com/sun/star/awt/FontWeight.hpp>
#include <com/sun/star/awt/FontWidth.hpp>
#include <com/sun/star/awt/ImagePosition.hpp>
+#include <com/sun/star/awt/ImageScaleMode.hpp>
#include <com/sun/star/awt/LineEndFormat.hpp>
#include <com/sun/star/awt/PushButtonType.hpp>
#include <com/sun/star/awt/VisualEffect.hpp>
@@ -71,6 +72,7 @@
#include <cppuhelper/supportsservice.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <memory>
+#include <osl/diagnose.h>
#include <rtl/ustrbuf.hxx>
#include <sal/config.h>
#include <string.h>
diff --git a/xmlsecurity/inc/pch/precompiled_xmlsecurity.hxx b/xmlsecurity/inc/pch/precompiled_xmlsecurity.hxx
index 3b872747fbda..2a784eb1628c 100644
--- a/xmlsecurity/inc/pch/precompiled_xmlsecurity.hxx
+++ b/xmlsecurity/inc/pch/precompiled_xmlsecurity.hxx
@@ -69,6 +69,7 @@
#include <cppuhelper/exc_hlp.hxx>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/supportsservice.hxx>
+#include <osl/diagnose.h>
#include <osl/file.hxx>
#include <rtl/math.hxx>
#include <rtl/uri.hxx>
@@ -85,6 +86,7 @@
#include <svtools/stdctrl.hxx>
#include <svtools/treelistentry.hxx>
#include <tools/date.hxx>
+#include <tools/datetime.hxx>
#include <tools/debug.hxx>
#include <tools/solar.h>
#include <tools/stream.hxx>
diff --git a/xmlsecurity/inc/pch/precompiled_xsec_fw.hxx b/xmlsecurity/inc/pch/precompiled_xsec_fw.hxx
index 977eabb2e7d1..886fe883ff21 100644
--- a/xmlsecurity/inc/pch/precompiled_xsec_fw.hxx
+++ b/xmlsecurity/inc/pch/precompiled_xsec_fw.hxx
@@ -26,6 +26,7 @@
#include <comphelper/processfactory.hxx>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/supportsservice.hxx>
+#include <osl/diagnose.h>
#include <osl/mutex.hxx>
#include <osl/thread.h>
#include <rtl/ustring.hxx>
diff --git a/xmlsecurity/inc/pch/precompiled_xsec_xmlsec.hxx b/xmlsecurity/inc/pch/precompiled_xsec_xmlsec.hxx
index 6afc26659471..092c5c12b211 100644
--- a/xmlsecurity/inc/pch/precompiled_xsec_xmlsec.hxx
+++ b/xmlsecurity/inc/pch/precompiled_xsec_xmlsec.hxx
@@ -39,6 +39,7 @@
#include <nss.h>
#include <nssckbi.h>
#include <officecfg/Office/Common.hxx>
+#include <osl/diagnose.h>
#include <osl/file.hxx>
#include <osl/mutex.hxx>
#include <osl/thread.h>
@@ -57,7 +58,6 @@
#include <sal/log.hxx>
#include <sal/types.h>
#include <secmod.h>
-#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>