1. 06 Şub, 2015 23 kayıt (commit)
  2. 05 Şub, 2015 17 kayıt (commit)
    • Michael Stahl's avatar
      try to avoid overflows in some compare functions · 004304eb
      Michael Stahl yazdı
      Change-Id: I6144d7d6527dc401b7f1b577d1a227361e39e7bb
      004304eb
    • Michael Stahl's avatar
      sal: add some argument checking assertions for strings and buffers · b0ef5cf2
      Michael Stahl yazdı
      Also remove some now redundant asserts from headers.
      
      Some of these actually trigger on unit tests so are commented out.
      
      Change-Id: I07c6b2b2bd175361691a141f22eec584e3ab8f0b
      b0ef5cf2
    • Julien Nabet's avatar
      Resolves tdf#89129: crash when defining a specific relationship · 30f6ec7c
      Julien Nabet yazdı
      Returns early if comparison matches so you can reduce iterator scope and avoid last test for logging.
      
      /usr/include/c++/4.9/debug/safe_iterator.h:168:error: attempt to copy-
          construct an iterator from a singular iterator.
      
      Objects involved in the operation:
      iterator "this" @ 0x0x7fffffff3a30 {
      type = N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPPvNSt9__cxx19986vectorIS3_SaIS3_EEEEENSt7__debug6vectorIS3_S7_EEEE (mutable iterator);
        state = past-the-end;
        references sequence with type `NSt7__debug6vectorIPvSaIS1_EEE' @ 0x0x7fffffff4088
      }
      iterator "other" @ 0x0x7fffffff3a90 {
      type = N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPPvNSt9__cxx19986vectorIS3_SaIS3_EEEEENSt7__debug6vectorIS3_S7_EEEE (mutable iterator);
        state = singular;
        references sequence with type `NSt7__debug6vectorIPvSaIS1_EEE' @ 0x0x7fffffff4088
      }
      
      4  0x00002aaab193d6e9 in boost::void_ptr_iterator<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<void**, std::__cxx1998::vector<void*, std::allocator<void*> > >, std::__debug::vector<void*, std::allocator<void*> > >, ImplBtnDlgItem>::base (this=0x7fffffff3a90)
          at /home/julien/compile-libreoffice/libreoffice/workdir/UnpackedTarball/boost/boost/ptr_container/detail/void_ptr_iterator.hpp:121
      5  0x00002aaab193d269 in boost::operator==<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<void**, std::__cxx1998::vector<void*, std::allocator<void*> > >, std::__debug::vector<void*, std::allocator<void*> > >, ImplBtnDlgItem, __gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<void**, std::__cxx1998::vector<void*, std::allocator<void*> > >, std::__debug::vector<void*, std::allocator<void*> > >, ImplBtnDlgItem> (l=..., r=...)
          at /home/julien/compile-libreoffice/libreoffice/workdir/UnpackedTarball/boost/boost/ptr_container/detail/void_ptr_iterator.hpp:179
      6  0x00002aaab193c2ca in ButtonDialog::RemoveButton (this=0x7fffffff3d90, nId=1) at /home/julien/compile-libreoffice/libreoffice/vcl/source/window/btndlg.cxx:340
      7  0x00002aaad8ed109b in dbaui::ORelationTableView::lookForUiActivities (this=0x317ef30)
          at /home/julien/compile-libreoffice/libreoffice/dbaccess/source/ui/relationdesign/RelationTableView.cxx:342
      
      Change-Id: Ied45c222c94d2a362075a3b1550b6092aad77c62
      Reviewed-on: https://gerrit.libreoffice.org/14325Reviewed-by: 's avatarLionel Elie Mamane <lionel@mamane.lu>
      Tested-by: 's avatarLionel Elie Mamane <lionel@mamane.lu>
      30f6ec7c
    • Caolán McNamara's avatar
      convert all remaining BOOST_STATIC_ASSERT to static_assert · 4d6a509e
      Caolán McNamara yazdı
      and we can include a few less headers
      
      Change-Id: Id742849ff4c1c37a2b861aa3d6ab823f00ea87f8
      4d6a509e
    • Katarina Behrens's avatar
      Related tdf#87356: import data bar [non-]gradient from OOXML · 076b098d
      Katarina Behrens yazdı
      Strange, I somehow believed this already works not only for ODF
      but also for OOXML. Wasn't the case
      
      Change-Id: I5e06fd7bccbe2e59b13f9f56188374193b10a009
      076b098d
    • Lionel Elie Mamane's avatar
      Revert "ODF export: don't write invalid "group-name" attribute" · 71291761
      Lionel Elie Mamane yazdı
      This reverts commit 2d4b87f0.
      
      The reverted commit leads to the following regressions:
      
       - Basic dialogs
         (which were not targeted, but impacted, by the reverted commit)
         with several RadioButtons sharing a group-name (as they will have a
         tendency to do) cannot be loaded anymore, since the implementation
         assumes (and checks) that names are unique.
      
       - Even in forms, where a RadioButton had both a form:name and a
         form:group-name attribute, the form:name attribute wins and thus
         RadioButtons that has the same group-name but different form:name
         (as they will tend to do) will not anymore be mutually exclusive,
         which defeats their point.
      
      Additionally, since it did not change the UI parts (property editor
      window), the user was still presented with two different editable
      properties "Name" and "Group Name", where "Group Name" was empty...
      
      Change-Id: I1bff532a5a7336cf2eb0579bcd4e2d16be6480fe
      71291761
    • Lionel Elie Mamane's avatar
      Revert "xmloff: dead code gives MSVC fits" · ebf98688
      Lionel Elie Mamane yazdı
      This reverts commit 29e1b2f1
      in preparation for reverting 2d4b87f0
      ebf98688
    • Lionel Elie Mamane's avatar
      constify · f1ffba89
      Lionel Elie Mamane yazdı
      Change-Id: Id319c001b399a3105d6c9f87a58168f956ad46c3
      f1ffba89
    • Lionel Elie Mamane's avatar
      proper indentation · e57febdb
      Lionel Elie Mamane yazdı
      Change-Id: Ifc7577f46625562183ed3ee2273f28b9dcfc13df
      e57febdb
    • Lionel Elie Mamane's avatar
      destructors are not allowed to throw · 87934ed7
      Lionel Elie Mamane yazdı
      so move potentially throwing call to a manually called finish()
      additionally don't make it leak something that is not a RuntimeException,
      the caller does not expect it.
      
      Change-Id: I8b19585ae197f5ac8625dc85d4c4860a1c11b262
      87934ed7
    • Lionel Elie Mamane's avatar
      tdf#89070 Table filter dialog: properly initialise OTableTreeListBox · f40b11f9
      Lionel Elie Mamane yazdı
      regression from .ui conversion:
      
      commit 5c72a213
      Author: Caolán McNamara <caolanm@redhat.com>
      Date:   Tue Jan 21 14:41:16 2014 +0000
      
          convert table filter page to .ui
      
          Change-Id: I7bfb7698e2a5303b492766fba564c7b9033bcc52
      
      Change-Id: Ic7d41d64d4c15eabf7b7f83a17482c473154434a
      f40b11f9
    • Caolán McNamara's avatar
      BOOST_STATIC_ASSERT->static_assert and drop some includes · 37ebeabd
      Caolán McNamara yazdı
      Change-Id: I74955a05bf13f7b33650d11c5cf4b1388382da2a
      37ebeabd
    • Caolán McNamara's avatar
      push this windows build along a bit further · 384a8a49
      Caolán McNamara yazdı
      Change-Id: Id22ba872865bd8136c65c73152097805e696a695
      384a8a49
    • Julien Nabet's avatar
      cppcheck: Returning/dereferencing 'pEntry' after it is deallocated / released · c20a2234
      Julien Nabet yazdı
      Change-Id: If96b66d5bbfcf4426bb602909599cd36e1f3c994
      c20a2234
    • Eike Rathke's avatar
      yet yet yet yet yet yet yet another 'Locale' ambiguous symbol · 101ea2fe
      Eike Rathke yazdı
      Change-Id: Ic6b813b3f826300d3b59b7105690ab611bb4bd44
      101ea2fe
    • Eike Rathke's avatar
      yet yet yet yet yet yet another Windows build 'Locale' ambiguous symbol · 9abd38ec
      Eike Rathke yazdı
      Change-Id: I910c37a19c1f627ec0c92dcb044db92e9e24c25e
      9abd38ec
    • Eike Rathke's avatar
      yet yet yet yet yet another Windows build 'Locale' ambiguous symbol · 4dc659e2
      Eike Rathke yazdı
      Change-Id: I99281928665f6738a7f8d5fd04104445c06b17e8
      4dc659e2