Commit graph

473834 commits

Author SHA1 Message Date
Arnaud Versini
34df7e2cb9 binaryurp: use more std::mutex
Change-Id: I1d16c4cbf60e78323b74e7df049736bd0d0ab591
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132072
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-03-25 09:20:48 +01:00
Noel Grandin
38b8ca62dd loplugin:constantparam
Change-Id: If19a34e7f358e213d8827a107cc744a968ac6c54
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132084
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-03-25 09:15:26 +01:00
Gülşah Köse
362fb6c7b1 tdf#96389 Use default tab stop value of MSO for pptx import.
Change-Id: Ib3dde68c672b44d8b60f121fb0e637942b5986b1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131698
Tested-by: Jenkins
Reviewed-by: Gülşah Köse <gulsah.kose@collabora.com>
2022-03-25 08:25:49 +01:00
Stephan Bergmann
6e135909d3 tdf#147668: Destroy still needs to do its work when called from disposing
Regression introduced with d4257daba1 "use
comphelper::WeakComponentImplHelper in MenuBarManager" changing

-    if ( rBHelper.bDisposed )
+    if ( m_bDisposed )

in MenuBarManager::Destroy, but where comphelper::WeakComponentImplHelper sets
m_bDisposed to true before calling disposing.

And Destroy is only called from disposing, so the check can just be removed.

Change-Id: I2625dff9fbb333435a0d1478b0f285c21cd3ee15
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132075
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins
2022-03-25 08:21:14 +01:00
Miklos Vajna
9fd5446c6f sw layout xml dump: handle hole portions
Show their blank width.

Change-Id: I8753c9ea4c861eae4618472f8ea24ea86576f251
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132089
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-03-25 08:02:48 +01:00
Caolán McNamara
e8c95b7966 ofz: ensure unsigned index
Change-Id: I38d6238a6eede0188f942229b2fb931614e56309
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132090
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-25 00:10:45 +01:00
Xisco Fauli
be77181b33 uitest: sc: remove tests not testing anything in particular
these tests were added in 2016 as a demo:

- 8a9861c47b
"uitest: add demo for chart wizard"

- fc0c5d6163
"uitest: add demo showing how to deselect an UI object"

- 559f2e2331
"uitest: add demo showing how to activate chart"

and others.
They just perform pretty basic actions and they have
no asserts at all.
After all these years, there are already other tests
covering the same actions

Change-Id: I978e28c090cf71a65db4881da96c865080ab9b6c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132088
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-03-24 22:31:09 +01:00
Xisco Fauli
54e99c0bde uitest: add prints to see the current dialog
See
https://ci.libreoffice.org//job/lo_tb_master_linux_dbg/36931/consoleFull#-156104958948ce9c26-9d0a-43a8-83d8-c44f54920d59

I suspect it might fail because there is a dialog displayed

Change-Id: Ia68b780d5a3881a6e555e6a4bc3086c6c9644749
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130793
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-03-24 21:10:26 +01:00
Xisco Fauli
618b38fb40 tdf#39716: sc: Add UItest
Change-Id: Ic28f676d14b21edc1f06b726afbcfc19c8015b68
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132081
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-03-24 21:08:36 +01:00
Xisco Fauli
f34994b20e tdf#70455: sc_subsequent_filters2: Add unittest
Change-Id: I757bef506eff21071de8b8b40f5e1fc9d82b1ab7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132083
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-03-24 20:15:47 +01:00
Noel Grandin
897c3c8308 loplugin:constantparam
Change-Id: Ic5fe48315ed86d72371191df75866b8a1d72b249
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132033
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-03-24 19:55:25 +01:00
Noel Grandin
9e12f49c6c loplugin:constantparam
Change-Id: I48abe56cc6be52b2a3cd0998e79e6643f65bbbf0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132032
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-03-24 19:55:07 +01:00
Noel Grandin
2488029673 loplugin:constantparam
Change-Id: Ib863ea852792635e521050019a3a190b3eeb681e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132031
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-03-24 19:54:48 +01:00
Noel Grandin
463c851ac8 loplugin:constantparam
Change-Id: I6bfbd0cb5c2eac60bdac69fd862154fb2f537a89
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132030
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-03-24 19:54:04 +01:00
Andrea Gelmini
c8e5c2e65a Fix typos
Change-Id: Iccb89d32b83b7f7035557ad7c0634f66f4c947d3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132082
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-03-24 19:18:50 +01:00
Caolán McNamara
59352ff39d ofz#45991 Timeout, reduce allowed scaling
Change-Id: I559df8ecc2778f6de9406da871941555a81d21eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132074
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-24 18:10:28 +01:00
Jim Raykowski
d9f3a656c4 fix gtk3 combobox up arrow and page up does not select first entry
when popup is not active

Change-Id: I0c4c0841bf0b24cc528d428829ec628e47032fb4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131882
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2022-03-24 17:54:10 +01:00
Arnaud Versini
ff3f11a7fa gtk3 VCL : remove useless check
Change-Id: I45869f2160435da27f1b30acf41dbee76ce524e5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132076
Tested-by: Jenkins
Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org>
2022-03-24 17:31:03 +01:00
Miklos Vajna
1acf8e3cfa sw fields: add Title uno property
The use-case is user fields, which are kind of variables in the
document. They have a name and a value, but the name might be only
readable to an extension or macro, not to the user. In this case, it
makes sense to have a way to specify a user-readable tooltip.

Be consistent with TextFrames which already have a Title property.

Change-Id: I986792f5e55e0b96489347be482d640d155113cc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132077
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2022-03-24 17:29:52 +01:00
Caolán McNamara
d7ba5614d9 make hash encoding match decoding
Seeing as old versions of the hash may be in the users config, add a
StorageVersion field to the office config Passwords section which
defaults to 0 to indicate the old hash is in use.

Try the old varient when StorageVersion is 0. When a new encoded master
password it set write StorageVersion of 1 to indicate a new hash is in
use and use the new style when StorageVersion is 1.

Change-Id: I3174c37a5891bfc849984e0ec5c2c392b9c6e7b1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131947
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-24 17:27:30 +01:00
Caolán McNamara
2323fa2961 forcepoint#83 forcepoint#84 update to upstream fix
Change-Id: I5add09b4379a1f86a720af75b758389424f4f50b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132055
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-24 17:26:39 +01:00
Caolán McNamara
28e5cedd9b forcepoint#86 RES_TXTATR_UNKNOWN_CONTAINER item put at invalid index
RES_CHRATR_BEGIN is 1, presumably RES_TXTATR_UNKNOWN_CONTAINER should
be stored in the last index

Change-Id: Id37fff41cbbccbc26fe5ccce6027014af7362729
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132078
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-24 17:17:55 +01:00
Xisco Fauli
400bfd03a9 tdf#113898: sc_uicalc: Add unittest
Change-Id: I52fa7ad0cb1f9b3d2f72229d961674f6292be60f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132071
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-03-24 17:17:04 +01:00
Xisco Fauli
3756e3145c CppunitTest_sc_uicalc: combine external reference tests
Change-Id: Ie3bc4dbf69e1b09ebbbb5ffdc4e7a02bc3a7cb02
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132069
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-03-24 17:16:49 +01:00
Xisco Fauli
97d53be544 tdf#116149: sc_uicalc: Add unittest
Change-Id: I304bbbbd21e818b90b4c4daba26448836e23bc2d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132067
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-03-24 17:16:05 +01:00
Armin Le Grand (Allotropia)
b658fdc335 Advanced Diagram support: Continue isolate oox-Shapes
As preparations to use the Diagram ModelData further isolate
it from the oox-library-only drawingML Shape used for import.
It is necessary to completely isolate the Diagram ModelData
from the Diagram import mechanism as a preparation to be
able to re-create that Shapes on-demand anytime if needed
for re-layout(s).

Also removed one unused loadDiagram implementation and
streamlined the AdvancedDiagramHelper some more.

Change-Id: I7a7c55389e0d00f70c02db73ce2c3ff9ce7a5b22
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132058
Tested-by: Jenkins
Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
2022-03-24 16:31:42 +01:00
Jean-Pierre Ledure
272a90c45a ScriptForge - (SF_Region) new service in the core library
Singleton class implementing the "ScriptForge.Region" service
Implemented as a usual Basic module

A collection of functions about languages, countries and timezones
- Locales
- Currencies
- Numbers and dates formatting
- Calendars
- Timezones conversions
- Numbers transformed to text in local language

Definitions:
  Locale or Region
    A combination of a language (2 or 3 lower case characters)
    and a country (2 upper case characters)
    Most properties and methods require a locale as argument.
    Some of them accept either the complete locale or only
    the language or country parts.
  Timezone
    Specified as "Region/City" name like "Europe/Berlin",
    or a custom time zone ID such as "UTC" or "GMT-8:00".
    The time offset between the timezone and the
    Greenwich Meridian Time (GMT) is expressed in minutes.
    The Daylight Saving Time (DST) is an additional offset.
    Both offsets can be positive or negative.

Properties:
  Currency
  Language
  Country
  DatePatterns
  DateSeparator
  ThousandSeparator
  DecimalPoint
  TimeSeparator
  ListSeparator
  DayNames
  DayAbbrevNames
  DayNarrowNames
  MonthNames
  MonthAbbrevNames
  MonthNarrowNames

Methods
  UTCDateTime
  UTCNow
  LocalDateTime
  TimeZoneOffset
  DSTOffset
  Number2Text

Change-Id: Iabf31ea0e6c235e960fcca5b1e7a9d928cf8cd0f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132068
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2022-03-24 16:20:30 +01:00
Stephan Bergmann
a0202e0b8c loplugin:external
Change-Id: I6b18a514358488ed8a03b42313c3986c2b3fc9df
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132021
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-03-24 16:13:26 +01:00
Heiko Tietze
5b2238ce77 Resolves tdf#140439 - AutoFormat Table preview not using DOCCOLOR
WYSIWYG preview should use the actual document color instead
the dialog/window background

Change-Id: Ifff07b2f754ed88cb7e60e0494092e266d3c7cf1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132023
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2022-03-24 15:36:03 +01:00
Caolán McNamara
e697506a60 ofz: Integer-overflow
Change-Id: Id75b0aab50ffda1771560213f1389cd9255a461a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132070
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-24 15:33:58 +01:00
Arnaud VERSINI
c2424341ed comphelper : use std::mutex in traceevent
Change-Id: I959b8c189a9ad073167cf3e0620947cbda77196c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129159
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-03-24 15:28:46 +01:00
Xisco Fauli
3b30ea9c00 tdf#114820: sc_uicalc: Add unittest
Change-Id: I6aa50bdaf6a8d796d1aee817b7a1c0fddce26030
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132060
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-03-24 15:09:56 +01:00
Xisco Fauli
859a7e52b2 tdf#115162: sc_uicalc: Add unittest
Change-Id: I79874452b1f6909f23629cf0662f8c59faf02558
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132059
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-03-24 15:09:33 +01:00
Noel Grandin
ceb8f5d62c loplugin:constantparam
Change-Id: I86592be0717c062a918108bf4437074b0f70b372
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132029
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-03-24 15:06:24 +01:00
Tushar Jham
86fac2109d tdf#114441: Convert use of sal_uLong into better integer types
Change-Id: Ic564411644f9021825f8523af3ec1505352187bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131948
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2022-03-24 14:58:11 +01:00
Heiko Tietze
652772ee4e Resolves tdf#147515 - Make header text readable on dark themes
COL_LIGHTBLUE works well for bright themes but is too dark
in case of dark themes

Change-Id: I7fe317da4d67c1d8a5c0330320a10206a003b4ed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132028
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2022-03-24 14:52:32 +01:00
Mark Hung
882045b934 tdf#141671 fix destroyed pargraph style in exported RTF in MSO.
Do not call MoveCharacterProperties() in RtfAttributeOutput
::EndParagraphProperties(). RtfAttributeOutput::ParagraphStyle() has
emited run associated properties defined in paragraph style.
Calling MoveCharacterProperties() again overwrites them.

As this bug is only visible in MS Word, no unit test case is
added.

Change-Id: I6e5bfd12e8afa7dc286ca54448c1ff022aade31d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131848
Tested-by: Jenkins
Reviewed-by: Mark Hung <marklh9@gmail.com>
2022-03-24 14:04:32 +01:00
Justin Luth
f5c2085e70 tdf#147861 ww8import: solve TODO: not fixed-field if equal
Do not mark the field as "fixed" if the displayed string
matches the internal variable. This allows changing the variable
within LO and having the field update to reflect that change,
which is the way that these fields are supposed to work
(although in MS Word they only update manually via F9
 which is why some needed to be fixed in the first place).

Change-Id: Id359cbf0b48e63bddab3e45871326988467d7ddb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131414
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-03-24 13:20:38 +01:00
Miklos Vajna
8a7d0e8a81 sw clearing breaks: add insert UI
Expose SwLineBreakClear in SwBreakDlg and extend
SwWrtShell::InsertLineBreak() to be able to insert clearing breaks as
well.

Change-Id: I17a4c34cb74f1c72d8e208bace25597de0367e17
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132024
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2022-03-24 12:52:42 +01:00
Xisco Fauli
312cf9580c tdf#100847: sc_uicalc: Add unittest
Change-Id: I0bd79a0b3bc6d92ec83ecd86c4ca631e65528c35
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132057
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-03-24 12:51:14 +01:00
Caolán McNamara
8ae60da492 forcepoint#85 Conditional jump or move depends on uninitialised value
==398461==    by 0xCDC7960: (anonymous namespace)::CopyUntil(char16_t*&, char16_t const*&, char16_t, bool) (strhelper.cxx:88)
==398461==    by 0xCDC839F: psp::WhitespaceToSpace(rtl::OUString const&, bool) (strhelper.cxx:294)
==398461==    by 0xCB54980: vcl::PDFWriterImpl::setOutlineItemText(int, rtl::OUString const&) (pdfwriter_impl.cxx:9875)
==398461==    by 0xCB547FF: vcl::PDFWriterImpl::createOutlineItem(int, rtl::OUString const&, int) (pdfwriter_impl.cxx:9851)
==398461==    by 0xCAF39B0: vcl::PDFWriter::CreateOutlineItem(int, rtl::OUString const&, int) (pdfwriter.cxx:383)
==398461==    by 0xCABD7C8: vcl::GlobalSyncData::PlayGlobalActions(vcl::PDFWriter&) (pdfextoutdevdata.cxx:250)
==398461==    by 0xCAC0628: vcl::PDFExtOutDevData::PlayGlobalActions(vcl::PDFWriter&) (pdfextoutdevdata.cxx:616)
==398461==    by 0x3D06EA0F: PDFExport::Export(rtl::OUString const&, com::sun::uno::Sequence<com::sun:🫘:PropertyValue> const&) (pdfexport.cxx:1004)

Change-Id: I6bc086997851ee06531a4a9ae263e2b26edfba84
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132056
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-24 12:39:54 +01:00
Mike Kaganski
1e2483a3ab Create OUString from ASCII literal instead of createFromAscii
Change-Id: I58d0b49a32edf4d67807c0d67e08a28705d7334e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132026
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-03-24 12:02:37 +01:00
Xisco Fauli
6e3ed5559a tdf#36387: sc_uicalc: Add unittest
Change-Id: I6da7fbb03d127a093042a5dc6546f314b6af40ed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131988
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-03-24 11:55:45 +01:00
Stephan Bergmann
1439325623 loplugin:external
> vcl/win/gdi/salnativewidgets-luna.cxx(399,6): error: externally available entity 'UseDarkMode' is not previously declared in an included file (if it is only used in this translation unit, make it static; otherwise, provide a declaration of it in an included file) [loplugin:external]
> bool UseDarkMode()
> ~~~~~^~~~~~~~~~~~~

Change-Id: Idca63c3b9f25629db31cde48bc3c975f943a25f9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132022
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-03-24 10:54:16 +01:00
Stephan Bergmann
0d22aa4851 -Werror,-Wunused-function
...after 92e835dbf0 "tdf#98705 Replace
GetCaseCorrectPathName with GetLongPathNameW"

Change-Id: If7fc8b656f7f0736edeb3b7617044a032d1481f8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132017
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-03-24 10:43:31 +01:00
Caolán McNamara
d6a02a99ea forcepoint#84 Invalid read of size 1
Change-Id: I1d0d74940cfa78a3c88cee737c9535acf03e0f19
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131991
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-24 10:28:43 +01:00
Caolán McNamara
94b5ebbe8b ofz: Use-of-uninitialized-value
Change-Id: I469d443b6e3d81c18f1b778882ae4d151c1d0e53
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131992
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-03-24 10:27:59 +01:00
Adolfo Jayme Barrientos
19c215e948 Clean up unused translatable strings
These icon themes no longer exist, and these items are ignored anyway
since the list was made dynamic in tdf#63962, back in 2014.

Change-Id: I5a4dd5001b449f94775447f22b726b99a4fe63ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132025
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-03-24 10:08:14 +01:00
Stephan Bergmann
d105539a79 loplugin:stringviewparam
Change-Id: If67d685eb930a299587a711eb5f77cbe9fd0ca09
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132020
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-03-24 09:28:29 +01:00
Stephan Bergmann
5ace52e6ae Adapt loplugin:trivialconsructor to clang-cl
...where the S4 template constructor may still have an unparsed null body, so

    if (!constructorDecl->hasTrivialBody())
        return true;

will suppress the expected warning.  Lets just accept that clang-cl on Windows
will find less instances of loplugin:trivialconstructor.  (And moving the
expected-error comment around on the line was demanded by clang-format.  Oh my.)

Change-Id: I3357fbd0fbf932f7f93c421c2f079a8cfc536eef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132019
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-03-24 09:28:15 +01:00