diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-09-10 21:24:49 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-19 13:52:11 +0100 |
commit | b249776e52846c74c44ebe9e9b00364f3acda97f (patch) | |
tree | bedc5a46bfd1aa0b112a18943cb70f55a9243b4d /sw | |
parent | 8d0249a128e0823a2ab30f1c7f67f6b1326cffbb (diff) |
Really loop over ExtInput ring
Change-Id: I13e4ec0daa40f60a563b1fd39094b86bf3709c47
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/extinput.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/doc/extinput.cxx b/sw/source/core/doc/extinput.cxx index f997ba7dfdb9..92075ab48979 100644 --- a/sw/source/core/doc/extinput.cxx +++ b/sw/source/core/doc/extinput.cxx @@ -283,7 +283,8 @@ SwExtTextInput* SwDoc::GetExtTextInput( const SwNode& rNd, pRet = pTmp; break; } - } while( mpExtInputRing != (pTmp = (SwExtTextInput*)mpExtInputRing ) ); + pTmp = static_cast<SwExtTextInput*>(pTmp->GetNext()); + } while ( pTmp!=mpExtInputRing ); } return pRet; } |