Commit graph

475022 commits

Author SHA1 Message Date
Stephan Bergmann
efdf328a71 Just use Any ctor instead of makeAny in forms
Change-Id: I25183cc06728c81e45b28fd41071c15abf05bbc1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133809
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 12:11:29 +02:00
Stephan Bergmann
6b6df07d2f Just use Any ctor instead of makeAny in framework
Change-Id: I9f4990cf58cc794408dd70cd7fbfb2a8effa138c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133806
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 11:58:23 +02:00
Stephan Bergmann
f04375e1cf Just use Any ctor instead of makeAny in linguistic
Change-Id: I8697999ecedc1c3d368509470581635b087bcea8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133802
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 11:57:57 +02:00
Noel Grandin
b58c0531cf simplify lcl_parseHandleRef
Change-Id: I0a7cb2754ab43b8b627f196c99778b5fa3f2e005
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133808
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-04 11:57:40 +02:00
Caolán McNamara
66a71a288b tdf#131725 use first page directionality for x-reference dialog TreeView
Change-Id: Ib827f4e73266f6416ba8459214263545291c4727
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133779
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-04 11:57:26 +02:00
Stephan Bergmann
5493ddc18f Just use Any ctor instead of makeAny in fpicker
Change-Id: Ib23b10759bdc7c2eca4b585992756075e2642dd4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133807
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 11:57:03 +02:00
Caolán McNamara
cceeb407c6 Related: tdf#131725 match the basegfx translation to the mirror logic
that is used in the traditional code path, this will fix vcl RTL
scrollbars in otherwise LTR UI

Change-Id: I1451f7e17b93b0339ded6d33147df6415274ebfc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133780
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-04 11:56:51 +02:00
Stephan Bergmann
609402c616 Just use Any ctor instead of makeAny in io
Change-Id: I3b659072c54dde7f49aa90e5d52d24f5d762654a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133805
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 11:46:07 +02:00
Seth Chaiklin
c1c9905fce Update git submodules
* Update helpcontent2 from branch 'master'
  to 987e2b26ee08db2d16ae224244324195c9247c17
  - clarify use of Alt+Enter for sections and tables
    
    Change-Id: I5436fe3b75ba73bf866ce34268ab3b33dcdf1778
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133600
    Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Tested-by: Jenkins
2022-05-04 11:09:41 +02:00
Michael Stahl
65362d63b9 ucb: webdav-curl: fix handling of non-standard properties
Sharepoint uses properties like these:

"http://schemas.microsoft.com/repl/resourcetag"
"urn:schemas-microsoft-com:Win32CreationTime"

They aren't standard and don't match our own ucbprops namespace, and it
looks like they should be handled by an encoding to a name like
"<prop:Win32CreationTime xmlns:prop=\"urn:schemas-microsoft-com:\">"

Unfortunately WebDAVResponseParser::endElement() didn't do that when
handling a PROPFIND reply to get the property names.

This causes a crash when all properties are copied in
UniversalContentBroker::globalTransfer(), which is called by
SfxMedium::DoBackup_Impl() when the setting
"/org.openoffice.Office.Common/Save/Document/CreateBackup"
is in effect.

Change-Id: I2d6480bfd2f828b6e7fc431ba4b333d95ec12718
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133769
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-05-04 10:22:06 +02:00
Stephan Bergmann
d47d8f3725 Just use Any ctor instead of makeAny in javaunohelper
Change-Id: I71031155920e64eaf128d106cb0d18e9e744d34c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133803
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 10:10:41 +02:00
Noel Grandin
bf6b64d596 use more string_view in unotools
Change-Id: Id10d68f2eb016671be6842dfaa82909207b0708d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133754
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-04 10:01:33 +02:00
Stephan Bergmann
8342e4a5c7 Just use Any ctor instead of makeAny in package
Change-Id: I527024f34b88ec764488a3766872f1941f8dbb4e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133794
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 09:59:24 +02:00
Stephan Bergmann
9c111cc430 Just use Any ctor instead of makeAny in starmath
Change-Id: I8264c2330837fbd46ea372a8e370bb43ca1fb7b5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133775
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 09:59:04 +02:00
Caolán McNamara
b1ea5cc2ee Related: tdf#131725 if SvTreeListBox RTL set, set scrollbars to match
so if we have a RTL SvTreeListBox in a LTR environ then we get RTL
scrollbars

Change-Id: Ia9aaab81f273e31c61cfe4fd4e138709414ad599
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133778
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-04 09:57:28 +02:00
Caolán McNamara
d18c19a916 remove completed TODO
Change-Id: I51c446c2e1e4b02df34200357b2d4ccafd69c7f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133777
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-04 09:54:20 +02:00
Miklos Vajna
40fad57d09 sw content controls: enable indicator on the RHS of the content control end
To be consistent with the SwTextContentControl ctor, which calls
SetDontExpand(false). This way typing expands the content control
exactly when the indicator is visible.

Change-Id: I44dc3e0a68643bc670b75da21110914e5c4f8f59
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133801
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2022-05-04 09:43:55 +02:00
Stephan Bergmann
422bf47201 Just use Any ctor instead of makeAny in reportdesign
Change-Id: If8b6f8f7facf36f740b2e1773e923e28d8c85552
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133792
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 09:27:43 +02:00
Stephan Bergmann
adf7d6efed Just use Any ctor instead of makeAny in oox
Change-Id: Id6c8341b545c819521056926ef1b80d20d148c5f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133795
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 09:06:13 +02:00
Luboš Luňák
ed58593fcb reset cached SalLayoutGlyphs when statusbar text changes
A mistake from bfb6a42e26.

Change-Id: Iddf885d41177e6dbbfdc1c916b45843f4d7ba499
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133796
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-05-04 08:52:28 +02:00
Luboš Luňák
2cb75eb504 lay out entire strings in SalLayoutGlyphsCache more often (tdf#148911)
The document has parts of paragraphs e.g. underlined, which changes
the vcl::Font part of the hash key. So if a paragraph starts that way
but the rest is not underlined, the optimization of laying out
the entire string would be missed. So do the optimization if there
are subsequent calls for adjacent parts of the string (or starting
at the same index and different length).

Change-Id: I3d4a78b0eae42bd3085e96024340e6ed8daa9ad1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133790
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-05-04 08:43:21 +02:00
Luboš Luňák
3d0d3ae9e0 don't lay out entire strings for Writer layout tests
The SalLayoutGlyphsCache optimization of laying out an entire string
if it looks like a caller will call it repeatedly for parts of the string
conflicts with the SAL_ABORT_ON_NON_APPLICATION_FONT_USE checks
causing PrintFontManager::Substitute() abort if font fallback happens.
Simply disable the optimization, the output should be the same.

Change-Id: I0cce6a0c2a1a2ce93b95df54d18fedbdc779f34f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133789
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-05-04 08:43:00 +02:00
Stephan Bergmann
51c9862303 Just use Any ctor instead of makeAny in pyuno
Change-Id: I53eb836c64e8e4a354c5c895bc7f16b168bd4cf3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133793
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 08:41:43 +02:00
Stephan Bergmann
e4f1a6ba19 Just use Any ctor instead of makeAny in sccomp
Change-Id: I4872a74604b97ba68a7db10c2980fc32605bc492
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133787
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 08:36:09 +02:00
Stephan Bergmann
ae8f735965 Just use Any ctor instead of makeAny in sax
Change-Id: I3aec9eecc35eeabd2be61c73a57cff220843c9b0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133791
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 08:23:12 +02:00
Miklos Vajna
3f82c113dc CppunitTest_sw_ooxmlexport11: avoid mustTestImportOf()
Can use CPPUNIT_TEST_FIXTURE() instead.

See commit a226cec52e
(CppunitTest_sw_rtfimport: convert one testcase to use
CPPUNIT_TEST_FIXTURE(), 2019-11-05) for motivation.

Change-Id: I104989efd62758f5da862b95a4d9bbcac536b46f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133773
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-05-04 08:22:32 +02:00
Stephan Bergmann
b0f42b588f Just use Any ctor instead of makeAny in sdext
Change-Id: I78f6972f0fe94423e00f2c3766df694d8e118439
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133784
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 08:10:52 +02:00
Stephan Bergmann
6d6b84db61 Just use Any ctor instead of makeAny in sot
Change-Id: I43830efeb1671838317c5667f77c609a319a4aea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133776
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 08:10:23 +02:00
Stephan Bergmann
6cd4194e05 Just use Any ctor instead of makeAny in sc
Change-Id: I5c2363ff03ae02274f3c334cc262977c834950d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133788
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 08:09:59 +02:00
Stephan Bergmann
5fc8f8620d Just use Any ctor instead of makeAny in scripting
Change-Id: I611640a6fb7061fbb6a239034f75e006db075989
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133786
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 06:55:38 +02:00
Stephan Bergmann
aebfe0e943 Just use Any ctor instead of makeAny in sd
Change-Id: I0cd03dcfef02b0ef3bce6bfb88aee4c04d7f6f98
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133785
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 06:55:14 +02:00
Stephan Bergmann
75f008ff11 Just use Any ctor instead of makeAny in slideshow
Change-Id: I9b006826fe4a859e07340c8e39d99fd89d4f31c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133781
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 06:54:45 +02:00
Stephan Bergmann
0bfa6a1808 Just use Any ctor instead of makeAny in sfx2
Change-Id: Ie707881d6f4cd4a2f92f4f5a89aa9e0b051db8a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133783
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 06:54:23 +02:00
Stephan Bergmann
b34f6f3b5a Just use Any ctor instead of makeAny in shell
Change-Id: I08f061d2d7feda582cd2495ac4b11d2ac0a6bbc2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133782
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-04 06:54:00 +02:00
Jim Raykowski
ca34204a39 related tdf#148312 Don't search for hyperlinks in ToxContent to track
Hyperlinks in ToxContent aren't included in the Navigator content
tree Hyperlinks members list. This patch saves some cycles by not
searching through the Hyperlinks members list when the hyperlink is
in ToxContent.

Change-Id: Icc332748f37dee02f0bc5f6fc0500fed51dd1182
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133669
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2022-05-04 06:06:23 +02:00
Arnaud VERSINI
1e8db42c87 vcl : avoid recursive call if skia context creation failed.
To avoid this bactrace : https://crashreport.libreoffice.org/stats/crash_details/4d1984f3-3352-49fa-8569-ebf6994ed216

Change-Id: I45ae8b56191c546c551ccaf48d5ab27a20b8e0e6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133662
Tested-by: Jenkins
Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org>
2022-05-04 06:04:52 +02:00
Luboš Luňák
bfb6a42e26 tidy up SalLayoutGlyphs usage in StatusBar
It's enough to store just SalLayoutGlyphs, not whole SalLayout.

Change-Id: I31d0faccf08142326255c527b875ba8128f9bb38
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133764
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-05-04 05:59:21 +02:00
Luboš Luňák
22191901bc do not allow reusing already used SalLayoutGlyphs (tdf#148477)
If the glyphs have already been used, the AdjustLayout() call in
OutputDevice::ImplLayout might have altered them, since
MultiSalLayout::ImplAdjustMultiLayout() drops glyphs that need
falllback from the base layout. And then then
GenericSalLayout::LayoutText() would not know to call
SetNeedFallback().

Change-Id: I2f79d26c8b861f20d7d52abaa0d917aaeefb37a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133758
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2022-05-04 05:59:07 +02:00
Heiko Tietze
0ba1d66143 Resolves tdf#148568 - Rework the Sparklines dialog
* controls rearranged and variables renamed
* radiobuttons changed into comboboxes

Change-Id: Ifda426b5fa9596c2b23c335165785c0cb341433f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133636
Tested-by: Jenkins
Reviewed-by: Roman Kuznetsov <antilibreoffice@gmail.com>
2022-05-03 23:38:06 +02:00
Stephan Bergmann
eaf1f095ef Just use Any ctor instead of makeAny in svl
Change-Id: Iefa570476bf0c881e36679ae9511ff63162e05d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133771
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-03 23:20:20 +02:00
Stephan Bergmann
a3f4f372aa Just use Any ctor instead of makeAny in svtools
Change-Id: Ib5a86de01abd6eab2f60d76bda50fa9407286dbc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133770
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-03 23:18:02 +02:00
Stephan Bergmann
234f87d354 Just use Any ctor instead of makeAny in stoc
Change-Id: I3345444f356dd3df9069773eba2bab1b46a08c46
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133772
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-03 23:17:24 +02:00
Stephan Bergmann
1d2b6b709e Just use Any ctor instead of makeAny in svx
Change-Id: I59b1b3f817a9028f132456ea5094f38f88674d00
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133768
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-03 21:48:15 +02:00
Stephan Bergmann
ca734f7cfa Just use Any ctor instead of makeAny in sw
Change-Id: I2c9023ba8d07314d23ae7a65e670e8748c5e9322
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133766
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-03 21:38:56 +02:00
Caolán McNamara
dc3b098356 ofz: Use-of-uninitialized-value
Change-Id: I9ca24a135494a49449aec63615b2d945a93e8b27
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133735
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-03 21:16:35 +02:00
Noel Grandin
a0533a8d18 simplify RegressionCurveCalculator::getFormattedString
no need to format number as OString and then convert to OUString, just
format it as OUString

Change-Id: I2ad686c4d69302c545d483bcfe7a1a129ce38eac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133765
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-05-03 20:21:33 +02:00
Stephan Bergmann
605a34ccca Just use Any ctor instead of makeAny in ucb
Change-Id: I5e6964b5fa02d27d37ee772c761c72ed5b50492c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133755
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-03 20:04:06 +02:00
Stephan Bergmann
c46d27cfe4 Just use Any ctor instead of makeAny in test
Change-Id: I926cabc8be39344ec254e87b429f4d1bc8cfc94f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133763
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-03 20:03:32 +02:00
Stephan Bergmann
82b9af26a6 Just use Any ctor instead of makeAny in testtools
Change-Id: Ib895b2269805656a23a93c7e794e097a712bd401
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133762
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-05-03 20:02:54 +02:00
Mike Kaganski
54725f6e5f Don't add empty labels to fontwork's icon view
This allows to center the icon in the respective entry,
not having whitespace in the bottom

Change-Id: Ib148df6911f020f8d4efca4f6a80a65b7f95945f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133720
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-05-03 19:54:12 +02:00