summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-07-25rename SwIndex->SwContentIndexNoel Grandin99-400/+397
to help my poor brain with the different kinds of index we have floating around Change-Id: I47ed223922170687d7e07812445aed66b3218230 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137404 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-07-25Some refactorMike Kaganski2-91/+91
Change-Id: I58f315e39e33a09585d6325590998ac8195687db Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137401 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-07-25SwIndex/SwIndexReg is only used to deal with SwContentNodesNoel Grandin18-78/+121
so make that apparent in the type system and naming, instead of implicit. Which requires adding a small helper class for the one place we were instantiating an SwIndexReg by itselg Change-Id: I74db37239aed0005e5a2a01916635fa93de638f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137403 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-07-25A bit of RAIIMike Kaganski1-16/+10
Change-Id: I58fb16f7e2c4c30212605b667cfd3f79a3dc7d4a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137400 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-07-25loplugin:moveitNoel Grandin42-187/+162
make the plugin more conservative, so we see less false+ (although we also miss some possibilities in the process) Change-Id: I91b1806271e7f802d7459834ab7bcc569047da3a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137342 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-07-25use more o3tl::spanNoel Grandin71-450/+212
which means we can reserve precisely the right number of entries when building maps Change-Id: I580414699289369de4730caae09829bbd8759e82 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137292 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-07-25sw content controls, plain text: add DOCX importMiklos Vajna14-20/+100
- the core of this is the writerfilter/ change to call PopSdt() for SdtControlType::plainText, which maps inline plain text SDTs to Writer content controls, not to input fields - disable the grab-bag in this case, otherwise we would run duplicated <w:sdt> elements on export - fix CppunitTest_sw_ooxmlexport7's testSdtAndShapeOverlapping by postponing the SDT start in DocxAttributeOutput::WriteContentControlStart() in case a shape is anchored at the same position as the SDT start: if the shape should start inside the content control, then it should be anchored after the dummy character - reduce the debug output in VMLExport::Commit(), which could write control characters to the terminal on test failure, potentially breaking it (requiring a 'reset' to recover) - fix CppunitTest_sw_ooxmlexport5's testSdt2Run: now we merge two runs inside a plain text content control into a single one, and there is no problem with that, so adapt the test instead - fix CppunitTest_sw_ooxmlexport17's testTdf148361: plain text inline SDT is now a content control, not a field - fix CppunitTest_sw_ooxmlfieldexport's testfdo82492: explicitly assert that there is 1 text run inside the SDT and there is a shape after it (outside). Also extend DocxAttributeOutput::EndContentControl(), so it ends the content control at the correct, earlier position in case it's followed by an as-char shape - fix CppunitTest_sw_ooxmlfieldexport's testfdo82123: again assert that the SDT has 1 run with text, and there is a drawing after the SDT - fix CppunitTest_sw_ooxmlfieldexport's testTdf104823: this revealed that some more complex logic is needed to support data bindings, so exclude text-with-databinding from the scope of this commit and continue to map those to input fields for now - fix CppunitTest_sw_ooxmlfieldexport's testFdo81945: this had a similar problem as as-char shapes, but this time a new SDT is starting right after a previous SDT. Adapt DocxAttributeOutput::EndContentControl() accordingly, though perhaps this should be generalized later, so we always close SDTs in the previous run, unless this is the last run, or something similar Change-Id: Ifaf581be884a683de6c8b932008a03ba43734b75 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137399 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2022-07-25vcl: fix assert fail on invalid user input in the vcl::WindowData ctorMiklos Vajna1-2/+10
This seems to be a problem since ea5a0918c8c32309821ab239c4b95f4d6a3b5c12 (VCL add vcl::WindowPosSize abstract class, 2022-06-02), which started asserting that the window size is not negative. Which is fine, but then callers like the vcl::WindowData ctor has to be adapted, since they get user input. My user profile had a string like: "1056298152,1049249376,-1906262000,-1906261808;5;0,0,0,0;" passed to that ctor, so soffice failed to start up. Just ignore the broken user input at the call-site. Change-Id: I942b0f2dfc1a07f9514c120761e100691f6d1a59 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137357 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2022-07-25sw content controls, plain text: add DOCX exportMiklos Vajna2-0/+38
Map the PlainText UNO property to: <w:sdtPr> <w:text/> </w:sdtPr> Change-Id: I57f365fcfb3a80acb74aa932432a8ae8f3acc92b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137398 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2022-07-25sw: prefix members of SwCharURLPage, SwParagraphNumTabPage, Xst and XstzMiklos Vajna6-33/+33
See tdf#94879 for motivation. Change-Id: Idf6a9da5f00ca37fc12b994301df0e378509a90f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137397 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2022-07-24ofz#45551 Out-of-memoryCaolán McNamara1-0/+4
Change-Id: Ic58fe7e279941b976412131fc8b3c81eba080296 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137395 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-07-24ofz#49217 height_sp member, etc unusedCaolán McNamara2-22/+9
massif peak from 37.10MB to 28.16MB Change-Id: I3d773637cee4243f235a4784e29a066d2c8b747a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137384 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-07-24Fix typoAndrea Gelmini1-1/+1
Change-Id: Ia6c5e8615cc1438664f2208b6b1fc5f0383840ca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137392 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-07-24Removed executable bits on doc fileAndrea Gelmini1-0/+0
Change-Id: I8e6e4e73850897d6f4858da5bbe682733f513b8d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137393 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-07-24tdf#147868 Disable add sheet when structure is protectedHossein3-0/+7
Using "Tools > Protect Spreadsheet Structure...", it is possible to protect the structure of a spreadsheet document. Without this patch in place, the [+] (add new sheet) button is clickable but it does not work. This is confusing for the user, so it was decided that the button should be disabled when the structure is protected. This patch disables the [+] button just after the structure is protected using the above toggle menu option. The menu option becomes checked, and the [+] button gets disabled immediately. After choosing the same toggle menu option again, the check mark goes away, and the [+] button becomes enabled immediately. In this patch, GetDocument().IsDocEditable() is used to check if the document structure is protected. The argument for this choice is that the same function is used when renaming a sheet with ScDocFunc::RenameTable(). Change-Id: If812d94841d3efd98d7ef898cc1f4b2f1387130b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137365 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
2022-07-24VBA Fix Color mapping issuesHannah Meeks3-2/+11
wdRed should retrun wdRed etc. Change-Id: I5ae359c8b5ec9c34ddd2fd18894bd860384b3cc9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137383 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2022-07-23Removed executable bits from source fileAndrea Gelmini1-0/+0
Change-Id: I0f36bec337e6167668a0fccd48b5a047327a9215 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137374 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-07-23tdf#101731 Rename gradient border label to midpointAli_Abdollahian1-1/+1
Renamed gradient border label to Mid_point Change-Id: Icda875d3c6f03ffd29395ac5ce932475cc629361 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136851 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
2022-07-23tdf#149538 no text area rotation if upright exportedRegina Henschel3-9/+37
This is a followup to commit 7e23cbdb. With that commit the attribute 'upright' is correctly emulated by a rotation of the text area rectangle. But I forgot to remove this rotation when the 'upright' attribute is used on export. Change-Id: I46d0f421be8ef6b44537134c73dc1e4326ba7e1d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137368 Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
2022-07-23Delete unnecessary new lineAndreas Heinisch1-1/+0
Change-Id: I3e826c02895adda7dfa18c786dce0d94b08636d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137332 Tested-by: Andreas Heinisch <andreas.heinisch@yahoo.de> Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2022-07-23tdf#135761 - Calc cell editing: change search preference for the word boundaryAndreas Heinisch2-1/+38
Since ImpEditEngine::StartOfWord is only used when a selection is deleted at the left, change the search preference of the word boundary from forward to backward. For further details of a deletion of a selection check ImpEditEngine::DeleteLeftOrRight. Change-Id: Ic68901cc04e5057e058ff03304f68eef1dca7a1e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137108 Tested-by: Andreas Heinisch <andreas.heinisch@yahoo.de> Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2022-07-23related tdf#145998 sw ms export: smarter first headerJustin Luth5-0/+22
Possibly I should only set m_pPreviousSectionPageDesc when nBreakType is 2. However, this is export and LO doesn't have continuous sections, so it should be fine. The need for this should be VERY minimal now that a simple page break is usually utilized in this situation. As this unit test shows, it can still be valuable if a page renumber occurs. To push this idea much farther would require analysis of the actual layout, since a page chain can't be known whether we have seen a follow or not. Change-Id: I7dc37779ffebbf6649a10b08d561a14b0588c5c1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137376 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
2022-07-23elide some makeStringAndClear() callsNoel Grandin13-86/+179
when we are passing the result to a string_view, it is pointless. Change-Id: If1a1edef1d450f57cdfd35fbc0dbce03898cc4ff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134944 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-07-23Update git submodulesRafael Lima1-0/+0
* Update helpcontent2 from branch 'master' to defa90e7b857b289bcc28529e9911d965e4a1166 - Warn that names of Calc formulas must be in English While translating the help and doing some testing, I realized that the CompactLeft and CompactUp methods require the filterformula argument to use the English names of Calc formulas. This patch adds a note about it. Change-Id: Ie21b900ce52de566a2da8ec7a2813c46315403ee Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136933 Tested-by: Jenkins Tested-by: Jean-Pierre Ledure <jp@ledure.be> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2022-07-23Simplify greyscale palette initialization furtherMike Kaganski3-34/+37
Change-Id: Iaab6a493e0a0c329f6b6e229f0ce0cdabb188112 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137361 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-07-23related tdf#145998 docx export: fix writing blank headers/footersJustin Luth2-15/+16
That perpetual m_bHasHdr variable was really confusing, and it was completely misused (by me). This change should make it much easier to understand the purpose. To do this completely efficiently would require multiple variables for each type, but this is good enough. (It just means we might create a few more empty headers than is absolutely necessary.) Change-Id: I0686fe2af81203021ff1bd58d79d9cd3bc81a89f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137375 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
2022-07-23Related: tdf#150011 Add HRK Croatian Kuna to Euro conversion wizardEike Rathke2-0/+17
Maybe just for completeness, it's removed from menu but might be callable as macro. Change-Id: Iade0be845186d3deb2f00f4aaa230c0b344cea72 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137372 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2022-07-22Resolves: tdf#150011 Add HRK Croatian Kuna conversion to EUR EuroEike Rathke3-1/+21
TODO: switch defaults before 2023-01-01 in i18npool/source/localedata/data/hr_HR.xml Change-Id: Ifc62aefbc8c9fe8bbf044f61ae4fd6eeff692185 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137371 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2022-07-22tdf#119840 tweak SwPosition::operator<Noel Grandin1-12/+8
It is slightly cheaper to check for == first, because that doesn't require fetching data via a pointer to another object. Shaves 7% off load time Change-Id: I4e22e55ed10198a8fadc49de708a5a6b55afc0ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137356 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-07-22gtk: honour disabled columns from set_column_editable for start_editingCaolán McNamara1-13/+40
Change-Id: I3b49254b9bdaee1e10e82cc2cff0c4cbf52f74fc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137363 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-07-22vcl: allow editing a column other than the first one in SvTabListBoxMichael Stahl1-0/+10
There are 2 members mvTabList and aTabs in SvTabListBox and SvTreeListBox, and only aTabs is evaluated to determine which column should be edited when calling start_editing(). This solution is probably not ideal; it would be better to have a parameter to select the column because one might want multiple editable columns with multiple buttons... Also, the native GTK implementation has the same bug (but there double-clicking the column works). Change-Id: I727792e635d3b610a2132ee5f4155e3ee610aaf2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137362 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-07-22tdf#145998 sw ms export: use page break, not section breakJustin Luth3-1/+47
If possible, use a simple page break instead of a section break. Eliminate unnecessary "page style" changes. If the page will become that style anyway, then a simple page break will suffice. The benefit is primarily for LO import, since it is virtually impossible on import to know if a section is identical to the previous section. Thus we have previously multiplied page styles - often redundantly. This also starts to fix a real problem with first headers showing up on an unnecessary new page style. Unit test deals with this. Change-Id: Ib9e24bbd579b29aa21efb2b85750ecfcb8c7e5cb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137273 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
2022-07-22tdf#143148 Use pragma once instead of include guardsPoonamShokeen1-4/+1
Change-Id: I7061e0985c51910ba6a8b862cd755b8b4f7016bd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137279 Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2022-07-22fix clang-cl check on WSLLuboš Luňák1-2/+2
Change-Id: Id357ee8e27eb3e8b6f5f076350c43bb75e7d0683 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137348 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-07-22fix configure handling of tarball path on WSLLuboš Luňák1-2/+4
Change-Id: Ie33eb8e256a38c5120fdd713b3fc34160a8728b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137347 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-07-22configure fixes for WSLLuboš Luňák1-32/+74
- Enabling some Cygwin checks also for WSL. - Handling of Windows paths as needed for WSL. - Reading of registry using wsl-lo-helper as WSL doesn't provide registry in /proc the way Cygwin does. Configure now passes for me (with Skia and Java disabled). Change-Id: I325c4e6f9f825b3b6d0aa6cb350bafabc4011ce5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137346 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-07-22add fallback for $PROGRAMFILESX86Luboš Luňák1-0/+3
It's not set in my WSL, but since it's going to be c:\program files (x86) in the vast majority of cases, just hardcode a fallback. Change-Id: I3bf41d6bae0e5bb36c53f0a4cf913a980a058fcf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137345 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-07-22require wsl-lo-helper to be preinstalled, like 'make'Luboš Luňák3-11/+22
It is needed to even find MSVC, so configure cannot easily build it. Change-Id: Ie4e950cf01b9d8778cdc3e9a53718954b0c3c166 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137344 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-07-22use uname for detecting WSLLuboš Luňák1-2/+2
There's no wslsys in my WSL setup. I also don't see why WSL should be at least version 2, they both should(?) work and it is recommended to use version 1 with NTFS (and version 2 also doesn't work e.g. inside VirtualBox). Change-Id: I5b9440f65624f49e331d84235046e4dd2e31af4e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137343 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-07-22tdf#147021 Use std::size in {Read,Write}JobSetupMichael Weghorn1-4/+4
Change-Id: I6db569b8c5fb94dcd0e7ad629738ded8ba53e80c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137359 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-07-22Simplify paletted ctor logicMike Kaganski1-28/+31
Change-Id: I2c04eaf758fe9050a023061746cb342f2b862952 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137324 Tested-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-07-22sw: fix heap-use-after-free in SwTextNode::InsertHint()Miklos Vajna1-0/+1
This is a problem since commit 1dce9ee7e12871ee63434499db805e806b9e9d3c (sw content controls, plain text: apply formatting to the entire contents, 2022-07-21), because I forgot to check if pAttr is still a valid pointer after the input field code is executed. Below code already uses this flag to make sure it's not accessing a dangling pointer, apply the same fix here as well. Change-Id: Ifcba0bc5e3a3c0abd81ff954fb10f6880163461b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137349 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2022-07-22tdf#149697 PPTX export: fix changing place of connection pointsTibor Nagy5-5/+61
Place of the connection point of a polygon changed during a PPTX round-trip, connecting other vertices of e.g. a square or a hexagon, as before. See also commit c3f73f75772d076dfb2ed0538e7d515503edc038 "tdf#149128 PPTX export: fix <stCxn> and <endCxn> connector properties". Change-Id: I64fc6377417a99d32e84ea71fbed13cf36760118 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136474 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
2022-07-22tdf#139128 DOCX: fix export of line break in text framesTünde Tóth3-0/+14
Line breaks (text:line-break) of ODF text frames (draw:text-box) were lost during DOCX export. Change-Id: I2e1149234749437ceef0d4643b0e686d5ae92156 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136998 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
2022-07-22tdf#150093 add scrollbar to calc general options for the case it doesn't fitCaolán McNamara1-258/+276
Change-Id: I5099244153f38fc8393aaa6a09e74dcbd0a995bd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137341 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-07-22elide some makeStringAndClear() callsNoel Grandin9-27/+32
Change-Id: I3b80d0f5b6d39c071242bc6ccc1e4333886c835d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137309 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-07-22elide some makeStringAndClear() callsNoel Grandin5-5/+7
Change-Id: I58541cc3e0ec45a2f8127e1e14f4912a1295c740 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137312 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-07-22elide some makeStringAndClear() callsNoel Grandin4-21/+28
Change-Id: I3b7ae370b41638c0a67374d5132b7bdf56e7c672 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137311 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-07-22elide some makeStringAndClear() callsNoel Grandin10-34/+65
Change-Id: Iccdb04df53bc981e2240240daddf15e9e1bb5a16 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137310 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-07-22tdf#150086 DOCX import: fix ToC redline with lost contentLászló Németh3-1/+17
Inserted Table of Contents lost its redline partially, e.g. the redline contained only "Conte" instead of "Content". Regression from commit 69edfcf789db1920273191d93fae0bc03f385b81 "DOCX import: fix assertion failure when redline ends right before a ToC". Note: it seems, it's enough to limit the original fix for delete redlines, because that was the main target of the interoperability fix. Change-Id: I617fa855aa8e194a33caa419d2d73e76588f4bd5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137308 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>