1. 31 Tem, 2017 23 kayıt (commit)
  2. 30 Tem, 2017 9 kayıt (commit)
  3. 29 Tem, 2017 6 kayıt (commit)
  4. 28 Tem, 2017 2 kayıt (commit)
    • Michael Stahl's avatar
      tdf#105705 sw: sort bookmarks in ContentIdxStoreImpl::RestoreBkmks() · f2d2093b
      Michael Stahl yazdı
      The problem here is that the SplitNode() calls in SwRTFReader::Read()
      destroy the order of the bookmarks, which causes an assert later
      from the std::lower_bound() when a new mark is created.
      
      The 2 marks that cause the problem are:
      SwPosition (node 5, offset 0)
      SwPosition (node 5, offset 0), SwPosition (node 5, offset 0)
      
      During the 2 SplitNode calls, the second one is corrected by
      ContentIdxStore and remains on 5, but the first one is not and
      becomes:
      SwPosition (node 7, offset 0)
      
      ContentIdxStoreImpl::SaveBkmks() does different things when a
      mark position is exactly on the parameter position: if it has
      only one position, it is ignored, but if it has a second
      position, then both its positions are corrected.
      
      It is not possible to change the sort order so that marks with
      one position are sorted behind marks with 2 positions, because
      while SplitNode() corrects marks "backward", JoinNode() uses
      ContentIdxStore to correct marks "forward"; hence manually sort
      the marks.
      
      Change-Id: If5b35f18bfd47ffe98c0f67e84d380ca801411a3
      f2d2093b
    • Pranav Kant's avatar
      Fix no longer valid comment · 64eac4e0
      Pranav Kant yazdı
      This was changed in d72aad21
      
      Change-Id: Ie93f603c82669ca612fbf9635a62c50e63702a85
      64eac4e0