Commit graph

498031 commits

Author SHA1 Message Date
Noel Grandin
041b3d8166 drawpage::getCount is expensive
so only call it once at the start of the loop. Shaves 1% off the cost of
loading complex documents with lots of shapes.

Change-Id: Ieb985b2523f6b4db3313eb000cf64e9c689e65c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170820
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-07-22 08:23:18 +02:00
Rafael Lima
180f0c1ec8 tdf#161501 Improve visuals of selected entries in Vertical tabs
This patch improves the following in vertical tabs:
1) Selected entries are painted natively when possible
2) Entries are a bit taller
3) Text is now vertically centered (for items that are text-only)
4) In native controls a mark is drawn on the selected tab

Change-Id: I42a8e002130030d1484c4149b146258921436af9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170554
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2024-07-22 07:05:00 +02:00
Olivier Hallot
ba0e0093b0 Update git submodules
* Update helpcontent2 from branch 'master'
  to 805241fc011cf160c349548bcb532f487aa18e38
  - tdf#144986 Blank cells vs. empty string.
    
    Change-Id: If9c718e476625a137881805757f1011938ac9986
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/170816
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-07-21 22:59:01 +02:00
Caolán McNamara
5c783662b9 cid#1556239 Use of auto that causes a copy
and

cid#1557287 Use of auto that causes a copy
cid#1558003 Use of auto that causes a copy
cid#1557568 Use of auto that causes a copy
cid#1556546 Use of auto that causes a copy
cid#1557377 Use of auto that causes a copy
cid#1608325 Use of auto that causes a copy

Change-Id: I84e59d2b14bb1e5856f9cac521ad6542b1784243
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170821
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-07-21 22:40:30 +02:00
Caolán McNamara
a97efa53de cid#1606961 silence Overflowed array index read
and

cid#1606751 Overflowed array index read

Change-Id: If9681a61b14b68e6d1f12b0d4907ab23180972f2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170819
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-21 22:40:22 +02:00
Caolán McNamara
4eb2718367 GetEmptyBrushItem is used readonly
Change-Id: I7994e48ffdedeaf99d8422c02d235e89ebf10366
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170815
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-07-21 20:49:08 +02:00
Mike Kaganski
6e51784dc5 Use tools::Duration / DateTime to avoid use of boost
Change-Id: Idec79929952929d1720b67fc865ac4a0c4908678
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170817
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-07-21 19:15:22 +02:00
Laurent Balland
d9c156e70e tdf#161799 Preserve default styles in Candy template
Some default styles ("Filled Blue", "Filled Red", "Filled Yellow",
"Outlined Blue", "Outlined Red", "Outlined Yellow") were modified. But
when slide is copied to other presentation, these new styles are
replaced by default styles.
This change duplicates the formats to preserve them when slides are
copied outside Candy template.

Change-Id: I38ccacbe65912c5b2cfecfa0d309a412bc34a867
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169661
Tested-by: Jenkins
Reviewed-by: Laurent Balland <laurent.balland@mailo.fr>
2024-07-21 18:20:08 +02:00
Mike Kaganski
a245fd604c tdf#156530: fix OPreparedStatement::setString
The problem was, that the function only considered the target XSQLVAR's
sqltype,  ignoring sqlsubtype.  This led to a situation when assignment
to NUMERIC or DECIMAL  was treated as assignment  to an underlying type,
like SQL_LONG, performed without taking scale into account.

Use ColumnTypeInfo and its getSdbcType, which provides the correct type,
and add missing cases to setString.  Fix setObjectWithInfo to make sure
that the resulting number is correct.

This also fixes export of NUMERIC/DECIMAL in HSQL migration. Previously
it miscalculated the position of decimal separator,  which accidentally
went unnoticed in the existing unit test, because it was compensated by
broken handling in Firebird SDBC for the specific numbers in the test.

OResultSet::makeNumericString was also fixed; it didn't handle properly
the case of zero fractional part:  initial number 1200 with scale 2 was
converted to a string "12.000" instead of expected "12.00".

Change-Id: I5adac59737d21f91c782fe867d4827fb880fd62a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170812
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-07-21 17:22:52 +02:00
Caolán McNamara
b53ea34333 ofz#70572 build failure
Change-Id: Id52104ee937306fc628d99c6f9dc6083fb054ffc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170814
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-21 15:30:22 +02:00
Andrea Gelmini
7c55e42630 Remove duplicated include
Change-Id: Ie0ab653d1301b6cc401738fb35e51f49b4e526ba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170811
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
Tested-by: Jenkins
2024-07-21 15:29:55 +02:00
Eike Rathke
d6030b66f1 Pull today DateTime out of loop
It's unnecessary to obtain system time twice or thrice and also prevents
different today values when looping over midnight.

Change-Id: Ifcf4917769bb1d853e326049711e295d54408eef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170699
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
2024-07-21 13:22:30 +02:00
Noel Grandin
a61128c95e improve perf of lcl_GetUniqueFlyName
reduces the load time of a complex document from 18s to 16s

Change-Id: I5382e27bf1b6beaf7276ef46f10d43d5bf9822d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170795
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-07-21 12:00:36 +02:00
varshneydevansh
07ae0e5ada tdf#82716 Add initial implementation of the Histogram Chart
- Add the Histogram selection to the UI
- Histogram bars showing with No Gap
- Convert X and Y axis to group data into bins and frequency
- Adjusted failing UI test (tdf138556) as a new chart type was added

Change-Id: Id1f161adac943ead5e17c7fbb7e14c9ab7f1655e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167068
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2024-07-21 08:02:43 +02:00
Mike Kaganski
b92b1ca8c1 Refactor for clarity
Change-Id: Ie15fe9d2542000132c9928099f515dca8d287d52
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170737
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-07-21 07:13:34 +02:00
Mike Kaganski
8705cfecd5 Unchecked dereference of UNO_QUERY result
Change-Id: I85599f303e45ea003b5e214206e4ae3e5216509d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170735
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-07-21 04:09:20 +02:00
Mike Kaganski
3bc868b8a4 Optimize a bit
Change-Id: I3ad48edd96dd7d390174626cda6841be04b2db07
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170736
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-07-21 04:09:11 +02:00
Caolán McNamara
2b2cbdb006 cid#1608102 Double unlock
Change-Id: I8cb89726926d2f079735e81491f2b9f1d61f6416
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170807
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-07-21 01:29:32 +02:00
Caolán McNamara
a4befb29f3 cid#1610738 Logically dead code
Change-Id: I5f10539adb2c109c19ec6ec41ec84c0db03b4d22
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170801
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-21 01:29:15 +02:00
Andrea Gelmini
0e195e0734 Fix typo
Change-Id: Icfce04f91f76119f970073bbcdbe65770f0e31c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170798
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Tested-by: Jenkins
2024-07-20 23:53:11 +02:00
Andrea Gelmini
81a5193629 Fix typo
Change-Id: I0f82c1ef158213cdf77621fb0b46be9b7424feb0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170797
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Tested-by: Jenkins
2024-07-20 23:52:43 +02:00
Caolán McNamara
d33d592801 cid#1554791 COPY_INSTEAD_OF_MOVE
and

cid#1554819 COPY_INSTEAD_OF_MOVE
cid#1554837 COPY_INSTEAD_OF_MOVE
cid#1554881 COPY_INSTEAD_OF_MOVE
cid#1554882 COPY_INSTEAD_OF_MOVE
cid#1554884 COPY_INSTEAD_OF_MOVE
cid#1554891 COPY_INSTEAD_OF_MOVE
cid#1554892 COPY_INSTEAD_OF_MOVE
cid#1554897 COPY_INSTEAD_OF_MOVE
cid#1554904 COPY_INSTEAD_OF_MOVE
cid#1554918 COPY_INSTEAD_OF_MOVE
cid#1554928 COPY_INSTEAD_OF_MOVE
cid#1554931 COPY_INSTEAD_OF_MOVE
cid#1554944 COPY_INSTEAD_OF_MOVE
cid#1554945 COPY_INSTEAD_OF_MOVE
cid#1554959 COPY_INSTEAD_OF_MOVE
cid#1554960 COPY_INSTEAD_OF_MOVE
cid#1554963 COPY_INSTEAD_OF_MOVE
cid#1554966 COPY_INSTEAD_OF_MOVE
cid#1554969 COPY_INSTEAD_OF_MOVE
cid#1554973 COPY_INSTEAD_OF_MOVE
cid#1555011 COPY_INSTEAD_OF_MOVE
cid#1555012 COPY_INSTEAD_OF_MOVE
cid#1555015 COPY_INSTEAD_OF_MOVE
cid#1555044 COPY_INSTEAD_OF_MOVE
cid#1555051 COPY_INSTEAD_OF_MOVE
cid#1555055 COPY_INSTEAD_OF_MOVE
cid#1555063 COPY_INSTEAD_OF_MOVE
cid#1555068 COPY_INSTEAD_OF_MOVE
cid#1555073 COPY_INSTEAD_OF_MOVE
cid#1555074 COPY_INSTEAD_OF_MOVE
cid#1555078 COPY_INSTEAD_OF_MOVE
cid#1555080 COPY_INSTEAD_OF_MOVE
cid#1555091 COPY_INSTEAD_OF_MOVE
cid#1555099 COPY_INSTEAD_OF_MOVE
cid#1555101 COPY_INSTEAD_OF_MOVE
cid#1555121 COPY_INSTEAD_OF_MOVE
cid#1610739 COPY_INSTEAD_OF_MOVE
cid#1608424 COPY_INSTEAD_OF_MOVE
cid#1608059 COPY_INSTEAD_OF_MOVE
cid#1607952 COPY_INSTEAD_OF_MOVE
cid#1607653 COPY_INSTEAD_OF_MOVE
cid#1607614 COPY_INSTEAD_OF_MOVE
cid#1607592 COPY_INSTEAD_OF_MOVE

Change-Id: Ie9f922a9fe1b8001dfab31e2741fe8bd5558e442
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170802
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-20 23:03:28 +02:00
Stanislav Horacek
f12f05dae4 Update git submodules
* Update helpcontent2 from branch 'master'
  to 401844aa0d051bad2cb8861a185b9a7c0f88cf48
  - allow localization of XLOOKUP example
    
    Change-Id: I024907e9fbc45c41ef4240eaca018c1af1491f4e
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/170804
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-07-20 22:54:37 +02:00
Stanislav Horacek
7185e17512 Update git submodules
* Update helpcontent2 from branch 'master'
  to de354a5e67e0e079d471c3ba7d806044f997c238
  - use same names of XMATCH arguments as in UI
    
    Change-Id: I1ce3a68d071bdccb1caa9af3c4389d8c0db82979
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/170805
    Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
    Tested-by: Jenkins
2024-07-20 22:54:16 +02:00
Caolán McNamara
bfd5670ab7 cid#1610739 COPY_INSTEAD_OF_MOVE
Change-Id: I618fbda65c66985c3179578d1fa106514c5aef30
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170800
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-07-20 21:38:10 +02:00
Jim Raykowski
de9a7a5936 Resolves tdf#162018 Unexpected loss in focus in the "Manage Changes"
window when adding a change in the document (Track changes mode),
round 2

Addresses two situations where the list still jumps to the top:

Situation 1:
When an entry is added to the end of the changes list.

Situation 2:
After editing a comment for a change list entry with the 'Comment'
dialog.

Change-Id: I4a75e6bcba13fb9cc735cf78756fe736b9d4665d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170598
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Tested-by: Jenkins
2024-07-20 20:48:23 +02:00
Armin Le Grand (Collabora)
45c45e97e1 CairoSDPR: make use of RGBA PolyPolygon in more cases
Change-Id: I7cd93e5452bce96eef295c766f4cb391ddd67250
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170792
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Tested-by: Jenkins
2024-07-20 19:31:36 +02:00
Caolán McNamara
0eb68857da ofz#70412 Integer-overflow
Change-Id: I3c12382110fa9a22474adba12c6e5772e45c65e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170796
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-20 17:53:46 +02:00
Mike Kaganski
07cc2fdc3d tdf#162115 Add intl data for Firebird
Change-Id: I1dff81bc1ae8e794279b217cced042783293635d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170791
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-07-20 16:42:59 +02:00
Mike Kaganski
1edfbb3108 tdf#136637: handle SQLException in OStatementBase::disposing
The problem was unhandled exception thrown from destructor, resulting
in a crash.

Change-Id: Ib9d2deb2fe9745bf8df060c4e5bf6436b4ca468d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170790
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-07-20 16:42:15 +02:00
Caolán McNamara
0999687367 cid#1607830 Use of auto that causes a copy
and

cid#1607722 Use of auto that causes a copy
cid#1557606 Use of auto that causes a copy
cid#1557569 Use of auto that causes a copy
cid#1556239 Use of auto that causes a copy
cid#1556043 Use of auto that causes a copy
cid#1554961 Use of auto that causes a copy
cid#1554818 Use of auto that causes a copy

Change-Id: I9f74c7bc4da2c6b1df80d0fb4504dd4d03eb1053
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170784
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-20 16:40:49 +02:00
Noel Grandin
3e93e4ac7c RES_PAGEDESC does not need to be a surrogate pool item anymore
Change-Id: Iba1ed6c0791196708b18fefeb2839601bd3df61e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170782
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-07-20 15:44:24 +02:00
Armin Le Grand (Collabora)
7297b0788f CairoSDPR: Support direct RGBA paint of PolyPolygons
Change-Id: Id1480297126bcc422945df7cd47993cc7fe5c22a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170768
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Tested-by: Jenkins
2024-07-20 14:19:35 +02:00
Patrick Luby
926ed71244 tdf#161729 clear style sheets in same order as they were added
std::vector::clear() appears to delete elements in the
reverse order added. In the case of tdf#161729, a style
sheet's SfxItemSet can have a parent SfxItemSet and that
parent is the SfxItemSet for a style sheet added later.

Deleting from the end of the vector deletes a style sheet
and its SfxItemSet. If the now deleted SfxItemSet is a
parent SfxItemSet of a style sheet that was added earlier,
the style sheet added earlier will now have an SfxItemSet
with its parent set to an already deleted pointer. And so
a crash will occur when that earlier style sheet is deleted.
rxStyleSheet.clear();

Change-Id: I8ce7023fce8b01432cb3c9288a8f83e7a2f0f2d8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170707
Tested-by: Jenkins
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-07-20 13:01:36 +02:00
Gabor Kelemen
6c0db491f0 tdf#43157 Use SAL_WARN_IF instead of OSL_ENSURE
Change-Id: Id4674025a6abcacd5a8096630908c3e2f7a2821c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168129
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Tested-by: Jenkins
2024-07-20 12:34:57 +02:00
Gabor Kelemen
722d0c8b9d tdf#43157 Use SAL_WARN instead of OSL_FAIL
Change-Id: I753254e2e6963e78420288d4c4919cb24282ac81
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168128
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Tested-by: Jenkins
2024-07-20 12:32:12 +02:00
Andrea Gelmini
78dff684cb Fix typo
Change-Id: Ibf0f3b94f1a51f86b53ddbe04aa2ee0900c31e0e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168678
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2024-07-20 12:05:54 +02:00
Gabor Kelemen
e1a351ca19 Remove now unneeded osl/diagnose.h
followup to commit 57c228803e

Change-Id: Iebfb23bb65e2bf898bf27f367cc9641f47a14cf3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167998
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
Tested-by: Jenkins
2024-07-20 10:20:31 +02:00
Andrea Gelmini
ec758dbfcc Fix typo
Change-Id: I197ce7d28e92a9a73ae506c11e407dea838837e9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170786
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2024-07-20 08:52:29 +02:00
Mike Kaganski
1b796287df tdf#162111: promote integer types automatically
The problem was, that importing an HTML table into Firebird, and creating
a primary key, called OParameterUpdateHelper::updateInt for each record's
primary key field.  Since commit c07548447a
(Related: tdf#108057 Use autoincrement for automatically added primary key,
2024-03-20), the type of autocreated primary key in Firebird databases is
SQL_INT64, and before this change, OPreparedStatement::setInt failed when
the real field's type wasn't strictly SQL_LONG.

This allows Firebird SDBC's  integral OPreparedStatement::set* methods to
promote to larger numeric types capable to represent the values.

Change-Id: I7615c8e9ffa29271d04cf264bb950cb76946dfd6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170787
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-07-20 07:55:03 +02:00
Eike Rathke
553c128e3f Eliminate unnecessary DateTime conversions
Change-Id: I7bda80e01d37ecd8c2d7e3f8b9ad6fac1e74f3a6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170698
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
2024-07-20 00:35:57 +02:00
Andrea Gelmini
7118f7e800 Fix typos
Implementing Christian fixes from comments here:
https://gerrit.libreoffice.org/c/core/+/169901/3

Change-Id: I66c2e596820f481a78e8129d5e77ac292eb8b925
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170779
Tested-by: Jenkins
Reviewed-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2024-07-20 00:32:11 +02:00
Xisco Fauli
6cbfaee591 CppunitTest_sd_annotation_tests: remove redundant ProcessEventsToIdle
it's already called inside dispatchCommand

Change-Id: I037fca27b55db2001364fa2b97c661413389f421
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170781
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-07-19 23:19:57 +02:00
Xisco Fauli
dea33b0863 tdf#161899: sd_annotation_tests: Add unittest
Also add a test for uno.DeleteAllAnnotation

Change-Id: Icc8cfbad50879b5bc0e9e2b9996666cff0a85cb1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170780
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-07-19 23:19:39 +02:00
Miklos Vajna
d06de2e049 Related: tdf#162072 DOCX import: handle font family for characters
Open the bugdoc, the first paragraph is meant to be sans and the second
paragraph is meant to be serif, but both of them are serif.

The bugdoc uses the fonts 'IBM Plex Sans' and 'IBM Plex Serif', which is
not something we bundle, so the font fallback is expected, but the
fallback should have a matching font family (roman vs swiss).

Fix the problem by implementing support for <w:family w:val="..."> in
the DOCX import, which was just ignored previously.

Now the DOCX import result in on par with the ODT import result.

Change-Id: I321b9fc6f63126ca5ad61af57af8a5bc7456d5b4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170772
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-07-19 22:38:42 +02:00
Moritz Duge
6fd88230b5 tdf#161909: Repair certdialog columns with VCLPLUGIN != gtk3
Second column was broken since commit cd384e2d31

Change-Id: I4351ff2b3c2ca23884ab0f73906bfe120dc4f298
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170667
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-19 21:37:52 +02:00
Michael Stahl
46e21942bf configure,curl: enable GSSAPI on Linux/MacOS/etc.
This will link libgssapi_krb5.so.2 which is in krb5-libs (ABI CL1 in
RHEL8, ABI CL2 in RHEL9).

Change-Id: I2dbaa64e70f4502c5a47c6c85123c94b9ad41277
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170758
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2024-07-19 21:36:53 +02:00
Caolán McNamara
3ffd9de3c4 resave with latest glade
Change-Id: I9ff2454c5226c224a5211f2b4cb977e84a8c4219
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170777
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-19 21:36:16 +02:00
Caolán McNamara
dfb3b65682 getting the "manual cert path" throws unexpectedly
OUString sManualCertPath = officecfg::Office::Common::Security::Scripting::ManualCertDir::get();

in CertPathDialog::Init throws rather unexpectedly

since:

commit eca3134479
AuthorDate: Tue Oct 1 15:24:26 2019 +0000

    tdf#127909 save manually selected certificate path

Change-Id: Icafb8001e8cae2dff350f2267994d19dd73fe1a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170776
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-07-19 21:36:08 +02:00
Attila Szűcs
352e564dd1 SW: random ID for new content controls
Make the generated unique ID random for new content controls.
This way if we copy paste them from different documents,
they may still be unique.

Change-Id: I2adb6577e08b5798ae88a63b6178352aa76280d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170773
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-07-19 21:26:28 +02:00