1. 18 Eyl, 2018 7 kayıt (commit)
    • Noel Grandin's avatar
      loplugin:constfields in vbahelper · cc34b5a4
      Noel Grandin yazdı
      Change-Id: I6121e2b41a5e6116be8027fe5197ce53d8f6797f
      Reviewed-on: https://gerrit.libreoffice.org/60562
      Tested-by: Jenkins
      Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
      cc34b5a4
    • heiko tietze's avatar
      tdf#94369 - Default set of Impress graphic styles · 99102d42
      heiko tietze yazdı
      Several drawing styles added
      
      Change-Id: I3c0efcdc5c0462844f84f5dbb355cfa800a70898
      Reviewed-on: https://gerrit.libreoffice.org/60444
      Tested-by: Jenkins
      Reviewed-by: 's avatarHeiko Tietze <tietze.heiko@gmail.com>
      99102d42
    • Stephan Bergmann's avatar
      Don't prematurely cast to sal_uInt8, to avoid UB · 5be8dbd9
      Stephan Bergmann yazdı
      ...e.g. during UITest_conditional_format
      (https://ci.libreoffice.org//job/lo_ubsan/1039/):
      
      > /sc/source/core/data/colorscale.cxx:524:48: runtime error: value -33.2609 is outside the range of representable values of type 'unsigned char'
      >     #0 0x2b778b7d666d in (anonymous namespace)::GetColorValue(double, double, unsigned char, double, unsigned char) /sc/source/core/data/colorscale.cxx:524:48
      >     #1 0x2b778b7bd096 in (anonymous namespace)::CalcColor(double, double, Color const&, double, Color const&) /sc/source/core/data/colorscale.cxx:530:25
      >     #2 0x2b778b7bcb94 in ScColorScaleFormat::GetColor(ScAddress const&) const /sc/source/core/data/colorscale.cxx:625:20
      >     #3 0x2b778b8906a4 in ScConditionalFormat::GetData(ScRefCellValue&, ScAddress const&) const /sc/source/core/data/conditio.cxx:1830:33
      >     #4 0x2b778cb8968a in (anonymous namespace)::handleConditionalFormat(ScConditionalFormatList&, std::__debug::vector<unsigned int, std::allocator<unsigned int> > const&, CellInfo*, ScStyleSheetPool*, ScAddress const&, bool&, bool&, bool) /sc/source/core/data/fillinfo.cxx:301:34
      >     #5 0x2b778cb74e49 in ScDocument::FillInfo(ScTableInfo&, short, int, short, int, short, double, double, bool, bool, ScMarkData const*) /sc/source/core/data/fillinfo.cxx:581:54
      >     #6 0x2b77941656c0 in ScPrintFunc::DrawToDev(ScDocument*, OutputDevice*, double, tools::Rectangle const&, ScViewData*, bool) /sc/source/ui/view/printfun.cxx:539:5
      >     #7 0x2b77914e965b in ScDocShell::Draw(OutputDevice*, JobSetup const&, unsigned short) /sc/source/ui/docshell/docsh4.cxx:2032:9
      >     #8 0x2b76f7004296 in SfxObjectShell::DoDraw_Impl(OutputDevice*, Point const&, Fraction const&, Fraction const&, JobSetup const&, unsigned short) /sfx2/source/doc/objembed.cxx:229:5
      >     #9 0x2b76f7001b81 in SfxObjectShell::DoDraw(OutputDevice*, Point const&, Size const&, JobSetup const&, unsigned short) /sfx2/source/doc/objembed.cxx:176:9
      >     #10 0x2b76f6fd8fe3 in SfxObjectShell::CreatePreviewMetaFile_Impl(bool) const /sfx2/source/doc/objcont.cxx:168:5
      >     #11 0x2b76f6fd618b in SfxObjectShell::GetPreviewMetaFile(bool) const /sfx2/source/doc/objcont.cxx:115:12
      >     #12 0x2b76f55728ab in SfxPickListImpl::AddDocumentToPickList(SfxObjectShell*) /sfx2/source/appl/sfxpicklist.cxx:134:54
      >     #13 0x2b76f5576d93 in SfxPickListImpl::Notify(SfxBroadcaster&, SfxHint const&) /sfx2/source/appl/sfxpicklist.cxx:222:17
      >     #14 0x2b76fc444921 in SfxBroadcaster::Broadcast(SfxHint const&) /svl/source/notify/SfxBroadcaster.cxx:49:13
      >     #15 0x2b76f4eb062c in SfxEventAsyncer_Impl::IdleHdl(Timer*) /sfx2/source/appl/appcfg.cxx:119:5
      >     #16 0x2b76f4eaf705 in SfxEventAsyncer_Impl::LinkStubIdleHdl(void*, Timer*) /sfx2/source/appl/appcfg.cxx:114:1
      >     #17 0x2b7724e683b7 in Link<Timer*, void>::Call(Timer*) const /include/tools/link.hxx:84:45
      >     #18 0x2b7724e67599 in Timer::Invoke() /vcl/source/app/timer.cxx:77:5
      >     #19 0x2b7724c40779 in Scheduler::ProcessTaskScheduling() /vcl/source/app/scheduler.cxx:451:13
      >     #20 0x2b7724c3b168 in Scheduler::CallbackTaskScheduling() /vcl/source/app/scheduler.cxx:270:5
      >     #21 0x2b7725b02fac in SalTimer::CallCallback() /vcl/inc/saltimer.hxx:55:13
      >     #22 0x2b7725af43a5 in SvpSalInstance::CheckTimeout(bool) /vcl/headless/svpinst.cxx:206:21
      >     #23 0x2b7725afbc52 in SvpSalInstance::DoYield(bool, bool) /vcl/headless/svpinst.cxx:418:14
      >     #24 0x2b7724dafc3b in ImplYield(bool, bool) /vcl/source/app/svapp.cxx:471:28
      >     #25 0x2b7724d8a3ff in Application::Yield() /vcl/source/app/svapp.cxx:536:5
      [...]
      
      Change-Id: I1650c2236a183c7b6349be6cb444d350e85ea8b6
      Reviewed-on: https://gerrit.libreoffice.org/60654
      Tested-by: Jenkins
      Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
      5be8dbd9
    • Arkadiy Illarionov's avatar
      Replace manual copying with comphelper::containerToSequence · 36f2df8a
      Arkadiy Illarionov yazdı
      30530afa follow-up
      
      Change-Id: I74082858c938087c5698ef0948a72b9a61b9127c
      Reviewed-on: https://gerrit.libreoffice.org/60593Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
      Tested-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
      36f2df8a
    • László Németh's avatar
      tdf#118691 DOCX import: fix table loss caused by <w:cr> · f63a60f5
      László Németh yazdı
      According to the OOXML standard, <w:cr> (carriage return –
      Unicode character 000D) is equivalent to a break
      with null type and clear attributes, so we handle it as
      a <w:br/>, instead of endOfParagraph, fixing
      losing table paragraphs and tables containing <w:cr/>.
      
      Note: It seems, MSO cannot handle carriage return characters
      in table cells correctly. It shows squares (unknown
      characters) without line break there. Copying this text to
      a non-table paragraph in MSO, we get the correct layout with
      line breaks. Copying this text with carriage return characters
      back to a table cell, we get squares again. With this LO fix,
      it will be possible to fix the bad tables edited by MS Word
      by using LO, because LibreOffice import/export converts all
      <w:cr>s to <w:br>s (as before, but now without destroying
      the structure of the tables).
      
      Change-Id: Iee42f71e9a00531353582e7127c2c212ea0890d0
      Reviewed-on: https://gerrit.libreoffice.org/60585
      Tested-by: Jenkins
      Reviewed-by: 's avatarLászló Németh <nemeth@numbertext.org>
      f63a60f5
    • Stephan Bergmann's avatar
      CppunitTest_sd_dialogs_test needs sd::ViewShell::GetFrameWeld · 5571d3c8
      Stephan Bergmann yazdı
      ...since 88582ebe "weld SdCharDlg"
      
      Change-Id: Id6069271806e1a19688debf045169890e557cc66
      Reviewed-on: https://gerrit.libreoffice.org/60645
      Tested-by: Jenkins
      Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
      5571d3c8
    • Stephan Bergmann's avatar
      -Werror=deprecated-copy (GCC trunk towards GCC 9) · 2f6bd679
      Stephan Bergmann yazdı
      ...after 27463197 "clang-tidy bugprone-copy-
      constructor-init" made e.g. the SfxStyleSheetBase copy ctor (in
      svl/source/items/style.cxx) use the copy instead of the default ctor for its
      OWeakTypeObject sub-object
      
      Change-Id: I7deec4ea2f968587ba1dc03e33206cecfa3f8df5
      Reviewed-on: https://gerrit.libreoffice.org/60644
      Tested-by: Jenkins
      Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
      2f6bd679
  2. 17 Eyl, 2018 33 kayıt (commit)