Commit Graph
476481 Commits
Author SHA1 Message Date
Luboš Luňák 8a5beccc19 handle GC* pixmap functions on Mac reading past pixmap (tdf#145843)
The code passes adjusted position for pixel data in order to create
a sub-rect of the pixmap without copying, but at least on Intel Mac
the GC* functions then try to read the entire pixel row even though
it shouldn't be necessary. Since that may cause reading past the
pixmap data if the last line is involved, use entire pixmap width
to avoid that.

Change-Id: Ia08059b363d39dd465b2cadde5138ee045628f59
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136003
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-06-17 06:16:28 +02:00
Seth Chaiklin 9ace7e3a6c Update git submodules
* Update helpcontent2 from branch 'master'
  to 9f035d777141d5f039a85d6f64b627eaf73b8079
  - (related)tdf#138844, (related)tdf#149018  "Type"  -> "Position and Size"
    
      tdf#138844 changed the "Type" tab in the Properties dialog for Image
      and Frame to be labeled "Position and Size" and tdf#149018 did the
      same change for OLE Object. This patch updates relevant help pages to
      reflect the change in the tab name.
    
    Change-Id: Ieb8f1f6947b59638a713e583d2bb9a174b8815a2
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136026
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-06-17 03:22:15 +02:00
Stephan Bergmann 1638b4f78a rhbz#2097411 Avoid obsolete PyThreadState_Delete crashing Python 3.11
1fb53a6375 "pyuno_loader::CreateInstance: delete
the initial PyThreadState" had added the PyThreadState_Delete for claimed
benefits but whose details appear lost to history (cf. the comment thread
starting at
<https://gerrit.libreoffice.org/c/core/+/3452/2#message-602ff52abdd1c95fd5c13cfe405b5fadd0048c5f>
"pyuno_loader::CreateInstance: delete the initial PyThreadState").  And at least
a recent master Linux --enable-python=fully-internal build with the bundled
Python 3.8.12 appears to succeed `make check` just fine with the
PyThreadState_Delete temporarily removed.

But on the other hand, building against upcoming Python 3.11 now started to make
CppunitTest_services fail with

> Fatal Python error: init_threadstate: thread state already initialized
> Python runtime state: initialized
> Thread 0x0000ffff81c8b020 (most recent call first):
>   <no Python frame>
> Fatal exception: Signal 6
> Stack:
> /builddir/build/BUILD/libreoffice-7.3.4.2/instdir/program/libuno_sal.so.3(+0x37c28)[0xffff81be7c28]
> /builddir/build/BUILD/libreoffice-7.3.4.2/instdir/program/libuno_sal.so.3(+0x37e40)[0xffff81be7e40]
> linux-vdso.so.1(__kernel_rt_sigreturn+0x0)[0xffff81ccb7ec]
> /lib64/libc.so.6(+0x82878)[0xffff81742878]
> /lib64/libc.so.6(raise+0x20)[0xffff816fae00]
> /lib64/libc.so.6(abort+0xe8)[0xffff816e72b8]
> /lib64/libpython3.11.so.1.0(+0x104e28)[0xfffee4de4e28]
> /lib64/libpython3.11.so.1.0(+0x105200)[0xfffee4de5200]
> /lib64/libpython3.11.so.1.0(PyThread_get_thread_native_id+0x0)[0xfffee4ed6764]
> /lib64/libpython3.11.so.1.0(PyThreadState_New+0x14)[0xfffee4ed6628]
> /builddir/build/BUILD/libreoffice-7.3.4.2/instdir/program/libpyuno.so(_ZN5pyuno14PyThreadAttachC2EP3_is+0x78)[0xfffee4c8c52c]
> /builddir/build/BUILD/libreoffice-7.3.4.2/instdir/program/libpythonloaderlo.so(pyuno_Loader_get_implementation+0x5c)[0xfffee5243060]
> /builddir/build/BUILD/libreoffice-7.3.4.2/instdir/program/libuno_cppuhelpergcc3.so.3(+0x544b4)[0xffff815544b4]

because of the PyThreadState_Delete.  (The deleted PyThreadState, while not
reused again directly, is still recorded in the state obtained from
PyInterpreterState_Head() later.)

So conservatively keep the PyThreadState_Delete of unclear benefit for older
Python versions and only drop it for 3.11 where it is known to have negative
effects now.

Change-Id: I9b99f1e947f0b165ddc95c2bfbd764858dda39db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136006
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-16 22:40:28 +02:00
Eike Rathke 7a0a0e23b7 Resolves: tdf#147822 ScUnoListenerEntry container must be std::list
... instead of std::vector to not get invalidated iterators when
the container is resized.

Regression from

    commit f8defe59ff
    CommitDate: Wed Sep 6 22:45:10 2017 +0200

        Replace some lists by vectors in unoobj (sc)

which was bad for this case.

Change-Id: I8d3a001242865cadc82b359a3198906d26373a41
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136007
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-06-16 22:39:38 +02:00
Olivier Hallot e247d62ea6 Update git submodules
* Update helpcontent2 from branch 'master'
  to b01904aabf78c6981d4c3b3953483bea9e86c2b3
  - Mute l10n
    
    Change-Id: Icd723b9b933788c5ac9e1b2bbb9e541f241bdbe1
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136020
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-06-16 21:32:09 +02:00
Noel Grandin c2518134a5 create getter for ScCellValue::mfValue
so we can assert that has the correct tag type

Change-Id: I0d626130cb014e19239e88a6988018c83d061f68
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136001
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-16 20:39:23 +02:00
Noel Grandin 7eae7e54e0 pass EditTextObject by unique_ptr
to make the ownership passing obvious

Change-Id: Icf4b94a422b91da3082fe1ce56eff149d390a649
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136000
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-16 20:39:05 +02:00
Seth Chaiklin 0fe3459b05 Update git submodules
* Update helpcontent2 from branch 'master'
  to 51cfc9a957eec7be595e8b667a528cbe749992a0
  - (related) tdf#149414 change in Impress Format menu command name
    
    Change-Id: I80d37dc341f35c89fe73d815df900178a3552c74
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136017
    Tested-by: Jenkins
    Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2022-06-16 20:03:34 +02:00
Michael Stahl 3707c0b4ff tdf#134759 sw: clear items in SwAttrSet::CopyToModify()
Setting new items but not clearing existing items smells like an
obvious omission. Why would we want a union of two nodes' items?

This improves things a bit for the bugdoc, but now it ends up with a
different wrong list on the node 254.

Change-Id: I3f5db0a4f81ac6e9af56d1faaefc2cb107dff597
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131841
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-06-16 19:18:40 +02:00
Seth Chaiklin c0c0e33c4e Update git submodules
* Update helpcontent2 from branch 'master'
  to c7fba791de12f34179bb355fedbc111f4112bde8
  - tdf#149572 update "Left Paragraph Border" and "Right Paragraph Border
    
       tdf#149242 changed the Horizontal positioning labels in the
       "to" control from:
           "Left paragraph border" -> "Left of paragraph text area" and
           "Right paragraph border" -> "Right of paragraph text area"
    
        This patch updates the option names and makes corrections to
        in the description of the referent of these options.
    
    Change-Id: I604cb4354f239d476375791fa57865d10b1d0d24
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/135881
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-06-16 19:12:41 +02:00
Samuel Mehrbrodt df454a21c6 Next release is 7.5
According to 27ebceb366

Change-Id: I0fe247ca398a3c4607840c1a190453c52204749b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135986
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins
2022-06-16 19:09:24 +02:00
Rene Engelhard 26cc731ade Revert "enable Skia on big-endian too"
This reverts commit b06663135f.

Still/Again fails to build.
See https://lists.freedesktop.org/archives/libreoffice/2022-June/089026.html

Change-Id: I195c1584256d1da5fee3bbd1d7291a6639428acf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135771
Tested-by: Jenkins
Tested-by: René Engelhard <rene@debian.org>
Reviewed-by: René Engelhard <rene@debian.org>
2022-06-16 18:14:48 +02:00
Rene Engelhard cd35eebe4d fail big-endian builds with --enable-skia. Point to --disable-skia
Change-Id: I0a1e5289a36e39eeea00e0fd67fbcf1fe7c902f8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135772
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: René Engelhard <rene@debian.org>
Reviewed-by: René Engelhard <rene@debian.org>
2022-06-16 18:14:02 +02:00
Xisco Fauli b1c1a4ed48 sc: uitest: move test where it belongs
Change-Id: I59ce2a70622a6f3be112a5234a7d91d2efd372f1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135996
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-06-16 18:02:51 +02:00
Julien Nabet 2332a1ce54 tdf#149524: fix crash in Writer after a label has just been created
see bt here:
https://bugs.documentfoundation.org/attachment.cgi?id=180683

Change-Id: Iba461ffe65392a7e0e779f68d1f0737a444ae724
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135675
Tested-by: Jenkins
Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-06-16 17:54:32 +02:00
Caolán McNamara 10404751bc tdf#149529 crash on deref deleted ScDocument*
maybe a problem since

commit 46419cd7a2
Date:   Tue Jun 18 15:11:30 2013 -0400

    ScFormulaCell is no longer a child class of ScBaseCell.

    Change-Id: Id33072f193045e2eaf51373b47dac803f9a5d52c

presumably the cloned ScColorScaleEntry should end up with
a ScFormulaCell for the destination document and not the source one

Change-Id: I451d5827be183198b61116ab8c582cfda03b2031
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135998
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
2022-06-16 17:44:24 +02:00
Miklos Vajna b2bee5a4db sw HTML export, XHTML mode: fix lost <li> with a list header + item
There is a general mismatch between XHTML and Writer lists: XHTML can
only contain list items (for ordered or unordered lists), while Writer
can contain list headers and list items. List headers have no bullet or
number at the start, list items are the normal text nodes.

Commit 8c2607ae3c (sw HTML export, XHTML
mode: fix lost </li> when last list item is not numbered, 2022-02-21)
fixed the list item end side of this problem: if all text nodes in a
list are headers, then don't write ul/ol at all, otherwise end list
headers with </li> as well to make sure the output XML is valid.
However, this created a mis-match, the starting <li> for list headers in
a list which have non-header text nodes at as was not adapted.

Fix the problem by extending OutHTML_SwFormat() so list headers in a
list with non-header text nodes always have a <li> and </li>, and this
condition is the same on the start/end side.

Calculating if at least one text node is non-header in a list may not be
cheap, so reuse the already calculated info from
OutHTML_NumberBulletListStart() in OutHTML_SwFormat().

Change-Id: I3817a489f16166fc5b4c33ee64e2283c41a4402c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135999
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2022-06-16 17:07:03 +02:00
Christian Lohmaier a2ef1dc485 drop special case for win 64bit download name, use x86-64 consistently
"x64" was introduced in 2013 for the 64bit windows packages in
efdad0b126 for no apparent reason.

Change-Id: Ifae4faaeb99b4e8950cc64bb993d29c0a3ff24dd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135923
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-06-16 16:35:49 +02:00
Noel Grandin 7531f027c7 BridgeFactory should be a singleton
regression from
    commit 9be078ae0d
    Date:   Sat Jul 4 09:12:35 2020 +0200
    binaryurp: create instances with uno constructors

Change-Id: Ib7a7316fdee4afffac35b282adaf437ff8bdd009
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135904
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-16 16:30:28 +02:00
Eike Rathke 14ce950083 Resolves: tdf#149579 Expand Range.Sort single cell to Range.CurrentRegion
Change-Id: Ib0ab1c2d0dd45f35f43cf710f7c15791d282ad4d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135997
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-06-16 16:26:29 +02:00
Xisco Fauli ae11a7ff79 tdf#148072: sc: Add UItest
Change-Id: Ibb03fc001db63ac8ba6624ab14d046f4ee1039d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135995
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-06-16 15:53:04 +02:00
Samuel Mehrbrodt c4cf2e82e8 tdf#128150 Add OOXML import/export for "use background fill"
and allow editing this fill property in area dlg

Change-Id: Ic63ba11e9d499d4a0fb22f6739587e3e25140b8f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134406
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2022-06-16 15:44:53 +02:00
Noel Grandin 3d2e26d8b7 make meType in ScCellValue private
as a first step to wrapping up the internals of this class and adding
some asserts

Change-Id: Ic13ddd917948dbf3fd6d73f44b8efcc727726baf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135994
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-16 15:26:14 +02:00
Luboš Luňák 1ac3b4ae83 share ScSortedRangeCache between threads
It's the same data for all threads, they access it as read-only,
so it doesn't make sense for each thread to build its own copy.

Change-Id: Ia1559c61d976bcce78661cae7e030bb8430aed7c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135794
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-06-16 15:12:42 +02:00
Olivier Hallot 70d9ae7b59 Add precision to text orientation in extended tip
Change-Id: I9f2c6290baa6f251dba38c3a75e61c775d87fd5d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135615
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-06-16 14:48:14 +02:00
Mark Hung 47eff9bf12 tdf#149089 snap to grid if IsSnapToChars() is false
for non-CJK scripts. Non Asian text was centered within as many cells
as required according to ODF1.2 20.301. But it also required that
text should be snapped to grid if style:layout-grid-snap-to is
true ( i.e. IsSnapToChars() is false ) per ODF1.2 20.305. That means
ODF1.2 20.301 ruled.

This patch changes the width of inserted SwKernGridPortion so that
non-CJK text aligns to the edge of text grid to make ODF1.2 20.301
rule, an provide more consistent layout result as expected.

Change-Id: Id6b4d2b965e20670eb9ddf657d36b8a49073f32a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135654
Tested-by: Jenkins
Reviewed-by: Mark Hung <marklh9@gmail.com>
2022-06-16 14:40:05 +02:00
Eike Rathke e44e418783 One call to XCellRangeAddressable::getRangeAddress() is enough
... each needs to obtain it via ScUnoConversion::FillApiRange().

Change-Id: Ie98d5130067701f40c441d08bdb9faf7913bcdb8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135972
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2022-06-16 14:24:14 +02:00
Maxim Monastirsky 0930096c4c tdf#125040 Recreate Contextual Single for Writer
Change-Id: I791631aedb9efbb7bbdc41234ee39e1d3c834ce1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135959
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2022-06-16 14:03:33 +02:00
Maxim Monastirsky 48ca233625 tdf#125040 Avoid flickering on context change
Change-Id: I442fada34e10fe13e68987abba34969a8ab50bc5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135958
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2022-06-16 14:00:12 +02:00
Xisco Fauli 970f03cb9e crashreportScraper: use argparse to parse the arguments
Change-Id: Idc1d32683c5113042fe4e7ec97357b6d76c5217e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135973
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-06-16 13:26:36 +02:00
Andrea Gelmini fcdfd30934 Fix typo
Change-Id: I7ff6efac1edd171f65ebd901d8f03f38364496b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135927
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-06-16 13:01:48 +02:00
Andrea Gelmini 965bad9abb Fix typo
Change-Id: I0ccce1c6e143b819dbb78d6fb74ccde8ce737f84
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135928
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-06-16 13:01:22 +02:00
Andrea Gelmini cb958c4ff8 Fix typo
Change-Id: I9b29e51e550ea9f13497e1f46cf4cdc11cf8faa6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135925
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-06-16 13:00:54 +02:00
Andrea Gelmini 1bd2c6391f Fix typo in code
Change-Id: Ic2c07abd89361aaef0f216ee71d0fa8ce8529233
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135924
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-06-16 12:56:14 +02:00
Christian Lohmaier c7f971c23b fix download-filename for Windows aarch64 builds
was incorrectly using x64

Change-Id: Ieb7c90c6b1ed3abd73315a15c59490ea639954c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135922
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2022-06-16 12:47:27 +02:00
Seth Chaiklin 9e0ac0c85f Update git submodules
* Update helpcontent2 from branch 'master'
  to a17fbdee73a7f567637c56a1b6354c0fef3b3a10
  - tdf#149353 positioning objects in multipage and multicolumn paragraphs
    
    Presented as <note> in "to paragraph" (shared/01/05260200.xhp),
    while only the text is embedded as a paragraph in "to character"
    (shared/01/05260300.xhp) because there is already a <tip> on that
    page, without much other text.
    
    <note> added to swriter/guide/anchor_object.xhp that positioning
    is only on the page where the anchor is located.
    
    Change-Id: I8173050620fbeb8fc78d747ad05d8ab1f74f1346
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/135169
    Tested-by: Jenkins
    Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2022-06-16 12:38:13 +02:00
Andrea Gelmini 68c3a6e8eb Fix typo
Change-Id: I92524505c8e7c82bf7c1263afc257f8e6d632ea9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135926
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-06-16 12:33:52 +02:00
Andrea Gelmini 7c4481e3c4 Fix typo
Change-Id: Ic6252987b61d0f55a96193bdc5da5fecc1a36171
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135930
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-06-16 12:33:18 +02:00
Andrea Gelmini 81d14fa410 Fix typo
Change-Id: I38f2e4011f348574d1d2adb7eb34cac6b2df43da
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135929
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-06-16 12:18:20 +02:00
Stephan Bergmann 4b46eb79c2 Missing test dependencies
> warn:vcl.builder:4159485:4159485:vcl/source/window/builder.cxx:479: DBG_UNHANDLED_EXCEPTION in VclBuilder
>     when: Unable to read .ui file exception: com.sun.star.container.NoSuchElementException message: "file:///.../instdir/share/config/soffice.cfg/svt/ui/editcontrol.ui"
> warn:vcl.builder:4159485:4159485:vcl/source/window/builder.cxx:479: DBG_UNHANDLED_EXCEPTION in VclBuilder
>     when: Unable to read .ui file exception: com.sun.star.container.NoSuchElementException message: "file:///.../instdir/share/config/soffice.cfg/modules/swriter/ui/annotation.ui"

and

> warn:vcl.builder:4164787:4164787:vcl/source/window/builder.cxx:479: DBG_UNHANDLED_EXCEPTION in VclBuilder
>     when: Unable to read .ui file exception: com.sun.star.container.NoSuchElementException message: "file:///.../instdir/share/config/soffice.cfg/sfx/ui/tabbar.ui"

when building CppunitTest_sw_ww8export
CPPUNIT_TEST_NAME=testCommentExport::Load_Verify_Reload_Verify from scratch

Change-Id: I36eedd31c8ee55f2992cb1aec3b26cfdbc4e2a27
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135964
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-16 11:27:22 +02:00
Eike Rathke a4fa06be4f Related: tdf#149325 tdf#52602 SvNumberFormatsObj::addNew accept differing
... resulting format code of an existing format as not attempting
to add a duplicate. It makes no sense to insist on strictness if
the client can't know the rules..

Change-Id: I0c8ca215984bf84487036ccf2b570128b1694d54
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135898
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
2022-06-16 11:21:46 +02:00
Caolán McNamara 79c7c66157 Related: tdf#147844 fix warning about negative extra space in manage changes
Change-Id: I20c98578e2e96bc06e3c90c12eeda81ab06c988d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135913
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-16 10:40:47 +02:00
Samuel Mehrbrodt d417c6d463 Add property name to IllegalArgumentException in SvxShape::setPropertyValueImpl
Change-Id: I5e10f2c35568449a99f1972db614199a6336e6b3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135962
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2022-06-16 10:26:18 +02:00
Miklos Vajna 9aeca50f4f sw content controls: allow the properties dialog in read-only sel
Once you enter a checkbox or picture content control, the selection is
read-only to avoid loosing content the next time the content control is
updated. But this means you can't launch the properties dialog to e.g.
enable placeholder mode.

Fix this by relaxing the restriction and allow the properties dialog on
protected cursor as well, matching Word behavior.

Change-Id: Ifef9af66d077682c46c852c9ecba2df5f17234fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135965
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2022-06-16 10:08:51 +02:00
Luboš Luňák e445eac863 allocate column in ScTable::DeleteBeforeCopyFromClip() (tdf#149554)
Change-Id: I22607f1dd0ec1c083f6a52a2ecccb976fc133687
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135864
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-06-16 10:04:29 +02:00
Stephan Bergmann 7da2697003 This should apparently be a true assert
...as dereferencing a past-the-end iterator would be fatal, as seen with
<https://ci.libreoffice.org/job/lo_ubsan/2432/> during UITest_sw_fieldDialog at

> warn:legacy.tools:19040:19040:vcl/source/treelist/treelist.cxx:1353: Entry not in model or wrong view
> /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/debug/safe_iterator.h:283:
>     error:
>     attempt
>     to
>     dereference
>     a
>     past-the-end
>
>     iterator
>     .
>
> Objects involved in the operation:
> iterator "this" @ 0x0x7fc0a42e1fe8 {
> type = Hٷm�␡ (mutable iterator);
>   state = past-the-end;
>   references sequence with type `NSt7__debug13unordered_mapIP15SvTreeListEntrySt10unique_ptrI15SvViewDataEntrySt14default_deleteIS4_EESt4hashIS2_ESt8equal_toIS2_ESaISt4pairIKS2_S7_EEEE' @ 0x0x7fc0a42e1fe8
> }
>
>
> Fatal exception: Signal 6

Change-Id: Ibd547536849b15d56711e065262197a2e168db3d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135961
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-16 09:31:36 +02:00
Caolán McNamara 4e41879586 Related: tdf#123846 don't auto toggle radiobuttons with left/right
just do the default cursor move, toggle can be triggered with
space/return or directly with 0-9 (+ a for 10)

Change-Id: I654ca64e49b3a9d4672668553095e971a5c9d1e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135921
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-06-16 09:31:24 +02:00
Noel Grandin a447b5b6d1 loplugin:moveit
Change-Id: Ic593974a44d9e327e0385c7ffaaa6d42576ae01a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135911
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-16 09:16:01 +02:00
Andrea Gelmini 578521ed67 Fix typo
Change-Id: I169bb6381af825b3024c57a0a9996e1390a27d09
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135931
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-06-16 08:15:43 +02:00
Miklos Vajna 95df95001f sw: document SwFormatWrapInfluenceOnObjPos
The legacy iterative process doesn't need this, but the newer
straightforward one does.

Change-Id: I33932f37d5ad7bae0ffe5f23abdf2c4d82b84598
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135920
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-06-16 08:15:35 +02:00