diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-05-12 16:26:26 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-05-13 22:54:10 -0400 |
commit | f55cc330dec0dec60c755e2ce28a840c7fca1956 (patch) | |
tree | 33c1d0a7870858072e1a7afff4b20d2d59500220 /sc/inc/rangeutl.hxx | |
parent | fb7bd1f00b269501e98cdb60ab342cc384a233e4 (diff) |
Fixed the fallout of the changes in ScDBCollection.
Diffstat (limited to 'sc/inc/rangeutl.hxx')
-rw-r--r-- | sc/inc/rangeutl.hxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sc/inc/rangeutl.hxx b/sc/inc/rangeutl.hxx index 96382e2d528c..03e9890eff3d 100644 --- a/sc/inc/rangeutl.hxx +++ b/sc/inc/rangeutl.hxx @@ -33,6 +33,7 @@ #include "address.hxx" #include "rangenam.hxx" +#include "dbcolect.hxx" #include "scdllapi.h" #include <com/sun/star/table/CellAddress.hpp> @@ -305,18 +306,19 @@ class SC_DLLPUBLIC ScAreaNameIterator { private: ScRangeName* pRangeName; + ScDBCollection* pDBCollection; ScRangeName::const_iterator maRNPos; ScRangeName::const_iterator maRNEnd; - ScDBCollection* pDBCollection; + ScDBCollection::NamedDBs::const_iterator maDBPos; + ScDBCollection::NamedDBs::const_iterator maDBEnd; bool bFirstPass; - size_t nPos; public: ScAreaNameIterator( ScDocument* pDoc ); ~ScAreaNameIterator() {} - sal_Bool Next( String& rName, ScRange& rRange ); - sal_Bool WasDBName() const { return !bFirstPass; } + bool Next( String& rName, ScRange& rRange ); + bool WasDBName() const { return !bFirstPass; } }; |