Commit graph

485077 commits

Author SHA1 Message Date
Andrea Gelmini
88df20946c Fix typo
Change-Id: I752f670346d42b8756f77f75ef8bcb0d1b9ae77f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150101
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-04-06 14:15:12 +02:00
Seth Chaiklin
feed4e7b75 tdf#153242 "Numbering separator" -> "After number"
The meaning of "Numbering separator" is opaque. The new label indicates
where the optional text string will be placed. The added tooltip /
extended tip helps to explain.

Change-Id: Ia9da9d4d1d6bdf40ab7465cffe8d0d5faf42b27d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149992
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2023-04-06 14:11:05 +02:00
Xisco Fauli
681c08523c sd: fix crash in DrawViewShell::ExecCtrl
See https://crashreport.libreoffice.org/stats/signature/sd::DrawViewShell::ExecCtrl(SfxRequest%20&)

I believe this crash is triggered with some basic code while
slideshow is running.
Anyway, if I delete the previous SlideShow::IsRunning(GetViewShellBase())
check, launch Impress and add a new slide, LibreOfice also crashes.

Change-Id: Iba40f37485a4a6815729a1a26c380b6c3fdedfd4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150097
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-04-06 14:07:37 +02:00
Noel Grandin
bd17c9c949 loplugin:stringadd also check O[U]StringBuffers
For similar code sequences that can be improved.

Also move containsComment from collapseif plugin code to
plugin.cxx so we can use it from stringadd.

Change-Id: Ie07d9aedf2c31cb0b2080e1b8584294d7046a8e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149217
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-04-06 13:51:06 +02:00
Stéphane Guillou
d5673ec3f8 Update git submodules
* Update helpcontent2 from branch 'master'
  to 278e5201987892072da38033bba89b96af87e2af
  - tdf#154622: correct validity dropdown expand shortcut to Alt + Down
    
    Change-Id: I44c8516ca808491187784dc5cf3e198b9facb843
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/149991
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-04-06 13:37:47 +02:00
Stéphane Guillou
e3ffc41cd0 Update git submodules
* Update helpcontent2 from branch 'master'
  to f042658be3bb4621450b4155f0dd5c400f1b641a
  - tdf#154609: mention option to search by shortcut
    
    Change-Id: Ia772db91419cf3ed8bb73f8c5e3cbd5f01529028
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/150074
    Tested-by: Jenkins
    Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-04-06 13:36:49 +02:00
Taichi Haradaguchi
79e60bb93f poppler: upgrade to release 23.03.0
* Upgrade poppler-data to 0.4.12
* Update poppler-config.patch.1

Change-Id: Ic2a3e8d4f801d52d1568210d0df064cacb51290f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148842
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-04-06 12:33:15 +02:00
ektagoel12
87f52dbf4f tdf#145538 Use range based for loops
Change-Id: Ib74318a36898270c7b6e45e5e064ddd696a91be8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145905
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2023-04-06 12:09:49 +02:00
WANG Xuerui
477374d8f5 m4: Bump Boost detection macros to latest autoconf-archive version
Aside from general up-to-dateness, this also fixes build on some
loongarch64 systems whose libdir is `lib64`.

Change-Id: I78988c7d585be4e44b3388d8e1c7d60e2738de97
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147185
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2023-04-06 12:07:53 +02:00
Samuel Mehrbrodt
00408d71e8 Make SvxNameDialog public
Useful as a generic text input dialog

Change-Id: Ibc6ff0c25a790da8f1226fff7244e50ed3a1cf04
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150002
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
2023-04-06 11:46:39 +02:00
Szymon Kłos
c19f041f27 jsdialog: implemented mouse events for drawingarea
Change-Id: Ieab3d9fdbcee90ccd125e84f74c06cd1d6711a9f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149953
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150057
Tested-by: Jenkins
2023-04-06 10:53:21 +02:00
Armin Le Grand (allotropia)
a6cc4d851f MCGR: Moved color compare in common computation part
The colors of a ColorStopRange can be equal in case of
hit *and* miss, so in both cases. I moved it to the
common computation part. Prev version worked and did
no harm, but unnecessary color interpolations for equal
colors.

Change-Id: I19031f1021ee5955b48da5c0d8e3a03cb9512ebf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150046
Tested-by: Jenkins
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
2023-04-06 10:40:49 +02:00
Michael Stahl
5ef4d326a0 tdf#152234 drawinglayer: PDF/UA export: fallback for unsupported forms
veraPDF complains:

  Specification: ISO 14289-1:2014, Clause: 7.1, Test number: 3
  Content shall be marked as Artifact or tagged as real content

Form element can only be used for those form controls for which
PDFWriterImpl can produce a Widget annotation; see createDefaultWidget().

For a label control, it's not editable so it's not a PDF widget.

For an image button, it could be implemented in VCL but isn't currently.

So a fallback is required in any case, "Figure" or "Div" can be used.

Change-Id: I454030ff7c67a8a8101fcc59e945fe9dbc5f87a8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150059
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-04-06 09:34:52 +02:00
Xisco Fauli
2ca70301a9 oox: drop macros
Change-Id: Ic8eeb34bef91807b54823a4114acc1200bec9de9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150065
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-04-06 09:04:31 +02:00
Xisco Fauli
9ab16e2738 oox: fix crash in lcl_GetGluePointId by removing unused code
See
https://crashreport.libreoffice.org/stats/signature/oox::drawingml::lcl_GetGluePointId

Change-Id: I7737568b12a18a2195f24f023917d30dd838ea12
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150064
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-04-06 09:02:33 +02:00
Stephan Bergmann
e489200756 Missing XServiceInfo
Change-Id: I1ec148d239d6ea6ac72f820d5e5f41f1865f4b0c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150069
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-04-06 07:45:20 +02:00
Stephan Bergmann
23bd3bd10e Add missing constructor attributes
...that were apparently forgotten by 155c056b1d
"i18npool: create instances with uno constructors" and
d2140a6320 "i18npool: create instances with uno
constructors", respectively

Change-Id: I3caedf9d2a941a8671fab554a2358776d95c4938
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150066
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-04-05 22:59:54 +02:00
Stephan Bergmann
7191ebc701 Remove dead com.sun.star.i18n.Transliteration.ignoreKana service implementation
In 2002, fc680b6430 "#97583# Modify for new
services" had added the two com.sun.star.i18n.Transliteration.IGNORE_KANA and
com.sun.star.i18n.Transliteration.ignoreKana service implementations, both using
the also added ignoreKana_CreateInstance factory function, to
i18npool/source/registerservices/registerservices.cxx (back in a time when that
still used active component registration via component_writeInfo).  Then in 2010
a3c8a0ed0c "sb129: #i113189# change UNO components
to use passive registration" (dropping the active component registration via
component_writeInfo) faithfully listed both those service implementations in
i18npool/util/i18npool.component.  And in 2014
a4f17c00b1 "i18npool: Constructor feature for few
more implementations" switched the com.sun.star.i18n.Transliteration.IGNORE_KANA
service implementation to use a constructor attribute in
i18npool/util/i18npool.component.  But it also removed from
i18npool/source/registerservices/registerservices.cxx the
ignoreKana_createInstance factory function and the

>     IMPL_TRANSLITERATION_ITEM (ignoreKana),

aInstances element through which the other
com.sun.star.i18n.Transliteration.ignoreKana service implementation was created
via i18npool_component_getFactory.  (It presumably either intended to also
change com.sun.star.i18n.Transliteration.ignoreKana to use a constructor, but
forgot to implement that, or accidentally broke that service implementation.)

So the com.sun.star.i18n.Transliteration.ignoreKana service implementation has
not been instantiatable ever since 2014.  But it appears that nobody missed it
much, so maybe it had already been a mistake to add it (alongside the
com.sun.star.i18n.Transliteration.IGNORE_KANA service implementation) in 2002.
So just remove it completely for good now.

Change-Id: Ieda888038a70f4123a0c5f9f4e3306491f32ed64
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150068
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-04-05 22:59:37 +02:00
Caolán McNamara
7f9b3a0214 Resolves: tdf#154308 if start center frame exists, use it as dialog parent
At least for the case the document is launched from the StartCenter, put
that StartCenter as the parent for any dialogs that may appear during
typedetection, this avoids such dialogs not getting associated with
the start center and going behind the dialog if the start center is
clicked while the dialog was appearing.

The start center is always recycled to become the next document if
it exists, so its window is the window the final document would
appear in if successful.

Change-Id: I75a92ff424aa0b9d5d6b808e2f7f1766a80fa50c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150058
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-05 22:24:12 +02:00
Xisco Fauli
8c3e219a83 tdf#154549: vcl_pdfexport: Add unittest
Change-Id: Ia2865346e966cdd4b64ed588a29cc1e760d36c73
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149969
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2023-04-05 20:43:43 +02:00
Olivier Hallot
ae6f442356 Update git submodules
* Update helpcontent2 from branch 'master'
  to 470abc85b20e113506966df8883e287d25079517
  - tdf#154608 Add example of regex with \N{} to Help
    
    Change-Id: I7b6c847cc3fbcbb62d9590eea4050630933e85f5
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/150062
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
    Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-04-05 20:31:56 +02:00
Olivier Hallot
3ec614bf24 Update git submodules
* Update helpcontent2 from branch 'master'
  to e4f2e673eae5e1c3ffcc54d2253a35145aba7774
  - Refactor file (no content change)
    
    Remove xml-lang
    
    Change-Id: I88f54ed44b795f7a5731748eccbafbe5f926ff27
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/150061
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-04-05 20:06:58 +02:00
Andreas Heinisch
b51bf95943 tdf#146312 - Chapter numbering dialog: adapt extended tooltip for [None]
Change-Id: I71cddd45a336d6e201e23fdf1c93928ec2928a0c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149987
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2023-04-05 18:48:32 +02:00
Noel Grandin
e57d5daaea fix leaks when using tools::JsonWriter
Specifically in sd/source/core/annotations/Annotation.cxx

We seem to end up fixing leaks here often.
The current tools::JsonWriter API is just very hard to use correctly.

So rather return an OString, which is cheap to copy,
and push that down into the LOK code.

AFAIK that seems to end up requiring less code and less adhoc copying
of data (specifically the queueing code in init.cxx was creating
copies when converting to std::string).

Ideally, we could have some special API to avoid the new strdup()
calls in init.cxx, but not sure how to prevent other people
from accidentally using that.

Change-Id: Ia33437c1bfd9cc2d54dfb99914d1b72db20335f2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149963
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-04-05 17:02:46 +02:00
Michael Stahl
e4042da6e6 sw: fix crashtesting assert on tdf90408-1.doc
frmpaint.cxx:801: SwTextFrame::PaintSwFrame: Assertion `... || oTaggedParagraph || ...' failed.

The problem is that here the SwNumberingPortion is outside of the table
cell and even outside of the page due to negative indent, hence
CalcPaintOfst() skips it.

Have to add another special case to open the LBody/P tags in this case.

Let's not produce Lbl tag in this case since it's not visible.

(regression from commit 9b38beadf9)

Change-Id: Ic048849c9f426ebfa59e05acece1ec995fd28247
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150056
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-04-05 16:53:55 +02:00
Michael Stahl
e006c6ce75 sw: fix the other stale SwNumberPortion follow flag
This happens since commit 9b38beadf9
on abi13630-1.abw.

itrpaint.cxx:419: void SwTextPainter::DrawTextLine: Assertion `roTaggedLabel' failed.

The problem is very similar to the situation fixed with commit
6c0105307efa15837e9e5287103995312f373b67; then it was the pField which
ended up empty and deleted, while now it is "this" which ends up empty
and deleted; in either case the DrawTextLine checks of the follow flags
fail because some follow flag is erroneously set.

This requires a further tweak because the length of the portion is set
to 1, so Compress() returns the wrong result there but immediately after
SwFieldPortion::Format() returns SwNumberPortion::Format() sets the
length to 0 anyway, so simply set m_nFieldLen to 0 in ctor which is
correct anyway as there's no dummy char for these.

Change-Id: Ie99f67ee19a1f6019afe68764ec746cdc862984e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150055
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-04-05 16:30:15 +02:00
Seth Chaiklin
0a703b615b tdf#153847 add tooltip for Insert Index Entry
According to
officecfg/registry/schema/org/openoffice/Office/UI/Commands.xcs,
TooltipLabel is supposed to default to Label if PopupLabel is empty,
but in practice it seems TooltipLabel also defaults to ContextLabel
when TooltipLabel is empty, so this patch adds back the original
TooltipLabel, which is different from the ContextLabel, and is needed
primarily for some toolbars.

Change-Id: I538bb4d75ce9a5141c292408c3f670d4524f2069
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149986
Tested-by: Jenkins
Reviewed-by: Seth Chaiklin <sdc.blanco@youmail.dk>
2023-04-05 16:03:31 +02:00
Szymon Kłos
c81306b7f5 jsdialog: dump menu for menubutton
Change-Id: I449ae3f8cf294e2ab81a5b47862278e325f2cb1b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148937
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150041
Tested-by: Jenkins
2023-04-05 16:02:22 +02:00
Michael Stahl
5cc69594e4 vcl,sw,sd: PDF/UA export: produce better /CT for SdrMediaObj
7.18.6.2 Media clip data
  In the media clip data dictionary, the optional CT and Alt keys
  (ISO 32000-1:2008, 13.2.4.2, Table 274) are required.

Presumably writing a potentially wrong hard-coded mime type here isn't
intended.

Change-Id: Ifa8ee199a4cf9ce83f410860d59b6c30475f80e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150050
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-04-05 15:39:37 +02:00
Michael Stahl
a5225ba82e avmedia,*: guess the mime type of media files based on file name
.. at least for the most popular types, and do it automatically in
MediaItem::setURL().

This should work in practice in most cases and is much simpler than
adding some type detection or calling into platform dependent avmedia
backends.

Remove the parameter that was only ever set to
"application/vnd.sun.star.media" anyway, the same value that would be
used if it's missing.

Stop using that silly type for everything, only use it when guessing
fails.

In case an ODF document is loaded, it will use the mime type loaded from
the file (see setting of MediaMimeType in SdXMLPluginShapeContext) and
not guess it because that would require updating the entry in
manifest.xml as well.

Change-Id: I8ce29cf7425678ae11dda1d8c875be818f8623af
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150049
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-04-05 14:34:51 +02:00
Stephan Bergmann
8b4af1eb05 Adapt expected test output to recent Clang
...after 90c590812e "Simplify O(U)String::number
implementation"

Change-Id: I3f5d7b1ff41a6d55293f15f15fd67bd5d2e69d69
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150045
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-04-05 14:23:18 +02:00
Paris Oplopoios
d4240225d1 Notify LOK that application background color has been changed
Notify LOK when the application background color changes in Writer

Change-Id: Ibc900cc8b3253aaa5b53602a007566896f04d9df
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149906
Tested-by: Paris Oplopoios <parisoplop@gmail.com>
Reviewed-by: Paris Oplopoios <parisoplop@gmail.com>
(cherry picked from commit 0dca587be4)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149892
Tested-by: Jenkins
2023-04-05 14:09:14 +02:00
Julien Nabet
62b5dd31ff tdf#148906: Ukrainian letters miss in bullets and numbering dialog
Change-Id: Ieef2b2a7052da342709baf298b618d2c29fa3e43
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149768
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-04-05 13:57:03 +02:00
Andrea Gelmini
d2de1cf7e5 Fix typo
Change-Id: I1cf23442667a8ac6e9f8da2ea72bf60f5126236e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150047
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-04-05 13:46:51 +02:00
Jani Saranpää
cccfc2e705 tdf#145614 Convert #define to enum in propctrlr/fontitemids.hxx
- Removed fontitemids.hxx and moved new enum definition inside cxx file to
optimize compiling.
- Removed non-existing fontitemids.hxx from clang format excludelist.

Change-Id: I67e782821d65241264de0926e445a58dc7307ba7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149736
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-04-05 13:35:05 +02:00
Mike Kaganski
90c590812e Simplify O(U)String::number implementation
Change-Id: I059f0324597a90aee01c95170a48ac5578f3caee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150037
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-04-05 09:57:04 +02:00
Caolán McNamara
53e24da369 tdf#132112 excessive stretch of braces can trigger freetype into an error
which propogates to cairo and once a cairo surface is in an error state,
that cannot be cleared and all subsequent drawing fails, so bodge that
with a high degree of stretch we draw the brace without stretch to a
temp surface and stretch that to give a far poorer visual result, but
one that can at least be rendered.

Change-Id: I6b8bb079e82c3cf03a908de750c5c445ad230750
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150031
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-05 09:41:41 +02:00
Caolán McNamara
2510d48054 split out a makeCacheId
Change-Id: I89fbaca1fa7303904681f75ee4a7fc90aeb9ef8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150030
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-05 09:41:32 +02:00
Szymon Kłos
591e96c29d jsdialog: enable table related dialogs
Change-Id: Ibcbd175e9b7c04f30acd4c5d23998b00889e7b0d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149714
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150040
2023-04-05 08:51:48 +02:00
Szymon Kłos
1389150fb1 jsdialog: enable pick color dialog
Change-Id: I45c086ce652487017817fcdb2a3c5329a8f2a30f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149689
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150039
2023-04-05 08:51:30 +02:00
Mike Kaganski
1e9f4de320 Make O(U)String::boolean also return an O(U)StringNumber
Change-Id: I184fa0e4e45662e0fac86076d1c8733a0465bb56
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149978
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-04-04 23:01:56 +02:00
Caolán McNamara
c9c463af22 split out the pieces that apply the font to the cairo context
Change-Id: I0577832f57b15621d150da4cb50e134c9c06bae7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150029
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-04 22:26:47 +02:00
Seth Chaiklin
1ca2edf4ef tdf#153847 update labels to disambiguate insert/edit index entry
primary purpose is to differentiate the two .uno commands
    so that they do not have the same label in the Customize
    dialog. ContextLabel is needed for use in submenus.
    PopupLabel needed for Edit..., but not for Insert.

Change-Id: I4dc452805ff47669218158711b874b04330d02ef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149881
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2023-04-04 21:42:30 +02:00
Caolán McNamara
e0e613ad27 remove cairo_set_matrix calls that do nothing anymore
in the past there was intermediate calls that these affected

Change-Id: I5bb15046ff5869522dfafe72e16f9be4707c1f7e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150027
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-04 21:42:03 +02:00
Caolán McNamara
3e1ee22e8a cairo_font_extents is unused
since:

commit 6c9948d80a
Date:   Mon May 3 06:51:50 2021 +0800

    vcl: adjust cairo text renderer for vertical writing

Change-Id: I853b5f3b8c8979468d6c72617b7991f4c7d509d1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150026
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-04 21:41:53 +02:00
Andrea Gelmini
73d0723c46 Fix typo
Change-Id: I4ff8556c954cae844fa35385535cf9b6e9477e08
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150033
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-04-04 21:26:49 +02:00
Andrea Gelmini
7e1138db4e Fix typo
Change-Id: I09163a500caf66c6ac2921dca3128997574d20d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150032
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-04-04 21:26:10 +02:00
Caolán McNamara
55d5648958 tdf#154565 ignore unwanted crossing event from search to treeview on "enter"
i.e if the crossing was triggered ultimately by a key stroke which is
likely from exiting the search box.

This way we can avoid the problem that with hover-selection that after
"enter" is used in the search box, selecting a matching row, then during
teardown of the widget the box is hidden, and the generated crossing
notification triggers unwanted selection of a different row under the
mouse.

If needs be this could be refined further to only happen for a specific
key or other details of the triggering event

Change-Id: I7e64fb5fa31a446b85016d86ecd314d13130d7b9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150016
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-04 20:42:16 +02:00
Szymon Kłos
fcb4e31983 Convert SvtLineListBox to WeldToolbarPopup
Change-Id: I1849e40508a8754ec567da5913d3454571da5bee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149063
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150015
Tested-by: Jenkins
2023-04-04 20:38:11 +02:00
Szymon Kłos
65752e6498 jsdialog: enable and make async chart line prop dialog
Change-Id: I21817b21fe6d2ce0a6f6bd784c0e24fe35b17fec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149502
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150014
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2023-04-04 20:37:59 +02:00