summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-02-21 18:02:14 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-21 18:04:50 +0100
commit957791409ae9d7ae735e38c6a0615efefcbecc9f (patch)
tree28e81d960911b34b8678a28fef8c3d7b33c10403 /sw/source
parent075fbb3a5b30fc86dd13fac8e647a2865c27c8e2 (diff)
Remove all traces off ASSERT_ID
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/SwNumberTree/SwNumberTree.cxx1
-rw-r--r--sw/source/core/access/acccontext.cxx1
-rw-r--r--sw/source/core/access/parachangetrackinginfo.cxx1
-rw-r--r--sw/source/core/access/textmarkuphelper.cxx1
-rw-r--r--sw/source/core/bastyp/swcache.cxx1
-rw-r--r--sw/source/core/bastyp/tabcol.cxx1
-rw-r--r--sw/source/core/crsr/bookmrk.cxx1
-rw-r--r--sw/source/core/doc/doc.cxx1
-rw-r--r--sw/source/core/doc/docbm.cxx1
-rw-r--r--sw/source/core/doc/doclay.cxx1
-rw-r--r--sw/source/core/doc/fmtcol.cxx1
-rw-r--r--sw/source/core/docnode/finalthreadmanager.cxx1
-rw-r--r--sw/source/core/docnode/ndindex.cxx4
-rw-r--r--sw/source/core/docnode/section.cxx1
-rw-r--r--sw/source/core/docnode/threadmanager.cxx1
-rw-r--r--sw/source/core/draw/dobjfac.cxx1
-rw-r--r--sw/source/core/edit/edtox.cxx1
-rw-r--r--sw/source/core/except/errhdl.cxx89
-rw-r--r--sw/source/core/except/makefile.mk2
-rw-r--r--sw/source/core/fields/ddefld.cxx1
-rw-r--r--sw/source/core/inc/drawfont.hxx1
-rw-r--r--sw/source/core/inc/scriptinfo.hxx1
-rw-r--r--sw/source/core/layout/fly.cxx1
-rw-r--r--sw/source/core/layout/flycnt.cxx1
-rw-r--r--sw/source/core/layout/flylay.cxx1
-rw-r--r--sw/source/core/layout/hffrm.cxx1
-rw-r--r--sw/source/core/layout/pagechg.cxx1
-rw-r--r--sw/source/core/layout/unusedf.cxx1
-rw-r--r--sw/source/core/para/paratr.cxx1
-rw-r--r--sw/source/core/swg/SwXMLTextBlocks.cxx1
-rw-r--r--sw/source/core/swg/SwXMLTextBlocks1.cxx1
-rw-r--r--sw/source/core/text/atrstck.cxx1
-rw-r--r--sw/source/core/text/guess.cxx1
-rw-r--r--sw/source/core/text/itrcrsr.cxx1
-rw-r--r--sw/source/core/text/itrpaint.cxx1
-rw-r--r--sw/source/core/text/itrtxt.cxx1
-rw-r--r--sw/source/core/text/porglue.cxx1
-rw-r--r--sw/source/core/text/porlay.cxx1
-rw-r--r--sw/source/core/text/porlin.cxx1
-rw-r--r--sw/source/core/text/portxt.cxx1
-rw-r--r--sw/source/core/text/txtcache.cxx1
-rw-r--r--sw/source/core/text/txthyph.cxx1
-rw-r--r--sw/source/core/text/txtinit.cxx1
-rw-r--r--sw/source/core/text/txtio.cxx1
-rw-r--r--sw/source/core/text/wrong.cxx1
-rw-r--r--sw/source/core/tox/tox.cxx1
-rw-r--r--sw/source/core/txtnode/fntcap.cxx1
-rw-r--r--sw/source/core/txtnode/ndtxt.cxx1
-rw-r--r--sw/source/core/txtnode/thints.cxx1
-rw-r--r--sw/source/core/unocore/swunohelper.cxx1
-rw-r--r--sw/source/core/view/viewimp.cxx1
-rw-r--r--sw/source/filter/basflt/fltini.cxx1
-rw-r--r--sw/source/filter/basflt/iodetect.cxx1
-rw-r--r--sw/source/filter/html/htmlftn.cxx1
-rw-r--r--sw/source/filter/ww1/w1sprm.cxx1
-rw-r--r--sw/source/filter/ww8/fields.cxx1
-rw-r--r--sw/source/filter/ww8/hash_wrap.hxx1
-rw-r--r--sw/source/filter/ww8/sortedarray.hxx1
-rw-r--r--sw/source/filter/ww8/ww8par3.cxx1
-rw-r--r--sw/source/filter/ww8/ww8scan.hxx1
-rw-r--r--sw/source/filter/xml/swxml.cxx1
-rw-r--r--sw/source/filter/xml/wrtxml.cxx1
-rw-r--r--sw/source/ui/app/docstyle.cxx1
-rw-r--r--sw/source/ui/chrdlg/chardlg.cxx1
-rw-r--r--sw/source/ui/dialog/ascfldlg.cxx1
-rw-r--r--sw/source/ui/envelp/envimg.cxx1
-rw-r--r--sw/source/ui/envelp/envlop1.cxx1
-rw-r--r--sw/source/ui/fmtui/tmpdlg.cxx1
-rw-r--r--sw/source/ui/misc/docfnote.cxx1
-rw-r--r--sw/source/ui/misc/glosdoc.cxx1
-rw-r--r--sw/source/ui/misc/outline.cxx1
-rw-r--r--sw/source/ui/ribbar/tbxanchr.cxx1
-rw-r--r--sw/source/ui/shells/textglos.cxx1
-rw-r--r--sw/source/ui/table/tablemgr.cxx1
-rw-r--r--sw/source/ui/uiview/viewcoll.cxx1
-rw-r--r--sw/source/ui/utlui/bookctrl.cxx1
-rw-r--r--sw/source/ui/utlui/content.cxx1
-rw-r--r--sw/source/ui/utlui/glbltree.cxx1
-rw-r--r--sw/source/ui/utlui/navipi.cxx1
-rw-r--r--sw/source/ui/utlui/uitool.cxx1
80 files changed, 0 insertions, 172 deletions
diff --git a/sw/source/core/SwNumberTree/SwNumberTree.cxx b/sw/source/core/SwNumberTree/SwNumberTree.cxx
index 1a939162c9a9..c19d969d09b1 100644
--- a/sw/source/core/SwNumberTree/SwNumberTree.cxx
+++ b/sw/source/core/SwNumberTree/SwNumberTree.cxx
@@ -31,7 +31,6 @@
#include <algorithm>
#include <functional>
-#include <errhdl.hxx>
#include <SwNumberTree.hxx>
using std::vector;
diff --git a/sw/source/core/access/acccontext.cxx b/sw/source/core/access/acccontext.cxx
index 037f6511b93c..60b0921324fe 100644
--- a/sw/source/core/access/acccontext.cxx
+++ b/sw/source/core/access/acccontext.cxx
@@ -39,7 +39,6 @@
#endif // #if (OSL_DEBUG_LEVEL > 1) && defined TEST_MIB
#include <tools/debug.hxx>
#include <vcl/window.hxx>
-#include <errhdl.hxx>
#include <swtypes.hxx>
#include <com/sun/star/accessibility/XAccessible.hpp>
diff --git a/sw/source/core/access/parachangetrackinginfo.cxx b/sw/source/core/access/parachangetrackinginfo.cxx
index 8fd138dc352e..3d0b5c4b5bf3 100644
--- a/sw/source/core/access/parachangetrackinginfo.cxx
+++ b/sw/source/core/access/parachangetrackinginfo.cxx
@@ -30,7 +30,6 @@
#include <parachangetrackinginfo.hxx>
-#include <errhdl.hxx>
#include <wrong.hxx>
#include <com/sun/star/text/TextMarkupType.hpp>
diff --git a/sw/source/core/access/textmarkuphelper.cxx b/sw/source/core/access/textmarkuphelper.cxx
index d8f13fac8356..434714be4306 100644
--- a/sw/source/core/access/textmarkuphelper.cxx
+++ b/sw/source/core/access/textmarkuphelper.cxx
@@ -35,7 +35,6 @@
#include <algorithm>
#include <comphelper/stlunosequence.hxx>
-#include <errhdl.hxx>
#include <com/sun/star/text/TextMarkupType.hpp>
#include <com/sun/star/accessibility/TextSegment.hpp>
diff --git a/sw/source/core/bastyp/swcache.cxx b/sw/source/core/bastyp/swcache.cxx
index 079407fbe5b8..5175d404c3b7 100644
--- a/sw/source/core/bastyp/swcache.cxx
+++ b/sw/source/core/bastyp/swcache.cxx
@@ -30,7 +30,6 @@
#include "precompiled_sw.hxx"
#include <tools/debug.hxx>
-#include <errhdl.hxx>
#include <swcache.hxx>
SV_IMPL_PTRARR(SwCacheObjArr,SwCacheObj*);
diff --git a/sw/source/core/bastyp/tabcol.cxx b/sw/source/core/bastyp/tabcol.cxx
index a7117d13ce56..256a5fde067d 100644
--- a/sw/source/core/bastyp/tabcol.cxx
+++ b/sw/source/core/bastyp/tabcol.cxx
@@ -32,7 +32,6 @@
#include "tabcol.hxx"
-#include <errhdl.hxx> // fuer Create-Methoden
SwTabCols::SwTabCols( USHORT nSize ) :
diff --git a/sw/source/core/crsr/bookmrk.cxx b/sw/source/core/crsr/bookmrk.cxx
index 8518c1972182..01e18f83124d 100644
--- a/sw/source/core/crsr/bookmrk.cxx
+++ b/sw/source/core/crsr/bookmrk.cxx
@@ -33,7 +33,6 @@
#include <bookmrk.hxx>
#include <IDocumentMarkAccess.hxx>
#include <doc.hxx>
-#include <errhdl.hxx>
#include <ndtxt.hxx>
#include <pam.hxx>
#include <swserv.hxx>
diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx
index 247d40e79918..0c0a92a84620 100644
--- a/sw/source/core/doc/doc.cxx
+++ b/sw/source/core/doc/doc.cxx
@@ -74,7 +74,6 @@
#include <txtrfmrk.hxx>
#include <frmatr.hxx>
#include <linkenum.hxx>
-#include <errhdl.hxx>
#include <pagefrm.hxx>
#include <rootfrm.hxx>
#include <swtable.hxx>
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx
index f692db98ffc3..6587f7e0e66e 100644
--- a/sw/source/core/doc/docbm.cxx
+++ b/sw/source/core/doc/docbm.cxx
@@ -40,7 +40,6 @@
#include <docary.hxx>
#include <xmloff/odffields.hxx>
#include <editsh.hxx>
-#include <errhdl.hxx>
#include <fmtanchr.hxx>
#include <frmfmt.hxx>
#include <functional>
diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx
index 89a47a581f13..892683123412 100644
--- a/sw/source/core/doc/doclay.cxx
+++ b/sw/source/core/doc/doclay.cxx
@@ -56,7 +56,6 @@
#include <rtl/logfile.hxx>
#include <SwStyleNameMapper.hxx>
#include <fchrfmt.hxx>
-#include <errhdl.hxx>
#include <frmatr.hxx>
#include <txatbase.hxx>
#include <fmtfld.hxx>
diff --git a/sw/source/core/doc/fmtcol.cxx b/sw/source/core/doc/fmtcol.cxx
index 662088b6ad81..05bb8965548f 100644
--- a/sw/source/core/doc/fmtcol.cxx
+++ b/sw/source/core/doc/fmtcol.cxx
@@ -35,7 +35,6 @@
#include <editeng/lrspitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <doc.hxx> // fuer GetAttrPool
-#include <errhdl.hxx>
#include <fmtcol.hxx>
#include <fmtcolfunc.hxx> // #i71574#
#include <hints.hxx>
diff --git a/sw/source/core/docnode/finalthreadmanager.cxx b/sw/source/core/docnode/finalthreadmanager.cxx
index 586010c5a2b5..ec1a4c63ad4f 100644
--- a/sw/source/core/docnode/finalthreadmanager.cxx
+++ b/sw/source/core/docnode/finalthreadmanager.cxx
@@ -29,7 +29,6 @@
#include <finalthreadmanager.hxx>
#include <osl/thread.hxx>
-#include <errhdl.hxx>
#include <pausethreadstarting.hxx>
#include <swthreadjoiner.hxx>
diff --git a/sw/source/core/docnode/ndindex.cxx b/sw/source/core/docnode/ndindex.cxx
index 4e830f37b66c..499c0b30f5d5 100644
--- a/sw/source/core/docnode/ndindex.cxx
+++ b/sw/source/core/docnode/ndindex.cxx
@@ -29,10 +29,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
-
-
-#include "errhdl.hxx" // fuers ASSERT
-#include "error.h" // fuers ASSERT
#include "ndindex.hxx"
#if OSL_DEBUG_LEVEL > 1
diff --git a/sw/source/core/docnode/section.cxx b/sw/source/core/docnode/section.cxx
index 29ee4cc86b13..99bdc291aa1a 100644
--- a/sw/source/core/docnode/section.cxx
+++ b/sw/source/core/docnode/section.cxx
@@ -45,7 +45,6 @@
#include <docary.hxx>
#include <fmtcntnt.hxx>
#include <fmtpdsc.hxx>
-#include <errhdl.hxx>
#include <doc.hxx>
#include <node.hxx>
#include <pam.hxx>
diff --git a/sw/source/core/docnode/threadmanager.cxx b/sw/source/core/docnode/threadmanager.cxx
index b980b90217bc..7aa6c649b88d 100644
--- a/sw/source/core/docnode/threadmanager.cxx
+++ b/sw/source/core/docnode/threadmanager.cxx
@@ -27,7 +27,6 @@
************************************************************************/
#include "precompiled_sw.hxx"
#include <threadmanager.hxx>
-#include <errhdl.hxx>
#include <algorithm>
diff --git a/sw/source/core/draw/dobjfac.cxx b/sw/source/core/draw/dobjfac.cxx
index f769ed84cc63..cecf6ef03c14 100644
--- a/sw/source/core/draw/dobjfac.cxx
+++ b/sw/source/core/draw/dobjfac.cxx
@@ -30,7 +30,6 @@
#include "precompiled_sw.hxx"
-#include <errhdl.hxx>
#include <dpage.hxx>
#include <dobjfac.hxx>
#include <dflyobj.hxx>
diff --git a/sw/source/core/edit/edtox.cxx b/sw/source/core/edit/edtox.cxx
index dcbe73d83d22..bfe064945dce 100644
--- a/sw/source/core/edit/edtox.cxx
+++ b/sw/source/core/edit/edtox.cxx
@@ -44,7 +44,6 @@
#include <pam.hxx>
#include <viewopt.hxx>
#include <ndtxt.hxx>
-#include <errhdl.hxx>
#include <swundo.hxx>
#include <undobj.hxx>
#include <txttxmrk.hxx>
diff --git a/sw/source/core/except/errhdl.cxx b/sw/source/core/except/errhdl.cxx
deleted file mode 100644
index 9d0cfbd5cac2..000000000000
--- a/sw/source/core/except/errhdl.cxx
+++ /dev/null
@@ -1,89 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-// MARKER(update_precomp.py): autogen include statement, do not remove
-#include "precompiled_sw.hxx"
-#define _ERRHDL_CXX
-
-#include "stdlib.h"
-#include <tools/debug.hxx>
-#include <vcl/svapp.hxx>
-#include <vcl/sound.hxx>
-#include <errhdl.hxx>
-#include <error.h> // fuer die defines von ERR_SW6MSG_ ...
-
-// break into CodeView
-#if defined(ZTC) && defined(WIN)
-#define CVBREAK asm( 0xCC );
-#endif
-#if defined(MSC) && defined(WIN)
-#define CVBREAK __asm int 3;
-#endif
-#ifndef CVBREAK
-#define CVBREAK
-#endif
-
-/*------------------------------------------------------------------------
- Ausgabe einer Fehlermeldung inkl. Bedingung, Dateiname und Zeilennummer
- wo der Fehler auftrat.
- Die Funktion wird durch das OSL_ENSURE(Makro gerufen!
- Parameter:
- USHORT nErrorId Id fuer Fehlermeldung
- char *pFileName Filename in dem der Fehler auftrat
- USHORT nLine Zeilennummer in dem der Fehler auftrat
-------------------------------------------------------------------------*/
-
-void AssertFail( USHORT nErrorId, const sal_Char* pFileName )
-{
- // Umsetzung der ErrorId in eine Fehlermeldung
- static const sal_Char
- /* Error Fehlermeldungen zugriffe ausserhalb eines Bereiches */
- sERR_VAR_IDX[] = "Op[]",
- sERR_OUTOFSCOPE[] = "Zugriff ausserhalb des Bereiches",
- /* Error Codes fuer Numerierungsregeln */
- sERR_NUMLEVEL[] = "Falscher Num-Level",
- /* Error Codes fuer TxtNode */
- sERR_NOHINTS[] = "Zugriff auf ungueltiges HintsArray",
- sERR_UNKNOWN[] = "???";
-
- static const sal_Char* aErrStrTab[ ERR_SWGMSG_END - ERR_SWGMSG_START +1 ] =
- {
- sERR_VAR_IDX, sERR_OUTOFSCOPE, sERR_NUMLEVEL, sERR_NOHINTS
- };
-
- const sal_Char* pMsg;
- if( nErrorId >= ERR_SWGMSG_START && nErrorId < ERR_SWGMSG_END )
- pMsg = aErrStrTab[ nErrorId - ERR_SWGMSG_START ];
- else
- pMsg = sERR_UNKNOWN;
-
- OSL_ENSURE( pMsg, pFileName );
-}
-
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/except/makefile.mk b/sw/source/core/except/makefile.mk
index 022862b3c2b4..f6ef7f377d2f 100644
--- a/sw/source/core/except/makefile.mk
+++ b/sw/source/core/except/makefile.mk
@@ -47,11 +47,9 @@ CXXFILES =
.IF "$(DBG_LEVEL)">="2"
CXXFILES += \
- errhdl.cxx \
dbgloop.cxx
SLOFILES += \
- $(SLO)$/errhdl.obj \
$(SLO)$/dbgloop.obj
.ENDIF
# --- Tagets -------------------------------------------------------
diff --git a/sw/source/core/fields/ddefld.cxx b/sw/source/core/fields/ddefld.cxx
index 8587234df37f..adfdfb86c1cc 100644
--- a/sw/source/core/fields/ddefld.cxx
+++ b/sw/source/core/fields/ddefld.cxx
@@ -33,7 +33,6 @@
#include <sfx2/linkmgr.hxx>
#include <doc.hxx>
#include <editsh.hxx>
-#include <errhdl.hxx>
#include <ndtxt.hxx>
#include <fmtfld.hxx>
#include <txtfld.hxx>
diff --git a/sw/source/core/inc/drawfont.hxx b/sw/source/core/inc/drawfont.hxx
index abc70caa34cb..34de322eae77 100644
--- a/sw/source/core/inc/drawfont.hxx
+++ b/sw/source/core/inc/drawfont.hxx
@@ -30,7 +30,6 @@
#include <tools/solar.h>
#include <tools/string.hxx>
-#include <errhdl.hxx>
class SwTxtFrm;
class OutputDevice;
diff --git a/sw/source/core/inc/scriptinfo.hxx b/sw/source/core/inc/scriptinfo.hxx
index 8e2701f75104..433ce855939e 100644
--- a/sw/source/core/inc/scriptinfo.hxx
+++ b/sw/source/core/inc/scriptinfo.hxx
@@ -36,7 +36,6 @@
#include <list>
#include <modeltoviewhelper.hxx>
-#include <errhdl.hxx>
class SwTxtNode;
class Point;
diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx
index 8426c1086b35..2d6b652a3a2a 100644
--- a/sw/source/core/layout/fly.cxx
+++ b/sw/source/core/layout/fly.cxx
@@ -81,7 +81,6 @@
#include "pam.hxx"
#include "frmatr.hxx"
#include "viewimp.hxx"
-#include "errhdl.hxx"
#include "dcontact.hxx"
#include "dflyobj.hxx"
#include "dview.hxx"
diff --git a/sw/source/core/layout/flycnt.cxx b/sw/source/core/layout/flycnt.cxx
index 85f9c6cf6be1..eac2ef869f69 100644
--- a/sw/source/core/layout/flycnt.cxx
+++ b/sw/source/core/layout/flycnt.cxx
@@ -44,7 +44,6 @@
#include "hints.hxx"
#include "ndtxt.hxx"
#include "swundo.hxx"
-#include "errhdl.hxx"
#include <editeng/ulspitem.hxx>
#include <editeng/lrspitem.hxx>
#include <fmtanchr.hxx>
diff --git a/sw/source/core/layout/flylay.cxx b/sw/source/core/layout/flylay.cxx
index 52b195470edc..bcf3e64fc7f0 100644
--- a/sw/source/core/layout/flylay.cxx
+++ b/sw/source/core/layout/flylay.cxx
@@ -39,7 +39,6 @@
#include "ftnfrm.hxx"
#include "frmtool.hxx"
#include "frmfmt.hxx"
-#include "errhdl.hxx"
#include "hints.hxx"
#include "pam.hxx"
#include "sectfrm.hxx"
diff --git a/sw/source/core/layout/hffrm.cxx b/sw/source/core/layout/hffrm.cxx
index 318793f81839..6810499363a2 100644
--- a/sw/source/core/layout/hffrm.cxx
+++ b/sw/source/core/layout/hffrm.cxx
@@ -32,7 +32,6 @@
#include "pagefrm.hxx"
#include "viewsh.hxx"
#include "doc.hxx"
-#include "errhdl.hxx"
#include <fmtcntnt.hxx>
#include <fmthdft.hxx>
#include <fmtfsize.hxx>
diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx
index 9a4ca47f45e2..24334e6905ae 100644
--- a/sw/source/core/layout/pagechg.cxx
+++ b/sw/source/core/layout/pagechg.cxx
@@ -59,7 +59,6 @@
#include "frmtool.hxx"
#include "fldbas.hxx"
#include "hints.hxx"
-#include "errhdl.hxx"
#include "swtable.hxx"
#include "ftnidx.hxx"
diff --git a/sw/source/core/layout/unusedf.cxx b/sw/source/core/layout/unusedf.cxx
index d231535c5c87..a5f0a95e6aca 100644
--- a/sw/source/core/layout/unusedf.cxx
+++ b/sw/source/core/layout/unusedf.cxx
@@ -34,7 +34,6 @@
#include "rootfrm.hxx"
#include "cntfrm.hxx"
#include "flyfrm.hxx"
-#include "errhdl.hxx"
void SwFrm::Format( const SwBorderAttrs * )
diff --git a/sw/source/core/para/paratr.cxx b/sw/source/core/para/paratr.cxx
index 4220e21709b7..fe5ab3ee99e0 100644
--- a/sw/source/core/para/paratr.cxx
+++ b/sw/source/core/para/paratr.cxx
@@ -48,7 +48,6 @@
#include <com/sun/star/text/WrapTextMode.hpp>
#include <unostyle.hxx>
#include <SwStyleNameMapper.hxx>
-#include "errhdl.hxx"
#include "paratr.hxx"
#include "charfmt.hxx"
#include "cmdid.h"
diff --git a/sw/source/core/swg/SwXMLTextBlocks.cxx b/sw/source/core/swg/SwXMLTextBlocks.cxx
index e27b1d9b89e5..dc40feb31a16 100644
--- a/sw/source/core/swg/SwXMLTextBlocks.cxx
+++ b/sw/source/core/swg/SwXMLTextBlocks.cxx
@@ -47,7 +47,6 @@
#include <shellio.hxx>
#include <poolfmt.hxx>
#include <SwXMLTextBlocks.hxx>
-#include <errhdl.hxx>
#include <SwXMLBlockImport.hxx>
#include <SwXMLBlockExport.hxx>
#include <swerror.h>
diff --git a/sw/source/core/swg/SwXMLTextBlocks1.cxx b/sw/source/core/swg/SwXMLTextBlocks1.cxx
index 4a90f3006c70..f0a5d28e6ea4 100644
--- a/sw/source/core/swg/SwXMLTextBlocks1.cxx
+++ b/sw/source/core/swg/SwXMLTextBlocks1.cxx
@@ -47,7 +47,6 @@
#include <SwXMLBlockExport.hxx>
#include <swevent.hxx>
#include <swerror.h>
-#include <errhdl.hxx>
#define STREAM_STGREAD ( STREAM_READ | STREAM_SHARE_DENYWRITE | STREAM_NOCREATE )
diff --git a/sw/source/core/text/atrstck.cxx b/sw/source/core/text/atrstck.cxx
index c950e57942db..fdff264a8e7c 100644
--- a/sw/source/core/text/atrstck.cxx
+++ b/sw/source/core/text/atrstck.cxx
@@ -30,7 +30,6 @@
#include "precompiled_sw.hxx"
-#include <errhdl.hxx> // ASSERT
#include <atrhndl.hxx>
#include <svl/itemiter.hxx>
#include <vcl/outdev.hxx>
diff --git a/sw/source/core/text/guess.cxx b/sw/source/core/text/guess.cxx
index f145a8e7c1cc..23ac95690799 100644
--- a/sw/source/core/text/guess.cxx
+++ b/sw/source/core/text/guess.cxx
@@ -33,7 +33,6 @@
#include <ctype.h>
#include <editeng/unolingu.hxx>
#include <tools/shl.hxx> // needed for SW_MOD() macro
-#include <errhdl.hxx> //OSL_ENSURE
#include <dlelstnr.hxx>
#include <swmodule.hxx>
#include <IDocumentSettingAccess.hxx>
diff --git a/sw/source/core/text/itrcrsr.cxx b/sw/source/core/text/itrcrsr.cxx
index f11b0bc2bd2a..691d4069cbd6 100644
--- a/sw/source/core/text/itrcrsr.cxx
+++ b/sw/source/core/text/itrcrsr.cxx
@@ -30,7 +30,6 @@
#include "precompiled_sw.hxx"
#include "hintids.hxx"
-#include "errhdl.hxx"
#include "ndtxt.hxx"
#include "frmfmt.hxx"
#include "paratr.hxx"
diff --git a/sw/source/core/text/itrpaint.cxx b/sw/source/core/text/itrpaint.cxx
index 3d6e89dc47b0..0f3d8ff46af6 100644
--- a/sw/source/core/text/itrpaint.cxx
+++ b/sw/source/core/text/itrpaint.cxx
@@ -33,7 +33,6 @@
#include "hintids.hxx"
#include "flyfrm.hxx" // SwFlyInCntFrm
#include "viewopt.hxx" // SwViewOptions
-#include "errhdl.hxx"
#include "txtatr.hxx" // SwINetFmt
#include <tools/multisel.hxx>
#include <editeng/escpitem.hxx>
diff --git a/sw/source/core/text/itrtxt.cxx b/sw/source/core/text/itrtxt.cxx
index 6d2f35c425e5..6f09c214e521 100644
--- a/sw/source/core/text/itrtxt.cxx
+++ b/sw/source/core/text/itrtxt.cxx
@@ -33,7 +33,6 @@
#include "ndtxt.hxx"
#include "flyfrm.hxx"
#include "paratr.hxx"
-#include "errhdl.hxx"
#include <vcl/outdev.hxx>
#include <editeng/paravertalignitem.hxx>
diff --git a/sw/source/core/text/porglue.cxx b/sw/source/core/text/porglue.cxx
index cf23eedec633..0ec93df1f9b1 100644
--- a/sw/source/core/text/porglue.cxx
+++ b/sw/source/core/text/porglue.cxx
@@ -34,7 +34,6 @@
#include "swrect.hxx"
#include "paratr.hxx" // pTabStop, ADJ*
#include "viewopt.hxx" // SwViewOptions
-#include "errhdl.hxx" // ASSERT
#include <SwPortionHandler.hxx>
#include "txtcfg.hxx"
diff --git a/sw/source/core/text/porlay.cxx b/sw/source/core/text/porlay.cxx
index 9759e17be973..61b2bc3bb95b 100644
--- a/sw/source/core/text/porlay.cxx
+++ b/sw/source/core/text/porlay.cxx
@@ -30,7 +30,6 @@
#include "precompiled_sw.hxx"
-#include "errhdl.hxx" // ASSERT
#include "txtcfg.hxx"
#include "porlay.hxx"
diff --git a/sw/source/core/text/porlin.cxx b/sw/source/core/text/porlin.cxx
index 280482794536..f6bc60dea3bb 100644
--- a/sw/source/core/text/porlin.cxx
+++ b/sw/source/core/text/porlin.cxx
@@ -33,7 +33,6 @@
#include <vcl/outdev.hxx>
#include <SwPortionHandler.hxx>
-#include "errhdl.hxx" // ASSERT
#include "txtcfg.hxx"
#include "porlin.hxx"
diff --git a/sw/source/core/text/portxt.cxx b/sw/source/core/text/portxt.cxx
index 1a83f28146e9..6b07df219711 100644
--- a/sw/source/core/text/portxt.cxx
+++ b/sw/source/core/text/portxt.cxx
@@ -34,7 +34,6 @@
#include <com/sun/star/i18n/ScriptType.hdl>
#include <hintids.hxx> // CH_TXTATR
-#include <errhdl.hxx> // ASSERT
#include <SwPortionHandler.hxx>
#include <txtcfg.hxx>
#include <porlay.hxx>
diff --git a/sw/source/core/text/txtcache.cxx b/sw/source/core/text/txtcache.cxx
index 07829d7283bb..b6995b4e2b08 100644
--- a/sw/source/core/text/txtcache.cxx
+++ b/sw/source/core/text/txtcache.cxx
@@ -31,7 +31,6 @@
-#include "errhdl.hxx"
#include "txtcache.hxx"
#include "txtfrm.hxx"
diff --git a/sw/source/core/text/txthyph.cxx b/sw/source/core/text/txthyph.cxx
index 0364111c3376..9dd4f453940a 100644
--- a/sw/source/core/text/txthyph.cxx
+++ b/sw/source/core/text/txthyph.cxx
@@ -36,7 +36,6 @@
#include <EnhancedPDFExportHelper.hxx>
#include <viewopt.hxx> // SwViewOptions
#include <viewsh.hxx>
-#include <errhdl.hxx>
#include <txtcfg.hxx>
#include <SwPortionHandler.hxx>
#include <porhyph.hxx> //
diff --git a/sw/source/core/text/txtinit.cxx b/sw/source/core/text/txtinit.cxx
index f8ffbbe7dc3f..15c3d82afd70 100644
--- a/sw/source/core/text/txtinit.cxx
+++ b/sw/source/core/text/txtinit.cxx
@@ -31,7 +31,6 @@
-#include "errhdl.hxx"
#include "txtcfg.hxx"
#include "swcache.hxx"
#include "fntcache.hxx" // pFntCache ( SwFont/ScrFont-PrtFont Cache )
diff --git a/sw/source/core/text/txtio.cxx b/sw/source/core/text/txtio.cxx
index fd38641c6552..b68303638407 100644
--- a/sw/source/core/text/txtio.cxx
+++ b/sw/source/core/text/txtio.cxx
@@ -37,7 +37,6 @@
#include "viewsh.hxx" // IsDbg()
#include "viewopt.hxx" // IsDbg()
#include "txtatr.hxx"
-#include "errhdl.hxx"
#include "txtcfg.hxx"
#include "txtfrm.hxx" // IsDbg()
#include "flyfrms.hxx"
diff --git a/sw/source/core/text/wrong.cxx b/sw/source/core/text/wrong.cxx
index 7b54a4db8be9..0eb058c60356 100644
--- a/sw/source/core/text/wrong.cxx
+++ b/sw/source/core/text/wrong.cxx
@@ -32,7 +32,6 @@
#include <tools/string.hxx>
#include <tools/debug.hxx>
-#include "errhdl.hxx"
#include "swtypes.hxx"
#include "txttypes.hxx"
diff --git a/sw/source/core/tox/tox.cxx b/sw/source/core/tox/tox.cxx
index 87199b3a5d73..8fc4cedd56bc 100644
--- a/sw/source/core/tox/tox.cxx
+++ b/sw/source/core/tox/tox.cxx
@@ -35,7 +35,6 @@
#include <tools/resid.hxx>
#include <hintids.hxx>
#include <swtypes.hxx>
-#include <errhdl.hxx>
#include <txtatr.hxx>
#include <ndtxt.hxx>
#include <txttxmrk.hxx>
diff --git a/sw/source/core/txtnode/fntcap.cxx b/sw/source/core/txtnode/fntcap.cxx
index 0c3d0b4540b2..3796dd0ae94b 100644
--- a/sw/source/core/txtnode/fntcap.cxx
+++ b/sw/source/core/txtnode/fntcap.cxx
@@ -39,7 +39,6 @@
#include <com/sun/star/i18n/WordType.hdl>
#include <vcl/print.hxx>
-#include <errhdl.hxx>
#include <fntcache.hxx>
#include <swfont.hxx>
#include <breakit.hxx>
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx
index 7ea0ee98a786..d802640c54b4 100644
--- a/sw/source/core/txtnode/ndtxt.cxx
+++ b/sw/source/core/txtnode/ndtxt.cxx
@@ -66,7 +66,6 @@
#include <docary.hxx>
#include <pam.hxx> // fuer SwPosition
#include <fldbas.hxx>
-#include <errhdl.hxx>
#include <paratr.hxx>
#include <txtfrm.hxx>
#include <ftnfrm.hxx>
diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx
index f8e627b0d6c9..99eaab43e773 100644
--- a/sw/source/core/txtnode/thints.cxx
+++ b/sw/source/core/txtnode/thints.cxx
@@ -64,7 +64,6 @@
#include <fmtmeta.hxx>
#include <breakit.hxx>
#include <doc.hxx>
-#include <errhdl.hxx>
#include <fldbas.hxx>
#include <pam.hxx>
#include <ndtxt.hxx>
diff --git a/sw/source/core/unocore/swunohelper.cxx b/sw/source/core/unocore/swunohelper.cxx
index 83a4667eecd4..054b9b16834c 100644
--- a/sw/source/core/unocore/swunohelper.cxx
+++ b/sw/source/core/unocore/swunohelper.cxx
@@ -51,7 +51,6 @@
#include <svl/svstdarr.hxx>
#include <swunohelper.hxx>
#include <swunodef.hxx>
-#include <errhdl.hxx>
namespace SWUnoHelper {
diff --git a/sw/source/core/view/viewimp.cxx b/sw/source/core/view/viewimp.cxx
index 541876eb5c3c..d3ceaa305305 100644
--- a/sw/source/core/view/viewimp.cxx
+++ b/sw/source/core/view/viewimp.cxx
@@ -34,7 +34,6 @@
#include "rootfrm.hxx"
#include "pagefrm.hxx"
#include "viewimp.hxx"
-#include "errhdl.hxx"
#include "viewopt.hxx"
#include "flyfrm.hxx"
#include "frmfmt.hxx"
diff --git a/sw/source/filter/basflt/fltini.cxx b/sw/source/filter/basflt/fltini.cxx
index b9c6d00fb439..9cec50bff5c3 100644
--- a/sw/source/filter/basflt/fltini.cxx
+++ b/sw/source/filter/basflt/fltini.cxx
@@ -50,7 +50,6 @@
#include <docary.hxx>
#include <pam.hxx>
#include <shellio.hxx>
-#include <errhdl.hxx>
#include <docsh.hxx>
#include <wdocsh.hxx>
#include <fltini.hxx>
diff --git a/sw/source/filter/basflt/iodetect.cxx b/sw/source/filter/basflt/iodetect.cxx
index d5308575c315..8fcb6dd99fa5 100644
--- a/sw/source/filter/basflt/iodetect.cxx
+++ b/sw/source/filter/basflt/iodetect.cxx
@@ -31,7 +31,6 @@
#include <iodetect.hxx>
-#include <errhdl.hxx>
#include <osl/endian.h>
#include <sot/storage.hxx>
#include <svtools/parhtml.hxx>
diff --git a/sw/source/filter/html/htmlftn.cxx b/sw/source/filter/html/htmlftn.cxx
index 342b63d3674c..286d3210ded5 100644
--- a/sw/source/filter/html/htmlftn.cxx
+++ b/sw/source/filter/html/htmlftn.cxx
@@ -34,7 +34,6 @@
#include <svtools/htmlout.hxx>
#include <svtools/htmlkywd.hxx>
-#include <errhdl.hxx>
#include <ndindex.hxx>
#include <fmtftn.hxx>
#include <txtftn.hxx>
diff --git a/sw/source/filter/ww1/w1sprm.cxx b/sw/source/filter/ww1/w1sprm.cxx
index 2bddee9de665..88a22c97a2c8 100644
--- a/sw/source/filter/ww1/w1sprm.cxx
+++ b/sw/source/filter/ww1/w1sprm.cxx
@@ -48,7 +48,6 @@
#include <charatr.hxx>
#include <frmatr.hxx>
#include <doc.hxx>
-#include <errhdl.hxx>
#include <fltini.hxx>
#include <docufld.hxx>
#include <pagedesc.hxx>
diff --git a/sw/source/filter/ww8/fields.cxx b/sw/source/filter/ww8/fields.cxx
index 7de768b1caec..7b84c26f4c42 100644
--- a/sw/source/filter/ww8/fields.cxx
+++ b/sw/source/filter/ww8/fields.cxx
@@ -30,7 +30,6 @@
#include "precompiled_sw.hxx"
#include "fields.hxx"
-#include <errhdl.hxx>
#include <osl/diagnose.h>
#include <sal/macros.h>
#include <stddef.h>
diff --git a/sw/source/filter/ww8/hash_wrap.hxx b/sw/source/filter/ww8/hash_wrap.hxx
index 1d7e515c99a5..5d665fb6eaa3 100644
--- a/sw/source/filter/ww8/hash_wrap.hxx
+++ b/sw/source/filter/ww8/hash_wrap.hxx
@@ -33,7 +33,6 @@
#include <boost/unordered_set.hpp>
#include <tools/debug.hxx>
-#include <errhdl.hxx> // OSL_ENSURE()
//simple wrapper around boost::unordered_set to behave like sorted array
namespace ww
diff --git a/sw/source/filter/ww8/sortedarray.hxx b/sw/source/filter/ww8/sortedarray.hxx
index 6147964e4d2f..a4d959ed1d74 100644
--- a/sw/source/filter/ww8/sortedarray.hxx
+++ b/sw/source/filter/ww8/sortedarray.hxx
@@ -30,7 +30,6 @@
#define WW_SORTEDARRAY_HXX
#include <algorithm>
-#include <errhdl.hxx> // OSL_ENSURE()
#include <tools/debug.hxx>
//simple template that manages a static [] array by sorting at construction
diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx
index 96da76b63fe7..a0862b8d13c8 100644
--- a/sw/source/filter/ww8/ww8par3.cxx
+++ b/sw/source/filter/ww8/ww8par3.cxx
@@ -73,7 +73,6 @@
#include <editeng/udlnitem.hxx>
#include <editeng/postitem.hxx>
#include <filter/msfilter/msocximex.hxx>
-#include <errhdl.hxx>
#include <unotextrange.hxx>
#include <doc.hxx>
#include <docary.hxx>
diff --git a/sw/source/filter/ww8/ww8scan.hxx b/sw/source/filter/ww8/ww8scan.hxx
index 2e456c35f1c5..897938b39033 100644
--- a/sw/source/filter/ww8/ww8scan.hxx
+++ b/sw/source/filter/ww8/ww8scan.hxx
@@ -40,7 +40,6 @@
#include <tools/datetime.hxx>
#include <tools/stream.hxx>
#include <tools/string.hxx>
-#include <errhdl.hxx> // OSL_ENSURE()
#include "hash_wrap.hxx"
#include "sortedarray.hxx"
diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx
index 51948ff7644f..dfa5f8c5dfc4 100644
--- a/sw/source/filter/xml/swxml.cxx
+++ b/sw/source/filter/xml/swxml.cxx
@@ -66,7 +66,6 @@
#include <sfx2/frame.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <swerror.h>
-#include <errhdl.hxx>
#include <fltini.hxx>
#include <doc.hxx>
#include <docsh.hxx>
diff --git a/sw/source/filter/xml/wrtxml.cxx b/sw/source/filter/xml/wrtxml.cxx
index 0017527acc49..86441a44e85f 100644
--- a/sw/source/filter/xml/wrtxml.cxx
+++ b/sw/source/filter/xml/wrtxml.cxx
@@ -55,7 +55,6 @@
#include <docsh.hxx>
#include <unotools/ucbstreamhelper.hxx>
-#include <errhdl.hxx>
#include <swerror.h>
#include <wrtxml.hxx>
#include <statstr.hrc>
diff --git a/sw/source/ui/app/docstyle.cxx b/sw/source/ui/app/docstyle.cxx
index c92e10879e91..6720a6bed028 100644
--- a/sw/source/ui/app/docstyle.cxx
+++ b/sw/source/ui/app/docstyle.cxx
@@ -44,7 +44,6 @@
#include <swmodule.hxx>
#include <wrtsh.hxx>
#include <docsh.hxx>
-#include <errhdl.hxx>
#include <frmfmt.hxx>
#include <charfmt.hxx>
#include <poolfmt.hxx>
diff --git a/sw/source/ui/chrdlg/chardlg.cxx b/sw/source/ui/chrdlg/chardlg.cxx
index 9b75820e623d..f37c9eed6a2e 100644
--- a/sw/source/ui/chrdlg/chardlg.cxx
+++ b/sw/source/ui/chrdlg/chardlg.cxx
@@ -46,7 +46,6 @@
#include <cmdid.h>
#include <helpid.h>
#include <swtypes.hxx>
-#include <errhdl.hxx>
#include <view.hxx>
#include <wrtsh.hxx>
#include <docsh.hxx>
diff --git a/sw/source/ui/dialog/ascfldlg.cxx b/sw/source/ui/dialog/ascfldlg.cxx
index 8cd0aaf1ee20..e7b7d265fe91 100644
--- a/sw/source/ui/dialog/ascfldlg.cxx
+++ b/sw/source/ui/dialog/ascfldlg.cxx
@@ -50,7 +50,6 @@
#include <shellio.hxx>
#include <docsh.hxx>
#include <doc.hxx>
-#include <errhdl.hxx>
#include <dialog.hrc>
#include <ascfldlg.hrc>
diff --git a/sw/source/ui/envelp/envimg.cxx b/sw/source/ui/envelp/envimg.cxx
index a4cdf03f6f0b..2d769fb3b48e 100644
--- a/sw/source/ui/envelp/envimg.cxx
+++ b/sw/source/ui/envelp/envimg.cxx
@@ -39,7 +39,6 @@
#include <unotools/useroptions.hxx>
#include <tools/shl.hxx>
#include <swmodule.hxx>
-#include <errhdl.hxx>
#include <swtypes.hxx>
#include <envimg.hxx>
diff --git a/sw/source/ui/envelp/envlop1.cxx b/sw/source/ui/envelp/envlop1.cxx
index 36fe09debedf..a53628aec9ec 100644
--- a/sw/source/ui/envelp/envlop1.cxx
+++ b/sw/source/ui/envelp/envlop1.cxx
@@ -39,7 +39,6 @@
#include <viewopt.hxx>
#include "wrtsh.hxx"
-#include "errhdl.hxx"
#include "cmdid.h"
#include "helpid.h"
#include "envfmt.hxx"
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx
index 6e22e8f8e00a..f55690b60c93 100644
--- a/sw/source/ui/fmtui/tmpdlg.cxx
+++ b/sw/source/ui/fmtui/tmpdlg.cxx
@@ -51,7 +51,6 @@
#include <fmtclds.hxx>
#include <swtypes.hxx>
#include <swmodule.hxx>
-#include <errhdl.hxx> // fuer Create-Methoden
#include <wrtsh.hxx>
#include <view.hxx>
#include <wdocsh.hxx>
diff --git a/sw/source/ui/misc/docfnote.cxx b/sw/source/ui/misc/docfnote.cxx
index 8f06c31e709a..3f1a83c33ae2 100644
--- a/sw/source/ui/misc/docfnote.cxx
+++ b/sw/source/ui/misc/docfnote.cxx
@@ -35,7 +35,6 @@
#include <svl/style.hxx>
-#include <errhdl.hxx>
#include <wrtsh.hxx>
#include <view.hxx>
#include <docsh.hxx>
diff --git a/sw/source/ui/misc/glosdoc.cxx b/sw/source/ui/misc/glosdoc.cxx
index 2e90ab14989c..a6b8ee390638 100644
--- a/sw/source/ui/misc/glosdoc.cxx
+++ b/sw/source/ui/misc/glosdoc.cxx
@@ -47,7 +47,6 @@
#include <unotools/pathoptions.hxx>
#include <unotools/tempfile.hxx>
#include <swtypes.hxx>
-#include <errhdl.hxx> // ASSERT
#include <uitool.hxx>
#include <glosdoc.hxx>
#include <shellio.hxx>
diff --git a/sw/source/ui/misc/outline.cxx b/sw/source/ui/misc/outline.cxx
index 593748776303..f68e28e6929e 100644
--- a/sw/source/ui/misc/outline.cxx
+++ b/sw/source/ui/misc/outline.cxx
@@ -47,7 +47,6 @@
#include <view.hxx>
#include <docsh.hxx>
#include <uitool.hxx>
-#include <errhdl.hxx>
#include <wrtsh.hxx>
#include <swmodule.hxx>
#include <fmtcol.hxx>
diff --git a/sw/source/ui/ribbar/tbxanchr.cxx b/sw/source/ui/ribbar/tbxanchr.cxx
index 0fe1b46072e4..d8a95367af7d 100644
--- a/sw/source/ui/ribbar/tbxanchr.cxx
+++ b/sw/source/ui/ribbar/tbxanchr.cxx
@@ -48,7 +48,6 @@
#include "wrtsh.hxx"
#include "view.hxx"
#include "viewopt.hxx"
-#include "errhdl.hxx"
#include "ribbar.hrc"
#include "tbxanchr.hxx"
diff --git a/sw/source/ui/shells/textglos.cxx b/sw/source/ui/shells/textglos.cxx
index d8c1bcf186fe..25f6a3bc55f4 100644
--- a/sw/source/ui/shells/textglos.cxx
+++ b/sw/source/ui/shells/textglos.cxx
@@ -34,7 +34,6 @@
#include <svl/eitem.hxx>
#include <svl/stritem.hxx>
-#include "errhdl.hxx"
#include "view.hxx"
#include "cmdid.h"
#include "textsh.hxx"
diff --git a/sw/source/ui/table/tablemgr.cxx b/sw/source/ui/table/tablemgr.cxx
index 4a471ffedb21..2b4ced221b50 100644
--- a/sw/source/ui/table/tablemgr.cxx
+++ b/sw/source/ui/table/tablemgr.cxx
@@ -38,7 +38,6 @@
#include <sot/clsids.hxx>
#include "edtwin.hxx"
-#include "errhdl.hxx"
#include "wrtsh.hxx"
#include "cmdid.h"
#include "frmatr.hxx"
diff --git a/sw/source/ui/uiview/viewcoll.cxx b/sw/source/ui/uiview/viewcoll.cxx
index c2bc368c51c3..87c20e40c6db 100644
--- a/sw/source/ui/uiview/viewcoll.cxx
+++ b/sw/source/ui/uiview/viewcoll.cxx
@@ -37,7 +37,6 @@
#include <svl/stritem.hxx>
#include <rsc/rscsfx.hxx>
-#include "errhdl.hxx"
#include "view.hxx"
#include "wrtsh.hxx"
#include "basesh.hxx"
diff --git a/sw/source/ui/utlui/bookctrl.cxx b/sw/source/ui/utlui/bookctrl.cxx
index c6241e2f5383..0d46d74c31b2 100644
--- a/sw/source/ui/utlui/bookctrl.cxx
+++ b/sw/source/ui/utlui/bookctrl.cxx
@@ -42,7 +42,6 @@
#include <vcl/status.hxx>
#include <vcl/menu.hxx>
#include "cmdid.h"
-#include "errhdl.hxx"
#include "swmodule.hxx"
#include "wrtsh.hxx"
#include "IMark.hxx"
diff --git a/sw/source/ui/utlui/content.cxx b/sw/source/ui/utlui/content.cxx
index ae6e4f7cfe43..3065c4e8cbd2 100644
--- a/sw/source/ui/utlui/content.cxx
+++ b/sw/source/ui/utlui/content.cxx
@@ -47,7 +47,6 @@
#include <swmodule.hxx>
#include <wrtsh.hxx>
#include <view.hxx>
-#include <errhdl.hxx>
#include <docsh.hxx>
#include <content.hxx>
#include <frmfmt.hxx>
diff --git a/sw/source/ui/utlui/glbltree.cxx b/sw/source/ui/utlui/glbltree.cxx
index 66eddb7265b8..8319f8cf83fc 100644
--- a/sw/source/ui/utlui/glbltree.cxx
+++ b/sw/source/ui/utlui/glbltree.cxx
@@ -52,7 +52,6 @@
#include <swmodule.hxx>
#include <wrtsh.hxx>
#include <view.hxx>
-#include <errhdl.hxx>
#include <docsh.hxx>
#include <content.hxx>
#include <edglbldc.hxx>
diff --git a/sw/source/ui/utlui/navipi.cxx b/sw/source/ui/utlui/navipi.cxx
index 64100ca8fe7a..8083052a25d7 100644
--- a/sw/source/ui/utlui/navipi.cxx
+++ b/sw/source/ui/utlui/navipi.cxx
@@ -44,7 +44,6 @@
#include <sfx2/dockwin.hxx>
#include <vcl/toolbox.hxx>
#include <swtypes.hxx> // fuer Pathfinder
-#include <errhdl.hxx>
#include <swmodule.hxx>
#include <view.hxx>
#include <navicfg.hxx>
diff --git a/sw/source/ui/utlui/uitool.cxx b/sw/source/ui/utlui/uitool.cxx
index 1c893ad9661e..da0523464e23 100644
--- a/sw/source/ui/utlui/uitool.cxx
+++ b/sw/source/ui/utlui/uitool.cxx
@@ -75,7 +75,6 @@
#include <poolfmt.hxx>
#include "usrpref.hxx"
-#include <error.h>
#include <cmdid.h>
#include <globals.hrc>
#include <utlui.hrc>