Commit graph

452297 commits

Author SHA1 Message Date
Stephan Bergmann
1cdda798de Further timing issues with test_insert_hyperlink
<https://ci.libreoffice.org/job/lo_ubsan/1709/> still failed with

> FAIL: test_insert_hyperlink (hyperlinkdialog.HyperlinkDialog)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/tdf/lode/jenkins/workspace/lo_ubsan/sw/qa/uitest/writer_tests3/hyperlinkdialog.py", line 71, in test_insert_hyperlink
>     self.assertEqual(get_state_as_dict(xindication)["Text"], "link")
> AssertionError: '' != 'link'
> + link
>

so try a fix similar to 27798238ec "uitest : Avoid
any timing issue in test_insert_hyperlink"

Change-Id: I04b1616f3c5028065aafadbd73e0e52ef220ce5e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99669
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-07-29 13:28:30 +02:00
nd101
2b19cd84f1 tdf#115753 fix table border missing when there are merged cells
Remove code that ignores merged cells.

Change-Id: I907220e9ffc9d18561171efd7d6b39d14a8341fa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93836
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-07-29 12:03:34 +02:00
Justin Luth
5ad17c85dc tdf#59674 Word export: set a tabstop at numbering IndentAt
...if the specified tabstop would be ignored - for the benefit
of MS Word.

After the numbering character, the tab in Writer stops at
A.) IndentAt, or B.) a non-default tabstop.
In other words, Writer ignores default tabstops.
(Caveat, LO ignores IndentAt when numbering sets a larger tabstop.)

However, MS Word does NOT necessarily stop at IndentAt,
but it stops at default tabstops, or a specified tabstop.
It only seems to stop at IndentAt if there are only
default tabstops that are farther than IndentAt.
In other words, Word usually ignores IndentAt.

(This is true for .doc and .rtf formats. It is also true for .docx
format with MS Word 2003, but not with MS Word 2016.)

In this patch, I only try to fix Word ignoring the IndentAt.

[A basically-unsolvable edge case is when the tabstop is larger than
the first line indent, but still not behind the numbering character.]

This patch could regress if paragraph-level tabstops define the position.
In that case, we have introduced another tabstop at the indentAt
position, and so a SECOND tabstop on the FIRST line might end up
at the wrong position. This is an EXTREMELY unlikely situation,
and in fact, both LO and Word seem to tabstop there anyway,
so I no longer think it would cause a regression. Go figure.

I heavily modified an existing unit test because
although that fix "works" and was an "easy fix"
it probably ought to have calculated the IndentAt and used that
instead of zero to replace the LO default values.
It works, however, so I won't bother doing anything about it.
(Also, the paragraph used doesn't matter - it is the same list.)

Change-Id: Ia13ac880ab63c610b26c99ab77903e08ebdebe35
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99529
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-07-29 11:59:27 +02:00
Luboš Luňák
7a38f1817b optimize a bit more conversions to/from Skia bitmap formats
It turns out this doesn't really matter in practice, since if
converting between pixel formats is where time is spent, something
higher must be already wrong. But since I've already written this...

Change-Id: I25451664d529a9226d2d81b2c424a4f4e5422ad5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99577
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-07-29 11:45:31 +02:00
Caolán McNamara
df56a000a1 move ImageButton to toolkit-only headers
Change-Id: I2413d4165f2b1a88c53facbb0993cc6623a28082
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99650
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-29 11:20:14 +02:00
Miklos Vajna
d19a21a81b sw reqif-xhtml export: avoid writing text-decoration:none
This CSS key is allowed, but only the underline and line-through values
are allowed in reqif mode, according to the top of page 66 of
"01_OMG_Requirements Interchange Format (ReqIF)_Version
1.2_formal-16-07-01.pdf".

Change-Id: Ide64344f58bde4569fe499d8514dab36a055bda9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99662
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2020-07-29 11:17:49 +02:00
Michael Stahl
2761325999 tdf#134250 sw_redlinehide: fix Undo with section before table
... at start of document, part 2:

In SwUndoDelete::UndoImpl(), the m_aEndStr wasn't inserted, because the
pTextNd was a section node.

This caused asserts when trying to add the history hints that used to be
in the end text node.

thints.cxx:1295: bool SwTextNode::InsertHint(SwTextAttr*, SetAttrMode): Assertion `!pAttr->GetEnd() || (*pAttr->GetEnd() <= Len())' failed.

(regression from 	57d4886605)

Change-Id: I48caa7487d2d1e6250b5aceab18f270555d3ee8f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99644
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-07-29 10:34:24 +02:00
Michael Stahl
8ec8da5638 tdf#134250 sw_redlinehide: fix copy non-empty node before non-textnode
The problem in CopyImplImpl() is that pCopyPam's end position was
updated to index 0 but text was copied into the node, which is thus not
covered by pCopyPam and thus also not by SwUndoInserts.

Then SwUndoInserts::UndoImpl() doesn't delete the bookmarks in the end
node and the bookmark positions cause ~SwIndexReg asserts.

Change-Id: I4cc03e846eae4cabd9eb4346a98c1e5c2866050d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99643
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-07-29 10:34:15 +02:00
Caolán McNamara
a6859a1fee replace and drop SvtCompatibilityViewOptions
Change-Id: Iab187468cf25b4a4afc7c79578677156ff224df9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99651
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-29 10:22:44 +02:00
Caolán McNamara
26c08a91e8 expand last ImageButton to underlying PushButton
Change-Id: I260a738b06831684840175ba9b126ce41bacedfb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99649
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-29 10:21:08 +02:00
Pranam Lashkari
22a30af8b0 LOK: added margin between sidebar and formula-bar
Margin code moved from online to core
Adding offset in online caused row/column header getting out of sync

Change-Id: Ie977e0f6c6180b2bc20c94b88fd1d56144ed5faa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96893
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99639
Tested-by: Jenkins
2020-07-29 10:20:59 +02:00
Pranam Lashkari
02bbed0e23 LOK: send state of ShowResolvedAnnotations
Change-Id: Icd8756719bc75bbd780cbf25d21f7834a1d7fc8b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99252
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99256
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-29 10:19:59 +02:00
Stephan Bergmann
252aba41e5 Replace brittle gcc3_linux_aarch64 vtableSlotCall with pure assembler code
*  For one, as discussed in the comment at <https://gerrit.libreoffice.org/c/
core/+/91978/2#message-97da6c6ece7ae7bd49e9eb4843be333192fcc057> "Port to
FreeBSD aarch64":

"So it looks like Clang does not treat those register asm as we expect it would,
at least on aarch64.

"Witness a local Linux recent master --with-distro=LibreOfficeAndroidAarch64
[i.e., using Clang] build's

> $ llvm-objdump --disassemble instdir/program/libgcc3_uno.a
[...]
> 0000000000000000 <vtableSlotCall>:
>        0: ff 43 03 d1   sub     sp, sp, #208
>        4: f4 4f 0b a9   stp     x20, x19, [sp, #176]
>        8: fd 7b 0c a9   stp     x29, x30, [sp, #192]
>        c: fd 03 03 91   add     x29, sp, #192
>       10: a8 43 00 91   add     x8, x29, #16
>       14: bf 83 1d f8   stur    xzr, [x29, #-40]
>       18: e0 07 04 a9   stp     x0, x1, [sp, #64]
>       1c: e2 0f 05 a9   stp     x2, x3, [sp, #80]
>       20: e4 17 06 a9   stp     x4, x5, [sp, #96]
>       24: e6 1f 07 a9   stp     x6, x7, [sp, #112]
>       28: e0 07 00 6d   stp     d0, d1, [sp]
>       2c: e2 0f 01 6d   stp     d2, d3, [sp, #16]
>       30: e4 17 02 6d   stp     d4, d5, [sp, #32]
>       34: e6 1f 03 6d   stp     d6, d7, [sp, #48]
>       38: a8 03 1c f8   stur    x8, [x29, #-64]
>       3c: a0 43 5e b8   ldur    w0, [x29, #-28]
>       40: a1 03 5e b8   ldur    w1, [x29, #-32]
>       44: a5 83 5e f8   ldur    x5, [x29, #-24]
>       48: e4 03 08 aa   mov     x4, x8
>       4c: e2 03 01 91   add     x2, sp, #64
>       50: e3 03 00 91   mov     x3, sp
>       54: f3 03 01 91   add     x19, sp, #64
>       58: f4 03 00 91   mov     x20, sp
>       5c: 00 00 00 94   bl      0x5c <vtableSlotCall+0x5c>
>       60: 60 06 40 a9   ldp     x0, x1, [x19]
>       64: 80 06 40 6d   ldp     d0, d1, [x20]
>       68: 82 0e 41 6d   ldp     d2, d3, [x20, #16]
>       6c: fd 7b 4c a9   ldp     x29, x30, [sp, #192]
>       70: f4 4f 4b a9   ldp     x20, x19, [sp, #176]
>       74: ff 43 03 91   add     sp, sp, #208
>       78: c0 03 5f d6   ret
[...]

vs. [this commit's vtableslotcall.s; see below for details].

"And also latest Clang 12 trunk still does e.g.

> $ cat test.c
> void f(long);
> void g() {
>     register long volatile a asm ("x8");
>     f(a);
> }
> $ clang --target=unknown-linux-aarch64 -S -O2 test.c
> $ cat test.s
>         .text
>         .file   "test.c"
>         .globl  g                               // -- Begin function g
>         .p2align        2
>         .type   g,@function
> g:                                      // @g
> // %bb.0:                               // %entry
>         sub     sp, sp, #16                     // =16
>         ldr     x0, [sp, #8]
>         add     sp, sp, #16                     // =16
>         b       f
> .Lfunc_end0:
>         .size   g, .Lfunc_end0-g
>                                         // -- End function
>         .ident  "clang version 12.0.0 (git@github.com:llvm/llvm-project eb31ddd71eb44d53ebe12a09c9587198bb6f2a2e)"
>         .section        ".note.GNU-stack","",@progbits
>         .addrsig

"(This is probably also the underlying issue that
eb15ac837e 'android: Avoid throwing exceptions
through the bridges' tries to hack arond.)"

*  For another, this also gets rid of the
dddb527db1 "Again, no -fstack-protector-strong for
gcc3_linux_aarch64/cpp2uno.cxx" hack.

The contents of the new vtableslotcall.s is effectively the GCC 10 -S output of
the old vtableSlotCall C++ function from cpp2uno.cxx.  (And as cpp2uno.cxx only
takes the address of vtableSlotCall, never calls it directly, it does not matter
that it declares it with an imprecise

  extern "C" void vtableSlotCall();

signature.)

Change-Id: Icfbf0622a47825ff7cf21008de27d3da6a2f0ebd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99660
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-07-29 09:56:02 +02:00
Miklos Vajna
b6222a90f1 Remove some unused includes
Change-Id: I9af7e2fa0a450ebe396c0f049831a20100dbdc9c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99659
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2020-07-29 09:43:11 +02:00
Andrea Gelmini
d3dd362c09 Removed executable permission on data files
Change-Id: Icb98896f952fa97362611c20b36ea58a6408a78e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98926
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-07-29 09:03:41 +02:00
Ilmari Lauhakangas
8846e085cd Update git submodules
* Update helpcontent2 from branch 'master'
  to dfa74e26624aa6ac3d3e58773d56aca4647c0aab
  - Improve image attributes in Format Menu -related listings
    
    Change-Id: I75798c8c0ecc6ce7b94b523d122c15dc37fcccd3
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99658
    Tested-by: Jenkins
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2020-07-29 08:22:42 +02:00
Olivier Hallot
5f665a855e Change e-mail to email in UI
Change-Id: Ie729acccc942c16b177a6bcbbcceb822d667157f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99626
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-29 01:36:58 +02:00
Xisco Fauli
a206054ac0 tdf#132911: sw_uiwriter: Add unittest
Change-Id: I0ad6697d8dce814f20ea5f98e9c8f4b9c68f278d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99641
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-07-29 00:46:36 +02:00
Heiko Tietze
b4b8665bd3 Resolves tdf#132066 - Localization of special text in about window
Copy all version infos in English

Change-Id: I6719e27f721b0ff9f06efb4ea63e286e6d58ebf4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98498
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-07-28 23:29:52 +02:00
Caolán McNamara
56b2214c3a drop use of SvtFontOptions
Change-Id: Ib3ef6ec415d5e61d484e338290030fac2ed7b215
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99647
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-28 22:18:55 +02:00
Caolán McNamara
9b2dce4518 Resolves: tdf#134660 listen for 'ShowFontBoxWYSIWYG' config changes
instead of checking for changes to them when the fontbox get focus, its now too
late at that point to update ComboBox WYSIWYG mode

Change-Id: Ieea6a4c00be2eb46909d46af29ddd615fff002d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99646
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-28 22:18:35 +02:00
Shivam Kumar Singh
3b8c893b48 tdf#135178 tdf#135179 tdf#134820 Issue in SetChgLnk in Inspector
Change-Id: I39755d333506ffe3fa2b6302f9ec72c15cd9eff9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99629
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-07-28 21:19:03 +02:00
Caolán McNamara
cfc76db431 tdf#135121 don't paint the image over the rect that will contain the color
so that for the transparent color case we remain showing the original
background and not that part of the icon

Change-Id: I20452c7eccf141fdbede9ed2476270315963022e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99589
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-28 20:29:09 +02:00
Caolán McNamara
04e5cc16c4 tdf#135021 if the input width is changed, rerun the callbacks
if the widget triggering the change is the width widget and this callback sets
a different value to the width widget, then rerun the callback using the width
widget to end up in a state consistent with the width widget value.

gtk already resends value-changed if the value of the widget changed during the
callback so this ends up aligning the vcl behaviour to the gtk one which appears
desirable in this case

Change-Id: I32d0e1bb17190279efc552781851e5a18b417154
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99635
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-28 20:28:32 +02:00
Yusuf Keten
c4bee547b0 tdf#133026: Additions: Better Search Function
Old search function was demo to test something. This function uses the JSON response to search, not the API call to search.

Change-Id: I0f4163a55331667a73f15dd220302f58a27831c2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99388
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-07-28 20:23:22 +02:00
Xisco Fauli
c7f7bbf082 tdf#132944: sw_uiwriter: Add unittest
Change-Id: I45568da4b3dccd4e0cfe990c50217012f02540c0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96590
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-07-28 18:48:51 +02:00
A_GAN
6dbfbebad3 Add spin button for shadow blur radius in area dialog
Update shadow tab in area dialog with spin button to control blur radius of the shadow.

Change-Id: I41f072ef10d280df4b118afae7a7c058eb975417
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99557
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-07-28 17:38:53 +02:00
László Németh
3059819927 tdf#127118 sw layout: fix vertical mode in split cell
Merged cells split between pages could lose
vertical direction.

Change-Id: I1bbf4becd11a72022f80c394b3da6483fe0d7e6d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99583
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2020-07-28 17:14:38 +02:00
Caolán McNamara
50b36951db tdf#134959 move focus on activate, but leave focus on value-changed
if the user presses enter to activate the Entry try to go to the page, and on
success we move focus to the document.

if the SpinButton changed value a Timer was launched, when it times-out, move
to the desired page, but leave focus where it currently is, i.e. typically
remaining in the spinbutton, or whatever other widget the user moved to in the
meantime

This replaces always grabbing focus to the document on a page-change and
re-grabbing focus back to the spinbutton.

Change-Id: I597597aedb1753aee755671a2a55779ca6196c09
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99611
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-28 16:25:12 +02:00
Xisco Fauli
720b3c133c CppunitTest_sw_uiwriter: reset the redline author after using it
See http://document-foundation-mail-archive.969070.n3.nabble.com/CppunitTest-different-results-depending-on-execution-command-td4283987.html

Change-Id: I16f07232611d3d2cec675f34f0f93aee9618d80f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99585
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-07-28 15:43:13 +02:00
Szymon Kłos
70b81e74d2 Make Sort dialog async
Change-Id: I914e09e59561e261dc2807ad00615d3b58afa541
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99127
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99351
Tested-by: Jenkins
2020-07-28 15:26:02 +02:00
Caolán McNamara
30b139b04f document that SizeXX indicates the upper limit of a category size
Change-Id: I6347e9abc57f160727dc74a1854c1978758030d1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99587
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-28 14:45:44 +02:00
Johnny_M
7241c739f8 Update git submodules
* Update helpcontent2 from branch 'master'
  to e7f03943eea485b3e74aac5895a12833f6b31e31
  - tdf#132643 Translate German section IDs
    
    Change-Id: I55d752efd9e429b4b6911eac06a4c18fb382d571
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99623
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-28 14:35:06 +02:00
Johnny_M
56b5d60bc6 Update git submodules
* Update helpcontent2 from branch 'master'
  to 434661d450dc7d20b58037d1aa3f51765483a0bf
  - tdf#132643 Translate German section IDs
    
    Change-Id: I1532e3e9d50fa57cefcfa6e187e3566a20cfa442
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99622
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-28 14:31:47 +02:00
Johnny_M
89eecd0068 Update git submodules
* Update helpcontent2 from branch 'master'
  to 4210c391e3a474c91406f52b75fba56c53fa4a1b
  - tdf#132643 Translate German section IDs
    
    Change-Id: I89aeeeffd0833b9675567a2fb9aebc382600e4ec
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99615
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-28 14:31:11 +02:00
Johnny_M
69e8a034c0 Update git submodules
* Update helpcontent2 from branch 'master'
  to db33b06f5691b897476f6f3ca5c908031198fa74
  - tdf#132643 Translate German section IDs
    
    Change-Id: Iec3890fe9462abc38c834c1a2e70ca8fb66cf78d
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99621
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-28 14:30:25 +02:00
Johnny_M
7928ebf8ce Update git submodules
* Update helpcontent2 from branch 'master'
  to 7ccf847f293254d7189b091874e10d96332eb4c5
  - tdf#132643 Translate German section IDs
    
    Change-Id: I03b0342f0b3a844d73ffed768cb418ace6dd982f
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99618
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-28 14:27:46 +02:00
Ilmari Lauhakangas
9780d341a4 Update git submodules
* Update helpcontent2 from branch 'master'
  to 29d0bdaaa732169e6ed60a66c1153b16765d6e82
  - Refactor elements in Format Menu -related listings
    
    Used xsltproc helpers/refactor.xsl
    
    Change-Id: I0b896dc1906cb5a9c2a34a494ec13eabe2c7ed54
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99627
    Tested-by: Jenkins
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2020-07-28 14:27:11 +02:00
Johnny_M
a63a749457 Update git submodules
* Update helpcontent2 from branch 'master'
  to 76f708f674acf21985fe983d972dbf7192e0eb73
  - tdf#132643 Translate German section IDs
    
    Change-Id: Idc46151ddb27f30cc2fe4ad9480a5fccb609d0dd
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99620
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-28 14:26:27 +02:00
Johnny_M
9b5ee551ad Update git submodules
* Update helpcontent2 from branch 'master'
  to ecb344a901ccb6edd2246f16e7fde7184d8f020b
  - tdf#132643 Translate German section IDs
    
    Change-Id: I480cf0609708d48739ea03cc5c882676373ea7f0
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99619
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-28 14:25:25 +02:00
Johnny_M
f4f5e99e75 Update git submodules
* Update helpcontent2 from branch 'master'
  to 658211ad665512496084cb1911ce0bbf4ddf38c6
  - tdf#132643 Translate German section IDs
    
    Change-Id: Ifab0b26bff03ed85e2deabd22b0e6a664474e6c0
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99616
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-28 14:21:30 +02:00
Johnny_M
0c1efdf497 Update git submodules
* Update helpcontent2 from branch 'master'
  to 6b2b776059750b8f33d21227475e481179f50a4c
  - tdf#132643 Translate German section IDs
    
    Change-Id: I314a50da1c50fea50e1e282b81ba369e3044168a
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99617
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-28 14:20:00 +02:00
Johnny_M
0d17cb1c55 Update git submodules
* Update helpcontent2 from branch 'master'
  to 4a4fa0ebf291dca7c891fb4bc2692f383d4cb70a
  - tdf#132643 Translate German section IDs
    
    Change-Id: Ibf1dffcd932f087f99e245ef6c60cc54e5e64a6d
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99614
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-07-28 14:19:00 +02:00
Ilmari Lauhakangas
28b952ae52 Update git submodules
* Update helpcontent2 from branch 'master'
  to 008ccd9f3a7a5938ceca575ceb6981cacbee3fcd
  - Add comments about Format Menu -related listing
    
    Change-Id: I1a9ec42ccf95ebdbc01666a776747307589942cc
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/99588
    Tested-by: Jenkins
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2020-07-28 12:54:08 +02:00
Julien Nabet
a7e92d71d7 Related tdf#135211: return early if no data
With DEPS or SCO Evolutionary algorithms, it'll return
"No solution found."
Change-Id: I15e8e24eb519a20e3f3645b79e990949f648fbd2

Change-Id: I7321419ccc1cd00d75f03fa86d3c0cb4bf9ad473
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99584
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-07-28 12:52:20 +02:00
Caolán McNamara
9282871ab0 Related: tdf#135121 update widebuttons on icon-size change too
as well as the split-buttons. We don't draw into the icon for
widebuttons, but we do need to draw the icon into the replacement
wider image so we want to update for widebuttons too

Change-Id: Ia37f7de7faa08e63a498ff474a46a98566930acd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99575
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-28 12:11:56 +02:00
Caolán McNamara
f67554d23c tdf#135121 ImageType::Size26 isn't always 26x26px
so use ImageType just to detect the user has selected a new size,
and use the size of the returned image for the icon pixel size

Change-Id: If101c586bd2f0d83f668637b48ce3d25a0873358
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99561
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-07-28 12:11:36 +02:00
Julien Nabet
2d15039347 tdf#135211: fix crash Swarm Non Linear Solver with blank input
See bt here:
https://bugs.documentfoundation.org/attachment.cgi?id=163668

Change-Id: I78f59e420aa183399f650915c7c28a138b8ed444
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99572
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-07-28 11:42:53 +02:00
Julien Nabet
2928766952 Typo: Swam->Swarm
Change-Id: I99dbe7fa6d49e0663c3551d2e3dabd3f42d8d3c7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99578
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2020-07-28 11:34:53 +02:00
Michael Stahl
b33034e7fa tdf#133967 sw_redlinehide: fix assert on undo-redo-undo
Assertion `pNode->GetRedlineMergeFlag() != SwNode::Merge::Hidden' failed.

4  IsAnchoredObjShown(SwTextFrame const&, SwFormatAnchor const&) (rFrame=..., rAnchor=...) at sw/source/core/layout/frmtool.cxx:1284
5  SwFlyFrameFormat::MakeFrames() (this=0x7a97860) at sw/source/core/layout/atrfrm.cxx:3001
6  AppendAllObjs(SwFrameFormats const*, SwFrame const*) (pTable=0x72457e0, pSib=0x4002800) at sw/source/core/layout/frmtool.cxx:1337
7  InsertCnt_(SwLayoutFrame*, SwDoc*, unsigned long, bool, unsigned long, SwFrame*, sw::FrameMode) (pLay=0x8e86ce0, pDoc=0x7242220, nIndex=854, bPages=true, nEndIndex=854, pPrv=0x7a79850, eMode=sw::FrameMode::Existing) at sw/source/core/layout/frmtool.cxx:1892
8  MakeFrames(SwDoc*, SwNodeIndex const&, SwNodeIndex const&) (pDoc=0x7242220, rSttIdx=SwNodeIndex (node 372), rEndIdx=SwNodeIndex (node 854)) at sw/source/core/layout/frmtool.cxx:2055
9  sw::UpdateFramesForRemoveDeleteRedline(SwDoc&, SwPaM const&) (rDoc=..., rPam=SwPaM = {...}) at sw/source/core/doc/DocumentRedlineManager.cxx:292

because this added an extent for the node but it still had its flag set
to Hidden:

11 sw::UpdateMergedParaForInsert(sw::MergedPara&, bool, SwTextNode const&, sal_Int32, sal_Int32) (rMerged=..., isRealInsert=false, rNode=..., nIndex=0, nLen=279) at sw/source/core/text/txtfrm.cxx:1002
12 SwTextFrame::SwClientNotify(SwModify const&, SfxHint const&) (this=0x7337940, rModify=..., rHint=...) at sw/source/core/text/txtfrm.cxx:2076
17 SwRangeRedline::InvalidateRange(SwRangeRedline::Invalidation) (this=0x8b3a120, eWhy=SwRangeRedline::Invalidation::Remove) at sw/source/core/doc/docredln.cxx:1261
18 sw::DocumentRedlineManager::DeleteRedline(SwPaM const&, bool, RedlineType) (this=0x7250b60, rRange=SwPaM = {...}, bSaveInUndo=true, nDelType=-1) at sw/source/core/doc/DocumentRedlineManager.cxx:2386
19 SwUndoRedlineDelete::UndoRedlineImpl(SwDoc&, SwPaM&) (this=0x8a65a00, rDoc=..., rPam=SwPaM = {...}) at sw/source/core/undo/unredln.cxx:198

Change-Id: I7f36705f1abb2df97a00b359e40534aef0e10d93
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99524
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-07-28 10:58:07 +02:00