From a1c081a7c213a56321b0b60651a1dbd63bcaec80 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Sat, 27 Jul 2013 16:54:50 +0200 Subject: Revert "SfxStyleSheetBasePool: remove internal iterator" This reverts commit 3a46d91f8de420f38dd763028e91229c846dff52. This breaks the Stylist, not sure why (does it depend on something setting the search flags before?) so revert for now. Change-Id: Ia50feeebae8bf852c827e4f270e81e9f08d2b1ac --- include/svl/style.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/svl/style.hxx') diff --git a/include/svl/style.hxx b/include/svl/style.hxx index 464a9c86f673..9d4b3be2596e 100644 --- a/include/svl/style.hxx +++ b/include/svl/style.hxx @@ -204,6 +204,8 @@ friend class SfxStyleSheetBase; SfxStyleSheetBasePool_Impl *pImp; protected: + SfxStyleSheetIterator& GetIterator_Impl(); + OUString aAppName; SfxItemPool& rPool; SfxStyles aStyles; @@ -227,6 +229,8 @@ public: const SfxItemPool& GetPool() const; virtual SfxStyleSheetIteratorPtr CreateIterator(SfxStyleFamily, sal_uInt16 nMask); + virtual sal_uInt16 Count(); + virtual SfxStyleSheetBase* operator[](sal_uInt16 nIdx); virtual SfxStyleSheetBase& Make(const OUString&, SfxStyleFamily eFam, @@ -244,6 +248,8 @@ public: SfxStyleSheetBasePool& operator+=( const SfxStyleSheetBasePool& ); const SfxStyles& GetStyles(); + virtual SfxStyleSheetBase* First(); + virtual SfxStyleSheetBase* Next(); virtual SfxStyleSheetBase* Find( const OUString&, SfxStyleFamily eFam, sal_uInt16 n=SFXSTYLEBIT_ALL ); virtual bool SetParent(SfxStyleFamily eFam, -- cgit