<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>TOXControlList is used more like a list&lt;&gt; then a vector&lt;&gt;; however, the code was written using mostly [] style accessors. Thus, I had to rewrite a lot of control logic and would like someone else to review it before it gets installed.</div><div><br></div><div>Two methods where looping through the list list.size() times. Looking at the code, I couldn't determine why this had to be done so I changed the code to only process the list once. The methods are:</div><div><br></div><div>IMPL_LINK(SwTokenWindow, TbxFocusHdl, SwTOXEdit*, pEdit)</div><div>IMPL_LINK(SwTokenWindow, TbxFocusBtnHdl, SwTOXButton*, pBtn )</div><div><br></div><div>I played around in writer a little bit but couldn't figure out where this code was being used. If someone could point me in the right direction, I'll do a little more testing.</div><div><br></div><div><br></div></body></html>