summaryrefslogtreecommitdiff
path: root/framework
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 /framework
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 'framework')
-rw-r--r--framework/inc/jobs/jobdata.hxx1
-rw-r--r--framework/inc/uiconfiguration/imagemanager.hxx3
-rw-r--r--framework/inc/uiconfiguration/moduleimagemanager.hxx3
-rw-r--r--framework/source/fwe/classes/addonsoptions.cxx1
-rw-r--r--framework/source/fwe/classes/bmkmenu.cxx1
-rw-r--r--framework/source/services/sessionlistener.cxx1
-rw-r--r--framework/source/uiconfiguration/imagemanagerimpl.hxx3
7 files changed, 0 insertions, 13 deletions
diff --git a/framework/inc/jobs/jobdata.hxx b/framework/inc/jobs/jobdata.hxx
index 9b46c099ec1b..d4cf9a19db48 100644
--- a/framework/inc/jobs/jobdata.hxx
+++ b/framework/inc/jobs/jobdata.hxx
@@ -47,7 +47,6 @@
//_______________________________________
// other includes
-#include <tools/datetime.hxx>
#include <rtl/ustring.hxx>
//_______________________________________
diff --git a/framework/inc/uiconfiguration/imagemanager.hxx b/framework/inc/uiconfiguration/imagemanager.hxx
index 1719070aa038..5b215f5e61ad 100644
--- a/framework/inc/uiconfiguration/imagemanager.hxx
+++ b/framework/inc/uiconfiguration/imagemanager.hxx
@@ -72,11 +72,8 @@
#include <rtl/ustring.hxx>
#include <vcl/image.hxx>
-#include <tools/color.hxx>
#include <rtl/ref.hxx>
-#include <vector>
-
namespace framework
{
class ImageManagerImpl;
diff --git a/framework/inc/uiconfiguration/moduleimagemanager.hxx b/framework/inc/uiconfiguration/moduleimagemanager.hxx
index eee1629a3308..315f8143685c 100644
--- a/framework/inc/uiconfiguration/moduleimagemanager.hxx
+++ b/framework/inc/uiconfiguration/moduleimagemanager.hxx
@@ -72,11 +72,8 @@
#include <rtl/ustring.hxx>
#include <vcl/image.hxx>
-#include <tools/color.hxx>
#include <rtl/ref.hxx>
-#include <vector>
-
namespace framework
{
class ImageManagerImpl;
diff --git a/framework/source/fwe/classes/addonsoptions.cxx b/framework/source/fwe/classes/addonsoptions.cxx
index d5e4561be585..0a60a9b84d0a 100644
--- a/framework/source/fwe/classes/addonsoptions.cxx
+++ b/framework/source/fwe/classes/addonsoptions.cxx
@@ -36,7 +36,6 @@
#include <unotools/ucbstreamhelper.hxx>
#include <tools/debug.hxx>
#include <tools/stream.hxx>
-#include <tools/color.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include "com/sun/star/util/XMacroExpander.hpp"
diff --git a/framework/source/fwe/classes/bmkmenu.cxx b/framework/source/fwe/classes/bmkmenu.cxx
index 8b8ac60e70d3..fdf3721f740e 100644
--- a/framework/source/fwe/classes/bmkmenu.cxx
+++ b/framework/source/fwe/classes/bmkmenu.cxx
@@ -53,7 +53,6 @@
//_________________________________________________________________________________________________________________
// includes of other projects
//_________________________________________________________________________________________________________________
-#include <tools/config.hxx>
#include <vcl/svapp.hxx>
#include <unotools/dynamicmenuoptions.hxx>
#include <svtools/menuoptions.hxx>
diff --git a/framework/source/services/sessionlistener.cxx b/framework/source/services/sessionlistener.cxx
index 64c485c3a7f1..134471ac26f5 100644
--- a/framework/source/services/sessionlistener.cxx
+++ b/framework/source/services/sessionlistener.cxx
@@ -40,7 +40,6 @@
#include <vcl/svapp.hxx>
#include <tools/urlobj.hxx>
-#include <tools/tempfile.hxx>
#include <unotools/tempfile.hxx>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <com/sun/star/lang/XComponent.hpp>
diff --git a/framework/source/uiconfiguration/imagemanagerimpl.hxx b/framework/source/uiconfiguration/imagemanagerimpl.hxx
index 754579de3be8..7f73540dfab6 100644
--- a/framework/source/uiconfiguration/imagemanagerimpl.hxx
+++ b/framework/source/uiconfiguration/imagemanagerimpl.hxx
@@ -71,11 +71,8 @@
#include <rtl/ustring.hxx>
#include <vcl/image.hxx>
-#include <tools/color.hxx>
#include <rtl/ref.hxx>
-#include <vector>
-
namespace framework
{
class CmdImageList