diff options
Diffstat (limited to 'include/tools/multisel.hxx')
-rw-r--r-- | include/tools/multisel.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/tools/multisel.hxx b/include/tools/multisel.hxx index 854be3768afb..c26eccf221c6 100644 --- a/include/tools/multisel.hxx +++ b/include/tools/multisel.hxx @@ -26,14 +26,13 @@ #include <vector> #include <set> -typedef ::std::vector< Range* > ImpSelList; - #define SFX_ENDOFSELECTION SAL_MAX_INT32 class SAL_WARN_UNUSED TOOLS_DLLPUBLIC MultiSelection { private: - ImpSelList aSels; // array of SV-selections + std::vector< Range > + aSels; // array of SV-selections Range aTotRange; // total range of indexes sal_Int32 nCurSubSel; // index in aSels of current selected index sal_Int32 nCurIndex; // current selected entry @@ -72,7 +71,7 @@ public: sal_Int32 NextSelected(); sal_Int32 GetRangeCount() const { return aSels.size(); } - const Range& GetRange( sal_Int32 nRange ) const { return *aSels[nRange]; } + const Range& GetRange( sal_Int32 nRange ) const { return aSels[nRange]; } }; class SAL_WARN_UNUSED TOOLS_DLLPUBLIC StringRangeEnumerator |