вт, 16 окт. 2018 г. в 15:34, <scan-admin@coverity.com>:
** CID 1440300:  API usage errors  (INVALIDATE_ITERATOR)
/vcl/source/window/dlgctrl.cxx: 548 in <unnamed>::focusNextInGroup(const
__gnu_cxx::__normal_iterator<VclPtr<RadioButton> *,
std::vector<VclPtr<RadioButton>, std::allocator<VclPtr<RadioButton>>>> &,
std::vector<VclPtr<RadioButton>, std::allocator<VclPtr<RadioButton>>> &)()
________________________________________________________________________________________________________
*** CID 1440300:  API usage errors  (INVALIDATE_ITERATOR)
/vcl/source/window/dlgctrl.cxx: 548 in <unnamed>::focusNextInGroup(const
__gnu_cxx::__normal_iterator<VclPtr<RadioButton> *,
std::vector<VclPtr<RadioButton>, std::allocator<VclPtr<RadioButton>>>> &,
std::vector<VclPtr<RadioButton>, std::allocator<VclPtr<RadioButton>>> &)()
542             {
543                 aI = std::find_if(rGroup.begin(), aStart,
isSuitableDestination);
544                 if (aI == aStart)
545                     return false;
546             }
547
    CID 1440300:  API usage errors  (INVALIDATE_ITERATOR)
    Dereferencing iterator "aI" though it is already past the end of
its container.
548             vcl::Window *pWindow = *aI;
549
550             pWindow->ImplControlFocus( GetFocusFlags::CURSOR |
GetFocusFlags::Forward );
551             return true;
552         }
553
I suppose it's FP since aI ∈ [rGroup.begin(); aStart) ∪
(aStart; rGroup.end()).
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.