summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorMarcel Metz <mmetz@adrian-broher.net>2012-01-03 15:12:24 +0100
committerLuboš Luňák <l.lunak@suse.cz>2012-01-05 15:31:29 +0100
commit79646372a0f4ac6becf494f5a96b0d7dbe379e9d (patch)
tree525ef8630b8698d16f206237c9c8efd6b0efd902 /sw/source
parentc47f3523338b8e58c1ea18cc583064761f60df90 (diff)
Removed unnecessary tools includes.
Hello lo-devs, this patch series removes a lot of unnecessary includes for the various tools header. The patches without suffix should be applied to the core repository, the .binfilter.patch suffix should be applied to the binfilter repository. I've tested the build with the configuration --enable-binfilter --enable-dbgutil --enable-debug, is this sufficient or did I miss another important configuration, that enables some conditional compiled code? I've only build this on linux-x86_64, but the patch also touches some of the mac specific code like fpicker/source/aqua/SalAquaFilePicker.mm so it would be maybe a good idea to test this patch. regards Marcel Metz
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/bastyp/calc.cxx1
-rw-r--r--sw/source/filter/inc/fltini.hxx1
-rw-r--r--sw/source/filter/ww8/ww8scan.hxx1
-rw-r--r--sw/source/ui/misc/swmodalredlineacceptdlg.cxx1
-rw-r--r--sw/source/ui/uno/unotxvw.cxx1
5 files changed, 0 insertions, 5 deletions
diff --git a/sw/source/core/bastyp/calc.cxx b/sw/source/core/bastyp/calc.cxx
index c0e537a7d52c..ede0b0686ad5 100644
--- a/sw/source/core/bastyp/calc.cxx
+++ b/sw/source/core/bastyp/calc.cxx
@@ -46,7 +46,6 @@
#include <editeng/unolingu.hxx>
#include <editeng/scripttypeitem.hxx>
#include <unotools/useroptions.hxx>
-#include <tools/datetime.hxx>
#include <svl/zforlist.hxx>
#include <swmodule.hxx>
#include <doc.hxx>
diff --git a/sw/source/filter/inc/fltini.hxx b/sw/source/filter/inc/fltini.hxx
index 47e6cc1d191b..bf6b7ac98cf4 100644
--- a/sw/source/filter/inc/fltini.hxx
+++ b/sw/source/filter/inc/fltini.hxx
@@ -29,7 +29,6 @@
#define _FLTINI_HXX
#include <shellio.hxx>
-#include <tools/color.hxx>
class SwNumRuleTbl;
class SwDoc;
diff --git a/sw/source/filter/ww8/ww8scan.hxx b/sw/source/filter/ww8/ww8scan.hxx
index 9cac3eb94c28..2b9f93f2de30 100644
--- a/sw/source/filter/ww8/ww8scan.hxx
+++ b/sw/source/filter/ww8/ww8scan.hxx
@@ -37,7 +37,6 @@
#include <list>
#include <algorithm>
#include <tools/solar.h> // UINTXX
-#include <tools/datetime.hxx>
#include <tools/stream.hxx>
#include <tools/string.hxx>
#include "hash_wrap.hxx"
diff --git a/sw/source/ui/misc/swmodalredlineacceptdlg.cxx b/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
index a51fa9795391..6cf56b192ddf 100644
--- a/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
+++ b/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
@@ -37,7 +37,6 @@
#include <redline.hxx>
-#include <tools/datetime.hxx>
#include <vcl/msgbox.hxx>
#include <svl/svstdarr.hxx>
#include <svl/eitem.hxx>
diff --git a/sw/source/ui/uno/unotxvw.cxx b/sw/source/ui/uno/unotxvw.cxx
index c7fbc18a3fe3..c055826d3ca6 100644
--- a/sw/source/ui/uno/unotxvw.cxx
+++ b/sw/source/ui/uno/unotxvw.cxx
@@ -67,7 +67,6 @@
#include <svx/unoshape.hxx>
#include <svx/svdpagv.hxx>
#include <swerror.h>
-#include <tools/cachestr.hxx>
#include <shellio.hxx>
#include <ndtxt.hxx>
#include <SwStyleNameMapper.hxx>