Commit Graph

473315 Commits

Author SHA1 Message Date
Luboš Luňák
4c5f8ccf0a change default Calc number of columns to 16384 (tdf#50916)
All tests pass now, and I've also handled all significant bugreports
from tdf#133764. This commit is mainly meant to test this more
in practice and collect feedback. Depending on how this turns out,
there may be a backwards compatibility option or something similar,
but so far I see no significant need for it.

Change-Id: I1a946f4e0b51be5acf4e25dc773e7694c2b17b48
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131180
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-03-09 08:25:44 +01:00
Adolfo Jayme Barrientos
d6cd44b74c Fix some mistakes in strings reported by translators
Change-Id: I56defd20865ddfcefd51dae624f3331abc8dd93c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131228
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-03-09 07:44:42 +01:00
Adolfo Jayme Barrientos
59bb9076ab Update a string I forgot to include in 9f16c3b5ac
Change-Id: If0a281ec47f856720ec7baabfdfd4f9d77a9ada2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131227
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-03-09 07:44:25 +01:00
Andrea Gelmini
84e56886d7 Fix typos
Change-Id: Ibaefacb89a680f5d7a34e64fdf856fbd0575ee4e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131226
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-03-09 07:04:47 +01:00
Mike Kaganski
82a1d32d3d Simplify getToken
It should not attempt to dereference pointers when nIndex is negative.
Properly handle too large nIndex.
Also it is not necessary to parse the string when nToken is negative.

Related to commit be281db569

  Author Rüdiger Timm <rt@openoffice.org>
  Date   Mon Sep 20 07:43:20 2004 +0000

    INTEGRATION: CWS ause011 (1.18.22); FILE MERGED
    2004/08/18 11:47:54 sb 1.18.22.1: #i33153# Made getToken more robust.

Change-Id: I6fc77a5b70308ccca08cb2132bd78d024bd7e3e0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131221
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-03-09 06:05:37 +01:00
Rizal Muttaqin
db52076443 Colibre: Update some icons with navigation and ruler element
Change-Id: I53afd1f54cfc883c3b14a9eb2b66cdf141661d34
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131225
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2022-03-09 05:21:38 +01:00
Jim Raykowski
279abd6703 Fix annotation window from being created by Navigate By Comment
when a text selection is present.

Change-Id: Icef331334a8ad7a499477860c6d883f26e909577
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131158
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2022-03-09 00:23:04 +01:00
Caolán McNamara
de3f19062a ofz: Timeout, give up earlier with a broken font
Change-Id: Iccaedebe94db567cb248e0263d03983fc42b5d3d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131224
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-08 22:00:58 +01:00
Caolán McNamara
ee116e1662 cid#1502938 Uncaught exception
Change-Id: Ie0c408a7cdbf09e877d0ff8d62c0675ad5e4f2eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131212
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-08 21:41:50 +01:00
Luboš Luňák
4f2ec0ab9c optimize checking for conflicting named ranges
This extends 582fc887f1, first
check if there is any named range that could possibly conflict (which
generally should be rare).

Change-Id: Ia5e9e56cab29b459bcb489e871b4960ba215b665
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131219
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-03-08 21:18:00 +01:00
Luboš Luňák
371e82c2d9 don't provide non-const iterators to ScRangeName internal data
Also make few trivial functions inline.

Change-Id: I89b11b2aa4558696d624c9bde9135b1324b8eb36
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131218
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-03-08 21:17:46 +01:00
Caolán McNamara
6bdabb9e14 Resolves: tdf#147722 ScrolledWindow expands beyond buttonbox
Change-Id: Iaf65bf681739c7fc2c7cb14851621442a861c234
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131108
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-08 20:56:09 +01:00
Caolán McNamara
9cfa3e086d GetDisplayText() returning empty string if widget is clipped out
seen in: make UITest_sort UITEST_TEST_NAME="tdf105301.tdf105301.test_tdf105301"

with the fix for tdf#147722 which resulted in the first few rows
scrolled out of view and GetDisplayText() then returning nothing

Change-Id: Id833a6b5029a490b08e730c641bf9dcdea627b5e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131220
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-08 20:55:54 +01:00
Caolán McNamara
5da1d655bf ofz#45357 Floating-point-exception
Change-Id: I2970c2b09d19f43cc4f98a89d2b99eb4475c3065
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131178
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-08 20:55:34 +01:00
Jean-Pierre Ledure
7e834362a8 ScriptForge - 'SF_Root) load user interface from code when locale=en
The user interface is loaded in the user's language
at the first use of Scriptforge during the LO session.

So far the labels were always loaded from the relevant
.po file.
Now they are loaded in memory by code when the user's
language = "en".

Objective = gain in performance.

Additionally the default language is set to
   SF_Platform.OfficeLocale
i.o.
   SF_Platform.SystemLocale

Internal change, no impact on documentation

Change-Id: Ia0d1235f8ca6a42141a5481fe80b5bec1d53a7e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131214
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2022-03-08 19:53:14 +01:00
Xisco Fauli
f5467ffb31 tdf#107869: sc: move UItest to CppUnittest
Change-Id: I6b8ab5e7fce23f25cf89ac09caa746787ce209d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131215
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-03-08 17:27:44 +01:00
Caolán McNamara
c9efbdbfaf replace member-of in .ui a11y relations
Change-Id: I454c945c5ce17bcc1834923064014b43a0b45be7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131186
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-08 17:01:26 +01:00
Caolán McNamara
2c37794752 remove some member-of a11y relations
In some cases the widgets are in frames now so that hierarchical
relationship is captured already. In others labelled-by is a better
match and/or is already labelled by the widget.

Change-Id: Ifecd0eb96afecadbd66fcfdf843ce1590f5c5ff4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131185
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-08 17:01:02 +01:00
Luboš Luňák
18e2a86f92 stop ScTable::ExtendMerge() from needless complaining
With dynamic columns it is possible for it to be called
for unallocated columns, and those can't be merged.

Change-Id: If4a365ba175b9ea7e68704bb4db85a30e5f8a0db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131211
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-03-08 16:13:08 +01:00
Luboš Luňák
d032b81bbf proper columns range check (tdf#147830)
Change-Id: Ib23bc3f194fa418035e7c70a4f3e1b682f9c46b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131181
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-03-08 15:51:37 +01:00
Noel Grandin
d73551e402 no need to allocate fallback list separately
an empty map is just a couple of words of storage anyway

Change-Id: Ic14eb370cee5522f435c6709529c8480d2af9e13
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131170
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-03-08 15:40:41 +01:00
Caolán McNamara
5bf404afe2 resave with latest glade
Change-Id: Ie0e04a86d8aa8a2425fddb74089721f69d3bbe87
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131184
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-08 15:19:44 +01:00
Caolán McNamara
34a34ec566 move variables to where they are first assigned
Change-Id: I529b4039a1962f9bafb29119c4ba6a9f5960bd22
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131177
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-08 15:00:23 +01:00
Rizal Muttaqin
c4afafa317 Sukapura: Update Frame Line Color icons
Change-Id: Ie6cab6f9853f4a6d338f6291b5e093efe1b0cec1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131176
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2022-03-08 14:04:18 +01:00
Rizal Muttaqin
4fca66bd1f Sifr: tdf#147838 image for Base preview
Change-Id: I3348ae989b57477ffa741b7f4e38ec9114fef66e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131173
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2022-03-08 14:01:08 +01:00
Rizal Muttaqin
ab552b73e0 Breeze: tdf#147838 image for Base preview
Change-Id: Ib37ec53fed6d6d9ac2a39f9e81aff5564fb1d34a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131172
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2022-03-08 13:59:00 +01:00
Stephan Bergmann
42b37ba1d1 Drop some debug code
...that had been introduced with 7e8e85adbe "Add
codeSnippet debugging output when dbglevel>1" and reinforced with
6f121860d0 "tdf#130924 replace debugging printf
calls with SAL_INFO/SAL_WARN"

Change-Id: I9529bfdedd3d1a3dd623fdb28e01d6bd96c92d97
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131169
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-03-08 13:57:22 +01:00
Miklos Vajna
f86d1482be sw clearing breaks: add DOCX import
Map <w:br w:clear="..."> to the com.sun.star.text.LineBreak UNO service,
but keep the default clear=none case unchanged.

Change-Id: I145e891c1df0bbd0fdac2c62463dc801bca827fb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131167
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2022-03-08 12:25:55 +01:00
Caolán McNamara
3455ef6eff remove some member-of a11y relations
In some cases the widgets are in frames now so that hierarchical
relationship is captured already. In others labelled-by is a better
match and/or is already labelled by the widget.

Change-Id: I65cbeab514a443edd96c6f9353f892317ac5f775
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131155
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-08 11:41:15 +01:00
Luboš Luňák
48750b4ec4 optimize ScTabView::SkipCursorVertical() for many rows
Just like already done for RowHidden(), avoid repeated calls
to HasAttrib() and IsVerOverlapped() that would return the same
value because it's the same underlying attribute range.

Change-Id: Ic270f5ba1333e15d46b5e54e14d9760602221ea7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131151
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-03-08 11:27:56 +01:00
Luboš Luňák
0e6465ecc0 fix GetAttr() for unallocated columns
Change-Id: Id7cbebf68ec3cc54d773bc5745fab192d043f952
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131150
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-03-08 11:27:39 +01:00
Luboš Luňák
1e7be382b1 revert/fix the incorrect fix for tdf#126904
The default cell style has protection turned off. That means that
any cells that do not have a style that turns the protection on
are actually not protected. So the original code was correct,
it went beyond the cells explicitly saved in the file and the first
"default" cell was not protected, so it was ok to jump there.
Re-saving this document to xlsx and opening it in Excel has the same
result.

So revert the change. Keep the test, but edit the test file to
actually protect cells in the default cell style too, as that way
it's actually useful as a test of protected cells. And since
the test for tdf#126904 is a subset of basically the same test
for the same "bug" tdf#131455, keep only the larger test.

Change-Id: I36f21c33aaf5a31e95aa29d616c6abdec17fcf42
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131126
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-03-08 11:27:21 +01:00
Rizal Muttaqin
866c3ac063 KJ: tdf#147838 image for Base preview
Change-Id: Iee19c5a60aa0f1f7e17a446661f1db3741e1350f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131171
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2022-03-08 11:23:09 +01:00
VaibhavMalik4187
5c9e6a6a2b tdf#112126 Added Unit Test
Change-Id: Ia02d0846ee932188a90687a2f29183e34e01c4c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129922
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-03-08 11:22:29 +01:00
Tor Lillqvist
ba2f243d68 Make comment less misleading
Change-Id: I608abe994cc8a67c295450d836d8c423026b85d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131175
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2022-03-08 11:09:56 +01:00
Hossein
abaac7a4c1 tdf#147801 Demote bsdtar in favor of tar in configure.ac
The utility used to extract archives including tar.xz is chosen among
'gtar gnutar bsdtar tar' (respectively) that may be present in the
system PATH.
When compiling LibreOffice, there is a possiblity that some bad tools
that are available in the PATH are chosen incorrectly. As an example,
Anaconda on Windows provides a 'bsdtar' utility which can not handle
tar.xz files, but it is chosen as the archive extraction utility.

This patch demotes 'bsdtar' comapred to 'tar' in configure.ac to fix
the issue, which is filed as tdf#147801.

Change-Id: If6aa47b9255a54c1220bbfce6c2515dc53fb795b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130974
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-03-08 10:44:18 +01:00
Rizal Muttaqin
5ffa84963c elementary: tdf#147838 image for Base preview
Change-Id: Ie840eae9f0ee2e05d76b21f7595e9d157b61baf5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131168
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2022-03-08 10:36:48 +01:00
Tomaž Vajngerl
c4e0fd8dd6 sc: write the OOXML Sparkline props. to the model
This moves the properties read during the OOXML import into the
SparlineGroup class (the document model), so a sparkline can
be connected with the properties.

Change-Id: I09ecf560f1870624cb984722bdb8ee306d839dfe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131163
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2022-03-08 10:13:29 +01:00
Tomaž Vajngerl
e51784458b sc: add Sparkline to the model as a column multi_type_vector
This adds a Sparkline class and a SparklineGroup class. The
Sparkline class is added to a cell, and the SparklineGroup
is referenced by the Sparkline, so multiple Sparklines can
share the same properties.

Change-Id: Id309ded34bfa7a35c1be43f7c0543d88594e66ff
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131162
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2022-03-08 10:09:14 +01:00
Tomaž Vajngerl
04b3a9baf5 sc: support reading sparklines from OOXML document
Read sparklines and sparkline groups from the OOXML document and
add store it into a (temporary local) doc. model.

Change-Id: Id2d34db70300957735571875d6defb3d560fbb26
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131161
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2022-03-08 10:08:56 +01:00
Caolán McNamara
f35d1a9f16 resave with latest glade
and drop empty column

Change-Id: I05aeb12fecf044aa8a95aa8bf35bf605c35f2498
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131154
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-08 10:02:41 +01:00
Caolán McNamara
873454c9f4 ofz#45125 Indirect-leak
Change-Id: I208c0b6751eefbe6dddffa126fe3d89a3bd353af
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131149
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-08 10:02:26 +01:00
Rizal Muttaqin
ddf4e817d2 Colibre: tdf#137520 Increase & Decrease Font icons
Change-Id: Idea7c926304008c00b281da6c9a37ceae4e6c9c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131166
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2022-03-08 09:41:06 +01:00
Rizal Muttaqin
43f717b06c Colibre: tdf#147838 revise Base dummy preview icons
Change-Id: I72f19849f48566769a12be8a3b04308c8fcf7846
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131165
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2022-03-08 09:27:49 +01:00
Stephan Bergmann
5f5d7931d9 Fix --with-latest-c++ build
> In file included from workdir/UnpackedTarball/cppunit/include/cppunit/TestAssert.h:8,
>                  from workdir/UnpackedTarball/cppunit/include/cppunit/TestCase.h:6,
>                  from workdir/UnpackedTarball/cppunit/include/cppunit/TestCaller.h:5,
>                  from workdir/UnpackedTarball/cppunit/include/cppunit/extensions/HelperMacros.h:9,
>                  from sal/qa/rtl/oustring/rtl_ustr.cxx:25:
> workdir/UnpackedTarball/cppunit/include/cppunit/tools/StringHelper.h: In instantiation of ‘typename std::enable_if<(! std::is_enum<_Tp>::value), std::__cxx11::basic_string<char> >::type CppUnit::StringHelper::toString(const T&) [with T = char16_t; typename std::enable_if<(! std::is_enum<_Tp>::value), std::__cxx11::basic_string<char> >::type = std::__cxx11::basic_string<char>]’:
> workdir/UnpackedTarball/cppunit/include/cppunit/TestAssert.h:74:50:   required from ‘static std::string CppUnit::assertion_traits<T>::toString(const T&) [with T = char16_t; std::string = std::__cxx11::basic_string<char>]’
> workdir/UnpackedTarball/cppunit/include/cppunit/TestAssert.h:168:58:   required from ‘void CppUnit::assertEquals(const T&, const T&, SourceLine, const std::string&) [with T = char16_t; std::string = std::__cxx11::basic_string<char>]’
> sal/qa/rtl/oustring/rtl_ustr.cxx:696:17:   required from here
> workdir/UnpackedTarball/cppunit/include/cppunit/tools/StringHelper.h:25:9: error: use of deleted function ‘std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, char16_t) [with _Traits = char_traits<char>]’
>    25 |     ost << x;
>       |     ~~~~^~~~
> In file included from include/rtl/ustring.hxx:34,
>                  from sal/qa/rtl/oustring/rtl_ustr.cxx:22:
> ~/gcc/trunk/inst/include/c++/12.0.1/ostream:558:5: note: declared here
>   558 |     operator<<(basic_ostream<char, _Traits>&, char16_t) = delete;
>       |     ^~~~~~~~

Change-Id: I70ae970c10650d0e6efa5ced3a354090642d5387
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131164
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-03-08 08:46:51 +01:00
Miklos Vajna
82c879d8ff sw: document SwXMailMerge
I.e. unlike footnotes or bookmarks, this is not specific to an opened
document; while the UI only provides the matching menu item only for an
opened document.

Change-Id: I743bee4848a2da030369b9da55e0aae9bd2a86a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131148
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-03-08 08:15:46 +01:00
Mike Kaganski
69aae269ec Fix a DPI-dependent test
It fails locally on Windows using 150% scaling with

  - Expected: 9419
  - Actual  : 9437

The original size of page in the PDF is 267.507 x 85.627 pt.
Converting that on 96 DPI gives 356.68 x 114.17 pixels. Without
rounding, that translated to 356 x 114 in vcl::RenderPDFBitmaps.

This adds rounding when calculating bitmap size, giving smaller
error (9446 hmm wide, less than 10 hmm from ideal 9437 mm/100,
compared to almost 20 hmm error before). Also it adds tolerance
to the unit test.

Change-Id: I3cd8f6c0e1235adf2fe1c17f4c56f3667f0132bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131110
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-03-08 06:45:16 +01:00
Rizal Muttaqin
e91a0dbb00 Sukapura: tdf#147835: Fix paragraph direction
Change-Id: I6cfb44ed407048c5ed77783889519ccb595541b6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131157
Tested-by: Jenkins
Reviewed-by: Rizal Muttaqin <rizmut@libreoffice.org>
2022-03-08 03:31:04 +01:00
Luboš Luňák
c33fb83a62 remove pAttrArray nullptr checks
I missed these in 2e2e30d7ae.

Change-Id: Ib0f75a2a0f018521e2468e83bdf41196f4b66c3e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131152
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-03-08 00:57:40 +01:00
Caolán McNamara
9aa1753aea gtk4: convert .ui a11y name, desc and labelled-by
Change-Id: I3aa380330ccb22fdbc0dc356f1c9c973d14e02c0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131118
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-07 22:08:11 +01:00