From 3a46d91f8de420f38dd763028e91229c846dff52 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Sat, 27 Jul 2013 00:43:34 +0200 Subject: SfxStyleSheetBasePool: remove internal iterator The clients always start with First() anyway so they might as well use external iterators, which makes calling First() in certain situations just so the internal iterator is invalidated unnecessary. Change-Id: I0948576c20410136448e8b85311c21a257469bc7 --- sw/inc/docstyle.hxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sw/inc/docstyle.hxx') diff --git a/sw/inc/docstyle.hxx b/sw/inc/docstyle.hxx index 900bbbc596ec..f422d97baabd 100644 --- a/sw/inc/docstyle.hxx +++ b/sw/inc/docstyle.hxx @@ -175,8 +175,6 @@ public: virtual SfxStyleSheetBase* Find(const OUString& rStr); virtual void Notify( SfxBroadcaster&, const SfxHint& ); - - void InvalidateIterator(); }; @@ -220,8 +218,6 @@ public: virtual void SAL_CALL acquire( ) throw (); virtual void SAL_CALL release( ) throw (); - void InvalidateIterator(); - protected: virtual ~SwDocStyleSheetPool(); -- cgit