summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2023-10-16Resolves: tdf#157797 Let GetCellValue() propagate previous error, if anyEike Rathke
Change-Id: I27ee8d19e4f45bef81e133c82ac17b825790208f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158064 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2023-10-16Execute notifyViewRenderState on view constructorParis Oplopoios
notifyViewRenderState should be executed as soon as a view is created in order to give a view id to the client Change-Id: I31b7e61599f546bd5ec134775e6235633a6526f3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154681 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Paris Oplopoios <parisoplop@gmail.com> (cherry picked from commit 6c6bb1d434d5c0be2f71470483f3ce56f5210e01) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154709 Tested-by: Jenkins Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-10-16Resolves: tdf#157786 Use GetFloor32() for date days instead of GetInt32()Eike Rathke
Change-Id: I1d6242b516f4b23473151bb99cbdf1a057a15746 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158029 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2023-10-16tdf#148539 sc notebookbar: add Sparklines to MenuDataJustin Luth
Sparklines do not have an icon yet, so I didn't attempt to add any (visible) entries to the notebookbar itself. Change-Id: I144ff76306aef0ec184794878a449e0cefd09280 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157978 Tested-by: Justin Luth <jluth@mail.com> Reviewed-by: Justin Luth <jluth@mail.com>
2023-10-16tdf#115485 sc notebookbar: add MenuInsert-RandomNumber...Justin Luth
Change-Id: I916fd3cb1b39d2d53c77907381dd7d42d3327d63 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157986 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
2023-10-16Factor out an occurrence of sumNeumaierNormal()Eike Rathke
Change-Id: I693f78be36005cd1fc387a2878112de60bd24905 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158012 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2023-10-16Revert "Make sure views get new themes on .uno:ChangeTheme"Paris Oplopoios
Seems to cause more issues than it solves, reverting for now This reverts commit 884fd220d0025a92510d3ff4710c8c517c8f271e. Change-Id: If32a9d3bd922afe5611e5258987eec9ec685bc8e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157951 Tested-by: Jenkins Reviewed-by: Paris Oplopoios <parisoplop@gmail.com>
2023-10-15Repurpose loplugin:stringstatic for O[U]String vars that can be constexprStephan Bergmann
...now that warning about O[U]String vars that could be O[U]StringLiteral is no longer useful Change-Id: I389e72038171f28482049b41f6224257dd11f452 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157992 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-15Follow-up: tdf#156985 Use SC_USE_SSE2 to determine which KahanSum::add() to useEike Rathke
Also, the CPU identifier for MSVC WIN32 is not X86 but INTEL, so actually use SSE2 there as well, which was the cause of things failing on that platform. For other platforms than Intel x86/x86_64 SSE2 is not defined, so exclude the new unit test based on that and live on with the old slightly off value. Experiments did not yield any solution that works, even using plain sumNeumaierNormal() (similar to SSE2) in the executeUnrolled() case instead of KahanSum with its m_fMem did not help, nor trying to add the internal values in different orders or with long double, au contraire the error was slightly larger. Change-Id: Ica0b2963f76c01f248799e9a809ef06eb099e722 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156899 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2023-10-15tdf#150466 notebookbar: hide PrintDefault on compact and standardizeJustin Luth
As in the classic toolbars, do not promote direct printing since it easily leads to mistakes and wasted paper. Additionally, the printer settings is really never needed, so it should not have a prominent place, especially on COMPACT. At the same time, I standardized the File menu: - always include print (especially useful for accessibility) - always use the same order - consistently provide access to print/web preview Change-Id: I9ffbba179206274b5ed1788e496b7c5aa0503726 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157984 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
2023-10-14don't bother checking existing mode before seting new modeCaolán McNamara
Change-Id: I2ff08283d7a3defdc7a7df5c2f86fca4cf3508ef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157907 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-10-14Fix typoAndrea Gelmini
Change-Id: I1554a3fbdf563a6fb9710ade03eccd162ae86643 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157976 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-10-14tdf#141908: CppUnittests: replace usage of sal_Int32 with colorsJoel Puronaho
Change-Id: I2835feb65d65dbfd7f0c23ac1e99b66d803c05ff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153646 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2023-10-13tdf#141457 sc notebookbar_compact: fix empty Statistics menuJustin Luth
Change-Id: If873da6e5d877a07bc4260fa5832cc29d73f4af5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157946 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
2023-10-13tdf#150262 Split Autosum button: refactor to deduplicateMatt K
This change refactors the recent checkin that split the autosum button into a default clickable button. We just use the existing function "AutoSum" in place of the copied code. Change-Id: I9a0e6fce047165c927746f0f87df4de905d2f8ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155058 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-10-13sc: ui: fix cell bidi layout stringsHenry Castro
The default constructor OutputDevice can set the layout text to "vcl::text::ComplexTextLayoutFlags::BiDiRtl" for all strings if the UI locale is a RTL locale, however each cell string can be mixed LTR and RTL. Set the defaults to auto detect the correct text layout mode. Signed-off-by: Henry Castro <hcastro@collabora.com> Change-Id: I0c451e8014fd13490db4213adca3d83ea4572819 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157880 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-10-13cool#6893 disable undo for editengine when rendering cell textNoel Grandin
We don't need undo functionality when performing pure cell text rendering, shaves some CPU time off Change-Id: Icfc688122af7e77c874dd984555b2b0951e9e134 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157900 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-10-12Make NC_ constexpr-friendlyStephan Bergmann
...by moving the char8_t -> char reinterpret_cast out of any potential constexpr paths into a new TranslateId::getId. And demonstrate constexpr'ability by making the aCategories var in OApplicationIconControl::Fill (dbaccess/source/ui/app/AppIconControl.cxx) constexpr. (And there might be more such cases that could now be made constexpr.) Change-Id: I0b4e3292faf8f6b901f9b9e934e1aa6bf0f583ff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157862 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-12loplugin:unusedmethodsNoel Grandin
Change-Id: I27782fb4b912d8b0d5f19cbe296c2a3b98b2bfd7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157818 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-10-12no need for these enums in BroadcasterStateNoel Grandin
the std::variant already knows which alternative it stores Change-Id: I3838d83959cf6a97876aba3543179338ba088ccc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157819 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-10-12tdf#138440 sc notebookbar: add right-to-left to home tabJustin Luth
The UI is pretty packed here, so for non-RTL languages having it on the toolbar would be distracting. So I decided to make it hidden - meaning a RTL user would need to customize the notebookbar to reveal it. However, adding it unconditionally to the dropdown menu is fine, so at least it is readily available there. It already existed in the paragraph menu of groupedcompact. Change-Id: Id4dc2de9c0922428fc44501c4eb2d7e3e51dea82 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157851 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
2023-10-11Drop o3tl::span, can use C++20 std::span directly nowStephan Bergmann
Change-Id: Ic21ff7bf48f07f7277979d52e99d2c5c268de83f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157825 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-11tdf#132293 remove unused imports from uitestAnkit_Jaipuriar
Change-Id: I3c76c6f1e3561aaf0b4bb719a89feebecc65027a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157482 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2023-10-11don't use %PRODUCTNAME in accessible-descriptionCaolán McNamara
similar reason as commit 3cca2c605313576187878a195fb612eb25bd6150 Author: Caolán McNamara <caolanm@redhat.com> Date: Sat Jun 4 21:10:16 2022 +0100 restore %PRODUCTNAME to accessible descriptions that need them reading all a11y desc at load time in order to possibly substitute %PRODUCTNAME and re-write a11y desc at runtime explodes gtk's a11y, so we limit it to where we have to do it. Change-Id: I283934bc81c41ebba2f6f189c1209209f8331c03 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157795 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-10-11add truncate-multiline for consistency with everything elseCaolán McNamara
Change-Id: I4b1e61aeb17f2b3bd8e298bb1613623d4ba1a0f3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157793 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-10-11lok: sc: fire "hyperlink clicked" eventHenry Castro
The client side has changed the behaviour when the HYPERLINK formula is clicked, usually in desktop is fired with Ctrl + Mouse Click, now it is fired with Mouse Click. Signed-off-by: Henry Castro <hcastro@collabora.com> Change-Id: I08d41170714588d9ee84475991757d8be9b01f07 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155270 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155352 (cherry picked from commit 5279aff5588941e1e131a703059e8148713d24ef) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157726 Tested-by: Jenkins
2023-10-11cool#7330 calc perf: PaintTile's FillInfoNoel Grandin
try to spend a little less time here, when searching twice, we can use the index result of the first search as a hint Change-Id: I7fc0c2fb4e5e338d2c3f8a3d642043a1b301e7b9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157749 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-10-11tdf#156815 Reset solver settings when a sheet is renamedRafael Lima
When a sheet is renamed, the SolverSettings object needs to be reset so that the updated references of the named ranges are reloaded the next time the Solver dialog is opened. Change-Id: I8d501bb5b52f6a69bc899a62863893744d80dc69 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156872 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2023-10-10tdf#154142 null-deref in SfxUndoManager::SetMaxUndoActionCountCaolán McNamara
Change-Id: I09cfbccb5f2ffa009a3e40157c9373b7e10864dc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157764 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-10-10Make some methods const, and avoid some const_castsMike Kaganski
Change-Id: I4964abd34836438e3d24ee7c3c3b324f356477b4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157746 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-10-09tdf#100034 tdf#157318 XLSX export: fix lost named ranges associated to sheetsRafael Lima
The original fix for tdf#100034 (see commit [1]) consisted of explicitly not exporting to XLSX named ranges that are not built-in. This has a side-effect that user-defined named ranges associated with sheets are also not exported to XLSX. Hence, if the user creates a named range linked to a sheet and saves the file to XLSX, the named range is not exported (which is the issue reported in tdf#157318). This patch implements a new fix for tdf#100034, reverting the previous fix. When the Print Ranges are cleared by the user, the associated named ranges are also cleared, thus fixing the original problem. This new fix has the advantage that user-defined named ranges linked to sheets are again exported to XLSX files. Regression from commit 639519dc2bad058197b6ff73c9e3df622f979f97 "tdf#100034: Fix to persistently remove print-range". References: [1] 639519dc2bad058197b6ff73c9e3df622f979f97 Change-Id: Ic3b84365a6086e96f60b222cd6337991ac90f483 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157455 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
2023-10-08make testCondFormatFormulaListenerXLSX reliableCaolán McNamara
Change-Id: Ibd8c9b7831af73967229c578b9dcf7217d800610 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157686 Tested-by: Jenkins Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-10-07loplugin:ostrStephan Bergmann
Change-Id: I6c5aefbf36d032751bc2b5a84995182adb2c83e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157682 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-10-07tdf#157568 After deleting the content of a cell by pressing the delete..Noel Grandin
.. key, Orca still speaks the content. this reverts commit f22cb3dfab413a2917cd810b8e1b8f644a016327 Author: Noel Grandin <noelgrandin@gmail.com> Date: Mon Jun 12 20:02:19 2023 +0200 tdf#155376 weakly cache ScAccessibleCell which was a nice idea, but means that we would need to have some way of updating the ScAccessibleCell when the associated cell data changes. Which is likely to be complicated. So return to creating new ScAccessibleCell objects all the time, but fix them to not leak. Change-Id: Ie17ee5c950c9809d4c7281f93761584f75256121 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157673 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-10-07fix ScTabViewShell::HasAccessibilityObjectsNoel Grandin
been this way since it was introduced in commit 5cd1b592821d6870376f44aedfb527db07fd07d0 Author: Sascha Ballach <sab@openoffice.org> Date: Thu Feb 14 15:54:20 2002 +0000 #95584#; call Broadcaster for Accessibility objects Change-Id: I1a79807cbb529c72a46e0e77e2999ae3f5a143ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157664 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-10-07Revert "tdf#149598 - Remember window state of the format cell dialog"Andreas Heinisch
This reverts commit c1893df42567c260ca5fb069038d1a55616e7b7f. Reason for revert: causes a regression under Linux (Bug 156710) https://bugs.documentfoundation.org/show_bug.cgi?id=156710 Change-Id: I72a570ecba4cf7fe594a0bb50a121ab2e99cc613 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157624 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2023-10-07loplugin:ostr: automatic rewriteStephan Bergmann
Change-Id: I2d09b2b83e1b50493ec88d0b2c323a83c0c86395 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157647 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins
2023-10-06bHiddenDoc is always false and aHiddenName is always emptyCaolán McNamara
Change-Id: I05259fb648f9e1e96ac5b0f0a4d68ba9a68b89b0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157652 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-10-06aStrHidden and SCSTR_HIDDEN are unusedCaolán McNamara
Change-Id: Ieac2d95be89da53a2dc0971df4700b222191b419 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157651 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-10-06aHiddenTitle is always an empty stringCaolán McNamara
Change-Id: I881c8d017da0792420ba6929c0dccbfa0df78e04 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157650 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-10-06Rename ojects to objects!Hannah Meeks
Change-Id: Ia39f59d68a00efea18409a23e243007a9e6a96b3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157574 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-10-06ScContentTree::LoadFile can't be calledCaolán McNamara
ScContentTree::LoadFile is only called if !aHiddenTitle.isEmpty() but the only thing that set aHiddenTitle is ScContentTree::LoadFile Change-Id: I91943a5d4762b5725995479bb1f0dc8e3fa0d7b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157649 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-10-06uitest: add "Silent" property parameterHenry Castro
add option to not popup the read-only dialog when load and excel file. Signed-off-by: Henry Castro <hcastro@collabora.com> Change-Id: I5e0ac06e3e872f156f6150f4b8bead61e7986c25 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157036 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157641 Tested-by: Jenkins
2023-10-06cool#7373 the document doesn't change in onlineCaolán McNamara
the navigator always looks at the same document calc should do like writer and have the navigator listen to just the initial document until that dies. This is the safest option to take for the scenario in question though. Change-Id: Ic75cad4bb52f4d58ec58341fb8bed4c87ca9d90a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157639 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-10-06sc: qa: add loadWithParams and SaveWithParamsHenry Castro
Add option to load and save with optional parameters. Signed-off-by: Henry Castro <hcastro@collabora.com> Change-Id: I2d735443da11634d072742f1bf6f38f90bced2c9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157141 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157569 Tested-by: Jenkins
2023-10-06SdrModel::getUnoModel can use XModel instead of XInterfaceNoel Grandin
Change-Id: Ica10c62066881ba86099d2057ff6fe20e0084a85 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157632 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-10-06Related: cool#7373 add an SfxHintId::ThisIsAnSfxEventHintCaolán McNamara
to avoid cost of dynamic_cast of SdrHint to SfxEventHint Change-Id: Ie0366b7d7ba828d8ffabeed4d65d7c7b275a3ed4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157633 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-10-06use more ErrCodeMsgNoel Grandin
instead of a sideband mechanism to convey extra error message around Change-Id: Ibd1fc8629c5b10bc6f9e6cbd30e8a20156ac13b5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157630 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-10-06crash copying text + chart to clipboard with InputOptions::TextWysiwygCaolán McNamara
of true, the mxPoolHelper is still null when trying to create a Printer to use as a reference device #3 0x00007f6d5e81ee6e in ScDocShell::GetRefDevice (this=this@entry=0x4697e6e0) at libreoffice/sc/source/ui/docshell/docsh3.cxx:471 #4 0x00007f6d5e823439 in ScDocShell::UpdateFontList (this=this@entry=0x4697e6e0) at libreoffice/sc/source/ui/docshell/docsh3.cxx:462 #5 0x00007f6d5e81dd6c in ScDocShell::InitItems (this=this@entry=0x4697e6e0) at libreoffice/sc/source/ui/docshell/docsh2.cxx:98 #6 0x00007f6d5e81e80b in ScDocShell::InitNew (this=0x4697e6e0, xStor=...) at libreoffice/sc/source/ui/docshell/docsh2.cxx:83 #7 0x00007f6d6e2ce99d in SfxObjectShell::DoInitNew (this=this@entry=0x4697e6e0) at libreoffice/sfx2/source/doc/objstor.cxx:470 #8 0x00007f6d5e768daf in ScTransferObj::SetDrawClipDoc (bAnyOle=<optimized out>, pDoc=std::shared_ptr<ScDocument> (use count 2, weak count 0) = {...}) at libreoffice/sc/source/ui/app/transobj.cxx:821 #9 0x00007f6d5ec4735a in ScViewFunc::CopyToClipSingleRange (this=0x37a257a0, pClipDoc=<optimized out>, rRanges=..., bCut=<optimized out>, bIncludeObjects=<optimized out>) at libreoffice/sc/source/ui/view/viewfun3.cxx:248 #10 0x00007f6d5ec48ab0 in ScViewFunc::CopyToClip (this=this@entry=0x37a257a0, pClipDoc=pClipDoc@entry=0x0, rRanges=..., bCut=bCut@entry=false, bApi=bApi@entry=false, bIncludeObjects=bIncludeObjects@entry=true, bStopEdit=true) at libreoffice/sc/source/ui/view/viewfun3.cxx:212 #11 0x00007f6d5ec48dc3 in ScViewFunc::CopyToClip (this=this@entry=0x37a257a0, pClipDoc=pClipDoc@entry=0x0, bCut=bCut@entry=false, bApi=bApi@entry=false, bIncludeObjects=bIncludeObjects@entry=true, bStopEdit=bStopEdit@entry=true) at libreoffice/sc/source/ui/view/viewfun3.cxx:178 #12 0x00007f6d5eb0eada in ScCellShell::ExecuteEdit (this=0x35c3d240, rReq=...) at libreoffice/sc/source/ui/view/cellsh1.cxx:1369 Change-Id: I1eb90a0190719a0ffe52dcdc5b0d87f5198cd5a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157594 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-10-05ubsan error seen export to odsCaolán McNamara
sc/source/filter/xml/XMLExportIterator.cxx:722:30: runtime error: load of value 5, which is not a valid value for type 'bool' Change-Id: I3cf4b6f0a4036a764e976cac6e1b91e298948e13 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157595 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>