summaryrefslogtreecommitdiff
path: root/sc/inc/dociter.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-09-12 21:15:10 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-09-12 21:18:02 -0400
commitc86b1a5c352df806166fc674fb3b85d334e4cb55 (patch)
tree56c724cfd23d18e0132d2b8fc2e9230548e883db /sc/inc/dociter.hxx
parent14a25b343d98d7a4ebf9b6c03b09d1882c71d0b1 (diff)
Change so that we won't have to include mtvelements.hxx in cellvalue.hxx.
Because mtvelements.hxx is very slow to parse by the compiler, and cellvalue.hxx is included everywhere. Hopefully this will speed up the compilation time of sc... Change-Id: Ic9a9b8483c8325e4a91021f071f2391db8b57806
Diffstat (limited to 'sc/inc/dociter.hxx')
-rw-r--r--sc/inc/dociter.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx
index 8a57ef3bd3e9..3a83f0a38660 100644
--- a/sc/inc/dociter.hxx
+++ b/sc/inc/dociter.hxx
@@ -49,7 +49,7 @@ class ScFormulaCell;
class ScValueIterator // walk through all values in an area
{
- typedef std::pair<sc::CellStoreType::const_iterator, size_t> PositionType;
+ typedef sc::CellStoreType::const_position_type PositionType;
ScDocument* pDoc;
const ScAttrArray* pAttrArray;
@@ -253,7 +253,7 @@ class ScQueryCellIterator // walk through all non-empty cells in an ar
nTestEqualConditionFulfilled = nTestEqualConditionEnabled | nTestEqualConditionMatched
};
- typedef std::pair<sc::CellStoreType::const_iterator, size_t> PositionType;
+ typedef sc::CellStoreType::const_position_type PositionType;
PositionType maCurPos;
boost::scoped_ptr<ScQueryParam> mpParam;