diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-12 12:08:40 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-12 12:08:40 +0100 |
commit | d824e51d4b83703bbabd68f34c34959919eddda2 (patch) | |
tree | b02988491fca0220032ae8c46e5d1add616e01dc /sw/inc/SwNumberTree.hxx | |
parent | bfbc2268e19fd628e1b74bc6c25c509c2c5d88b7 (diff) |
Visual Studio is picky about constness of iterators
Diffstat (limited to 'sw/inc/SwNumberTree.hxx')
-rw-r--r-- | sw/inc/SwNumberTree.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/SwNumberTree.hxx b/sw/inc/SwNumberTree.hxx index c31404136071..f57103fc4ada 100644 --- a/sw/inc/SwNumberTree.hxx +++ b/sw/inc/SwNumberTree.hxx @@ -448,7 +448,7 @@ protected: than or equal to the referenced child are valid. All children greater than the referenced child are invalid. */ - mutable tSwNumberTreeChildren::iterator mItLastValid; + mutable tSwNumberTreeChildren::const_iterator mItLastValid; #if OSL_DEBUG_LEVEL > 1 /** @@ -515,7 +515,7 @@ protected: - false only set if aItLastValid is preceeding the current last valid node */ - void SetLastValid(tSwNumberTreeChildren::iterator aItLastValid, + void SetLastValid(tSwNumberTreeChildren::const_iterator aItLastValid, bool bValidating = false) const; /** @@ -672,7 +672,7 @@ protected: */ void ClearObsoletePhantoms(); - tSwNumberTreeChildren::iterator GetIterator(const SwNumberTreeNode * pChild) const; + tSwNumberTreeChildren::const_iterator GetIterator(const SwNumberTreeNode * pChild) const; /** Moves all children to a given destination node. |