summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-04ofz#53028 Integer-overflowCaolán McNamara
Change-Id: I08f072e28e182dd8b606a93b5509e7cb38e173e6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142281 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-11-04ofz#53034 Null-dereferenceCaolán McNamara
Change-Id: I3be4f2b976b64a2f592eeef9802e6cf8dd15341b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142278 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-11-04SwModelTestBase: make mpTestDocumentPath privateXisco Fauli
in preparation for future inheritance from UnoApiTest Change-Id: Ie5dee5af3609d8490d7d7bad0d6dbc4c8fc17bb9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142280 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-11-04Related: tdf#151509 factor out common block as UpdateGeometryFromEventCaolán McNamara
Change-Id: Iec2d4d1dcc2c38e264079024e25a8a3b8ea351c9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142273 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-11-04add a test for "fit to frame" text renderingTomaž Vajngerl
Change-Id: If304f12e1f1fbe3afea4885975302b77b428567f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142187 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2022-11-04tdf#115007 svl: clean-up "add NatNum12 number format list items"László Németh
As suggested by Eike Rathke: – call getCurrBankSymbol() via rLoc(); - remove CCC support with NatNum12: "This old CCC automatic format code never was used with NatNum12 and shouldn't be introduced, it also isn't offered in the number format dialog if a legacy document doesn't already use it." Follow-up to commit 2a1d2d42af7f365330479f4032ddfdd9eeba7c1d "tdf#115007 add NatNum12 number format list items, fix title case". Change-Id: Ia298d62221b1ce220724bdd7cfe627913ee1afc0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142269 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2022-11-04sw: remove duplicated codeXisco Fauli
Change-Id: Ief47e4d6eeea916c555d28fefca837ef978cb4f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142267 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-11-04upgrade Expat to 2.5.0Taichi Haradaguchi
Fixes CVE-2022-43680 Change-Id: I5bf8d1ab0ac352833c76a7edfc1d8eb78dd03e10 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142042 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-11-04CppunitTest_sw_indexingexport: remove duplicated methodXisco Fauli
Change-Id: Iffbcd8ae699e8d09933cd9ef3c51a9b1a9e6dd7d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142268 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-11-04address review comments in unotools::WeakReferenceNoel Grandin
from commit 4e0856fa11674e386c9b84dd40a702c83450166f Change-Id: I0dbd6a115b36be8030120a8006959e611f637f07 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142266 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-11-04calling getCaughtException twice in one catch block is not allowedNoel Grandin
It seems to work, but it's not guaranteed to do so, and violates the documented contract. Regression from commit 85a5233275ab83fe0d6b943b298695387d97accd Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Mon Oct 31 12:08:50 2022 +0200 error when copying table and the copy table wizard creates the primary key Change-Id: Ib8422017e627e825865c96dd9fbacbe0e518e96b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142264 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-11-04Related: tdf#151509 trust the crossing position provided by gtkCaolán McNamara
don't attempt to recalculate it from root window position with an offset of our belief as to our position Change-Id: Ia08cfd2aa5de73139ec7444b4576fe0c00240009 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142271 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-11-04Related: tdf#151509 make what the x/y values are more clearCaolán McNamara
we're re-deriving in a more complicated way values we already have available. no change of logic intended. Change-Id: I14232558312e5457dce7a949cdafe0518214894d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142270 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-11-04external/openssl: fix and remove some patchesTaichi Haradaguchi
* openssl-no-multilib.patch.0: fix patch coverage * opensslios.patch: remove this patch as it is not used. Change-Id: I4651fc4107992bdaaefc2af3d0ff04c7bf26fa87 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142190 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2022-11-04ofz#52830 skip slow path for fuzzingCaolán McNamara
Change-Id: Ic19f71200b862469978e55789ef879d680440a96 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142244 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-11-04Reinstate removal of lcl_GuessPaperSizeStephan Bergmann
...originally done with 1d7964c5ff579ff93067dc1c3e45b522e3cb2b4e "CWS-TOOLING: integrate CWS unifypaper01" on 2009-06-12. However, the removed lcl_GuessPaperSize then reappeared, apparently with the merge commit 4563270cfd37f1a08e0315a5624affa3a7680771 "CWS-TOOLING: integrate CWS printerpullpages" on 2010-01-15, presumably due to a mis-merge somewhere along the way. SmModel::getRenderer and SmModel::render are e.g. called when doing "Export as PDF..." of a Math Formula, but it seems a bit hard to get into the "no real printer" branches there that would actually have called lcl_GuessPaperSize. But anyway, it looks reasonable to replace that function with the more elaborate SvxPaperInfo::GetDefaultPaperSize. (I stumbled over this when the code in lcl_GuessPaperSize caused a newly introduced -Werror=dangling-reference with GCC 13 trunk, similar to e0121b2478526d803681d57d59af0cbf9cf602b4 "-Werror=dangling-reference". So I figured I'd remove that code as apparently intended back in 2009 rather than try to fix it now.) Change-Id: Ia73d9ece8429bbeccd4f65a9efc156c0dee52c01 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142246 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-11-04tdf#143641 Fix UNO Object Inspector window titleAmarjargal Gundjalam
When detaching the "UNO Object Inspector" window, the title is "LibreOfficeDev 7.x", and not anything related to the window. This change fixes the window title. Change-Id: I3b7c3b547e59acd108b62a537ce7ff24162d745b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142053 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Hossein <hossein@libreoffice.org> Reviewed-by: Hossein <hossein@libreoffice.org>
2022-11-04tdf#148672 Old Hungarian transliteration: fix "word]"László Németh
Words ending with closing bracket weren't transliterated, because NatNum12 parameters couldn't contain closing bracket. Transliterate without the bracket, and append it to the result. Note: "[word]", "(word)" etc. forms will be handled by the next libnumbertext release. Change-Id: Id0d34267575782487819e3a3f76d1b547866e362 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142254 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2022-11-04CppunitTest_embeddedobj_msole: inherit from UnoApiXmlTestXisco Fauli
Change-Id: I26e0a4db8484c8e91f3ebff9828d76270ddc5f6e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142256 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-11-04sw: fix merge mail to direct export as pdfHenry Castro
In order to export directly to PDF, the document must remove the hidden sections (if format condition), the data source should stay on current selected record finally restore the hidden sections. Signed-off-by: Henry Castro <hcastro@collabora.com> Change-Id: Idf8e2a26d5c9cbe61ddac6c35cc2e1df1175da27 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141520 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-11-04sw: add FN_PARA_1 to MAILPREPAREEXPORT slotHenry Castro
Reuse the code to use the functionality without the UpdateFields calls, otherwise it will reset the data source on the first record and export to pdf will have wrong data. Signed-off-by: Henry Castro <hcastro@collabora.com> Change-Id: Iec3b44b91c06861cb22d0a7a7234bee6f6f817a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141519 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-11-04svg: export embedded videoAshod Nakashian
Change-Id: Ie5dcd1fb4abbaf53f48107e7def0f42daad24596 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142145 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-11-04Fix ARM64 build after postgres upgrade to 13.8Xisco Fauli
Partially revert 096e2ba8e4fce64c04a7d7e842dd1dbab8699801 "postgresql: upgrade to release 13.8" Change-Id: I3fa2a96f9765788ab6193133c4f420eed7eb99bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142255 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-11-04No need to accept macOS SDK 10.13 surelyTor Lillqvist
We require at least 10.14 at run-time anyway. Change-Id: Iaffdb403696733583ac66e31139c3b427aae0b69 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142233 Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
2022-11-04tdf#54857 use more static_cast in WeakReference::getNoel Grandin
which shaves 3% off the load time here. Change-Id: I514dedc765ad12da2ad08e115c1ebf86c653c433 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142237 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-11-04SplineLine and SplineFill have never been implementedNoel Grandin
Change-Id: I75e01bc8831a9d8e6e1f52fc3a89cd9827e1d6b9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142263 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-11-04CppunitTest_sw_uiwriter3: use more SwParaPortion::dumpAsXml()Miklos Vajna
See commit feeed3e762cf077fbd9cf48f82e949365108ccc1 (CppunitTest_sw_layoutwriter: avoid some a11y-based layout testing, 2022-04-07) for motivation. Change-Id: I2105da00f5e89409b29dbf8f99339955485bd69f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142252 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-11-04tdf#54857 use OUStringConstExpr in XMLPropertyMapEntryNoel Grandin
which means we don't need to allocate a bunch of strings when building the property maps in xmloff Change-Id: I83cb013f816d9b7bcb0dd55c59e5151b33b91c9c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142192 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-11-04tdf#126788 remove weak m_wThis referenceNoel Grandin
weak references are surprsingly expensive in bulk. To make sure we don't get revive an object, we need to stop listening before we destroy the Impl object Change-Id: I8a3d99e29681e1f844598bc7ac792a659e1104f0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142092 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-11-04Use o3tl::convert in MathMike Kaganski
... and use our standard definition of pt. Change-Id: I5a162b137360210335b84de33606dc7404cfc2de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142204 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-11-04tdf#150045 Supplemental label in Validity dialogAdolfo Jayme Barrientos
In a type ramp, this label has secondary importance. This change gives texture to the dialog and makes it easier to parse. Change-Id: If1dbb01ff2fb0a103a7f534b9ca4cc4681e923ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142227 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Jenkins
2022-11-04Related: tdf#151863 Set #REF! error if reference list is not convertibleEike Rathke
i.e. to array/matrix that a function or operator may expect. That indicates the actual problem better than #VALUE! and also seems to be what Excel does. Change-Id: I9c3857613e330f9a93d4a0595e740106addc6e67 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142250 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2022-11-03UnoApiTest: make mbSkipValidation privateXisco Fauli
Change-Id: Icc292b40b3295e7890f81d448bb4907725f46970 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142245 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-11-03swmodeltestbase: remove duplicated methodXisco Fauli
Change-Id: I16b785c31f0e235b6a71b6ea86b17b72e063e95d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142247 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-11-03swmodeltestbase: use maTempFile everywhereXisco Fauli
Change-Id: Ifd840984e4144599f2527702a57688863854b7ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142235 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-11-03tdf#115007 i18npool: add NatNum12 formats to localesLászló Németh
supported by libnumbertext. Note: English currency formats got title case and upper case items, the other one lower case and upper case items. English standard numbers got title case, sentence case, lower and upper case items, while the other one got all cases except title case. Note: libnumbertext update will fix missing currency names of en_DK, en_IS etc.; Irish; es_SV, es_VE etc. Change-Id: I1621d1256e06e9fd843f5b66fd39b16f12cf1b96 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142126 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2022-11-03tdf#115007 add NatNum12 number format list items, fix title caseLászló Németh
Add NumberText NatNum12 number formats, e.g. "One Hundred", and currency formats, e.g. "One U.S. Dollar and Twenty Cents" to number formatting dialog windows, i.e. Format Cells->Numbers in Calc and Format Numbers in Writer (Edit Fields->Format-> Additional formats...). Fix also bad English title case: "One Euro *and* *Twenty-Two* cents" (not *And* and *Twenty-two*) Details: – svl: list NatNum12 NumberText currency codes in Currency formats (i.e. after choosing Currency category). – svx: Recognize bank symbol "CURRENCY" in NatNum12 parameters defined in locale resource files. For example, "[NatNum12 CURRENCY]" is converted to "[NatNum12 USD]" in the number format dialog windows, using bank symbol of the current locale settings. Recognize compatible (old) bank symbol "CCC" in NatNum12 parameters defined in locale resource files. For example, "[NatNum12 CCC]" is converted to "[NatNum12 DEM]" in the number format dialog windows, using bank symbol of the compatible currency of the German locale settings. User-defined formats with arbitrary bank codes are recognized as currency formats, e.g. modifying "[NatNum12 USD]" to "[NatNum12 EUR]" in the dialog window results a new currency format item. – i18npool/*en_US.xml: define four Standard NatNum12 formats (lower case, sentence case, title case, upper case) and four Currency NatNum12 formats (title case, title case with digits, upper case, upper case with digits). – cui: use lower sample numbers for spell out formats: – 100 for Standard: One Hundred one hundred One hundred ONE HUNDRED – 1.2 for Currency: One U.S. Dollar ONE U.S. DOLLAR One U.S. Dollar and Twenty Cents ONE U.S. DOLLAR AND TWENTY CENTS – i18npool: fix English title casing of NatNum12 conversions: – Don't apply casing on "and", according to the title case rules, for example: "One Euro and One Cent" instead of "One Euro And One Cent". – Apply casing on the second element of the hyphenated compound words: "Twenty-One" instead of the bad "Twenty-one". – add unit test for extended Number and Currency categories. Note: according to the changes, update user-defined number format id in chart2/qa/extras/chart2dump/reference/chartdatatest/simple_chart.txt Change-Id: Ieaf9a8f75a4f197b858eaf67f83484df70295834 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141994 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2022-11-03sc lok: Double-click should behave more like on desktopJan Holesovsky
When editing was introduced in Calc LibreOfficeKit, there were lots of limitations. Particularly the thinking was that it would be good if a double-click into any text (even if spanning over more cells) actually started editing that text. These days, the LOK behaves much more consistently, so it is better to behave as the LibreOffice on desktop (or other tools, like gdocs) do: If the cell: * Is empty -> single click places the cell cursor -> double click places the cell cursor & shows the text caret * Is empty, but covered by text bleeding from other cell -> same as if it was empty * Isn't empty -> single click places the cell cursor -> double click places the cell cursor & places the text caret inside the text where the user clicked + this is actually different in gdocs - there the caret is placed at the end of the text; in LO it is where the user has double-clicked Change-Id: Ib5884f887c98f803b06d8bed5057ec435be480ef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142196 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2022-11-03Related: tdf#149932 map NSUnderlineStyleDouble to new DoubleUnderlineCaolán McNamara
and NSUnderlineStyleThick to ExtTextInputAttr::BoldUnderline Change-Id: I66696cfd24ccd2cf02a2af63290419ac584079e9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142224 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-11-03Related: tdf#149932 honour PANGO_UNDERLINE_DOUBLE for preedit underlineCaolán McNamara
we already have support for double underline so that's an easy add Change-Id: I1bba5620038e396765bd79050ff6a520096f9476 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142223 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-11-03tdf#142446 Improve show outline content to levelJim Raykowski
by reworking the MakeOutlineLevelsVisible function Change-Id: I0a102420475ed97e35b8f92315eaa4cca2958599 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142226 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2022-11-03Fix typoAndrea Gelmini
Change-Id: I73fec7b8634704a8ceedf7a1be6eacd4dafc06e2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142249 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-11-03Fix typoAndrea Gelmini
Change-Id: If6bfabcfb1f9bc653b72c3775cdeaa91e0058fe0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142248 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-11-03fix warning C4701: potentially uninitialized local variable 'bBool' usedNoel Grandin
seen on jenkins Change-Id: I9d514580a80534eff45578c9b6cfdaf45fb7285f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142234 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-11-03qa: remove duplicated codeXisco Fauli
Change-Id: I13da5ca9d07131a340dcf95ca0b980d75ca6e9d0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142229 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-11-03Related: tdf#149932 honour PANGO_UNDERLINE_NONE for preedit underlineCaolán McNamara
at least don't show an underline for PANGO_UNDERLINE_NONE Change-Id: I190f44e1dfb7da1c663ce588973278d0da591c46 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142222 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-11-03CppunitTest_sc_html_export_test: inherit from UnoApiXmlTestXisco Fauli
Change-Id: Iee06f883704484bf62bf1d9988580d72ba40db22 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142232 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-11-03Do not merge filesarrayref and unixlinksarrayref when filtering out directoriesMike Kaganski
In commit 8c6467a785037309d2a2cec56c8e38cf52da0aee, the code filtering out the directories was creating a new array, that was assigned to the function's inout filesarrayref argument; and that code merged non-directories from both filesarrayref and unixlinksarrayref. This fixes the logic to only filter filesarrayref. Change-Id: Ia00dcd3f645ba2a6c2d8ea0559627ccfe0eb232b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142195 Tested-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-11-03Resolves: tdf#151112 move focus into container widget hierarchyCaolán McNamara
Change-Id: I5e5ca5a377f8e4c79ec8b2e4c2674be7ed0c10a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142230 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-11-03sw: fix merge mail multiple filesHenry Castro
If the document contains a section with a hidden condition, and the user merges into several files, the section has to be deleted in the same way as the single file. Signed-off-by: Henry Castro <hcastro@collabora.com> Change-Id: If5483aaf635a6515482f245c286132a365d72762 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141518 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>