1. 10 Ock, 2015 9 kayıt (commit)
    • David Ostrovsky's avatar
      Fix user data pointer setting on x86_64 platform on windows · 28deec71
      David Ostrovsky yazdı
      Using 0 as index offset to set user data in window handle,
      is failing on x64 platform with:
      
      ERROR_INVALID_INDEX 1413 (0x585)
      
      To find it out GetLastError() can be used:
      
      SetLastError(0);
      LONG_PTR salFrameBack = SetWindowLongPtrW(hWnd, 0, (LONG_PTR)pFrame);
      DWORD status = GetLastError();
      
      Switching to documented GWLP_USERDATA instead, solved the problem.
      
      Change-Id: I496ed2915e44309eaaaa4b576dca30b0051bdbfd
      Reviewed-on: https://gerrit.libreoffice.org/13807Reviewed-by: 's avatarDavid Ostrovsky <david@ostrovsky.org>
      Tested-by: 's avatarDavid Ostrovsky <david@ostrovsky.org>
      28deec71
    • Miklos Vajna's avatar
      Factor out XFillBmpPosItem::dumpAsXml() from sw · 10d67638
      Miklos Vajna yazdı
      Change-Id: I7e483efd3aa96c34fb02affa73ee5ffb9840209c
      10d67638
    • Miklos Vajna's avatar
      writerfilter: clean up RTFFrame::getSprms() · 4c2de252
      Miklos Vajna yazdı
      Change-Id: I68bacfc41dc7b104a07c44135c0124e3f6464d67
      4c2de252
    • Miklos Vajna's avatar
      RTF filter: change uses of cppu::WeakImplHelper* to use variadic variants · a51d5084
      Miklos Vajna yazdı
      Change-Id: Iea8552570146bd516ca2ee241caa4fcc3047b9f7
      a51d5084
    • Miklos Vajna's avatar
      RtfFilter: indentation fixes · 4b2ed2bd
      Miklos Vajna yazdı
      Change-Id: I584045f8b626ff3a51e868c586581219bf4a758c
      4b2ed2bd
    • Markus Mohrhard's avatar
      add test for fdo#88200 · 29a5692b
      Markus Mohrhard yazdı
      Change-Id: Icb6d782a4a3aa91e05c6466edb3d84c5dfc08f08
      29a5692b
    • Markus Mohrhard's avatar
      only delete cell content for CELLTYPE_NONE, fdo#88200 · 8449e432
      Markus Mohrhard yazdı
      Change-Id: I43463b56cabfea4c9ee2b98445f7fb522221197d
      8449e432
    • Michael Stahl's avatar
      fdo#87845: sw: fix crash in navigator dialog when view is closed · 90d8f4fc
      Michael Stahl yazdı
      Since we have a SwContentTree::Notify() now, might as well clear our
      pointers to recently deceased SwWrtShells when the obituary arrives.
      
      (regression from b5c1f352)
      
      Change-Id: I44282658468f1b758038fbf1c7fc13dfe1b4b8ed
      90d8f4fc
    • Michael Stahl's avatar
      sc: fix use-after-free race in ScCellRangesBase · c6dc3b9f
      Michael Stahl yazdı
      Probably 03cca068 was not sufficient,
      because the ~ScCellRangesBase may access a deleted ScDocument after the
      early return.
      
      READ of size 8 at 0x61b000191cb0 thread T7 (cppu_threadpool)
          #0 0x2b3c8fd7c8b3 in ScDocument::RemoveUnoObject(SfxListener&) sc/source/core/data/documen3.cxx:863:9
          #1 0x2b3c94517824 in ScCellRangesBase::~ScCellRangesBase() sc/source/ui/unoobj/cellsuno.cxx:1467:9
          #2 0x2b3c9459cf98 in ScCellRangeObj::~ScCellRangeObj() sc/source/ui/unoobj/cellsuno.cxx:4786:1
          #3 0x2b3c945eca28 in ScCellObj::~ScCellObj() sc/source/ui/unoobj/cellsuno.cxx:6088:1
          #4 0x2b3c945ecef1 in ScCellObj::~ScCellObj() sc/source/ui/unoobj/cellsuno.cxx:6087:1
          #5 0x2b3c945ed093 in non-virtual thunk to ScCellObj::~ScCellObj() sc/source/ui/unoobj/cellsuno.cxx:6088:1
          #6 0x2b3c56cb35ec in cppu::OWeakObject::release() cppuhelper/source/weak.cxx:205:9
          #7 0x2b3c94523d63 in ScCellRangesBase::release() sc/source/ui/unoobj/cellsuno.cxx:1772:5
          #8 0x2b3c945a77ec in ScCellRangeObj::release() sc/source/ui/unoobj/cellsuno.cxx:4835:5
          #9 0x2b3c945f842c in ScCellObj::release() sc/source/ui/unoobj/cellsuno.cxx:6128:5
          #10 0x2b3c945fb953 in non-virtual thunk to ScCellObj::release() sc/source/ui/unoobj/cellsuno.cxx:6129:1
          #11 0x2b3c7f305faa in bridges::cpp_uno::shared::freeUnoInterfaceProxy(_uno_ExtEnvironment*, void*) bridges/source/cpp_uno/shared/unointerfaceproxy.cxx:42:5
      
      freed by thread T14 (cppu_threadpool) here:
          #0 0x43436b in operator delete(void*) (/data/lo/build_clang/instdir/program/soffice.bin+0x43436b)
          #1 0x2b3c9382462e in ScDocShell::~ScDocShell() sc/source/ui/docshell/docsh.cxx:2722:1
          #2 0x2b3c93824d46 in virtual thunk to ScDocShell::~ScDocShell() sc/source/ui/docshell/docsh.cxx:2755:1
          #3 0x2b3c58e2058a in SvRefBase::ReleaseRef() include/tools/ref.hxx:194:29
          #4 0x2b3c58e12726 in tools::SvRef<SfxObjectShell>::~SvRef() include/tools/ref.hxx:52:24
          #5 0x2b3c5a8a8f99 in IMPL_SfxBaseModel_DataContainer::~IMPL_SfxBaseModel_DataContainer() sfx2/source/doc/sfxbasemodel.cxx:247:5
          #6 0x2b3c5a8a9141 in IMPL_SfxBaseModel_DataContainer::~IMPL_SfxBaseModel_DataContainer() sfx2/source/doc/sfxbasemodel.cxx:246:5
          #7 0x2b3c5a7b1905 in SfxBaseModel::dispose() sfx2/source/doc/sfxbasemodel.cxx:795:5
          #8 0x2b3c5a7c8146 in SfxBaseModel::close(unsigned char) sfx2/source/doc/sfxbasemodel.cxx:1418:5
      
      Change-Id: Ia041dc6596d1b0b6b979a20fa93e1490c657e15b
      c6dc3b9f
  2. 09 Ock, 2015 31 kayıt (commit)