summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-03-09 20:06:45 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-09 20:06:45 -0500
commit3a30ced6bea3567bce2cc79adc6beb28f18b554b (patch)
tree13bb86b7128f976b5e6d85aaed34f810547a233b
parent8d089c8e293a3366d9c0ac67cbfdf2a6deff5d98 (diff)
Some header cleanup.
-rw-r--r--sc/inc/dpcache.hxx14
-rw-r--r--sc/inc/dptabdat.hxx1
-rw-r--r--sc/source/core/data/dpcache.cxx5
-rw-r--r--sc/source/core/data/dpobject.cxx1
4 files changed, 13 insertions, 8 deletions
diff --git a/sc/inc/dpcache.hxx b/sc/inc/dpcache.hxx
index 4c5e1bf4c0f4..a0e6a6d370b3 100644
--- a/sc/inc/dpcache.hxx
+++ b/sc/inc/dpcache.hxx
@@ -31,12 +31,7 @@
#include "global.hxx"
#include "dpnumgroupinfo.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>
+#include "tools/date.hxx"
#include <boost/noncopyable.hpp>
#include <boost/scoped_ptr.hpp>
@@ -44,6 +39,13 @@
#include <mdds/flat_segment_tree.hpp>
#include <vector>
+#include <set>
+
+namespace com { namespace sun { namespace star {
+ namespace sdbc {
+ class XRowSet;
+ }
+}}}
struct ScQueryParam;
class ScDPObject;
diff --git a/sc/inc/dptabdat.hxx b/sc/inc/dptabdat.hxx
index 0fbad22f4a92..3951275712ac 100644
--- a/sc/inc/dptabdat.hxx
+++ b/sc/inc/dptabdat.hxx
@@ -34,6 +34,7 @@
#include "dpcachetable.hxx"
#include "dpcache.hxx"
#include <tools/string.hxx>
+#include "svl/zforlist.hxx"
#include <vector>
#include <set>
diff --git a/sc/source/core/data/dpcache.cxx b/sc/source/core/data/dpcache.cxx
index 09bce925bbd8..0aa8224ceb52 100644
--- a/sc/source/core/data/dpcache.cxx
+++ b/sc/source/core/data/dpcache.cxx
@@ -43,12 +43,13 @@
#include <rtl/math.hxx>
#include <unotools/textsearch.hxx>
#include <unotools/localedatawrapper.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>
#include <com/sun/star/sdbc/XResultSetMetaData.hpp>
#include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
+#include <com/sun/star/sdbc/XRow.hpp>
+#include <com/sun/star/sdbc/XRowSet.hpp>
#include <memory>
diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx
index 8e1eff832cea..3b192b5dae36 100644
--- a/sc/source/core/data/dpobject.cxx
+++ b/sc/source/core/data/dpobject.cxx
@@ -56,6 +56,7 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/sdb/XCompletedExecution.hpp>
+#include <com/sun/star/sdbc/XRowSet.hpp>
#include <com/sun/star/sheet/GeneralFunction.hpp>
#include <com/sun/star/sheet/DataPilotFieldFilter.hpp>
#include <com/sun/star/sheet/DataPilotFieldOrientation.hpp>