summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basic/inc/pch/precompiled_sb.hxx3
-rw-r--r--chart2/inc/pch/precompiled_chartcontroller.hxx1
-rw-r--r--chart2/inc/pch/precompiled_chartcore.hxx3
-rw-r--r--chart2/inc/pch/precompiled_chartopengl.hxx1
-rw-r--r--configmgr/inc/pch/precompiled_configmgr.hxx1
-rw-r--r--connectivity/inc/pch/precompiled_dbtools.hxx2
-rw-r--r--connectivity/inc/pch/precompiled_file.hxx2
-rw-r--r--connectivity/inc/pch/precompiled_flat.hxx1
-rw-r--r--cui/inc/pch/precompiled_cui.hxx4
-rw-r--r--dbaccess/inc/pch/precompiled_dbaxml.hxx2
-rw-r--r--dbaccess/inc/pch/precompiled_dbu.hxx1
-rw-r--r--desktop/inc/pch/precompiled_sofficeapp.hxx6
-rw-r--r--forms/inc/pch/precompiled_frm.hxx1
-rw-r--r--framework/inc/pch/precompiled_fwi.hxx1
-rw-r--r--framework/inc/pch/precompiled_fwk.hxx1
-rw-r--r--hwpfilter/inc/pch/precompiled_hwp.hxx1
-rw-r--r--lotuswordpro/inc/pch/precompiled_lwpft.hxx1
-rw-r--r--oox/inc/pch/precompiled_oox.hxx6
-rw-r--r--package/inc/pch/precompiled_xstor.hxx1
-rw-r--r--reportdesign/inc/pch/precompiled_rpt.hxx4
-rw-r--r--reportdesign/inc/pch/precompiled_rptxml.hxx2
-rw-r--r--sal/inc/pch/precompiled_sal.hxx1
-rw-r--r--sc/inc/pch/precompiled_sc.hxx2
-rw-r--r--sc/inc/pch/precompiled_scfilt.hxx3
-rw-r--r--sc/inc/pch/precompiled_vbaobj.hxx1
-rw-r--r--sd/inc/pch/precompiled_sd.hxx4
-rw-r--r--sd/inc/pch/precompiled_sdui.hxx1
-rw-r--r--sfx2/inc/pch/precompiled_sfx.hxx1
-rw-r--r--slideshow/inc/pch/precompiled_slideshow.hxx2
-rw-r--r--sot/inc/pch/precompiled_sot.hxx2
-rw-r--r--svl/inc/pch/precompiled_svl.hxx6
-rw-r--r--svtools/inc/pch/precompiled_svt.hxx1
-rw-r--r--svx/inc/pch/precompiled_svx.hxx5
-rw-r--r--svx/inc/pch/precompiled_svxcore.hxx6
-rw-r--r--sw/inc/pch/precompiled_msword.hxx1
-rw-r--r--sw/inc/pch/precompiled_sw.hxx25
-rw-r--r--sw/inc/pch/precompiled_swui.hxx2
-rw-r--r--sw/inc/pch/precompiled_vbaswobj.hxx1
-rw-r--r--tools/inc/pch/precompiled_tl.hxx5
-rw-r--r--vcl/inc/pch/precompiled_vcl.hxx4
-rw-r--r--writerfilter/inc/pch/precompiled_writerfilter.hxx8
-rw-r--r--xmloff/inc/pch/precompiled_xo.hxx1
42 files changed, 105 insertions, 22 deletions
diff --git a/basic/inc/pch/precompiled_sb.hxx b/basic/inc/pch/precompiled_sb.hxx
index 7da956fa51b8..e67f28f22f16 100644
--- a/basic/inc/pch/precompiled_sb.hxx
+++ b/basic/inc/pch/precompiled_sb.hxx
@@ -16,7 +16,9 @@
#include "math.h"
#include <boost/foreach.hpp>
+#include <boost/optional.hpp>
#include <boost/scoped_array.hpp>
+#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>
@@ -77,6 +79,5 @@
#include <vcl/svapp.hxx>
#include <vcl/timer.hxx>
#include <vcl/wrkwin.hxx>
-#include <vector>
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/inc/pch/precompiled_chartcontroller.hxx b/chart2/inc/pch/precompiled_chartcontroller.hxx
index 2971743457a7..e27901f4c671 100644
--- a/chart2/inc/pch/precompiled_chartcontroller.hxx
+++ b/chart2/inc/pch/precompiled_chartcontroller.hxx
@@ -21,6 +21,7 @@
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
+#include <boost/checked_delete.hpp>
#include <boost/ref.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
diff --git a/chart2/inc/pch/precompiled_chartcore.hxx b/chart2/inc/pch/precompiled_chartcore.hxx
index bfa2c61a4ac3..b0492806c693 100644
--- a/chart2/inc/pch/precompiled_chartcore.hxx
+++ b/chart2/inc/pch/precompiled_chartcore.hxx
@@ -194,6 +194,7 @@
#include <com/sun/star/text/XTextDocument.hpp>
#include <com/sun/star/text/XTextEmbeddedObjectsSupplier.hpp>
#include <com/sun/star/text/XTextRange.hpp>
+#include <com/sun/star/ucb/CommandFailedException.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
@@ -308,8 +309,10 @@
#include <unotools/streamwrap.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <valarray>
+#include <vcl/bmpacc.hxx>
#include <vcl/cvtgrf.hxx>
#include <vcl/font.hxx>
+#include <vcl/opengl/GLMHelper.hxx>
#include <vcl/opengl/OpenGLHelper.hxx>
#include <vcl/openglwin.hxx>
#include <vcl/outdev.hxx>
diff --git a/chart2/inc/pch/precompiled_chartopengl.hxx b/chart2/inc/pch/precompiled_chartopengl.hxx
index 8c66c95eb46f..f1981a13e6a3 100644
--- a/chart2/inc/pch/precompiled_chartopengl.hxx
+++ b/chart2/inc/pch/precompiled_chartopengl.hxx
@@ -58,6 +58,7 @@
#include <vcl/graph.hxx>
#include <vcl/opengl/IOpenGLRenderer.hxx>
#include <vcl/opengl/OpenGLHelper.hxx>
+#include <vcl/openglwin.hxx>
#include <vcl/svapp.hxx>
#include <vcl/virdev.hxx>
#include <vcl/window.hxx>
diff --git a/configmgr/inc/pch/precompiled_configmgr.hxx b/configmgr/inc/pch/precompiled_configmgr.hxx
index 8ad05d0526ef..d924b7bc02e9 100644
--- a/configmgr/inc/pch/precompiled_configmgr.hxx
+++ b/configmgr/inc/pch/precompiled_configmgr.hxx
@@ -144,6 +144,5 @@
#include <stack>
#include <vector>
#include <xmlreader/span.hxx>
-#include <xmlreader/xmlreader.hxx>
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/inc/pch/precompiled_dbtools.hxx b/connectivity/inc/pch/precompiled_dbtools.hxx
index 6c9ed754692d..40fa64c705a9 100644
--- a/connectivity/inc/pch/precompiled_dbtools.hxx
+++ b/connectivity/inc/pch/precompiled_dbtools.hxx
@@ -14,7 +14,6 @@
also fixes all possible problems, so it's usually better to use it).
*/
-#include <sal/log.hxx>
#include <algorithm>
#include <boost/bind.hpp>
#include <boost/noncopyable.hpp>
@@ -158,6 +157,7 @@
#include <rtl/ustrbuf.hxx>
#include <rtl/ustring.hxx>
#include <sal/config.h>
+#include <sal/log.hxx>
#include <sal/macros.h>
#include <set>
#include <sqlbison.hxx>
diff --git a/connectivity/inc/pch/precompiled_file.hxx b/connectivity/inc/pch/precompiled_file.hxx
index 01b08a0d8e79..cfdc9c491c71 100644
--- a/connectivity/inc/pch/precompiled_file.hxx
+++ b/connectivity/inc/pch/precompiled_file.hxx
@@ -14,7 +14,6 @@
also fixes all possible problems, so it's usually better to use it).
*/
-#include <sal/config.h>
#include <algorithm>
#include <cmath>
#include <com/sun/star/beans/PropertyAttribute.hpp>
@@ -59,6 +58,7 @@
#include <osl/thread.h>
#include <rtl/math.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/config.h>
#include <stdio.h>
#include <tools/date.hxx>
#include <tools/datetime.hxx>
diff --git a/connectivity/inc/pch/precompiled_flat.hxx b/connectivity/inc/pch/precompiled_flat.hxx
index 913e72a3f46a..66ce47d2ba92 100644
--- a/connectivity/inc/pch/precompiled_flat.hxx
+++ b/connectivity/inc/pch/precompiled_flat.hxx
@@ -14,7 +14,6 @@
also fixes all possible problems, so it's usually better to use it).
*/
-#include <comphelper/processfactory.hxx>
#include <com/sun/star/beans/XFastPropertySet.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
diff --git a/cui/inc/pch/precompiled_cui.hxx b/cui/inc/pch/precompiled_cui.hxx
index a813581bf7e0..9538003788fd 100644
--- a/cui/inc/pch/precompiled_cui.hxx
+++ b/cui/inc/pch/precompiled_cui.hxx
@@ -102,6 +102,7 @@
#include <com/sun/star/document/XEventsSupplier.hpp>
#include <com/sun/star/document/XLinkTargetSupplier.hpp>
#include <com/sun/star/document/XScriptInvocationContext.hpp>
+#include <com/sun/star/drawing/FillStyle.hpp>
#include <com/sun/star/embed/Aspects.hpp>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/embed/EmbedStates.hpp>
@@ -461,7 +462,6 @@
#include <svtools/insdlg.hxx>
#include <svtools/langhelp.hxx>
#include <svtools/langtab.hxx>
-#include <svtools/localresaccess.hxx>
#include <svtools/menuoptions.hxx>
#include <svtools/miscopt.hxx>
#include <svtools/optionsdrawinglayer.hxx>
@@ -543,7 +543,9 @@
#include <svx/sxmtritm.hxx>
#include <svx/sxmuitm.hxx>
#include <svx/ucsubset.hxx>
+#include <svx/unobrushitemhelper.hxx>
#include <svx/viewlayoutitem.hxx>
+#include <svx/xdef.hxx>
#include <svx/xfillit.hxx>
#include <svx/xflbckit.hxx>
#include <svx/xfltrit.hxx>
diff --git a/dbaccess/inc/pch/precompiled_dbaxml.hxx b/dbaccess/inc/pch/precompiled_dbaxml.hxx
index 01c6df6efb51..d4d225811ed7 100644
--- a/dbaccess/inc/pch/precompiled_dbaxml.hxx
+++ b/dbaccess/inc/pch/precompiled_dbaxml.hxx
@@ -123,6 +123,7 @@
#include <xmloff/XMLConstantsPropertyHandler.hxx>
#include <xmloff/contextid.hxx>
#include <xmloff/families.hxx>
+#include <xmloff/maptype.hxx>
#include <xmloff/nmspmap.hxx>
#include <xmloff/txtimp.hxx>
#include <xmloff/xmlement.hxx>
@@ -133,6 +134,7 @@
#include <xmloff/xmlprcon.hxx>
#include <xmloff/xmlscripti.hxx>
#include <xmloff/xmltoken.hxx>
+#include <xmloff/xmltypes.hxx>
#include <xmloff/xmluconv.hxx>
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dbaccess/inc/pch/precompiled_dbu.hxx b/dbaccess/inc/pch/precompiled_dbu.hxx
index 30aafecd88d1..bdcebd7460f6 100644
--- a/dbaccess/inc/pch/precompiled_dbu.hxx
+++ b/dbaccess/inc/pch/precompiled_dbu.hxx
@@ -108,6 +108,7 @@
#include <com/sun/star/form/XResetListener.hpp>
#include <com/sun/star/form/XSubmit.hpp>
#include <com/sun/star/form/XSubmitListener.hpp>
+#include <com/sun/star/form/runtime/FormOperations.hpp>
#include <com/sun/star/form/runtime/XFormController.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/frame/Frame.hpp>
diff --git a/desktop/inc/pch/precompiled_sofficeapp.hxx b/desktop/inc/pch/precompiled_sofficeapp.hxx
index 58f8c9ad05af..3062919e7548 100644
--- a/desktop/inc/pch/precompiled_sofficeapp.hxx
+++ b/desktop/inc/pch/precompiled_sofficeapp.hxx
@@ -23,6 +23,7 @@
#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>
@@ -139,6 +140,7 @@
#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>
@@ -154,6 +156,7 @@
#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>
@@ -198,7 +201,10 @@
#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/forms/inc/pch/precompiled_frm.hxx b/forms/inc/pch/precompiled_frm.hxx
index b82c41f67645..18893ee34813 100644
--- a/forms/inc/pch/precompiled_frm.hxx
+++ b/forms/inc/pch/precompiled_frm.hxx
@@ -119,6 +119,7 @@
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/lang/Locale.hpp>
#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/XInitialization.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
diff --git a/framework/inc/pch/precompiled_fwi.hxx b/framework/inc/pch/precompiled_fwi.hxx
index 5910126a075d..8d21c91869e2 100644
--- a/framework/inc/pch/precompiled_fwi.hxx
+++ b/framework/inc/pch/precompiled_fwi.hxx
@@ -14,6 +14,7 @@
also fixes all possible problems, so it's usually better to use it).
*/
+#include <cassert>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/XMultiHierarchicalPropertySet.hpp>
diff --git a/framework/inc/pch/precompiled_fwk.hxx b/framework/inc/pch/precompiled_fwk.hxx
index ce8c15b6768d..c37deaf69d9c 100644
--- a/framework/inc/pch/precompiled_fwk.hxx
+++ b/framework/inc/pch/precompiled_fwk.hxx
@@ -266,6 +266,7 @@
#include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
#include <comphelper/attributelist.hxx>
#include <comphelper/configuration.hxx>
+#include <comphelper/configurationhelper.hxx>
#include <comphelper/enumhelper.hxx>
#include <comphelper/extract.hxx>
#include <comphelper/interaction.hxx>
diff --git a/hwpfilter/inc/pch/precompiled_hwp.hxx b/hwpfilter/inc/pch/precompiled_hwp.hxx
index f149f13f8d71..b495dad9d90e 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 <o3tl/heap_ptr.hxx>
#include <osl/diagnose.h>
#include <sal/config.h>
#include <sal/macros.h>
diff --git a/lotuswordpro/inc/pch/precompiled_lwpft.hxx b/lotuswordpro/inc/pch/precompiled_lwpft.hxx
index 189281619122..b2ed5cefbbe9 100644
--- a/lotuswordpro/inc/pch/precompiled_lwpft.hxx
+++ b/lotuswordpro/inc/pch/precompiled_lwpft.hxx
@@ -58,6 +58,7 @@
#include <rtl/textenc.h>
#include <rtl/ustrbuf.hxx>
#include <rtl/ustring.hxx>
+#include <sal/config.h>
#include <sal/macros.h>
#include <sfx2/docfile.hxx>
#include <sfx2/printer.hxx>
diff --git a/oox/inc/pch/precompiled_oox.hxx b/oox/inc/pch/precompiled_oox.hxx
index 27d9bcb2b495..d0acc055bb92 100644
--- a/oox/inc/pch/precompiled_oox.hxx
+++ b/oox/inc/pch/precompiled_oox.hxx
@@ -22,6 +22,7 @@
#include "rtl/ustrbuf.hxx"
#include "sal/log.hxx"
#include "sax/fastparser.hxx"
+#include "svx/EnhancedCustomShapeTypeNames.hxx"
#include <algorithm>
#include <assert.h>
#include <basegfx/matrix/b2dhommatrix.hxx>
@@ -34,6 +35,8 @@
#include <boost/optional.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/unordered_map.hpp>
+#include <boost/unordered_set.hpp>
+#include <boost/utility.hpp>
#include <cassert>
#include <com/sun/star/animations/AnimationCalcMode.hpp>
#include <com/sun/star/animations/AnimationColorSpace.hpp>
@@ -86,6 +89,7 @@
#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>
#include <com/sun/star/beans/XPropertyState.hpp>
@@ -334,6 +338,7 @@
#include <com/sun/star/xml/sax/XFastTokenHandler.hpp>
#include <com/sun/star/xml/sax/XLocator.hpp>
#include <comphelper/anytostring.hxx>
+#include <comphelper/configurationhelper.hxx>
#include <comphelper/docpasswordhelper.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/seqstream.hxx>
@@ -360,6 +365,7 @@
#include <functional>
#include <i18nlangtag/languagetag.hxx>
#include <iostream>
+#include <iterator>
#include <list>
#include <map>
#include <osl/diagnose.h>
diff --git a/package/inc/pch/precompiled_xstor.hxx b/package/inc/pch/precompiled_xstor.hxx
index eabb0ce27c2d..cd8ae7a74ba2 100644
--- a/package/inc/pch/precompiled_xstor.hxx
+++ b/package/inc/pch/precompiled_xstor.hxx
@@ -14,6 +14,7 @@
also fixes all possible problems, so it's usually better to use it).
*/
+#include <boost/checked_delete.hpp>
#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/container/XEnumerationAccess.hpp>
diff --git a/reportdesign/inc/pch/precompiled_rpt.hxx b/reportdesign/inc/pch/precompiled_rpt.hxx
index c904bf8b9799..b7ac7ae35b39 100644
--- a/reportdesign/inc/pch/precompiled_rpt.hxx
+++ b/reportdesign/inc/pch/precompiled_rpt.hxx
@@ -155,15 +155,17 @@
#include <osl/diagnose.h>
#include <osl/mutex.hxx>
#include <osl/thread.h>
-#include <osl/thread.hxx>
#include <rtl/instance.hxx>
#include <rtl/uri.hxx>
#include <rtl/ustrbuf.hxx>
+#include <sal/config.h>
#include <sal/types.h>
+#include <salhelper/thread.hxx>
#include <sfx2/docfilt.hxx>
#include <svl/itempool.hxx>
#include <svl/smplhint.hxx>
#include <svl/undo.hxx>
+#include <svtools/embedhlp.hxx>
#include <svx/sderitm.hxx>
#include <svx/svdlayer.hxx>
#include <svx/svdmodel.hxx>
diff --git a/reportdesign/inc/pch/precompiled_rptxml.hxx b/reportdesign/inc/pch/precompiled_rptxml.hxx
index 541fc78e7527..b0cb54213c76 100644
--- a/reportdesign/inc/pch/precompiled_rptxml.hxx
+++ b/reportdesign/inc/pch/precompiled_rptxml.hxx
@@ -113,6 +113,7 @@
#include <xmloff/contextid.hxx>
#include <xmloff/controlpropertyhdl.hxx>
#include <xmloff/families.hxx>
+#include <xmloff/maptype.hxx>
#include <xmloff/nmspmap.hxx>
#include <xmloff/numehelp.hxx>
#include <xmloff/prstylei.hxx>
@@ -127,6 +128,7 @@
#include <xmloff/xmlprcon.hxx>
#include <xmloff/xmltkmap.hxx>
#include <xmloff/xmltoken.hxx>
+#include <xmloff/xmltypes.hxx>
#include <xmloff/xmluconv.hxx>
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/inc/pch/precompiled_sal.hxx b/sal/inc/pch/precompiled_sal.hxx
index 2b3888e19b18..53d4c50535f7 100644
--- a/sal/inc/pch/precompiled_sal.hxx
+++ b/sal/inc/pch/precompiled_sal.hxx
@@ -50,6 +50,7 @@
#include "rtl/ustring.hxx"
#include "rtl/uuid.h"
#include <algorithm>
+#include <assert.h>
#include <boost/noncopyable.hpp>
#include <boost/scoped_array.hpp>
#include <boost/unordered_map.hpp>
diff --git a/sc/inc/pch/precompiled_sc.hxx b/sc/inc/pch/precompiled_sc.hxx
index b9338c6810ed..91e1429a73f7 100644
--- a/sc/inc/pch/precompiled_sc.hxx
+++ b/sc/inc/pch/precompiled_sc.hxx
@@ -387,6 +387,7 @@
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/Sequence.hxx>
+#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/util/CellProtection.hpp>
#include <com/sun/star/util/Date.hpp>
#include <com/sun/star/util/DateTime.hpp>
@@ -783,6 +784,7 @@
#include <svx/sidebar/SidebarDialControl.hxx>
#include <svx/srchdlg.hxx>
#include <svx/svddef.hxx>
+#include <svx/svddrgmt.hxx>
#include <svx/svdetc.hxx>
#include <svx/svdfield.hxx>
#include <svx/svditer.hxx>
diff --git a/sc/inc/pch/precompiled_scfilt.hxx b/sc/inc/pch/precompiled_scfilt.hxx
index 0d01562a482f..cb2efd79dfe8 100644
--- a/sc/inc/pch/precompiled_scfilt.hxx
+++ b/sc/inc/pch/precompiled_scfilt.hxx
@@ -354,6 +354,7 @@
#include <map>
#include <math.h>
#include <memory>
+#include <o3tl/heap_ptr.hxx>
#include <officecfg/Office/Calc.hxx>
#include <officecfg/Setup.hxx>
#include <officecfg/System.hxx>
@@ -368,7 +369,6 @@
#include <oox/drawingml/graphicshapecontext.hxx>
#include <oox/drawingml/lineproperties.hxx>
#include <oox/drawingml/shapepropertymap.hxx>
-#include <oox/drawingml/theme.hxx>
#include <oox/drawingml/themefragmenthandler.hxx>
#include <oox/export/chartexport.hxx>
#include <oox/export/drawingml.hxx>
@@ -448,6 +448,7 @@
#include <svl/zformat.hxx>
#include <svtools/colorcfg.hxx>
#include <svtools/ctrltool.hxx>
+#include <svtools/embedhlp.hxx>
#include <svtools/embedtransfer.hxx>
#include <svtools/htmlcfg.hxx>
#include <svtools/htmlkywd.hxx>
diff --git a/sc/inc/pch/precompiled_vbaobj.hxx b/sc/inc/pch/precompiled_vbaobj.hxx
index b6570ed0d865..84abd83b9d63 100644
--- a/sc/inc/pch/precompiled_vbaobj.hxx
+++ b/sc/inc/pch/precompiled_vbaobj.hxx
@@ -201,7 +201,6 @@
#include <com/sun/star/xml/AttributeData.hpp>
#include <comphelper/anytostring.hxx>
#include <comphelper/processfactory.hxx>
-#include <comphelper/servicedecl.hxx>
#include <comphelper/servicehelper.hxx>
#include <comphelper/unwrapargs.hxx>
#include <cppuhelper/bootstrap.hxx>
diff --git a/sd/inc/pch/precompiled_sd.hxx b/sd/inc/pch/precompiled_sd.hxx
index e51a98faf48a..4742cf5b0b5c 100644
--- a/sd/inc/pch/precompiled_sd.hxx
+++ b/sd/inc/pch/precompiled_sd.hxx
@@ -202,6 +202,7 @@
#include <com/sun/star/embed/MSOLEObjectSystemCreator.hpp>
#include <com/sun/star/embed/NoVisualAreaSizeException.hpp>
#include <com/sun/star/embed/StorageFactory.hpp>
+#include <com/sun/star/embed/XComponentSupplier.hpp>
#include <com/sun/star/embed/XEmbedObjectClipboardCreator.hpp>
#include <com/sun/star/embed/XEmbedPersist.hpp>
#include <com/sun/star/embed/XStorage.hpp>
@@ -514,6 +515,7 @@
#include <sfx2/fcontnr.hxx>
#include <sfx2/filedlghelper.hxx>
#include <sfx2/frame.hxx>
+#include <sfx2/frmhtmlw.hxx>
#include <sfx2/imagemgr.hxx>
#include <sfx2/imgmgr.hxx>
#include <sfx2/infobar.hxx>
@@ -554,7 +556,6 @@
#include <string>
#include <svl/IndexedStyleSheets.hxx>
#include <svl/aeitem.hxx>
-#include <svl/SfxBroadcaster.hxx>
#include <svl/cjkoptions.hxx>
#include <svl/ctloptions.hxx>
#include <svl/eitem.hxx>
@@ -588,6 +589,7 @@
#include <svtools/ctrlbox.hxx>
#include <svtools/ctrltool.hxx>
#include <svtools/ehdl.hxx>
+#include <svtools/embedhlp.hxx>
#include <svtools/embedtransfer.hxx>
#include <svtools/htmlout.hxx>
#include <svtools/imapcirc.hxx>
diff --git a/sd/inc/pch/precompiled_sdui.hxx b/sd/inc/pch/precompiled_sdui.hxx
index 7fbcfe4b0bfb..73f479f910bf 100644
--- a/sd/inc/pch/precompiled_sdui.hxx
+++ b/sd/inc/pch/precompiled_sdui.hxx
@@ -149,6 +149,7 @@
#include <unotools/useroptions.hxx>
#include <vcl/FilterConfigItem.hxx>
#include <vcl/bmpacc.hxx>
+#include <vcl/builder.hxx>
#include <vcl/button.hxx>
#include <vcl/combobox.hxx>
#include <vcl/ctrl.hxx>
diff --git a/sfx2/inc/pch/precompiled_sfx.hxx b/sfx2/inc/pch/precompiled_sfx.hxx
index a8925dead1f5..205a6a1b4740 100644
--- a/sfx2/inc/pch/precompiled_sfx.hxx
+++ b/sfx2/inc/pch/precompiled_sfx.hxx
@@ -469,6 +469,7 @@
#include <comphelper/anytostring.hxx>
#include <comphelper/attributelist.hxx>
#include <comphelper/classids.hxx>
+#include <comphelper/configurationhelper.hxx>
#include <comphelper/docpasswordhelper.hxx>
#include <comphelper/docpasswordrequest.hxx>
#include <comphelper/documentconstants.hxx>
diff --git a/slideshow/inc/pch/precompiled_slideshow.hxx b/slideshow/inc/pch/precompiled_slideshow.hxx
index 765fd706abcf..e091600b2109 100644
--- a/slideshow/inc/pch/precompiled_slideshow.hxx
+++ b/slideshow/inc/pch/precompiled_slideshow.hxx
@@ -167,7 +167,6 @@
#include <comphelper/optional.hxx>
#include <comphelper/scopeguard.hxx>
#include <comphelper/sequence.hxx>
-#include <comphelper/servicedecl.hxx>
#include <comphelper/uno3.hxx>
#include <config_features.h>
#include <cppcanvas/basegfxfactory.hxx>
@@ -219,7 +218,6 @@
#include <vcl/graph.hxx>
#include <vcl/metaact.hxx>
#include <vcl/metric.hxx>
-#include <vcl/opengl/OpenGLContext.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <vcl/syschild.hxx>
diff --git a/sot/inc/pch/precompiled_sot.hxx b/sot/inc/pch/precompiled_sot.hxx
index b9e5a65c7787..961bc077783c 100644
--- a/sot/inc/pch/precompiled_sot.hxx
+++ b/sot/inc/pch/precompiled_sot.hxx
@@ -16,6 +16,8 @@
#include "rtl/string.h"
#include <algorithm>
+#include <assert.h>
+#include <boost/scoped_array.hpp>
#include <boost/scoped_ptr.hpp>
#include <com/sun/star/beans/Property.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
diff --git a/svl/inc/pch/precompiled_svl.hxx b/svl/inc/pch/precompiled_svl.hxx
index 91615a8128e4..e99ee639bf59 100644
--- a/svl/inc/pch/precompiled_svl.hxx
+++ b/svl/inc/pch/precompiled_svl.hxx
@@ -20,6 +20,7 @@
#include <boost/noncopyable.hpp>
#include <boost/numeric/conversion/cast.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/unordered_map.hpp>
@@ -106,11 +107,16 @@
#include <i18nlangtag/lang.h>
#include <i18nlangtag/languagetag.hxx>
#include <i18nlangtag/mslangid.hxx>
+#include <iostream>
#include <limits.h>
#include <limits>
#include <list>
#include <map>
#include <math.h>
+#include <mdds/multi_type_matrix.hpp>
+#include <mdds/multi_type_vector_custom_func1.hpp>
+#include <mdds/multi_type_vector_trait.hpp>
+#include <mdds/multi_type_vector_types.hpp>
#include <osl/diagnose.h>
#include <osl/endian.h>
#include <osl/file.h>
diff --git a/svtools/inc/pch/precompiled_svt.hxx b/svtools/inc/pch/precompiled_svt.hxx
index 6617d308ba16..7f4726b00c97 100644
--- a/svtools/inc/pch/precompiled_svt.hxx
+++ b/svtools/inc/pch/precompiled_svt.hxx
@@ -86,6 +86,7 @@
#include <com/sun/star/datatransfer/MimeContentTypeFactory.hpp>
#include <com/sun/star/datatransfer/XMimeContentType.hpp>
#include <com/sun/star/datatransfer/XTransferable.hpp>
+#include <com/sun/star/datatransfer/XTransferable2.hpp>
#include <com/sun/star/datatransfer/clipboard/XClipboardNotifier.hpp>
#include <com/sun/star/datatransfer/clipboard/XFlushableClipboard.hpp>
#include <com/sun/star/datatransfer/dnd/DNDConstants.hpp>
diff --git a/svx/inc/pch/precompiled_svx.hxx b/svx/inc/pch/precompiled_svx.hxx
index bd8a86392677..2feabf6a72fe 100644
--- a/svx/inc/pch/precompiled_svx.hxx
+++ b/svx/inc/pch/precompiled_svx.hxx
@@ -54,6 +54,7 @@
#include "vcl/builder.hxx"
#include "vcl/svapp.hxx"
#include <algorithm>
+#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
@@ -64,6 +65,7 @@
#include <basic/sbxvar.hxx>
#include <boost/bind.hpp>
#include <boost/noncopyable.hpp>
+#include <boost/scoped_array.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
#include <cassert>
@@ -276,6 +278,9 @@
#include <deque>
#include <drawinglayer/attribute/sdrlineattribute.hxx>
#include <drawinglayer/attribute/sdrlinestartendattribute.hxx>
+#include <drawinglayer/geometry/viewinformation2d.hxx>
+#include <drawinglayer/primitive2d/polygonprimitive2d.hxx>
+#include <drawinglayer/processor2d/processor2dtools.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/charreliefitem.hxx>
diff --git a/svx/inc/pch/precompiled_svxcore.hxx b/svx/inc/pch/precompiled_svxcore.hxx
index ed7577d3ac13..b728c4ed5300 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 "boost/scoped_ptr.hpp"
#include "com/sun/star/document/XStorageBasedDocument.hpp"
#include "com/sun/star/ui/dialogs/TemplateDescription.hpp"
#include "cppuhelper/factory.hxx"
@@ -97,6 +96,7 @@
#include <boost/noncopyable.hpp>
#include <boost/optional.hpp>
#include <boost/ptr_container/ptr_vector.hpp>
+#include <boost/scoped_array.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/spirit/include/classic_core.hpp>
@@ -237,6 +237,7 @@
#include <com/sun/star/embed/XEmbedObjectCreator.hpp>
#include <com/sun/star/embed/XEmbedObjectFactory.hpp>
#include <com/sun/star/embed/XEmbedPersist.hpp>
+#include <com/sun/star/embed/XEmbedPersist2.hpp>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
#include <com/sun/star/embed/XInplaceClient.hpp>
#include <com/sun/star/embed/XInplaceObject.hpp>
@@ -306,6 +307,7 @@
#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/lang/NoSupportException.hpp>
#include <com/sun/star/lang/ServiceNotRegisteredException.hpp>
+#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XEventListener.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
@@ -667,8 +669,8 @@
#include <stdlib.h>
#include <string.h>
#include <string>
-#include <svl/aeitem.hxx>
#include <svl/SfxBroadcaster.hxx>
+#include <svl/aeitem.hxx>
#include <svl/cjkoptions.hxx>
#include <svl/eitem.hxx>
#include <svl/flagitem.hxx>
diff --git a/sw/inc/pch/precompiled_msword.hxx b/sw/inc/pch/precompiled_msword.hxx
index 5abed65b485b..203906522a8f 100644
--- a/sw/inc/pch/precompiled_msword.hxx
+++ b/sw/inc/pch/precompiled_msword.hxx
@@ -246,6 +246,7 @@
#include <svx/svxerr.hxx>
#include <svx/sxctitm.hxx>
#include <svx/unoapi.hxx>
+#include <svx/unobrushitemhelper.hxx>
#include <svx/unoshape.hxx>
#include <svx/xenum.hxx>
#include <svx/xfillit.hxx>
diff --git a/sw/inc/pch/precompiled_sw.hxx b/sw/inc/pch/precompiled_sw.hxx
index 60b315e56567..df761323bdef 100644
--- a/sw/inc/pch/precompiled_sw.hxx
+++ b/sw/inc/pch/precompiled_sw.hxx
@@ -14,6 +14,10 @@
also fixes all possible problems, so it's usually better to use it).
*/
+#include "editeng/lrspitem.hxx"
+#include "editeng/tstpitem.hxx"
+#include "rtl/ustrbuf.hxx"
+#include "svl/itemiter.hxx"
#include <algorithm>
#include <assert.h>
#include <avmedia/mediaitem.hxx>
@@ -42,7 +46,10 @@
#include <basic/sbxvar.hxx>
#include <boost/bind.hpp>
#include <boost/foreach.hpp>
+#include <boost/function.hpp>
+#include <boost/make_shared.hpp>
#include <boost/noncopyable.hpp>
+#include <boost/numeric/conversion/cast.hpp>
#include <boost/optional.hpp>
#include <boost/ptr_container/ptr_set.hpp>
#include <boost/scoped_array.hpp>
@@ -127,6 +134,7 @@
#include <com/sun/star/document/PrinterIndependentLayout.hpp>
#include <com/sun/star/document/RedlineDisplayType.hpp>
#include <com/sun/star/document/UpdateDocMode.hpp>
+#include <com/sun/star/document/XActionLockable.hpp>
#include <com/sun/star/document/XCodeNameQuery.hpp>
#include <com/sun/star/document/XDocumentEventBroadcaster.hpp>
#include <com/sun/star/document/XDocumentLanguages.hpp>
@@ -486,9 +494,7 @@
#include <ctype.h>
#include <deque>
#include <drawinglayer/attribute/fillgradientattribute.hxx>
-#include <drawinglayer/attribute/fillhatchattribute.hxx>
#include <drawinglayer/attribute/fontattribute.hxx>
-#include <drawinglayer/attribute/sdrfillgraphicattribute.hxx>
#include <drawinglayer/primitive2d/baseprimitive2d.hxx>
#include <drawinglayer/primitive2d/borderlineprimitive2d.hxx>
#include <drawinglayer/primitive2d/discretebitmapprimitive2d.hxx>
@@ -637,6 +643,7 @@
#include <rtl/bootstrap.hxx>
#include <rtl/character.hxx>
#include <rtl/instance.hxx>
+#include <rtl/logfile.hxx>
#include <rtl/math.hxx>
#include <rtl/random.h>
#include <rtl/ref.hxx>
@@ -710,6 +717,7 @@
#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/templdlg.hxx>
@@ -725,14 +733,15 @@
#include <sot/storage.hxx>
#include <sot/storinfo.hxx>
#include <stack>
+#include <stdexcept>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <svl/PasswordHelper.hxx>
+#include <svl/SfxBroadcaster.hxx>
#include <svl/aeitem.hxx>
#include <svl/asiancfg.hxx>
-#include <svl/SfxBroadcaster.hxx>
#include <svl/cjkoptions.hxx>
#include <svl/ctloptions.hxx>
#include <svl/eitem.hxx>
@@ -778,6 +787,7 @@
#include <svtools/ehdl.hxx>
#include <svtools/embedhlp.hxx>
#include <svtools/embedtransfer.hxx>
+#include <svtools/fmtfield.hxx>
#include <svtools/grfmgr.hxx>
#include <svtools/htmlcfg.hxx>
#include <svtools/htmlkywd.hxx>
@@ -878,6 +888,7 @@
#include <svx/sdgluitm.hxx>
#include <svx/sdgmoitm.hxx>
#include <svx/sdgtritm.hxx>
+#include <svx/sdr/attribute/sdrallfillattributeshelper.hxx>
#include <svx/sdr/contact/displayinfo.hxx>
#include <svx/sdr/contact/objectcontactofobjlistpainter.hxx>
#include <svx/sdr/contact/viewcontact.hxx>
@@ -888,8 +899,6 @@
#include <svx/sdr/contact/viewobjectcontactredirector.hxx>
#include <svx/sdr/overlay/overlaymanager.hxx>
#include <svx/sdr/overlay/overlayselection.hxx>
-#include <svx/sdr/primitive2d/sdrattributecreator.hxx>
-#include <svx/sdr/primitive2d/sdrdecompositiontools.hxx>
#include <svx/sdr/properties/defaultproperties.hxx>
#include <svx/sdrobjectfilter.hxx>
#include <svx/sdrpaintwindow.hxx>
@@ -909,10 +918,12 @@
#include <svx/srchdlg.hxx>
#include <svx/stddlg.hxx>
#include <svx/svddef.hxx>
+#include <svx/svddrgmt.hxx>
#include <svx/svdetc.hxx>
#include <svx/svdfield.hxx>
#include <svx/svdhdl.hxx>
#include <svx/svditer.hxx>
+#include <svx/svdlayer.hxx>
#include <svx/svdmark.hxx>
#include <svx/svdmodel.hxx>
#include <svx/svdoashp.hxx>
@@ -946,6 +957,7 @@
#include <svx/tbxctl.hxx>
#include <svx/tbxcustomshapes.hxx>
#include <svx/unoapi.hxx>
+#include <svx/unobrushitemhelper.hxx>
#include <svx/unofill.hxx>
#include <svx/unomid.hxx>
#include <svx/unomod.hxx>
@@ -1105,6 +1117,7 @@
#include <vcl/msgbox.hxx>
#include <vcl/oldprintadaptor.hxx>
#include <vcl/outdev.hxx>
+#include <vcl/pdfextoutdevdata.hxx>
#include <vcl/print.hxx>
#include <vcl/region.hxx>
#include <vcl/scrbar.hxx>
@@ -1155,6 +1168,7 @@
#include <xmloff/xmlmetae.hxx>
#include <xmloff/xmlmetai.hxx>
#include <xmloff/xmlnmspe.hxx>
+#include <xmloff/xmlprhdl.hxx>
#include <xmloff/xmlprmap.hxx>
#include <xmloff/xmlscripti.hxx>
#include <xmloff/xmlstyle.hxx>
@@ -1163,6 +1177,5 @@
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmltypes.hxx>
#include <xmloff/xmluconv.hxx>
-#include <xmlreader/xmlreader.hxx>
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/pch/precompiled_swui.hxx b/sw/inc/pch/precompiled_swui.hxx
index 343e49df43eb..a2dd8574dba3 100644
--- a/sw/inc/pch/precompiled_swui.hxx
+++ b/sw/inc/pch/precompiled_swui.hxx
@@ -17,6 +17,7 @@
#include <algorithm>
#include <basic/basmgr.hxx>
#include <basic/sbmod.hxx>
+#include <boost/scoped_array.hpp>
#include <boost/scoped_ptr.hpp>
#include <com/sun/star/accessibility/AccessibleRole.hpp>
#include <com/sun/star/awt/PosSize.hpp>
@@ -211,6 +212,7 @@
#include <svx/xtable.hxx>
#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>
diff --git a/sw/inc/pch/precompiled_vbaswobj.hxx b/sw/inc/pch/precompiled_vbaswobj.hxx
index 6b121cfe53e8..5d7a32a54f0e 100644
--- a/sw/inc/pch/precompiled_vbaswobj.hxx
+++ b/sw/inc/pch/precompiled_vbaswobj.hxx
@@ -109,7 +109,6 @@
#include <com/sun/star/view/XViewCursor.hpp>
#include <com/sun/star/view/XViewSettingsSupplier.hpp>
#include <comphelper/processfactory.hxx>
-#include <comphelper/servicedecl.hxx>
#include <comphelper/string.hxx>
#include <comphelper/unwrapargs.hxx>
#include <cppuhelper/bootstrap.hxx>
diff --git a/tools/inc/pch/precompiled_tl.hxx b/tools/inc/pch/precompiled_tl.hxx
index dc3ee16e584f..2101b0c35527 100644
--- a/tools/inc/pch/precompiled_tl.hxx
+++ b/tools/inc/pch/precompiled_tl.hxx
@@ -22,12 +22,14 @@
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolypolygoncutter.hxx>
#include <basegfx/vector/b2dvector.hxx>
+#include <boost/checked_delete.hpp>
#include <boost/static_assert.hpp>
#include <boost/unordered_map.hpp>
#include <cassert>
#include <cmath>
#include <com/sun/star/task/ErrorCodeIOException.hpp>
#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/util/XStringWidth.hpp>
#include <comphelper/string.hxx>
#include <config_features.h>
@@ -47,6 +49,7 @@
#include <list>
#include <math.h>
#include <new>
+#include <o3tl/heap_ptr.hxx>
#include <osl/diagnose.h>
#include <osl/endian.h>
#include <osl/file.hxx>
@@ -67,6 +70,7 @@
#include <rtl/tencinfo.h>
#include <rtl/textcvt.h>
#include <rtl/textenc.h>
+#include <rtl/uri.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/ustring.h>
#include <rtl/ustring.hxx>
@@ -74,6 +78,7 @@
#include <sal/log.hxx>
#include <sal/macros.h>
#include <sal/types.h>
+#include <sax/tools/converter.hxx>
#include <set>
#include <stdio.h>
#include <stdlib.h>
diff --git a/vcl/inc/pch/precompiled_vcl.hxx b/vcl/inc/pch/precompiled_vcl.hxx
index 141301cdaac7..55c95f5b00d0 100644
--- a/vcl/inc/pch/precompiled_vcl.hxx
+++ b/vcl/inc/pch/precompiled_vcl.hxx
@@ -137,6 +137,7 @@
#include <boost/bind.hpp>
#include <boost/foreach.hpp>
#include <boost/make_shared.hpp>
+#include <boost/mem_fn.hpp>
#include <boost/optional.hpp>
#include <boost/ptr_container/ptr_vector.hpp>
#include <boost/scoped_array.hpp>
@@ -145,6 +146,7 @@
#include <boost/static_assert.hpp>
#include <boost/unordered_map.hpp>
#include <boost/unordered_set.hpp>
+#include <cassert>
#include <cmath>
#include <com/sun/star/accessibility/AccessibleEventObject.hpp>
#include <com/sun/star/accessibility/AccessibleRole.hpp>
@@ -339,6 +341,7 @@
#include <sal/log.hxx>
#include <sal/macros.h>
#include <sal/types.h>
+#include <salhelper/linkhelper.hxx>
#include <set>
#include <setjmp.h>
#include <sot/exchange.hxx>
@@ -350,7 +353,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <svl/SfxBroadcaster.hxx>
#include <svl/ctloptions.hxx>
#include <svl/lstner.hxx>
#include <svl/smplhint.hxx>
diff --git a/writerfilter/inc/pch/precompiled_writerfilter.hxx b/writerfilter/inc/pch/precompiled_writerfilter.hxx
index 894a15aeeb09..2273cecb06a6 100644
--- a/writerfilter/inc/pch/precompiled_writerfilter.hxx
+++ b/writerfilter/inc/pch/precompiled_writerfilter.hxx
@@ -14,6 +14,8 @@
also fixes all possible problems, so it's usually better to use it).
*/
+#include "oox/core/fasttokenhandler.hxx"
+#include "oox/token/tokens.hxx"
#include <algorithm>
#include <boost/optional.hpp>
#include <boost/shared_ptr.hpp>
@@ -32,6 +34,7 @@
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/XMultiPropertySet.hpp>
+#include <com/sun/star/beans/XPropertyContainer.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/container/XEnumeration.hpp>
@@ -42,6 +45,7 @@
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/document/IndexedPropertyValues.hpp>
#include <com/sun/star/document/PrinterIndependentLayout.hpp>
+#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/XEventBroadcaster.hpp>
@@ -146,7 +150,9 @@
#include <com/sun/star/uno/Type.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/uri/UriReferenceFactory.hpp>
+#include <com/sun/star/util/NumberFormatter.hpp>
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
+#include <com/sun/star/util/XNumberFormatter.hpp>
#include <com/sun/star/util/XRefreshable.hpp>
#include <com/sun/star/view/XFormLayerAccess.hpp>
#include <com/sun/star/xml/dom/DocumentBuilder.hpp>
@@ -157,6 +163,7 @@
#include <comphelper/classids.hxx>
#include <comphelper/embeddedobjectcontainer.hxx>
#include <comphelper/sequenceashashmap.hxx>
+#include <comphelper/sequenceasvector.hxx>
#include <comphelper/servicehelper.hxx>
#include <comphelper/storagehelper.hxx>
#include <comphelper/string.hxx>
@@ -204,6 +211,7 @@
#include <sal/config.h>
#include <sal/log.hxx>
#include <sal/macros.h>
+#include <sax/fastattribs.hxx>
#include <set>
#include <sfx2/sfxbasemodel.hxx>
#include <sot/storage.hxx>
diff --git a/xmloff/inc/pch/precompiled_xo.hxx b/xmloff/inc/pch/precompiled_xo.hxx
index 77610a7e01b3..3a8c4ab671d7 100644
--- a/xmloff/inc/pch/precompiled_xo.hxx
+++ b/xmloff/inc/pch/precompiled_xo.hxx
@@ -496,6 +496,7 @@
#include <comphelper/string.hxx>
#include <comphelper/types.hxx>
#include <comphelper/xmltools.hxx>
+#include <config_features.h>
#include <cppuhelper/exc_hlp.hxx>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/implbase1.hxx>