On 24.11.2018 10:23, julien2412 wrote:
I noticed these lines:
     737         if(pCurrentTextObj)
     738         {
     739             m_pSpellState->m_aTextObjects.remove(pCurrentTextObj);
     740
m_pSpellState->m_aTextObjects.push_back(pCurrentTextObj);
     741         }
See
https://opengrok.libreoffice.org/xref/core/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx#737
Is it a special trick so some other vars are notified or just a plain error?
Something to guarantee that there is only a single instance of it, and 
it's the top element?
-- 
Best regards,
Mike Kaganski
Context
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.