summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/chart/ColorPropertySet.cxx2
-rw-r--r--xmloff/source/chart/SchXMLChartContext.cxx1
-rw-r--r--xmloff/source/core/DocumentSettingsContext.cxx1
-rw-r--r--xmloff/source/core/ProgressBarHelper.cxx2
-rw-r--r--xmloff/source/core/SvXMLAttrCollection.cxx1
-rw-r--r--xmloff/source/core/attrlist.cxx1
-rw-r--r--xmloff/source/core/xmlerror.cxx1
-rw-r--r--xmloff/source/core/xmluconv.cxx1
-rw-r--r--xmloff/source/draw/XMLReplacementImageContext.cxx1
-rw-r--r--xmloff/source/draw/animationimport.cxx1
-rw-r--r--xmloff/source/draw/animimp.cxx1
-rw-r--r--xmloff/source/draw/eventimp.cxx1
-rw-r--r--xmloff/source/draw/layerimp.cxx1
-rw-r--r--xmloff/source/draw/shapeimport.cxx1
-rw-r--r--xmloff/source/draw/ximp3dobject.cxx1
-rw-r--r--xmloff/source/draw/ximppage.cxx1
-rw-r--r--xmloff/source/draw/ximpshap.cxx1
-rw-r--r--xmloff/source/draw/ximpstyl.cxx1
-rw-r--r--xmloff/source/forms/attriblistmerge.cxx2
-rw-r--r--xmloff/source/forms/elementimport_impl.hxx2
-rw-r--r--xmloff/source/forms/eventimport.cxx1
-rw-r--r--xmloff/source/forms/formattributes.cxx3
-rw-r--r--xmloff/source/forms/handler/form_handler_factory.cxx1
-rw-r--r--xmloff/source/forms/property_meta_data.cxx1
-rw-r--r--xmloff/source/style/EnumPropertyHdl.cxx1
-rw-r--r--xmloff/source/style/PageMasterImportContext.cxx1
-rw-r--r--xmloff/source/style/PageMasterPropHdlFactory.cxx1
-rw-r--r--xmloff/source/style/XMLConstantsPropertyHandler.cxx1
-rw-r--r--xmloff/source/style/XMLIsPercentagePropertyHandler.cxx1
-rw-r--r--xmloff/source/style/cdouthdl.cxx1
-rw-r--r--xmloff/source/style/prstylei.cxx1
-rw-r--r--xmloff/source/style/undlihdl.cxx1
-rw-r--r--xmloff/source/style/xmlimppr.cxx1
-rw-r--r--xmloff/source/style/xmlnumfi.cxx1
-rw-r--r--xmloff/source/style/xmlnumi.cxx1
-rw-r--r--xmloff/source/table/XMLTableImport.cxx2
-rw-r--r--xmloff/source/text/XMLIndexTOCContext.cxx1
-rw-r--r--xmloff/source/text/XMLTextFrameContext.cxx1
-rw-r--r--xmloff/source/text/XMLTextMarkImportContext.cxx1
-rw-r--r--xmloff/source/text/XMLTextMasterPageContext.cxx1
-rw-r--r--xmloff/source/text/XMLTextNumRuleInfo.cxx1
-rw-r--r--xmloff/source/text/txtfldi.cxx1
-rw-r--r--xmloff/source/text/txtimp.cxx1
-rw-r--r--xmloff/source/text/txtimppr.cxx1
-rw-r--r--xmloff/source/text/txtlists.cxx1
-rw-r--r--xmloff/source/text/txtprhdl.cxx1
-rw-r--r--xmloff/source/text/txtprmap.cxx1
-rw-r--r--xmloff/source/text/txtvfldi.cxx1
-rw-r--r--xmloff/source/transform/ChartOASISTContext.cxx1
-rw-r--r--xmloff/source/transform/ChartOOoTContext.cxx1
-rw-r--r--xmloff/source/transform/ChartPlotAreaOASISTContext.cxx1
-rw-r--r--xmloff/source/transform/ChartPlotAreaOOoTContext.cxx1
-rw-r--r--xmloff/source/transform/ControlOASISTContext.cxx1
-rw-r--r--xmloff/source/transform/CreateElemTContext.cxx1
-rw-r--r--xmloff/source/transform/DeepTContext.cxx1
-rw-r--r--xmloff/source/transform/DlgOASISTContext.cxx1
-rw-r--r--xmloff/source/transform/EventOASISTContext.cxx1
-rw-r--r--xmloff/source/transform/EventOOoTContext.cxx1
-rw-r--r--xmloff/source/transform/FormPropOASISTContext.cxx1
-rw-r--r--xmloff/source/transform/FormPropOOoTContext.cxx1
-rw-r--r--xmloff/source/transform/FrameOASISTContext.cxx1
-rw-r--r--xmloff/source/transform/FrameOOoTContext.cxx1
-rw-r--r--xmloff/source/transform/MergeElemTContext.cxx1
-rw-r--r--xmloff/source/transform/NotesTContext.cxx1
-rw-r--r--xmloff/source/transform/OOo2Oasis.cxx1
-rw-r--r--xmloff/source/transform/PersMixedContentTContext.cxx2
-rw-r--r--xmloff/source/transform/StyleOASISTContext.cxx1
-rw-r--r--xmloff/source/transform/StyleOOoTContext.cxx1
-rw-r--r--xmloff/source/transform/TransformerActions.cxx1
-rw-r--r--xmloff/source/transform/TransformerBase.cxx1
-rw-r--r--xmloff/source/transform/TransformerContext.cxx1
-rw-r--r--xmloff/source/transform/XMLFilterRegistration.cxx1
-rw-r--r--xmloff/source/xforms/SchemaRestrictionContext.cxx1
-rw-r--r--xmloff/source/xforms/SchemaSimpleTypeContext.cxx2
-rw-r--r--xmloff/source/xforms/XFormsBindContext.cxx1
-rw-r--r--xmloff/source/xforms/XFormsInstanceContext.cxx1
-rw-r--r--xmloff/source/xforms/XFormsModelContext.cxx2
-rw-r--r--xmloff/source/xforms/XFormsSubmissionContext.cxx1
-rw-r--r--xmloff/source/xforms/xformsapi.cxx1
79 files changed, 89 insertions, 0 deletions
diff --git a/xmloff/source/chart/ColorPropertySet.cxx b/xmloff/source/chart/ColorPropertySet.cxx
index 23a3a4a891fa..695351d1ac22 100644
--- a/xmloff/source/chart/ColorPropertySet.cxx
+++ b/xmloff/source/chart/ColorPropertySet.cxx
@@ -21,6 +21,8 @@
#include <cppuhelper/implbase1.hxx>
+#include <osl/diagnose.h>
+
using namespace ::com::sun::star;
using namespace ::com::sun::star::beans;
diff --git a/xmloff/source/chart/SchXMLChartContext.cxx b/xmloff/source/chart/SchXMLChartContext.cxx
index 3c488a6bf467..78200f017e84 100644
--- a/xmloff/source/chart/SchXMLChartContext.cxx
+++ b/xmloff/source/chart/SchXMLChartContext.cxx
@@ -25,6 +25,7 @@
#include "SchXMLTableContext.hxx"
#include "SchXMLSeries2Context.hxx"
#include "SchXMLTools.hxx"
+#include <osl/diagnose.h>
#include <unotools/mediadescriptor.hxx>
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/xmlement.hxx>
diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx
index 8d1258bbeb71..4e60385ff4b1 100644
--- a/xmloff/source/core/DocumentSettingsContext.cxx
+++ b/xmloff/source/core/DocumentSettingsContext.cxx
@@ -44,6 +44,7 @@
#include <com/sun/star/document/IndexedPropertyValues.hpp>
#include <com/sun/star/document/NamedPropertyValues.hpp>
#include <rtl/ustrbuf.hxx>
+#include <osl/diagnose.h>
#include <xmlenums.hxx>
using namespace com::sun::star;
diff --git a/xmloff/source/core/ProgressBarHelper.cxx b/xmloff/source/core/ProgressBarHelper.cxx
index fcf2df5dd5a4..f8a44452939d 100644
--- a/xmloff/source/core/ProgressBarHelper.cxx
+++ b/xmloff/source/core/ProgressBarHelper.cxx
@@ -20,6 +20,8 @@
#include <xmloff/ProgressBarHelper.hxx>
#include <xmloff/xmltoken.hxx>
+#include <osl/diagnose.h>
+
using namespace ::com::sun::star;
static const sal_Int32 nDefaultProgressBarRange = 1000000;
diff --git a/xmloff/source/core/SvXMLAttrCollection.cxx b/xmloff/source/core/SvXMLAttrCollection.cxx
index e5220ae875a4..8f1ad5c862ae 100644
--- a/xmloff/source/core/SvXMLAttrCollection.cxx
+++ b/xmloff/source/core/SvXMLAttrCollection.cxx
@@ -9,6 +9,7 @@
#include "SvXMLAttrCollection.hxx"
#include <limits.h>
+#include <osl/diagnose.h>
bool SvXMLAttrCollection::operator ==( const SvXMLAttrCollection& rCmp ) const
{
diff --git a/xmloff/source/core/attrlist.cxx b/xmloff/source/core/attrlist.cxx
index ace876a1112a..a7513706e8fe 100644
--- a/xmloff/source/core/attrlist.cxx
+++ b/xmloff/source/core/attrlist.cxx
@@ -21,6 +21,7 @@
#include <string.h>
#include <vector>
#include <osl/mutex.hxx>
+#include <osl/diagnose.h>
#include <xmloff/xmltoken.hxx>
#include <comphelper/servicehelper.hxx>
diff --git a/xmloff/source/core/xmlerror.cxx b/xmloff/source/core/xmlerror.cxx
index 5bd746d38d70..feb4ac0bdfe7 100644
--- a/xmloff/source/core/xmlerror.cxx
+++ b/xmloff/source/core/xmlerror.cxx
@@ -19,6 +19,7 @@
#include <xmloff/xmlerror.hxx>
#include <rtl/ustring.hxx>
+#include <osl/diagnose.h>
#include <com/sun/star/xml/sax/XLocator.hpp>
#include <com/sun/star/xml/sax/SAXParseException.hpp>
#include <com/sun/star/uno/Any.hxx>
diff --git a/xmloff/source/core/xmluconv.cxx b/xmloff/source/core/xmluconv.cxx
index 7bea9cabc429..fa31e599a45a 100644
--- a/xmloff/source/core/xmluconv.cxx
+++ b/xmloff/source/core/xmluconv.cxx
@@ -24,6 +24,7 @@
#include <com/sun/star/util/Date.hpp>
#include <tools/debug.hxx>
#include <rtl/ustrbuf.hxx>
+#include <osl/diagnose.h>
#include <xmloff/xmlement.hxx>
#include <xmloff/xmltoken.hxx>
#include <rtl/math.hxx>
diff --git a/xmloff/source/draw/XMLReplacementImageContext.cxx b/xmloff/source/draw/XMLReplacementImageContext.cxx
index fb55d36fbd06..80e075b04dc8 100644
--- a/xmloff/source/draw/XMLReplacementImageContext.cxx
+++ b/xmloff/source/draw/XMLReplacementImageContext.cxx
@@ -19,6 +19,7 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
+#include <osl/diagnose.h>
#include <xmloff/xmlimp.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlnmspe.hxx>
diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx
index 8392356fb996..0cbbd29432f6 100644
--- a/xmloff/source/draw/animationimport.cxx
+++ b/xmloff/source/draw/animationimport.cxx
@@ -60,6 +60,7 @@
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/xmluconv.hxx>
#include <osl/mutex.hxx>
+#include <osl/diagnose.h>
#include <xmloff/nmspmap.hxx>
#include <xmloff/xmlprhdl.hxx>
#include "anim.hxx"
diff --git a/xmloff/source/draw/animimp.cxx b/xmloff/source/draw/animimp.cxx
index d3c7e2b86c1c..4de1c88cb685 100644
--- a/xmloff/source/draw/animimp.cxx
+++ b/xmloff/source/draw/animimp.cxx
@@ -25,6 +25,7 @@
#include <com/sun/star/xml/sax/XAttributeList.hpp>
#include <sax/tools/converter.hxx>
+#include <osl/diagnose.h>
#include <list>
#include <xmloff/xmltoken.hxx>
diff --git a/xmloff/source/draw/eventimp.cxx b/xmloff/source/draw/eventimp.cxx
index 7488da10cd20..c858528a5399 100644
--- a/xmloff/source/draw/eventimp.cxx
+++ b/xmloff/source/draw/eventimp.cxx
@@ -25,6 +25,7 @@
#include <com/sun/star/xml/sax/XAttributeList.hpp>
#include <com/sun/star/presentation/ClickAction.hpp>
#include <tools/urlobj.hxx>
+#include <osl/diagnose.h>
#include <sax/tools/converter.hxx>
diff --git a/xmloff/source/draw/layerimp.cxx b/xmloff/source/draw/layerimp.cxx
index a9d6a4ca1cd3..bc50cc37aaf6 100644
--- a/xmloff/source/draw/layerimp.cxx
+++ b/xmloff/source/draw/layerimp.cxx
@@ -19,6 +19,7 @@
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
#include <com/sun/star/drawing/XLayerManager.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/xml/sax/XAttributeList.hpp>
diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx
index 2d311d5c9bb9..2a670787c57b 100644
--- a/xmloff/source/draw/shapeimport.cxx
+++ b/xmloff/source/draw/shapeimport.cxx
@@ -23,6 +23,7 @@
#include <com/sun/star/chart/XChartDocument.hpp>
#include <xmloff/unointerfacetouniqueidentifiermapper.hxx>
+#include <osl/diagnose.h>
#include <list>
diff --git a/xmloff/source/draw/ximp3dobject.cxx b/xmloff/source/draw/ximp3dobject.cxx
index ef4002e1cfe4..97952fddb9b2 100644
--- a/xmloff/source/draw/ximp3dobject.cxx
+++ b/xmloff/source/draw/ximp3dobject.cxx
@@ -31,6 +31,7 @@
#include <xmloff/xmltoken.hxx>
#include <com/sun/star/drawing/PolyPolygonShape3D.hpp>
#include <com/sun/star/drawing/DoubleSequence.hpp>
+#include <osl/diagnose.h>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <basegfx/polygon/b3dpolypolygontools.hxx>
diff --git a/xmloff/source/draw/ximppage.cxx b/xmloff/source/draw/ximppage.cxx
index a3e2bb92f510..4e8f660ba1aa 100644
--- a/xmloff/source/draw/ximppage.cxx
+++ b/xmloff/source/draw/ximppage.cxx
@@ -34,6 +34,7 @@
#include "ximpstyl.hxx"
#include <xmloff/prstylei.hxx>
#include "PropertySetMerger.hxx"
+#include <osl/diagnose.h>
#include <xmloff/unointerfacetouniqueidentifiermapper.hxx>
#include <xmloff/xmluconv.hxx>
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx
index d247895727fb..62ff05dd783b 100644
--- a/xmloff/source/draw/ximpshap.cxx
+++ b/xmloff/source/draw/ximpshap.cxx
@@ -20,6 +20,7 @@
#include <cassert>
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
#include <com/sun/star/document/XEventsSupplier.hpp>
#include <com/sun/star/container/XNameReplace.hpp>
#include <com/sun/star/presentation/ClickAction.hpp>
diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx
index ecaf3962b0bc..10b60335737e 100644
--- a/xmloff/source/draw/ximpstyl.cxx
+++ b/xmloff/source/draw/ximpstyl.cxx
@@ -24,6 +24,7 @@
#include <xmloff/xmluconv.hxx>
#include "ximpnote.hxx"
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
diff --git a/xmloff/source/forms/attriblistmerge.cxx b/xmloff/source/forms/attriblistmerge.cxx
index a2f7b12768a4..275c6232d59d 100644
--- a/xmloff/source/forms/attriblistmerge.cxx
+++ b/xmloff/source/forms/attriblistmerge.cxx
@@ -19,6 +19,8 @@
#include "attriblistmerge.hxx"
+#include <osl/diagnose.h>
+
namespace xmloff
{
diff --git a/xmloff/source/forms/elementimport_impl.hxx b/xmloff/source/forms/elementimport_impl.hxx
index 2ca20f76ddec..a9cfc99aa9c2 100644
--- a/xmloff/source/forms/elementimport_impl.hxx
+++ b/xmloff/source/forms/elementimport_impl.hxx
@@ -23,6 +23,8 @@
#error "do not include this file directly!"
#endif
+#include <osl/diagnose.h>
+
// no namespace. Same as above: this file is included from elementimport.hxx only,
// and this is done inside the namespace
diff --git a/xmloff/source/forms/eventimport.cxx b/xmloff/source/forms/eventimport.cxx
index 2cedb83f0c7a..d3e83a1d5252 100644
--- a/xmloff/source/forms/eventimport.cxx
+++ b/xmloff/source/forms/eventimport.cxx
@@ -20,6 +20,7 @@
#include "eventimport.hxx"
#include <com/sun/star/script/XEventAttacherManager.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
+#include <osl/diagnose.h>
#include "strings.hxx"
namespace xmloff
diff --git a/xmloff/source/forms/formattributes.cxx b/xmloff/source/forms/formattributes.cxx
index 9c61fd906b08..0ccb33973a18 100644
--- a/xmloff/source/forms/formattributes.cxx
+++ b/xmloff/source/forms/formattributes.cxx
@@ -24,6 +24,9 @@
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/xmluconv.hxx>
#include <rtl/ustrbuf.hxx>
+#include <osl/diagnose.h>
+
+
namespace xmloff
{
diff --git a/xmloff/source/forms/handler/form_handler_factory.cxx b/xmloff/source/forms/handler/form_handler_factory.cxx
index 7b944f7c986d..4da6571e32ac 100644
--- a/xmloff/source/forms/handler/form_handler_factory.cxx
+++ b/xmloff/source/forms/handler/form_handler_factory.cxx
@@ -20,6 +20,7 @@
#include "forms/form_handler_factory.hxx"
#include "vcl_date_handler.hxx"
#include "vcl_time_handler.hxx"
+#include <osl/diagnose.h>
namespace xmloff
{
diff --git a/xmloff/source/forms/property_meta_data.cxx b/xmloff/source/forms/property_meta_data.cxx
index 984f0709e501..e48e1f575887 100644
--- a/xmloff/source/forms/property_meta_data.cxx
+++ b/xmloff/source/forms/property_meta_data.cxx
@@ -25,6 +25,7 @@
#include <xmloff/xmlnmspe.hxx>
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
#include <boost/unordered_map.hpp>
diff --git a/xmloff/source/style/EnumPropertyHdl.cxx b/xmloff/source/style/EnumPropertyHdl.cxx
index 675dbd5adfb5..fcfe449f5758 100644
--- a/xmloff/source/style/EnumPropertyHdl.cxx
+++ b/xmloff/source/style/EnumPropertyHdl.cxx
@@ -22,6 +22,7 @@
#include <comphelper/extract.hxx>
#include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx>
+#include <osl/diagnose.h>
#include <com/sun/star/uno/Any.hxx>
using namespace ::com::sun::star::uno;
diff --git a/xmloff/source/style/PageMasterImportContext.cxx b/xmloff/source/style/PageMasterImportContext.cxx
index 42c40e741d84..eea9debfefce 100644
--- a/xmloff/source/style/PageMasterImportContext.cxx
+++ b/xmloff/source/style/PageMasterImportContext.cxx
@@ -27,6 +27,7 @@
#include "PageMasterImportPropMapper.hxx"
#include <xmloff/PageMasterStyleMap.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
+#include <osl/diagnose.h>
//UUUU
#include <xmlsdtypes.hxx>
diff --git a/xmloff/source/style/PageMasterPropHdlFactory.cxx b/xmloff/source/style/PageMasterPropHdlFactory.cxx
index a90132e1e639..52c506fcfd65 100644
--- a/xmloff/source/style/PageMasterPropHdlFactory.cxx
+++ b/xmloff/source/style/PageMasterPropHdlFactory.cxx
@@ -30,6 +30,7 @@
//UUUU
#include <xmloff/EnumPropertyHdl.hxx>
+#include <osl/diagnose.h>
#include <com/sun/star/drawing/FillStyle.hpp>
#include "XMLFillBitmapSizePropertyHandler.hxx"
#include "XMLBitmapLogicalSizePropertyHandler.hxx"
diff --git a/xmloff/source/style/XMLConstantsPropertyHandler.cxx b/xmloff/source/style/XMLConstantsPropertyHandler.cxx
index d18a73627655..9a38098d5095 100644
--- a/xmloff/source/style/XMLConstantsPropertyHandler.cxx
+++ b/xmloff/source/style/XMLConstantsPropertyHandler.cxx
@@ -19,6 +19,7 @@
#include <xmloff/xmluconv.hxx>
#include <rtl/ustrbuf.hxx>
+#include <osl/diagnose.h>
#include <com/sun/star/uno/Any.hxx>
#include <xmloff/XMLConstantsPropertyHandler.hxx>
diff --git a/xmloff/source/style/XMLIsPercentagePropertyHandler.cxx b/xmloff/source/style/XMLIsPercentagePropertyHandler.cxx
index 22dfb06ee2f0..08b3ed8949b6 100644
--- a/xmloff/source/style/XMLIsPercentagePropertyHandler.cxx
+++ b/xmloff/source/style/XMLIsPercentagePropertyHandler.cxx
@@ -19,6 +19,7 @@
#include <com/sun/star/uno/Any.hxx>
#include <rtl/ustrbuf.hxx>
+#include <osl/diagnose.h>
#include "XMLIsPercentagePropertyHandler.hxx"
using namespace ::com::sun::star;
diff --git a/xmloff/source/style/cdouthdl.cxx b/xmloff/source/style/cdouthdl.cxx
index 9b4dd7dbdec2..c2443007d613 100644
--- a/xmloff/source/style/cdouthdl.cxx
+++ b/xmloff/source/style/cdouthdl.cxx
@@ -21,6 +21,7 @@
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmluconv.hxx>
#include <rtl/ustrbuf.hxx>
+#include <osl/diagnose.h>
#include <com/sun/star/awt/FontStrikeout.hpp>
#include <com/sun/star/uno/Any.hxx>
diff --git a/xmloff/source/style/prstylei.cxx b/xmloff/source/style/prstylei.cxx
index 8ac833da93e7..bda107563879 100644
--- a/xmloff/source/style/prstylei.cxx
+++ b/xmloff/source/style/prstylei.cxx
@@ -18,6 +18,7 @@
*/
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
#include <set>
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/xmltoken.hxx>
diff --git a/xmloff/source/style/undlihdl.cxx b/xmloff/source/style/undlihdl.cxx
index a2d8da6aed43..7881497f9cc3 100644
--- a/xmloff/source/style/undlihdl.cxx
+++ b/xmloff/source/style/undlihdl.cxx
@@ -21,6 +21,7 @@
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmluconv.hxx>
#include <rtl/ustrbuf.hxx>
+#include <osl/diagnose.h>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/awt/FontUnderline.hpp>
diff --git a/xmloff/source/style/xmlimppr.cxx b/xmloff/source/style/xmlimppr.cxx
index d0a12ea58324..6bfe40cf98da 100644
--- a/xmloff/source/style/xmlimppr.cxx
+++ b/xmloff/source/style/xmlimppr.cxx
@@ -25,6 +25,7 @@
#include <com/sun/star/beans/PropertyVetoException.hpp>
#include <com/sun/star/beans/TolerantPropertySetResultType.hpp>
#include <rtl/ustrbuf.hxx>
+#include <osl/diagnose.h>
#include <xmloff/xmlprmap.hxx>
#include <xmloff/nmspmap.hxx>
#include <xmloff/xmlimppr.hxx>
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx
index 6c9b3f0ac8ac..6c84c5ab4ad8 100644
--- a/xmloff/source/style/xmlnumfi.cxx
+++ b/xmloff/source/style/xmlnumfi.cxx
@@ -28,6 +28,7 @@
#include <i18nlangtag/languagetag.hxx>
#include <tools/color.hxx>
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
#include <rtl/ustrbuf.hxx>
#include <sax/tools/converter.hxx>
diff --git a/xmloff/source/style/xmlnumi.cxx b/xmloff/source/style/xmlnumi.cxx
index 57f4c49d63eb..f8994f2bc304 100644
--- a/xmloff/source/style/xmlnumi.cxx
+++ b/xmloff/source/style/xmlnumi.cxx
@@ -31,6 +31,7 @@
#include <com/sun/star/io/XOutputStream.hpp>
#include <rtl/ustrbuf.hxx>
+#include <osl/diagnose.h>
#include <tools/debug.hxx>
#include <tools/fontenum.hxx>
diff --git a/xmloff/source/table/XMLTableImport.cxx b/xmloff/source/table/XMLTableImport.cxx
index 3b376181458f..dc47fde7db86 100644
--- a/xmloff/source/table/XMLTableImport.cxx
+++ b/xmloff/source/table/XMLTableImport.cxx
@@ -39,6 +39,8 @@
#include <xmloff/xmlnmspe.hxx>
#include "table.hxx"
+#include <osl/diagnose.h>
+
#include <boost/shared_ptr.hpp>
using namespace ::xmloff::token;
diff --git a/xmloff/source/text/XMLIndexTOCContext.cxx b/xmloff/source/text/XMLIndexTOCContext.cxx
index a25b23f4ef89..341765d8e187 100644
--- a/xmloff/source/text/XMLIndexTOCContext.cxx
+++ b/xmloff/source/text/XMLIndexTOCContext.cxx
@@ -44,6 +44,7 @@
#include <xmloff/xmlerror.hxx>
#include <xmloff/xmluconv.hxx>
#include <rtl/ustring.hxx>
+#include <osl/diagnose.h>
using namespace ::com::sun::star::uno;
diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx
index 91717d8717ca..bf54f43a2878 100644
--- a/xmloff/source/text/XMLTextFrameContext.cxx
+++ b/xmloff/source/text/XMLTextFrameContext.cxx
@@ -18,6 +18,7 @@
*/
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/text/TextContentAnchorType.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
diff --git a/xmloff/source/text/XMLTextMarkImportContext.cxx b/xmloff/source/text/XMLTextMarkImportContext.cxx
index 969be43bd4de..63bb7e237bf3 100644
--- a/xmloff/source/text/XMLTextMarkImportContext.cxx
+++ b/xmloff/source/text/XMLTextMarkImportContext.cxx
@@ -21,6 +21,7 @@
#include <rtl/ustring.hxx>
+#include <osl/diagnose.h>
#include <tools/debug.hxx>
#include <xmloff/xmluconv.hxx>
#include <xmloff/xmltoken.hxx>
diff --git a/xmloff/source/text/XMLTextMasterPageContext.cxx b/xmloff/source/text/XMLTextMasterPageContext.cxx
index 83fd57d82342..36ea03503e72 100644
--- a/xmloff/source/text/XMLTextMasterPageContext.cxx
+++ b/xmloff/source/text/XMLTextMasterPageContext.cxx
@@ -21,6 +21,7 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/style/PageStyleLayout.hpp>
#include <com/sun/star/beans/XMultiPropertyStates.hpp>
+#include <osl/diagnose.h>
#include <xmloff/nmspmap.hxx>
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/xmltoken.hxx>
diff --git a/xmloff/source/text/XMLTextNumRuleInfo.cxx b/xmloff/source/text/XMLTextNumRuleInfo.cxx
index 7bfdbe318137..02fde000dc22 100644
--- a/xmloff/source/text/XMLTextNumRuleInfo.cxx
+++ b/xmloff/source/text/XMLTextNumRuleInfo.cxx
@@ -19,6 +19,7 @@
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/container/XIndexReplace.hpp>
diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx
index 93e1d81513ed..6b7c9ad541a8 100644
--- a/xmloff/source/text/txtfldi.cxx
+++ b/xmloff/source/text/txtfldi.cxx
@@ -64,6 +64,7 @@
#include <rtl/ustrbuf.hxx>
#include <rtl/math.hxx>
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index a5d715a16e2d..2cfe53a74c2d 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -34,6 +34,7 @@
#include <xmloff/txtstyli.hxx>
#include <xmloff/xmlnumi.hxx>
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
#include <xmloff/maptype.hxx>
#include "txtparai.hxx"
diff --git a/xmloff/source/text/txtimppr.cxx b/xmloff/source/text/txtimppr.cxx
index 395759a3b17c..11b00e4e2f15 100644
--- a/xmloff/source/text/txtimppr.cxx
+++ b/xmloff/source/text/txtimppr.cxx
@@ -18,6 +18,7 @@
*/
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
#include <osl/thread.h>
#include <com/sun/star/awt/FontFamily.hpp>
#include <com/sun/star/awt/FontPitch.hpp>
diff --git a/xmloff/source/text/txtlists.cxx b/xmloff/source/text/txtlists.cxx
index ccfc6853a5c6..27a9a1c3f353 100644
--- a/xmloff/source/text/txtlists.cxx
+++ b/xmloff/source/text/txtlists.cxx
@@ -21,6 +21,7 @@
#include <txtlists.hxx>
#include <comphelper/random.hxx>
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
#include <tools/date.hxx>
#include <tools/time.hxx>
diff --git a/xmloff/source/text/txtprhdl.cxx b/xmloff/source/text/txtprhdl.cxx
index cd2db541c39b..78d8215351b5 100644
--- a/xmloff/source/text/txtprhdl.cxx
+++ b/xmloff/source/text/txtprhdl.cxx
@@ -18,6 +18,7 @@
*/
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
#include <rtl/ustrbuf.hxx>
#include <tools/fontenum.hxx>
#include <com/sun/star/uno/Any.hxx>
diff --git a/xmloff/source/text/txtprmap.cxx b/xmloff/source/text/txtprmap.cxx
index 7c043da983a2..5b596cd1b82c 100644
--- a/xmloff/source/text/txtprmap.cxx
+++ b/xmloff/source/text/txtprmap.cxx
@@ -19,6 +19,7 @@
#include <xmloff/txtprmap.hxx>
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/maptype.hxx>
diff --git a/xmloff/source/text/txtvfldi.cxx b/xmloff/source/text/txtvfldi.cxx
index de425ff9a7ae..6792facbf6a9 100644
--- a/xmloff/source/text/txtvfldi.cxx
+++ b/xmloff/source/text/txtvfldi.cxx
@@ -44,6 +44,7 @@
#include <sax/tools/converter.hxx>
#include <rtl/ustring.hxx>
+#include <osl/diagnose.h>
#include <tools/debug.hxx>
diff --git a/xmloff/source/transform/ChartOASISTContext.cxx b/xmloff/source/transform/ChartOASISTContext.cxx
index d451334abeae..fc319f73d377 100644
--- a/xmloff/source/transform/ChartOASISTContext.cxx
+++ b/xmloff/source/transform/ChartOASISTContext.cxx
@@ -24,6 +24,7 @@
#include "AttrTransformerAction.hxx"
#include "TransformerActions.hxx"
#include "TransformerBase.hxx"
+#include <osl/diagnose.h>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
diff --git a/xmloff/source/transform/ChartOOoTContext.cxx b/xmloff/source/transform/ChartOOoTContext.cxx
index d35328ae6a38..d50c778bbf59 100644
--- a/xmloff/source/transform/ChartOOoTContext.cxx
+++ b/xmloff/source/transform/ChartOOoTContext.cxx
@@ -24,6 +24,7 @@
#include "AttrTransformerAction.hxx"
#include "TransformerActions.hxx"
#include "TransformerBase.hxx"
+#include <osl/diagnose.h>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
diff --git a/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx b/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx
index 375ad745335c..25b26f9c0cc7 100644
--- a/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx
+++ b/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx
@@ -25,6 +25,7 @@
#include "DeepTContext.hxx"
#include "ActionMapTypesOASIS.hxx"
#include "MutableAttrList.hxx"
+#include <osl/diagnose.h>
using namespace ::com::sun::star;
using namespace ::xmloff::token;
diff --git a/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx b/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx
index df3dc75e3bdf..bf0b25649ca5 100644
--- a/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx
+++ b/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx
@@ -25,6 +25,7 @@
#include "DeepTContext.hxx"
#include "ActionMapTypesOOo.hxx"
#include "MutableAttrList.hxx"
+#include <osl/diagnose.h>
using namespace ::com::sun::star;
using namespace ::xmloff::token;
diff --git a/xmloff/source/transform/ControlOASISTContext.cxx b/xmloff/source/transform/ControlOASISTContext.cxx
index 52abc9e4c8d1..bc50e22f8d82 100644
--- a/xmloff/source/transform/ControlOASISTContext.cxx
+++ b/xmloff/source/transform/ControlOASISTContext.cxx
@@ -25,6 +25,7 @@
#include "TransformerActions.hxx"
#include "TransformerBase.hxx"
#include "ControlOASISTContext.hxx"
+#include <osl/diagnose.h>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
diff --git a/xmloff/source/transform/CreateElemTContext.cxx b/xmloff/source/transform/CreateElemTContext.cxx
index e999997bcc6f..8e0a32f3255b 100644
--- a/xmloff/source/transform/CreateElemTContext.cxx
+++ b/xmloff/source/transform/CreateElemTContext.cxx
@@ -25,6 +25,7 @@
#include "FlatTContext.hxx"
#include "AttrTransformerAction.hxx"
#include <xmloff/nmspmap.hxx>
+#include <osl/diagnose.h>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
diff --git a/xmloff/source/transform/DeepTContext.cxx b/xmloff/source/transform/DeepTContext.cxx
index 7c4858534bc1..4137c5924e7c 100644
--- a/xmloff/source/transform/DeepTContext.cxx
+++ b/xmloff/source/transform/DeepTContext.cxx
@@ -24,6 +24,7 @@
#include "ElemTransformerAction.hxx"
#include "PersMixedContentTContext.hxx"
#include "TransformerBase.hxx"
+#include <osl/diagnose.h>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
diff --git a/xmloff/source/transform/DlgOASISTContext.cxx b/xmloff/source/transform/DlgOASISTContext.cxx
index 6bf2a171dd2a..6a8424c42f19 100644
--- a/xmloff/source/transform/DlgOASISTContext.cxx
+++ b/xmloff/source/transform/DlgOASISTContext.cxx
@@ -24,6 +24,7 @@
#include "AttrTransformerAction.hxx"
#include "TransformerActions.hxx"
#include "TransformerBase.hxx"
+#include <osl/diagnose.h>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
diff --git a/xmloff/source/transform/EventOASISTContext.cxx b/xmloff/source/transform/EventOASISTContext.cxx
index 784a28c17c26..a6bea92f8dee 100644
--- a/xmloff/source/transform/EventOASISTContext.cxx
+++ b/xmloff/source/transform/EventOASISTContext.cxx
@@ -25,6 +25,7 @@
#include "AttrTransformerAction.hxx"
#include "TransformerActions.hxx"
#include "TransformerBase.hxx"
+#include <osl/diagnose.h>
// Used to parse Scripting Framework URLs
#include <com/sun/star/uri/UriReferenceFactory.hpp>
diff --git a/xmloff/source/transform/EventOOoTContext.cxx b/xmloff/source/transform/EventOOoTContext.cxx
index a1eb86abc8bb..47a3c3611437 100644
--- a/xmloff/source/transform/EventOOoTContext.cxx
+++ b/xmloff/source/transform/EventOOoTContext.cxx
@@ -26,6 +26,7 @@
#include "TransformerActions.hxx"
#include "TransformerBase.hxx"
#include <rtl/ustrbuf.hxx>
+#include <osl/diagnose.h>
#include <boost/unordered_map.hpp>
diff --git a/xmloff/source/transform/FormPropOASISTContext.cxx b/xmloff/source/transform/FormPropOASISTContext.cxx
index d4d4021b5833..8807ee564e8d 100644
--- a/xmloff/source/transform/FormPropOASISTContext.cxx
+++ b/xmloff/source/transform/FormPropOASISTContext.cxx
@@ -25,6 +25,7 @@
#include "TransformerActions.hxx"
#include "TransformerBase.hxx"
#include "FormPropOASISTContext.hxx"
+#include <osl/diagnose.h>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
diff --git a/xmloff/source/transform/FormPropOOoTContext.cxx b/xmloff/source/transform/FormPropOOoTContext.cxx
index 47b2df1268da..fc7a7dc7159b 100644
--- a/xmloff/source/transform/FormPropOOoTContext.cxx
+++ b/xmloff/source/transform/FormPropOOoTContext.cxx
@@ -26,6 +26,7 @@
#include "TransformerActions.hxx"
#include "TransformerBase.hxx"
#include "FormPropOOoTContext.hxx"
+#include <osl/diagnose.h>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
diff --git a/xmloff/source/transform/FrameOASISTContext.cxx b/xmloff/source/transform/FrameOASISTContext.cxx
index 10755f980020..ecb4f33d209d 100644
--- a/xmloff/source/transform/FrameOASISTContext.cxx
+++ b/xmloff/source/transform/FrameOASISTContext.cxx
@@ -25,6 +25,7 @@
#include "ElemTransformerAction.hxx"
#include "TransformerActions.hxx"
#include "TransformerBase.hxx"
+#include <osl/diagnose.h>
using namespace ::com::sun::star::uno;
diff --git a/xmloff/source/transform/FrameOOoTContext.cxx b/xmloff/source/transform/FrameOOoTContext.cxx
index b7f8f82f9b0f..daca17493fca 100644
--- a/xmloff/source/transform/FrameOOoTContext.cxx
+++ b/xmloff/source/transform/FrameOOoTContext.cxx
@@ -27,6 +27,7 @@
#include "ElemTransformerAction.hxx"
#include "TransformerActions.hxx"
#include "TransformerBase.hxx"
+#include <osl/diagnose.h>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
diff --git a/xmloff/source/transform/MergeElemTContext.cxx b/xmloff/source/transform/MergeElemTContext.cxx
index da066a705560..135eb3f40c17 100644
--- a/xmloff/source/transform/MergeElemTContext.cxx
+++ b/xmloff/source/transform/MergeElemTContext.cxx
@@ -25,6 +25,7 @@
#include "ElemTransformerAction.hxx"
#include "IgnoreTContext.hxx"
#include <xmloff/xmlnmspe.hxx>
+#include <osl/diagnose.h>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
diff --git a/xmloff/source/transform/NotesTContext.cxx b/xmloff/source/transform/NotesTContext.cxx
index 85bdddeeae70..437f8343f275 100644
--- a/xmloff/source/transform/NotesTContext.cxx
+++ b/xmloff/source/transform/NotesTContext.cxx
@@ -21,6 +21,7 @@
#include <com/sun/star/xml/sax/SAXException.hpp>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include <com/sun/star/xml/sax/XAttributeList.hpp>
+#include <osl/diagnose.h>
#include <xmloff/nmspmap.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlnmspe.hxx>
diff --git a/xmloff/source/transform/OOo2Oasis.cxx b/xmloff/source/transform/OOo2Oasis.cxx
index ddb55ddcdbcb..b944dccecf21 100644
--- a/xmloff/source/transform/OOo2Oasis.cxx
+++ b/xmloff/source/transform/OOo2Oasis.cxx
@@ -18,6 +18,7 @@
*/
#include <rtl/ustrbuf.hxx>
+#include <osl/diagnose.h>
#include <comphelper/processfactory.hxx>
#include <comphelper/servicehelper.hxx>
#include <sax/tools/converter.hxx>
diff --git a/xmloff/source/transform/PersMixedContentTContext.cxx b/xmloff/source/transform/PersMixedContentTContext.cxx
index fbde8c279dd4..fe152fe0f0d6 100644
--- a/xmloff/source/transform/PersMixedContentTContext.cxx
+++ b/xmloff/source/transform/PersMixedContentTContext.cxx
@@ -20,6 +20,8 @@
#include "TransformerBase.hxx"
#include "PersMixedContentTContext.hxx"
+#include <osl/diagnose.h>
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
diff --git a/xmloff/source/transform/StyleOASISTContext.cxx b/xmloff/source/transform/StyleOASISTContext.cxx
index 7e3415efa1c9..26200f625962 100644
--- a/xmloff/source/transform/StyleOASISTContext.cxx
+++ b/xmloff/source/transform/StyleOASISTContext.cxx
@@ -22,6 +22,7 @@
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include <com/sun/star/xml/sax/XAttributeList.hpp>
#include <rtl/ustrbuf.hxx>
+#include <osl/diagnose.h>
#include <sax/tools/converter.hxx>
#include <xmloff/nmspmap.hxx>
#include <xmloff/xmltoken.hxx>
diff --git a/xmloff/source/transform/StyleOOoTContext.cxx b/xmloff/source/transform/StyleOOoTContext.cxx
index 6eb17d4de451..a53aa743c3fa 100644
--- a/xmloff/source/transform/StyleOOoTContext.cxx
+++ b/xmloff/source/transform/StyleOOoTContext.cxx
@@ -41,6 +41,7 @@
#include <xmloff/xmluconv.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/math.hxx>
+#include <osl/diagnose.h>
using namespace ::xmloff::token;
using namespace ::com::sun::star::uno;
diff --git a/xmloff/source/transform/TransformerActions.cxx b/xmloff/source/transform/TransformerActions.cxx
index a89424af8695..a39f27f25034 100644
--- a/xmloff/source/transform/TransformerActions.cxx
+++ b/xmloff/source/transform/TransformerActions.cxx
@@ -19,6 +19,7 @@
#include "TransformerActions.hxx"
+#include <osl/diagnose.h>
using namespace ::osl;
diff --git a/xmloff/source/transform/TransformerBase.cxx b/xmloff/source/transform/TransformerBase.cxx
index ba7e37cd5287..4a6ba52dd58c 100644
--- a/xmloff/source/transform/TransformerBase.cxx
+++ b/xmloff/source/transform/TransformerBase.cxx
@@ -19,6 +19,7 @@
#include <rtl/ref.hxx>
#include <rtl/ustrbuf.hxx>
+#include <osl/diagnose.h>
#include <com/sun/star/i18n/CharacterClassification.hpp>
#include <com/sun/star/i18n/UnicodeType.hpp>
#include <com/sun/star/util/MeasureUnit.hpp>
diff --git a/xmloff/source/transform/TransformerContext.cxx b/xmloff/source/transform/TransformerContext.cxx
index 5d07cae6a237..c1d11d71998b 100644
--- a/xmloff/source/transform/TransformerContext.cxx
+++ b/xmloff/source/transform/TransformerContext.cxx
@@ -21,6 +21,7 @@
#include <com/sun/star/xml/sax/SAXException.hpp>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include <com/sun/star/xml/sax/XAttributeList.hpp>
+#include <osl/diagnose.h>
#include <xmloff/nmspmap.hxx>
#include "TransformerBase.hxx"
diff --git a/xmloff/source/transform/XMLFilterRegistration.cxx b/xmloff/source/transform/XMLFilterRegistration.cxx
index 5d3c7a80b4be..1d273ecd2234 100644
--- a/xmloff/source/transform/XMLFilterRegistration.cxx
+++ b/xmloff/source/transform/XMLFilterRegistration.cxx
@@ -20,6 +20,7 @@
#include <string.h>
#include <com/sun/star/registry/XRegistryKey.hpp>
#include <cppuhelper/factory.hxx>
+#include <osl/diagnose.h>
#include <XMLFilterRegistration.hxx>
diff --git a/xmloff/source/xforms/SchemaRestrictionContext.cxx b/xmloff/source/xforms/SchemaRestrictionContext.cxx
index 78aecb4c128e..f9622aaa8bc0 100644
--- a/xmloff/source/xforms/SchemaRestrictionContext.cxx
+++ b/xmloff/source/xforms/SchemaRestrictionContext.cxx
@@ -40,6 +40,7 @@
#include <com/sun/star/xsd/WhiteSpaceTreatment.hpp>
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
using com::sun::star::uno::Reference;
diff --git a/xmloff/source/xforms/SchemaSimpleTypeContext.cxx b/xmloff/source/xforms/SchemaSimpleTypeContext.cxx
index 3e0a93db25d5..d0e1a8db4eed 100644
--- a/xmloff/source/xforms/SchemaSimpleTypeContext.cxx
+++ b/xmloff/source/xforms/SchemaSimpleTypeContext.cxx
@@ -27,6 +27,8 @@
#include <xmloff/xmltkmap.hxx>
#include <xmloff/xmluconv.hxx>
+#include <osl/diagnose.h>
+
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/xsd/WhiteSpaceTreatment.hpp>
diff --git a/xmloff/source/xforms/XFormsBindContext.cxx b/xmloff/source/xforms/XFormsBindContext.cxx
index e03d0291ddd8..c7eb92855dfe 100644
--- a/xmloff/source/xforms/XFormsBindContext.cxx
+++ b/xmloff/source/xforms/XFormsBindContext.cxx
@@ -33,6 +33,7 @@
#include <com/sun/star/xforms/XModel2.hpp>
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
using com::sun::star::beans::XPropertySet;
using com::sun::star::uno::Reference;
diff --git a/xmloff/source/xforms/XFormsInstanceContext.cxx b/xmloff/source/xforms/XFormsInstanceContext.cxx
index f6f01bb3858f..e0503b7eb1f6 100644
--- a/xmloff/source/xforms/XFormsInstanceContext.cxx
+++ b/xmloff/source/xforms/XFormsInstanceContext.cxx
@@ -30,6 +30,7 @@
#include <com/sun/star/xml/dom/XDocument.hpp>
#include <com/sun/star/xforms/XModel2.hpp>
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/xmltoken.hxx>
diff --git a/xmloff/source/xforms/XFormsModelContext.cxx b/xmloff/source/xforms/XFormsModelContext.cxx
index f98613ded3dc..10bd88b43797 100644
--- a/xmloff/source/xforms/XFormsModelContext.cxx
+++ b/xmloff/source/xforms/XFormsModelContext.cxx
@@ -32,6 +32,8 @@
#include <xmloff/xmltoken.hxx>
#include <xmloff/xmlerror.hxx>
+#include <osl/diagnose.h>
+
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/xml/dom/XDocument.hpp>
#include <com/sun/star/util/XUpdatable.hpp>
diff --git a/xmloff/source/xforms/XFormsSubmissionContext.cxx b/xmloff/source/xforms/XFormsSubmissionContext.cxx
index 2c2c84dd22ee..fb2398171069 100644
--- a/xmloff/source/xforms/XFormsSubmissionContext.cxx
+++ b/xmloff/source/xforms/XFormsSubmissionContext.cxx
@@ -35,6 +35,7 @@
#include <com/sun/star/xforms/XModel2.hpp>
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
using com::sun::star::beans::XPropertySet;
using com::sun::star::container::XNameContainer;
diff --git a/xmloff/source/xforms/xformsapi.cxx b/xmloff/source/xforms/xformsapi.cxx
index b2150ebea9ca..4f127a2f2d0e 100644
--- a/xmloff/source/xforms/xformsapi.cxx
+++ b/xmloff/source/xforms/xformsapi.cxx
@@ -33,6 +33,7 @@
#include <comphelper/processfactory.hxx>
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
#include <xmloff/xmltoken.hxx>
#include <xmloff/nmspmap.hxx>