summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basic/source/comp/symtbl.cxx1
-rw-r--r--basic/source/runtime/iosys.cxx1
-rw-r--r--basic/source/runtime/methods.cxx1
-rw-r--r--basic/source/sbx/sbxscan.cxx1
-rw-r--r--basic/source/sbx/sbxvar.cxx1
-rw-r--r--canvas/source/directx/dx_spritecanvas.cxx2
-rw-r--r--canvas/source/directx/dx_spritedevicehelper.cxx2
-rw-r--r--canvas/source/directx/dx_textlayout.cxx2
-rw-r--r--connectivity/source/commontools/CommonTools.cxx1
-rw-r--r--connectivity/source/drivers/flat/ETable.cxx1
-rw-r--r--editeng/source/rtf/svxrtf.cxx2
-rw-r--r--filter/source/t602/t602filter.cxx1
-rw-r--r--filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx1
-rw-r--r--forms/source/component/DatabaseForm.cxx1
-rw-r--r--helpcompiler/inc/HelpCompiler.hxx1
-rw-r--r--hwpfilter/source/hbox.cxx2
-rw-r--r--hwpfilter/source/hutil.cxx1
-rw-r--r--hwpfilter/source/hwpeq.cxx1
-rw-r--r--idl/source/cmptools/hash.cxx1
-rw-r--r--idl/source/cmptools/lex.cxx2
-rw-r--r--idl/source/objects/bastype.cxx1
-rw-r--r--idl/source/objects/module.cxx2
-rw-r--r--idl/source/objects/object.cxx1
-rw-r--r--idl/source/objects/slot.cxx2
-rw-r--r--idl/source/objects/types.cxx1
-rw-r--r--idl/source/prj/command.cxx1
-rw-r--r--idl/source/prj/database.cxx1
-rw-r--r--idlc/source/scanner.l1
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx1
-rw-r--r--rsc/source/parser/rscdb.cxx1
-rw-r--r--rsc/source/parser/rsckey.cxx1
-rw-r--r--rsc/source/parser/rscyacc.y1
-rw-r--r--rsc/source/res/rscmgr.cxx1
-rw-r--r--rsc/source/rsc/rsc.cxx1
-rw-r--r--rsc/source/rscpp/cpp1.c1
-rw-r--r--rsc/source/rscpp/cpp4.c1
-rw-r--r--rsc/source/tools/rscchar.cxx1
-rw-r--r--rsc/source/tools/rsctools.cxx1
-rw-r--r--sal/osl/unx/socket.cxx1
-rw-r--r--sal/osl/w32/system.h1
-rw-r--r--sc/source/core/data/global.cxx1
-rw-r--r--sc/source/core/data/global2.cxx1
-rw-r--r--sc/source/core/tool/compiler.cxx1
-rw-r--r--sc/source/core/tool/formulaopt.cxx2
-rw-r--r--sc/source/filter/lotus/op.cxx1
-rw-r--r--sc/source/ui/unoobj/docuno.cxx1
-rw-r--r--sdext/source/pdfimport/wrapper/wrapper.cxx1
-rw-r--r--soltools/mkdepend/cppsetup.c2
-rw-r--r--soltools/mkdepend/def.h1
-rw-r--r--soltools/mkdepend/parse.c2
-rw-r--r--svl/source/misc/ownlist.cxx1
-rw-r--r--svl/source/numbers/zforfind.cxx1
-rw-r--r--svl/source/numbers/zformat.cxx1
-rw-r--r--svtools/source/svhtml/htmlsupp.cxx2
-rw-r--r--svtools/source/svhtml/parhtml.cxx2
-rw-r--r--svtools/source/svrtf/rtfkeywd.cxx1
-rw-r--r--sw/source/core/edit/autofmt.cxx1
-rw-r--r--sw/source/core/table/swtable.cxx1
-rw-r--r--sw/source/core/text/guess.cxx1
-rw-r--r--sw/source/core/text/portxt.cxx2
-rw-r--r--sw/source/filter/basflt/fltshell.cxx1
-rw-r--r--sw/source/filter/html/parcss1.cxx1
-rw-r--r--sw/source/ui/dialog/docstdlg.cxx1
-rw-r--r--tools/source/generic/bigint.cxx1
-rw-r--r--tools/source/ref/globname.cxx1
-rw-r--r--tools/source/stream/stream.cxx1
-rw-r--r--vcl/source/filter/jpeg/transupp.c1
-rw-r--r--vcl/source/gdi/bitmapex.cxx1
-rw-r--r--vcl/unx/generic/app/saldisp.cxx1
69 files changed, 4 insertions, 79 deletions
diff --git a/basic/source/comp/symtbl.cxx b/basic/source/comp/symtbl.cxx
index a2bf316b60d0..3de2da8b0851 100644
--- a/basic/source/comp/symtbl.cxx
+++ b/basic/source/comp/symtbl.cxx
@@ -24,7 +24,6 @@
#include <stdio.h>
#include <string.h>
-#include <ctype.h>
#include <rtl/character.hxx>
#include <o3tl/make_unique.hxx>
diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx
index b019f27ad5a4..24a2bbdf1871 100644
--- a/basic/source/runtime/iosys.cxx
+++ b/basic/source/runtime/iosys.cxx
@@ -29,7 +29,6 @@
#include "runtime.hxx"
-#include <ctype.h>
#include <rtl/byteseq.hxx>
#include <rtl/textenc.h>
#include <rtl/strbuf.hxx>
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 3016a4eae7f5..a87a8fc1368c 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -84,7 +84,6 @@ using namespace com::sun::star::uno;
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
-#include <ctype.h>
#include <errno.h>
#include "sbobjmod.hxx"
diff --git a/basic/source/sbx/sbxscan.cxx b/basic/source/sbx/sbxscan.cxx
index 3a7c4caf3c0a..b311c0336718 100644
--- a/basic/source/sbx/sbxscan.cxx
+++ b/basic/source/sbx/sbxscan.cxx
@@ -32,7 +32,6 @@
#include <math.h>
#include <string.h>
-#include <ctype.h>
#include "sbxres.hxx"
#include "sbxbase.hxx"
diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx
index dcd969426561..9af2d714cfcb 100644
--- a/basic/source/sbx/sbxvar.cxx
+++ b/basic/source/sbx/sbxvar.cxx
@@ -29,7 +29,6 @@
#include "sbxconv.hxx"
#include "sbunoobj.hxx"
#include <math.h>
-#include <ctype.h>
#include <rtl/character.hxx>
#include <com/sun/star/uno/XInterface.hpp>
diff --git a/canvas/source/directx/dx_spritecanvas.cxx b/canvas/source/directx/dx_spritecanvas.cxx
index 9fbd2d5dc154..74c019a11c50 100644
--- a/canvas/source/directx/dx_spritecanvas.cxx
+++ b/canvas/source/directx/dx_spritecanvas.cxx
@@ -19,8 +19,6 @@
#include <sal/config.h>
-#include <ctype.h>
-
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/numeric/ftools.hxx>
#include <basegfx/point/b2dpoint.hxx>
diff --git a/canvas/source/directx/dx_spritedevicehelper.cxx b/canvas/source/directx/dx_spritedevicehelper.cxx
index 41f5b63ba655..2b01ed9a072d 100644
--- a/canvas/source/directx/dx_spritedevicehelper.cxx
+++ b/canvas/source/directx/dx_spritedevicehelper.cxx
@@ -19,8 +19,6 @@
#include <sal/config.h>
-#include <ctype.h>
-
#include <basegfx/tools/canvastools.hxx>
#include <canvas/canvastools.hxx>
#include <com/sun/star/lang/NoSupportException.hpp>
diff --git a/canvas/source/directx/dx_textlayout.cxx b/canvas/source/directx/dx_textlayout.cxx
index e96822a29b3c..789239064d97 100644
--- a/canvas/source/directx/dx_textlayout.cxx
+++ b/canvas/source/directx/dx_textlayout.cxx
@@ -19,8 +19,6 @@
#include <sal/config.h>
-#include <ctype.h>
-
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/numeric/ftools.hxx>
#include <cppuhelper/supportsservice.hxx>
diff --git a/connectivity/source/commontools/CommonTools.cxx b/connectivity/source/commontools/CommonTools.cxx
index 9846d0fbc56e..3a9f237ce824 100644
--- a/connectivity/source/commontools/CommonTools.cxx
+++ b/connectivity/source/commontools/CommonTools.cxx
@@ -36,7 +36,6 @@
#endif
#include <rtl/character.hxx>
#include <rtl/process.h>
-#include <ctype.h>
using namespace ::comphelper;
inline sal_Unicode rtl_ascii_toUpperCase( sal_Unicode ch )
diff --git a/connectivity/source/drivers/flat/ETable.cxx b/connectivity/source/drivers/flat/ETable.cxx
index fea263b95ccf..06ae56b2fea7 100644
--- a/connectivity/source/drivers/flat/ETable.cxx
+++ b/connectivity/source/drivers/flat/ETable.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <ctype.h>
#include "flat/ETable.hxx"
#include <com/sun/star/sdbc/ColumnValue.hpp>
#include <com/sun/star/sdbc/DataType.hpp>
diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx
index 8dd7992d0174..22e73d36b1c7 100644
--- a/editeng/source/rtf/svxrtf.cxx
+++ b/editeng/source/rtf/svxrtf.cxx
@@ -17,8 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
-#include <ctype.h>
#include <tools/diagnose_ex.h>
#include <rtl/tencinfo.h>
#include <svl/itemiter.hxx>
diff --git a/filter/source/t602/t602filter.cxx b/filter/source/t602/t602filter.cxx
index 20398237294d..45ebedc2d900 100644
--- a/filter/source/t602/t602filter.cxx
+++ b/filter/source/t602/t602filter.cxx
@@ -20,7 +20,6 @@
#include "t602filter.hxx"
#include "t602filter.hrc"
-#include <ctype.h>
#include <stdio.h>
#include <cppuhelper/factory.hxx>
diff --git a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
index 48d2141ada23..1d90cd883c02 100644
--- a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
+++ b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
@@ -19,7 +19,6 @@
#include <iostream>
#include <stdlib.h>
-#include <ctype.h>
#include <rtl/ustring.hxx>
#include <tools/urlobj.hxx>
#include "XmlFilterAdaptor.hxx"
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx
index b8e25b4e2f11..3c17f1e7e3a8 100644
--- a/forms/source/component/DatabaseForm.cxx
+++ b/forms/source/component/DatabaseForm.cxx
@@ -78,7 +78,6 @@
#include <vcl/timer.hxx>
#include <osl/mutex.hxx>
-#include <ctype.h>
#include <unordered_map>
using namespace ::dbtools;
diff --git a/helpcompiler/inc/HelpCompiler.hxx b/helpcompiler/inc/HelpCompiler.hxx
index b888ce7512c6..b275e31939aa 100644
--- a/helpcompiler/inc/HelpCompiler.hxx
+++ b/helpcompiler/inc/HelpCompiler.hxx
@@ -29,7 +29,6 @@
#include <fstream>
#include <sstream>
#include <algorithm>
-#include <ctype.h>
#include <libxml/xmlmemory.h>
#include <libxml/debugXML.h>
diff --git a/hwpfilter/source/hbox.cxx b/hwpfilter/source/hbox.cxx
index 3701f9298720..88e76c7ca7f8 100644
--- a/hwpfilter/source/hbox.cxx
+++ b/hwpfilter/source/hbox.cxx
@@ -19,8 +19,6 @@
#include "precompile.h"
-#include <ctype.h>
-
#include <osl/diagnose.h>
#include "hwpfile.h"
diff --git a/hwpfilter/source/hutil.cxx b/hwpfilter/source/hutil.cxx
index 4597f84530c8..30d176d46e91 100644
--- a/hwpfilter/source/hutil.cxx
+++ b/hwpfilter/source/hutil.cxx
@@ -19,7 +19,6 @@
#include "precompile.h"
-#include <ctype.h>
#include "hwpfile.h"
#include "hbox.h"
#include "hutil.h"
diff --git a/hwpfilter/source/hwpeq.cxx b/hwpfilter/source/hwpeq.cxx
index 7d632998f729..5a0ca83774c5 100644
--- a/hwpfilter/source/hwpeq.cxx
+++ b/hwpfilter/source/hwpeq.cxx
@@ -20,7 +20,6 @@
#include <assert.h>
#include <stdio.h>
#include <string.h>
-#include <ctype.h>
// DVO: always use standard headers:
#include <istream>
diff --git a/idl/source/cmptools/hash.cxx b/idl/source/cmptools/hash.cxx
index 17a5f25c5ed0..9fc364fc83d4 100644
--- a/idl/source/cmptools/hash.cxx
+++ b/idl/source/cmptools/hash.cxx
@@ -20,7 +20,6 @@
// C and C++ includes
#include <stdlib.h>
-#include <ctype.h>
// program-sensitive includes
#include <hash.hxx>
diff --git a/idl/source/cmptools/lex.cxx b/idl/source/cmptools/lex.cxx
index d5e1d943fa6e..3a1a73c26799 100644
--- a/idl/source/cmptools/lex.cxx
+++ b/idl/source/cmptools/lex.cxx
@@ -17,8 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <ctype.h>
-
#include <hash.hxx>
#include <lex.hxx>
#include <globals.hxx>
diff --git a/idl/source/objects/bastype.cxx b/idl/source/objects/bastype.cxx
index adff4d5e726d..a7db1adb8002 100644
--- a/idl/source/objects/bastype.cxx
+++ b/idl/source/objects/bastype.cxx
@@ -19,7 +19,6 @@
#include <limits.h>
-#include <ctype.h>
#include <bastype.hxx>
#include <lex.hxx>
#include <globals.hxx>
diff --git a/idl/source/objects/module.cxx b/idl/source/objects/module.cxx
index 06607559b56a..6439c9611549 100644
--- a/idl/source/objects/module.cxx
+++ b/idl/source/objects/module.cxx
@@ -17,8 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <ctype.h>
-
#include <module.hxx>
#include <globals.hxx>
#include <database.hxx>
diff --git a/idl/source/objects/object.cxx b/idl/source/objects/object.cxx
index 8e5e177fbd2e..d4b2eee57eae 100644
--- a/idl/source/objects/object.cxx
+++ b/idl/source/objects/object.cxx
@@ -20,7 +20,6 @@
#include <sal/config.h>
#include <algorithm>
-#include <ctype.h>
#include <rtl/strbuf.hxx>
#include <osl/diagnose.h>
diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx
index e456f5f639a5..110c6fa3aef0 100644
--- a/idl/source/objects/slot.cxx
+++ b/idl/source/objects/slot.cxx
@@ -17,8 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
-#include <ctype.h>
#include <rtl/strbuf.hxx>
#include <osl/diagnose.h>
#include <tools/debug.hxx>
diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx
index 6f3042b70d33..d76333524ddc 100644
--- a/idl/source/objects/types.cxx
+++ b/idl/source/objects/types.cxx
@@ -20,7 +20,6 @@
#include <sal/config.h>
#include <algorithm>
-#include <ctype.h>
#include <tools/debug.hxx>
diff --git a/idl/source/prj/command.cxx b/idl/source/prj/command.cxx
index 2b5132682724..02a3661b8155 100644
--- a/idl/source/prj/command.cxx
+++ b/idl/source/prj/command.cxx
@@ -22,7 +22,6 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <ctype.h>
#include <osl/diagnose.h>
#include <rtl/character.hxx>
diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx
index 15c21a388fbf..377f507fe57d 100644
--- a/idl/source/prj/database.cxx
+++ b/idl/source/prj/database.cxx
@@ -20,7 +20,6 @@
#include <sal/config.h>
#include <algorithm>
-#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <tools/debug.hxx>
diff --git a/idlc/source/scanner.l b/idlc/source/scanner.l
index d455c14cbaf5..2db7f97f38cf 100644
--- a/idlc/source/scanner.l
+++ b/idlc/source/scanner.l
@@ -25,7 +25,6 @@
#include "sal/config.h"
-#include <ctype.h>
#include <stdlib.h>
#include <string.h>
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
index 290faed43ab6..3e236bd04c27 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
@@ -25,7 +25,6 @@
#include "osl/security.hxx"
#include <rtl/character.hxx>
#include <string.h>
-#include <ctype.h>
#include "diagnostics.h"
using namespace osl;
diff --git a/rsc/source/parser/rscdb.cxx b/rsc/source/parser/rscdb.cxx
index 9232c8fa0d2e..1b76102351e2 100644
--- a/rsc/source/parser/rscdb.cxx
+++ b/rsc/source/parser/rscdb.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/rsc/source/parser/rsckey.cxx b/rsc/source/parser/rsckey.cxx
index 90dd66db8f32..8f3a11f61260 100644
--- a/rsc/source/parser/rsckey.cxx
+++ b/rsc/source/parser/rsckey.cxx
@@ -19,7 +19,6 @@
#include <stdlib.h>
#include <stdio.h>
-#include <ctype.h>
#include <string.h>
#include <rscall.h>
#include <rsctools.hxx>
diff --git a/rsc/source/parser/rscyacc.y b/rsc/source/parser/rscyacc.y
index 25d39c594ac8..4d51eb1c7241 100644
--- a/rsc/source/parser/rscyacc.y
+++ b/rsc/source/parser/rscyacc.y
@@ -22,7 +22,6 @@
#include <limits.h>
#include <stdio.h>
-#include <ctype.h>
#include <string.h>
#include <rtl/strbuf.hxx>
diff --git a/rsc/source/res/rscmgr.cxx b/rsc/source/res/rscmgr.cxx
index 39f0b655e81a..6c0b1441d042 100644
--- a/rsc/source/res/rscmgr.cxx
+++ b/rsc/source/res/rscmgr.cxx
@@ -21,7 +21,6 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <ctype.h>
#include <rscmgr.hxx>
#include <rscdb.hxx>
diff --git a/rsc/source/rsc/rsc.cxx b/rsc/source/rsc/rsc.cxx
index 8ccfd83f6c77..9b5e44aef736 100644
--- a/rsc/source/rsc/rsc.cxx
+++ b/rsc/source/rsc/rsc.cxx
@@ -32,7 +32,6 @@
#endif
#include <string.h>
-#include <ctype.h>
#include <errno.h>
#include <tools/stream.hxx>
diff --git a/rsc/source/rscpp/cpp1.c b/rsc/source/rscpp/cpp1.c
index 03d75f440c0b..d5e8d545ec64 100644
--- a/rsc/source/rscpp/cpp1.c
+++ b/rsc/source/rscpp/cpp1.c
@@ -20,7 +20,6 @@
#define NOMAIN
#include <stdio.h>
-#include <ctype.h>
#include "cppdef.h"
#include "cpp.h"
diff --git a/rsc/source/rscpp/cpp4.c b/rsc/source/rscpp/cpp4.c
index d8009d29a843..6e1811164e62 100644
--- a/rsc/source/rscpp/cpp4.c
+++ b/rsc/source/rscpp/cpp4.c
@@ -19,7 +19,6 @@
#include <sal/types.h>
#include <stdio.h>
-#include <ctype.h>
#include "cppdef.h"
#include "cpp.h"
diff --git a/rsc/source/tools/rscchar.cxx b/rsc/source/tools/rscchar.cxx
index fb5411407b54..f081773344cc 100644
--- a/rsc/source/tools/rscchar.cxx
+++ b/rsc/source/tools/rscchar.cxx
@@ -19,7 +19,6 @@
#include <stdio.h>
#include <string.h>
-#include <ctype.h>
#include <rsctools.hxx>
diff --git a/rsc/source/tools/rsctools.cxx b/rsc/source/tools/rsctools.cxx
index c5780c9b0548..ca011e468177 100644
--- a/rsc/source/tools/rsctools.cxx
+++ b/rsc/source/tools/rsctools.cxx
@@ -24,7 +24,6 @@
#include <direct.h>
#endif
#include <string.h>
-#include <ctype.h>
#include <rscdef.hxx>
#include <rsctools.hxx>
diff --git a/sal/osl/unx/socket.cxx b/sal/osl/unx/socket.cxx
index 527663dfe0a4..0771ccfc3f0e 100644
--- a/sal/osl/unx/socket.cxx
+++ b/sal/osl/unx/socket.cxx
@@ -25,7 +25,6 @@
#include <rtl/alloc.h>
#include <assert.h>
-#include <ctype.h>
#include <sal/types.h>
#include <sal/log.hxx>
diff --git a/sal/osl/w32/system.h b/sal/osl/w32/system.h
index 700d9aa578f8..3d02d184fce6 100644
--- a/sal/osl/w32/system.h
+++ b/sal/osl/w32/system.h
@@ -24,7 +24,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
-#include <ctype.h>
#include <malloc.h>
#include <limits.h>
#include <process.h>
diff --git a/sc/source/core/data/global.cxx b/sc/source/core/data/global.cxx
index 0bd052b76e0b..47fd37d831ae 100644
--- a/sc/source/core/data/global.cxx
+++ b/sc/source/core/data/global.cxx
@@ -42,7 +42,6 @@
#include <unotools/securityoptions.hxx>
#include <stdlib.h>
#include <time.h>
-#include <ctype.h>
#include <numeric>
#include <svx/svdmodel.hxx>
diff --git a/sc/source/core/data/global2.cxx b/sc/source/core/data/global2.cxx
index b796c602f5c7..1ef86f537b23 100644
--- a/sc/source/core/data/global2.cxx
+++ b/sc/source/core/data/global2.cxx
@@ -24,7 +24,6 @@
#include <tools/urlobj.hxx>
#include <unotools/charclass.hxx>
#include <stdlib.h>
-#include <ctype.h>
#include <unotools/syslocale.hxx>
#include <svl/zforlist.hxx>
#include <formula/errorcodes.hxx>
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 51553dae5020..e5cef31ca269 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -41,7 +41,6 @@
#include <rtl/math.hxx>
#include <rtl/ustring.hxx>
#include <svtools/miscopt.hxx>
-#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
diff --git a/sc/source/core/tool/formulaopt.cxx b/sc/source/core/tool/formulaopt.cxx
index f536cb94686c..4430b73db826 100644
--- a/sc/source/core/tool/formulaopt.cxx
+++ b/sc/source/core/tool/formulaopt.cxx
@@ -7,8 +7,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#include <ctype.h>
-
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/lang/Locale.hpp>
#include <osl/diagnose.h>
diff --git a/sc/source/filter/lotus/op.cxx b/sc/source/filter/lotus/op.cxx
index 4e91b98c77ff..78df25d4e902 100644
--- a/sc/source/filter/lotus/op.cxx
+++ b/sc/source/filter/lotus/op.cxx
@@ -21,7 +21,6 @@
#include <string.h>
#include <math.h>
-#include <ctype.h>
#include <stdlib.h>
#include "scitems.hxx"
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 638f9490084e..e794ea8c4bc8 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -50,7 +50,6 @@
#include <toolkit/awt/vclxdevice.hxx>
#include <unotools/saveopt.hxx>
-#include <ctype.h>
#include <float.h>
#include <com/sun/star/datatransfer/UnsupportedFlavorException.hpp>
diff --git a/sdext/source/pdfimport/wrapper/wrapper.cxx b/sdext/source/pdfimport/wrapper/wrapper.cxx
index bb15a5806412..cdbcd2ddb6eb 100644
--- a/sdext/source/pdfimport/wrapper/wrapper.cxx
+++ b/sdext/source/pdfimport/wrapper/wrapper.cxx
@@ -65,7 +65,6 @@
#include <unordered_map>
#include <string.h>
#include <stdlib.h>
-#include <ctype.h>
#include "rtl/bootstrap.h"
diff --git a/soltools/mkdepend/cppsetup.c b/soltools/mkdepend/cppsetup.c
index 750142af9ddf..acbdcc6377eb 100644
--- a/soltools/mkdepend/cppsetup.c
+++ b/soltools/mkdepend/cppsetup.c
@@ -27,6 +27,8 @@ in this Software without prior written authorization from the X Consortium.
*/
+#include <ctype.h>
+
#include "def.h"
#ifdef CPP
diff --git a/soltools/mkdepend/def.h b/soltools/mkdepend/def.h
index 5e96a2b75712..fd3f34691128 100644
--- a/soltools/mkdepend/def.h
+++ b/soltools/mkdepend/def.h
@@ -44,7 +44,6 @@ in this Software without prior written authorization from the X Consortium.
#include <unistd.h>
#endif
-#include <ctype.h>
#ifndef X_NOT_POSIX
#ifndef _POSIX_SOURCE
#define _POSIX_SOURCE
diff --git a/soltools/mkdepend/parse.c b/soltools/mkdepend/parse.c
index 41ae113e9ff0..01d34dcc1c14 100644
--- a/soltools/mkdepend/parse.c
+++ b/soltools/mkdepend/parse.c
@@ -27,6 +27,8 @@ in this Software without prior written authorization from the X Consortium.
*/
+#include <ctype.h>
+
#include "def.h"
char *hash_lookup( char *symbol, struct symhash *symbols );
void hash_undefine( char *symbol, struct symhash *symbols );
diff --git a/svl/source/misc/ownlist.cxx b/svl/source/misc/ownlist.cxx
index aff3b49707ce..18f52af7e99f 100644
--- a/svl/source/misc/ownlist.cxx
+++ b/svl/source/misc/ownlist.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <ctype.h>
#include <com/sun/star/beans/PropertyValues.hpp>
#include <svl/ownlist.hxx>
diff --git a/svl/source/numbers/zforfind.cxx b/svl/source/numbers/zforfind.cxx
index c550d205247c..97eba7241116 100644
--- a/svl/source/numbers/zforfind.cxx
+++ b/svl/source/numbers/zforfind.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <ctype.h>
#include <cstdlib>
#include <float.h>
#include <errno.h>
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 2d1f8749a0ca..62ae5b7d95da 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -18,7 +18,6 @@
*/
#include <stdio.h>
-#include <ctype.h>
#include <float.h>
#include <errno.h>
#include <stdlib.h>
diff --git a/svtools/source/svhtml/htmlsupp.cxx b/svtools/source/svhtml/htmlsupp.cxx
index 7e0fe1cd5e1b..027257b5bf07 100644
--- a/svtools/source/svhtml/htmlsupp.cxx
+++ b/svtools/source/svhtml/htmlsupp.cxx
@@ -17,8 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
-#include <ctype.h>
#include <comphelper/string.hxx>
#include <svtools/parhtml.hxx>
#include <svtools/htmltokn.h>
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index 82e76414e456..acd523092ff2 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -17,8 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
-#include <ctype.h>
#include <comphelper/string.hxx>
#include <tools/stream.hxx>
#include <tools/debug.hxx>
diff --git a/svtools/source/svrtf/rtfkeywd.cxx b/svtools/source/svrtf/rtfkeywd.cxx
index 39e0b84c7efc..a0b2ffe48e49 100644
--- a/svtools/source/svrtf/rtfkeywd.cxx
+++ b/svtools/source/svrtf/rtfkeywd.cxx
@@ -22,7 +22,6 @@
#include <svtools/rtftoken.h>
#include <string.h>
-#include <ctype.h>
#include <stdlib.h>
// the table is still to be sorted
diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx
index cfc87bffeec7..65c431a6e978 100644
--- a/sw/source/core/edit/autofmt.cxx
+++ b/sw/source/core/edit/autofmt.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <ctype.h>
#include <hintids.hxx>
#include <unotools/charclass.hxx>
diff --git a/sw/source/core/table/swtable.cxx b/sw/source/core/table/swtable.cxx
index fa66f9148795..7fb5b66c8c93 100644
--- a/sw/source/core/table/swtable.cxx
+++ b/sw/source/core/table/swtable.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <ctype.h>
#include <float.h>
#include <hintids.hxx>
#include <hints.hxx>
diff --git a/sw/source/core/text/guess.cxx b/sw/source/core/text/guess.cxx
index 49301f7a3dc4..3a6aa4abbc59 100644
--- a/sw/source/core/text/guess.cxx
+++ b/sw/source/core/text/guess.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <ctype.h>
#include <editeng/unolingu.hxx>
#include <dlelstnr.hxx>
#include <swmodule.hxx>
diff --git a/sw/source/core/text/portxt.cxx b/sw/source/core/text/portxt.cxx
index bd32236324b7..9547147c4245 100644
--- a/sw/source/core/text/portxt.cxx
+++ b/sw/source/core/text/portxt.cxx
@@ -17,8 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <ctype.h>
-
#include <com/sun/star/i18n/ScriptType.hpp>
#include <i18nlangtag/mslangid.hxx>
#include <hintids.hxx>
diff --git a/sw/source/filter/basflt/fltshell.cxx b/sw/source/filter/basflt/fltshell.cxx
index 91853f720054..2e9f2121bf0f 100644
--- a/sw/source/filter/basflt/fltshell.cxx
+++ b/sw/source/filter/basflt/fltshell.cxx
@@ -21,7 +21,6 @@
#include <cstddef>
-#include <ctype.h>
#include <hintids.hxx>
#include <hints.hxx>
#include <vcl/graphicfilter.hxx>
diff --git a/sw/source/filter/html/parcss1.cxx b/sw/source/filter/html/parcss1.cxx
index b3d76b369a4b..5554efdb943a 100644
--- a/sw/source/filter/html/parcss1.cxx
+++ b/sw/source/filter/html/parcss1.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <ctype.h>
#include <stdlib.h>
#include <limits.h>
#include <rtl/ustrbuf.hxx>
diff --git a/sw/source/ui/dialog/docstdlg.cxx b/sw/source/ui/dialog/docstdlg.cxx
index 9fd9f360557f..841a08d237c0 100644
--- a/sw/source/ui/dialog/docstdlg.cxx
+++ b/sw/source/ui/dialog/docstdlg.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <ctype.h>
#include <swwait.hxx>
#include <wrtsh.hxx>
#include <view.hxx>
diff --git a/tools/source/generic/bigint.cxx b/tools/source/generic/bigint.cxx
index 3bd915c69508..41b00888d973 100644
--- a/tools/source/generic/bigint.cxx
+++ b/tools/source/generic/bigint.cxx
@@ -26,7 +26,6 @@
#include <string.h>
-#include <ctype.h>
static const long MY_MAXLONG = 0x3fffffff;
static const long MY_MINLONG = -MY_MAXLONG;
diff --git a/tools/source/ref/globname.cxx b/tools/source/ref/globname.cxx
index 00cc4bd3d2ff..a378cfdc511f 100644
--- a/tools/source/ref/globname.cxx
+++ b/tools/source/ref/globname.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <ctype.h>
#include <stdio.h>
#include <string.h>
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index b1efb6952495..b9232183358b 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -23,7 +23,6 @@
#include <string.h>
#include <stdio.h>
-#include <ctype.h>
#include <stdlib.h>
#include <osl/endian.h>
diff --git a/vcl/source/filter/jpeg/transupp.c b/vcl/source/filter/jpeg/transupp.c
index a784ffb2a464..7e72c21719ac 100644
--- a/vcl/source/filter/jpeg/transupp.c
+++ b/vcl/source/filter/jpeg/transupp.c
@@ -21,7 +21,6 @@
#include "jpeglib.h"
#include "transupp.h" /* My own external interface */
#include "jpegcomp.h"
-#include <ctype.h> /* to declare isdigit() */
/* Definition of jdiv_round_up is copied here from jutils.c in jpeg-8c.tar.gz,
just as the rest of this file appears to be copied here from transupp.c in
diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx
index a807ad3f054e..8e0f7f0e22b4 100644
--- a/vcl/source/gdi/bitmapex.cxx
+++ b/vcl/source/gdi/bitmapex.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <ctype.h>
#include <rtl/crc.h>
#include <rtl/strbuf.hxx>
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx
index cc119eccd0f4..a64987bc3ca9 100644
--- a/vcl/unx/generic/app/saldisp.cxx
+++ b/vcl/unx/generic/app/saldisp.cxx
@@ -24,7 +24,6 @@
#include <sys/time.h>
#include <pthread.h>
#include <unistd.h>
-#include <ctype.h>
#if defined(__sun) || defined(AIX)
#include <osl/module.h>