summaryrefslogtreecommitdiff
path: root/svtools
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 /svtools
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 'svtools')
-rw-r--r--svtools/source/config/colorcfg.cxx1
-rw-r--r--svtools/source/contnr/fileview.cxx1
-rw-r--r--svtools/source/filter/filter2.cxx1
-rw-r--r--svtools/source/filter/wmf/wmfwr.cxx1
-rw-r--r--svtools/source/filter/wmf/wmfwr.hxx1
-rw-r--r--svtools/source/misc/wallitem.cxx1
-rw-r--r--svtools/source/svhtml/htmlout.cxx1
7 files changed, 1 insertions, 6 deletions
diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx
index 45b571254bee..50227d26f571 100644
--- a/svtools/source/config/colorcfg.cxx
+++ b/svtools/source/config/colorcfg.cxx
@@ -32,7 +32,6 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
-#include <tools/color.hxx>
#include <tools/debug.hxx>
#include <unotools/configitem.hxx>
#include <unotools/configpathes.hxx>
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index 7717d467059c..9f1c92f2de40 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -59,7 +59,6 @@
#include <algorithm>
#include <memory>
#include <tools/urlobj.hxx>
-#include <tools/datetime.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <unotools/localfilehelper.hxx>
diff --git a/svtools/source/filter/filter2.cxx b/svtools/source/filter/filter2.cxx
index d33204d12f82..ccf403ef5422 100644
--- a/svtools/source/filter/filter2.cxx
+++ b/svtools/source/filter/filter2.cxx
@@ -32,7 +32,6 @@
#include <tools/stream.hxx>
#include <tools/debug.hxx>
#include <vcl/outdev.hxx>
-#include <tools/config.hxx>
#include <svtools/filter.hxx>
#include "FilterConfigCache.hxx"
#include <unotools/ucbstreamhelper.hxx>
diff --git a/svtools/source/filter/wmf/wmfwr.cxx b/svtools/source/filter/wmf/wmfwr.cxx
index 06025f2aa8e6..7d25f708db5f 100644
--- a/svtools/source/filter/wmf/wmfwr.cxx
+++ b/svtools/source/filter/wmf/wmfwr.cxx
@@ -34,6 +34,7 @@
#include "emfwr.hxx"
#include <rtl/crc.h>
#include <rtl/tencinfo.h>
+#include <tools/bigint.hxx>
#include <tools/tenccvt.hxx>
#include <osl/endian.h>
#include <i18nutil/unicode.hxx> //unicode::getUnicodeScriptType
diff --git a/svtools/source/filter/wmf/wmfwr.hxx b/svtools/source/filter/wmf/wmfwr.hxx
index 75cf46c0bcb3..d33b03cce37f 100644
--- a/svtools/source/filter/wmf/wmfwr.hxx
+++ b/svtools/source/filter/wmf/wmfwr.hxx
@@ -29,7 +29,6 @@
#ifndef _WMFWR_HXX
#define _WMFWR_HXX
-#include <tools/bigint.hxx>
#include <tools/debug.hxx>
#include <vcl/metaact.hxx>
#include <vcl/graph.hxx>
diff --git a/svtools/source/misc/wallitem.cxx b/svtools/source/misc/wallitem.cxx
index 73d6dc03a570..b2824fd97344 100644
--- a/svtools/source/misc/wallitem.cxx
+++ b/svtools/source/misc/wallitem.cxx
@@ -39,7 +39,6 @@
#include <tools/string.hxx>
#include <tools/urlobj.hxx>
#include <tools/stream.hxx>
-#include <tools/color.hxx>
#include <vcl/graph.hxx>
#include <vcl/svapp.hxx>
diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx
index 33c276a50516..97772cd8a810 100644
--- a/svtools/source/svhtml/htmlout.cxx
+++ b/svtools/source/svhtml/htmlout.cxx
@@ -30,7 +30,6 @@
#include <tools/urlobj.hxx>
#include <svl/zformat.hxx>
#include <svl/macitem.hxx>
-#include <tools/cachestr.hxx>
#include <vcl/svapp.hxx>
#include <svl/zforlist.hxx>