Kaydet (Commit) 6c584932 authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

simplify specialized SwIterator::First()

Change-Id: I6aac0645939cea0ef8fbfc2796f94cffc56d224e
üst a7a0d8f7
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment