diff options
-rw-r--r-- | sw/inc/calbck.hxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx index 4bffc7c7af8e..e4b93c8fa899 100644 --- a/sw/inc/calbck.hxx +++ b/sw/inc/calbck.hxx @@ -345,13 +345,7 @@ template< typename TSource > class SwIterator<SwClient, TSource> public: SwIterator( const TSource& rSrc ) : aClientIter(rSrc) {} SwClient* First() - { - aClientIter.GoStart(); - if(!aClientIter.m_pPosition) - return nullptr; - aClientIter.m_pCurrent = nullptr; - return Next(); - } + { return aClientIter.GoStart(); } SwClient* Last() { if(!aClientIter.m_pPosition) |