summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-03-28 15:52:57 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-03-28 17:03:56 -0400
commit0106deffedee8345a0fafcae0a86b6f52fad8c45 (patch)
tree664b02eb0ba59a54b59bab910ac119efad49d095 /sc/inc
parent428b0aeceecbccb7558a246eda090ececd28d7c5 (diff)
Remove some headers in cell.hxx.
Change-Id: Ic99967a3ef6a35ca4fc465054e0d4de512cafb43
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/cell.hxx19
-rw-r--r--sc/inc/formulacell.hxx11
2 files changed, 13 insertions, 17 deletions
diff --git a/sc/inc/cell.hxx b/sc/inc/cell.hxx
index 217cfab38647..60a70f57d350 100644
--- a/sc/inc/cell.hxx
+++ b/sc/inc/cell.hxx
@@ -20,23 +20,12 @@
#ifndef SC_CELL_HXX
#define SC_CELL_HXX
-#include <stddef.h>
+#include "scdllapi.h"
+#include "global.hxx"
-#include <set>
-#include <vector>
-#include <boost/shared_ptr.hpp>
-#include <boost/intrusive_ptr.hpp>
+#include "tools/mempool.hxx"
-#include <tools/mempool.hxx>
-#include <svl/listener.hxx>
-#include "global.hxx"
-#include "rangenam.hxx"
-#include "formula/grammar.hxx"
-#include "tokenarray.hxx"
-#include "formularesult.hxx"
-#include <rtl/ustrbuf.hxx>
-#include <unotools/fontcvt.hxx>
-#include "scdllapi.h"
+#include <boost/shared_ptr.hpp>
#define USE_MEMPOOL
diff --git a/sc/inc/formulacell.hxx b/sc/inc/formulacell.hxx
index 8bdcbc04d225..45a708dd1fc1 100644
--- a/sc/inc/formulacell.hxx
+++ b/sc/inc/formulacell.hxx
@@ -21,7 +21,14 @@
#define SC_FORMULACELL_HXX
#include "cell.hxx"
+#include "formularesult.hxx"
+#include "formula/tokenarray.hxx"
+#include "svl/listener.hxx"
+
+#include <set>
+
+class ScTokenArray;
struct ScSimilarFormulaDelta;
struct SC_DLLPUBLIC ScFormulaCellGroup
@@ -276,9 +283,9 @@ public:
void SetResultDouble( double n ) { aResult.SetDouble( n); }
void SetErrCode( sal_uInt16 n );
- inline bool IsHyperLinkCell() const { return pCode && pCode->IsHyperLink(); }
+ bool IsHyperLinkCell() const;
EditTextObject* CreateURLObject();
- void GetURLResult( rtl::OUString& rURL, rtl::OUString& rCellText );
+ void GetURLResult( OUString& rURL, OUString& rCellText );
/** Determines whether or not the result string contains more than one paragraph */
bool IsMultilineResult();