summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-02-09 15:34:14 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-02-09 15:34:14 -0500
commit950f94c03a10977c0a5e08455bb49c192c3c6a36 (patch)
treed5c39c822d16dcfb6c3251c1f844d451a96207d4 /sc
parent81f80beb8c481b247f44a088a456edf07575a785 (diff)
Include dpglobal.hxx only when necessary.
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/dpgroup.hxx2
-rw-r--r--sc/inc/dptablecache.hxx4
-rw-r--r--sc/inc/dptabsrc.hxx2
-rw-r--r--sc/source/core/data/dpoutput.cxx1
-rw-r--r--sc/source/core/data/dpsave.cxx1
-rw-r--r--sc/source/core/data/dpshttab.cxx1
-rw-r--r--sc/source/core/data/global2.cxx1
-rw-r--r--sc/source/ui/inc/fieldwnd.hxx2
8 files changed, 6 insertions, 8 deletions
diff --git a/sc/inc/dpgroup.hxx b/sc/inc/dpgroup.hxx
index ada526cf1083..8f698288faa3 100644
--- a/sc/inc/dpgroup.hxx
+++ b/sc/inc/dpgroup.hxx
@@ -35,7 +35,7 @@
#include "dptabdat.hxx"
#include "scdllapi.h"
-#include "dpglobal.hxx"
+
class ScDocument;
class SvNumberFormatter;
diff --git a/sc/inc/dptablecache.hxx b/sc/inc/dptablecache.hxx
index 3238405d012d..54304f65071e 100644
--- a/sc/inc/dptablecache.hxx
+++ b/sc/inc/dptablecache.hxx
@@ -30,10 +30,10 @@
#define SC_DPTABLECACHE_HXX
#include "global.hxx"
-#include <svl/zforlist.hxx>
-#include "dpglobal.hxx"
#include "dpitemdata.hxx"
+#include <svl/zforlist.hxx>
+
#include <com/sun/star/sdbc/DataType.hpp>
#include <com/sun/star/sdbc/XRow.hpp>
#include <com/sun/star/sdbc/XRowSet.hpp>
diff --git a/sc/inc/dptabsrc.hxx b/sc/inc/dptabsrc.hxx
index 8a57d70d999a..43869eef4b81 100644
--- a/sc/inc/dptabsrc.hxx
+++ b/sc/inc/dptabsrc.hxx
@@ -60,7 +60,9 @@
#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/implbase5.hxx>
#include <cppuhelper/implbase6.hxx>
+
#include "dptabdat.hxx"
+#include "dpglobal.hxx"
namespace com { namespace sun { namespace star {
namespace sheet {
diff --git a/sc/source/core/data/dpoutput.cxx b/sc/source/core/data/dpoutput.cxx
index 5bbf53a61a5d..78ef4e60b953 100644
--- a/sc/source/core/data/dpoutput.cxx
+++ b/sc/source/core/data/dpoutput.cxx
@@ -53,7 +53,6 @@
#include "scresid.hxx"
#include "unonames.hxx"
#include "sc.hrc"
-#include "dpglobal.hxx"
#include "stringutil.hxx"
#include <com/sun/star/beans/XPropertySet.hpp>
diff --git a/sc/source/core/data/dpsave.cxx b/sc/source/core/data/dpsave.cxx
index b9b1b7164b77..e27ef455c821 100644
--- a/sc/source/core/data/dpsave.cxx
+++ b/sc/source/core/data/dpsave.cxx
@@ -52,7 +52,6 @@
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/util/XCloneable.hpp>
#include "dptabsrc.hxx"
-#include "dpglobal.hxx"
#include <com/sun/star/sheet/DataPilotFieldReferenceType.hpp>
#include <com/sun/star/sheet/DataPilotFieldReferenceItemType.hpp>
diff --git a/sc/source/core/data/dpshttab.cxx b/sc/source/core/data/dpshttab.cxx
index 941e6292990d..b0e2ffe0ed78 100644
--- a/sc/source/core/data/dpshttab.cxx
+++ b/sc/source/core/data/dpshttab.cxx
@@ -40,7 +40,6 @@
#include "dpcachetable.hxx"
#include "dpobject.hxx"
#include "globstr.hrc"
-#include "dpglobal.hxx"
#include "rangenam.hxx"
#include "queryentry.hxx"
diff --git a/sc/source/core/data/global2.cxx b/sc/source/core/data/global2.cxx
index e370f7e2a1fb..47fd6a1709f4 100644
--- a/sc/source/core/data/global2.cxx
+++ b/sc/source/core/data/global2.cxx
@@ -44,7 +44,6 @@
#include "rechead.hxx"
#include "compiler.hxx"
#include "paramisc.hxx"
-#include "dpglobal.hxx"
#include "pivot.hxx"
#include "sc.hrc"
diff --git a/sc/source/ui/inc/fieldwnd.hxx b/sc/source/ui/inc/fieldwnd.hxx
index 49fc2edeba1e..e1bcfdb15918 100644
--- a/sc/source/ui/inc/fieldwnd.hxx
+++ b/sc/source/ui/inc/fieldwnd.hxx
@@ -31,7 +31,7 @@
#include <vector>
#include "address.hxx"
-#include "dpglobal.hxx"
+
#include <vcl/ctrl.hxx>
#include <vcl/fixed.hxx>
#include <vcl/scrbar.hxx>