Commit graph

500716 commits

Author SHA1 Message Date
Sakura286
6a7dd6fcd9 tdf#152943: Add NaN payload check at the start of sc_ucalc test sequence
Some archs does not support NaN payload(e.g. riscv64).
  It would be meaningless to continue building a test related
  to NaN payload if the builder doesn't support this feature.

Change-Id: I895a8647bf7ff68f645faa7428d30b1c741669f9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175293
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
2024-10-23 15:22:52 +02:00
Usman Akinyemi
ad6f39b19c tdf#90341 Clean up excessive const_cast'ing
These changes improve const-correctness and reduce the need for const_cast
usage.

Change-Id: I1275edfbc0ca5d49a5e8339d1ed11148f6decd1e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174701
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
2024-10-23 15:15:38 +02:00
Christian Lohmaier
44ace0cbca Update git submodules
* Update translations from branch 'master'
  to 7ee58e4082404ba303bae416befc5022de55fce4
  - add Tagalog (tl) translations
    
    Change-Id: Ifa0fcaea9ea720297ba6957c3dacce8513344266
    
  - update translations for master
    
    and force-fix errors using pocheck
    
    Change-Id: Ibbe54e16a51701c8559fbfa2b7619640e517c0e1
2024-10-23 14:55:58 +02:00
Xisco Fauli
f9263bbf3c tdf#163486: PVS: missing while loop iterator
Since
commit c5db3b93ee
Author: Michael Stahl <mst@openoffice.org>
Date:   Thu Feb 10 16:45:02 2011 +0100

    xmlfix3: unoxml: prevent invalid child-parent relationships:

V1044 	Loop break conditions do not depend on the number of iterations.

Change-Id: I611911bdcdb812ed46a529a217ab6612a254f441
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175174
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-10-23 13:44:34 +02:00
Xisco Fauli
b1ced61833 xmlsec: upgrade to 1.3.6
Downloaded from https://www.aleksey.com/xmlsec/download/xmlsec1-1.3.6.tar.gz

Change-Id: I29714d220a07b600ea74e89ad62be8b50249c158
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175471
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-10-23 12:47:23 +02:00
Mike Kaganski
a3680f8865 Simplify a bit
Change-Id: I7d24774fb591fe2090523da29a2a0aa7608deccc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175435
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-10-23 12:30:34 +02:00
Stephan Bergmann
b0195d40f3 Avoid signed integer overflow
...as seen at

> /tools/source/misc/fix16.cxx:79:53: runtime error: signed integer overflow: -2147483648 - 1 cannot be represented in type 'int'
>     #0 0x7fc2f9f50a60 in mask(int) /tools/source/misc/fix16.cxx:79:53
>     #1 0x7fc2f9f505fd in fix16_div(int, int) /tools/source/misc/fix16.cxx:122:34
>     #2 0x7fc2f00d12e0 in vcl::fixedDiv(int, int) /vcl/source/fontsubset/sft.cxx:127:12
>     #3 0x7fc2f00d11c1 in vcl::fixedMulDiv(int, int, int) /vcl/source/fontsubset/sft.cxx:135:12
>     #4 0x7fc2f00d0851 in vcl::GetCompoundTTOutline(vcl::AbstractTrueTypeFont*, unsigned int, std::__debug::vector<vcl::ControlPoint, std::allocator<vcl::ControlPoint> >&, vcl::(anonymous namespace)::TTGlyphMetrics*, std::__debug::vector<unsigned int, std::allocator<unsigned int> >&) /vcl/source/fontsubset/sft.cxx:544:91
>     #5 0x7fc2f00af5f1 in vcl::GetTTGlyphOutline(vcl::AbstractTrueTypeFont*, unsigned int, std::__debug::vector<vcl::ControlPoint, std::allocator<vcl::ControlPoint> >&, vcl::(anonymous namespace)::TTGlyphMetrics*, std::__debug::vector<unsigned int, std::allocator<unsigned int> >*) /vcl/source/fontsubset/sft.cxx:621:15
>     #6 0x7fc2f00aea34 in vcl::GetTTGlyphPoints(vcl::AbstractTrueTypeFont*, unsigned int, std::__debug::vector<vcl::ControlPoint, std::allocator<vcl::ControlPoint> >&) /vcl/source/fontsubset/sft.cxx:1239:12
>     #7 0x7fc2f00b92de in vcl::GetTTRawGlyphData(vcl::AbstractTrueTypeFont*, unsigned int) /vcl/source/fontsubset/sft.cxx:1667:9
>     #8 0x7fc2f00b23ed in vcl::CreateTTFromTTGlyphs(vcl::AbstractTrueTypeFont*, std::__debug::vector<unsigned char, std::allocator<unsigned char> >&, unsigned short const*, unsigned char const*, int) /vcl/source/fontsubset/sft.cxx:1374:32
>     #9 0x7fc2f00bc71a in vcl::CreateTTFfontSubset(vcl::AbstractTrueTypeFont&, std::__debug::vector<unsigned char, std::allocator<unsigned char> >&, unsigned int const*, unsigned char const*, int, FontSubsetInfo&) /vcl/source/fontsubset/sft.cxx:1549:13
>     #10 0x7fc2eff57836 in vcl::font::PhysicalFontFace::CreateFontSubset(std::__debug::vector<unsigned char, std::allocator<unsigned char> >&, unsigned int const*, unsigned char const*, int, FontSubsetInfo&) const /vcl/source/font/PhysicalFontFace.cxx:367:12
>     #11 0x7fc2ee4e0472 in vcl::PDFWriterImpl::emitFonts() /vcl/source/gdi/pdfwriter_impl.cxx:3152:24
>     #12 0x7fc2ee4e9cb9 in vcl::PDFWriterImpl::emitResources() /vcl/source/gdi/pdfwriter_impl.cxx:3363:10
>     #13 0x7fc2ee53f91d in vcl::PDFWriterImpl::emitCatalog() /vcl/source/gdi/pdfwriter_impl.cxx:5288:10
>     #14 0x7fc2ee567ae3 in vcl::PDFWriterImpl::emit() /vcl/source/gdi/pdfwriter_impl.cxx:6341:10
>     #15 0x7fc2ee3d3f2a in vcl::PDFWriter::Emit() /vcl/source/gdi/pdfwriter.cxx:53:29
>     #16 0x7fc249b4b82a in PDFExport::Export(rtl::OUString const&, com::sun::uno::Sequence<com::sun:🫘:PropertyValue> const&) /filter/source/pdf/pdfexport.cxx:1127:39
>     #17 0x7fc249bb2782 in PDFFilter::implExport(com::sun::uno::Sequence<com::sun:🫘:PropertyValue> const&) /filter/source/pdf/pdffilter.cxx:182:24
>     #18 0x7fc249bb342b in PDFFilter::filter(com::sun::uno::Sequence<com::sun:🫘:PropertyValue> const&) /filter/source/pdf/pdffilter.cxx:247:23
>     #19 0x7fc2a51ebec6 in SfxObjectShell::ExportTo(SfxMedium&) /sfx2/source/doc/objstor.cxx:2945:25
>     #20 0x7fc2a51d7bec in SfxObjectShell::SaveTo_Impl(SfxMedium&, SfxItemSet const*) /sfx2/source/doc/objstor.cxx:1943:19
>     #21 0x7fc2a5213f83 in SfxObjectShell::PreDoSaveAs_Impl(rtl::OUString const&, rtl::OUString const&, SfxItemSet const&, com::sun::uno::Sequence<com::sun:🫘:PropertyValue> const&) /sfx2/source/doc/objstor.cxx:3459:39
>     #22 0x7fc2a520b709 in SfxObjectShell::CommonSaveAs_Impl(INetURLObject const&, rtl::OUString const&, SfxItemSet&, com::sun::uno::Sequence<com::sun:🫘:PropertyValue> const&) /sfx2/source/doc/objstor.cxx:3249:9
>     #23 0x7fc2a5147a8b in SfxObjectShell::APISaveAs_Impl(std::basic_string_view<char16_t, std::char_traits<char16_t> >, SfxItemSet&, com::sun::uno::Sequence<com::sun:🫘:PropertyValue> const&) /sfx2/source/doc/objserv.cxx:320:19
>     #24 0x7fc2a543024c in SfxBaseModel::impl_store(rtl::OUString const&, com::sun::uno::Sequence<com::sun:🫘:PropertyValue> const&, bool) /sfx2/source/doc/sfxbasemodel.cxx:3231:42
>     #25 0x7fc2a54374f4 in SfxBaseModel::storeToURL(rtl::OUString const&, com::sun::uno::Sequence<com::sun:🫘:PropertyValue> const&) /sfx2/source/doc/sfxbasemodel.cxx:1813:13
>     #26 0x7fc2c74053ae in ScPDFExportTest::exportToPDF(com::sun::uno::Reference<com::sun::frame::XModel> const&, ScRange const&) /sc/qa/extras/scpdfexport.cxx:179:16
>     #27 0x7fc2c7437e0f in ScPDFExportTest::testForcepoint97() /sc/qa/extras/scpdfexport.cxx:915:5

during CppunitTest_sc_pdf_export
(<https://ci.libreoffice.org/job/lo_ubsan/3346/>)

Change-Id: I3074479ea3267417a73ecafa81b4a9898f19d1a9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175469
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-10-23 12:10:21 +02:00
Bogdan Buzea
0a347396d3 tdf#163486: PVS: Identical branches
V1037 Two or more case-branches perform the same actions. Check lines: 152, 194
V1037 Two or more case-branches perform the same actions. Check lines: 565, 592

Change-Id: I52ec0921c898ca74473631ba36a76f6444ce07d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175358
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-23 11:57:15 +02:00
Bogdan Buzea
d3dd616f56 tdf#163486: PVS: Identical branches
V1037 Two or more case-branches perform the same actions. Check lines: 289, 293

Change-Id: I9828b4d5b7faca449c5377a0bd8223cddf883a43
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175423
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2024-10-23 11:50:06 +02:00
Xisco Fauli
5b4aea0f91 tdf#163486: PVS: Expression is always true
V547 	Expression 'pRedirectURL' is always true.

Change-Id: I6cd071905a6e93782c1a6f5e6e4ddeaef0658feb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175460
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-23 10:31:03 +02:00
Xisco Fauli
416f672b9d tdf#163486: PVS: Expression is always true
V560 	A part of conditional expression is always true: pRun != pEnd.
V560 	A part of conditional expression is always true: pRun != pEnd.

Change-Id: I1a99ae31346177bed731e26e883720efa018bcbc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175451
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-23 10:02:36 +02:00
Xisco Fauli
9fb20b5341 tdf#163486: PVS: Expression is always true
V560 	A part of conditional expression is always true: pRotate.
V560 	A part of conditional expression is always true: pRotate.

Change-Id: Icf39c1a7e3a31fb360dde684a5ebfbc176027f6c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175450
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-10-23 10:00:43 +02:00
Xisco Fauli
ee21d9956b tdf#163486: PVS: Expression is always false
V547 	Expression 'pDocShell == nullptr' is always false.

Change-Id: I0f79864cb5fbfe209cb0c2441665027355aced3d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175463
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-23 09:28:17 +02:00
Xisco Fauli
22fd6966fe tdf#163486: PVS: Expression is always true
V547 	Expression 'pChartWindow' is always true.

Change-Id: I079b0aef18e4619f84e96dc07573884a9887faaa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175464
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-23 09:27:40 +02:00
Xisco Fauli
a8f7368b76 tdf#163486: PVS: Expression is always true
V547 	Expression 'pChartWindow' is always true.
V547 	Expression 'pChartWindow' is always true.

Change-Id: I3edefe4392386397e5666420b31cc40096c6f3cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175465
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-10-23 09:27:03 +02:00
Xisco Fauli
fb8644e8e1 tdf#163486: PVS: Expression is always true
V560 	A part of conditional expression is always true: pDoc.

Change-Id: Ie3947a3360d65a97a6a70c584c3e3f32485b4b6b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175458
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-23 09:26:16 +02:00
Noel Grandin
100e0a0163 tdf#161359 fix opening RTF with broken images
The try/catch block prevents an exception that looks like
   com.sun.star.lang.IllegalArgumentException message:
   "at /Users/noelgrandin/lode/dev/core/svx/source/unodraw/unoshap2.cxx:1423"
which is inside
   SvxGraphicObject::setPropertyValueImpl

Not sure where would be a better place to handle this.

regression from
    commit 060b0fb4b9
    Author: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
    Date:   Thu Mar 8 16:37:46 2018 +0900
    change RTFDocumentImpl to use Graphic instead of GraphicURL

Change-Id: Iec3df20a2192df2bf595293037c8214fea151ae3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175418
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-10-23 09:26:02 +02:00
Xisco Fauli
28d7ea2509 tdf#163486: PVS: Expression is always true
Expression 'pChangesSet' is always true.

Change-Id: Ib1f654b0b30d0e8e73121a7448a392a134be888f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175459
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-23 09:25:58 +02:00
Xisco Fauli
adb561759c tdf#163486: PVS: Expression is always true
V547 	Expression 'pFollowTextFlow' is always true.

Change-Id: I07696ef443e7eaa263d325eed225dfb5c0b89c51
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175461
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-23 09:25:42 +02:00
Xisco Fauli
f6fc9dd338 tdf#163486: PVS: Expression is always true
V560 	A part of conditional expression is always true: pItem.

Change-Id: I4ae18820dc7ec3232bccb099e56dd0da2b4f59eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175456
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-10-23 09:25:22 +02:00
Xisco Fauli
156506630f tdf#163486: PVS: Expression is always true
V560 	A part of conditional expression is always true: pDrawLayer.

Change-Id: Ibcb87390a41d835233625b7bea1e5e040ebe3b21
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175457
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-10-23 09:24:50 +02:00
Xisco Fauli
e0394fe4c0 tdf#163486: PVS: Expression is always true
V547 	Expression 'pWin' is always true.

Change-Id: Ib7f302c06f1bbfded89d97767197447788ffdd71
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175462
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-10-23 09:23:49 +02:00
Xisco Fauli
32e3427cd0 tdf#163486: PVS: Expression is always true
V560 	A part of conditional expression is always true: pFlt.

Change-Id: Ia05e42b8700ceb3dc1ab23becf71fd281695924e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175449
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-23 09:22:50 +02:00
Xisco Fauli
f431b0c5cf tdf#163486: PVS: Expression is always true
V560 	A part of conditional expression is always true: pSection.

Change-Id: If097740c8ea3b89da42c07c4e419fee731948fe7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175453
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-23 09:22:35 +02:00
Xisco Fauli
c025cb6d12 tdf#163486: PVS: Expression is always true
V560 	A part of conditional expression is always true: pFlt.

Change-Id: I208c6f64fe49dec422173b9465b18182c1aac318
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175452
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-10-23 09:22:17 +02:00
Oromidayo Owolabi
80e8375828 tdf#143148 Use #pragma once instead of include guards
Replace include guards to pragma once in some header files in sw/inc/

Change-Id: I8e790a89ab2326748590d7a1ff2d1daee0ae0f4b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175191
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2024-10-23 09:06:10 +02:00
Julien Nabet
250e00a51d Declare missing methods and constants to synchronize with JDBC 4.3
OpenJDK source has been used for the comments

Change-Id: Ic443ef1f50894eccd5233f2c629e227b8816a8fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173568
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2024-10-23 08:57:01 +02:00
Noel Grandin
d2c4108dca tdf#144702 Base Fields in Report Label Display Clipped
This is probably not an ideal fix, I'm not sure where exactly the
positioning is off, but this does the job for now.

regression from
    commit 95ccc26ba7
    Author: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
    Date:   Fri May 22 18:07:45 2015 +0900

Change-Id: I2f02e68418b7adf2cba8dfa4e4e51d4416a91389
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175417
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-10-23 07:47:34 +02:00
Noel Grandin
f7e405cfa7 tdf#162245 Insert->Comment in Draw/Impress not incrementally numbered
fix numbering.

regression from
    commit e17c56bfc7
    Author: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
    Date:   Thu Jun 6 10:52:35 2024 +0900
    annot: new Annotation sdr object, replacing annotation tags

Change-Id: I7f649346422886ab2e27a06b03b359ab395ec4e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175411
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-10-23 07:47:18 +02:00
Xisco Fauli
0ffb4c7391 libvisio: upgrade to 0.1.8
Generated with:
./autogen.sh
./configure
make dist-xz

Change-Id: I6ff112ab2669d8ca7903f685486b5cd0f0348fd2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175442
Tested-by: Jenkins
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2024-10-22 23:48:27 +02:00
Xisco Fauli
95e7d7c271 tdf#163486: PVS: Expression is always true
V560 	A part of conditional expression is always true: pStyleSheetProperties.

Change-Id: Ia6f0ecbf80d8de488695441c86b0b34e23c6348a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175444
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-10-22 23:27:40 +02:00
László Németh
270c96e12c tdf#163575 sw smart justify: fix size resolution for SwBidiPortion
Negative space sizes (i.e. shrunk lines at image wrapping) stored
over LONG_MAX/2, and these values had no resolution in SwBidiPortion,
causing crash/assert in conversion of DOCX document containing e.g.
Arabic text wrapping around images.

Note: apply the resolution in SwDoubleLinePortion, too.

Regression since commit 1fb6de0270
"tdf#163149 sw smart justify: fix line shrinking at image wrapping".

Change-Id: I6e45592c4eed247871d35e1f02fd5a038baddf85
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175419
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: Jenkins
2024-10-22 23:11:28 +02:00
Xisco Fauli
a07b4b432f tdf#163486: PVS: Expression is always true
V560 	A part of conditional expression is always true: pNumFormat.
V560 	A part of conditional expression is always true: pNumFormat != nullptr.

Change-Id: I6c780fa67bd65da06cfdde37d34eda93bb4ab13c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175445
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-22 23:04:55 +02:00
Bogdan Buzea
a9b36e7af4 tdf#163486: PVS: Identical branches
V1037 Two or more case-branches perform the same actions. Check lines: 341, 345, 348
V1037 Two or more case-branches perform the same actions. Check lines: 481, 487
V1037 Two or more case-branches perform the same actions. Check lines: 689, 700

Change-Id: Ib9f4b8047f7706667f79de0170a672818ffd9030
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175346
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-22 21:36:40 +02:00
Caolán McNamara
746f66f4b1 cid#1607748 Overflowed constant
Change-Id: Id077fdc914f461a3631c42c37b2d5be37632e0e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175374
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-10-22 20:37:17 +02:00
Bogdan Buzea
661aee7aac tdf#163486: PVS: Identical blocks
V760 Two identical blocks of text were found. The second block begins from line 325.

Change-Id: I5854337d4d1c0d946b096804b536433c48f0696f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175381
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-10-22 19:34:34 +02:00
Noel Grandin
686b968ec3 pass by reference for ShouldDownscaleIconsAtSurface
because the param is never null

Change-Id: I58660a9e4e6c25def2a70099bffce322b477b702
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175415
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-10-22 19:31:28 +02:00
Caolán McNamara
ee4554b0ac cid#1555259 COPY_INSTEAD_OF_MOVE
and

cid#1555264 COPY_INSTEAD_OF_MOVE
cid#1555280 COPY_INSTEAD_OF_MOVE
cid#1555303 COPY_INSTEAD_OF_MOVE
cid#1555313 COPY_INSTEAD_OF_MOVE
cid#1555314 COPY_INSTEAD_OF_MOVE
cid#1555323 COPY_INSTEAD_OF_MOVE
cid#1555333 COPY_INSTEAD_OF_MOVE
cid#1555338 COPY_INSTEAD_OF_MOVE
cid#1555349 COPY_INSTEAD_OF_MOVE
cid#1555364 COPY_INSTEAD_OF_MOVE
cid#1555379 COPY_INSTEAD_OF_MOVE
cid#1555398 COPY_INSTEAD_OF_MOVE
cid#1555410 COPY_INSTEAD_OF_MOVE
cid#1555411 COPY_INSTEAD_OF_MOVE
cid#1555416 COPY_INSTEAD_OF_MOVE
cid#1555429 COPY_INSTEAD_OF_MOVE
cid#1555434 COPY_INSTEAD_OF_MOVE
cid#1555441 COPY_INSTEAD_OF_MOVE
cid#1555446 COPY_INSTEAD_OF_MOVE
cid#1555480 COPY_INSTEAD_OF_MOVE
cid#1555490 COPY_INSTEAD_OF_MOVE
cid#1555524 COPY_INSTEAD_OF_MOVE
cid#1555527 COPY_INSTEAD_OF_MOVE
cid#1555531 COPY_INSTEAD_OF_MOVE
cid#1555578 COPY_INSTEAD_OF_MOVE
cid#1555581 COPY_INSTEAD_OF_MOVE
cid#1555591 COPY_INSTEAD_OF_MOVE
cid#1555614 COPY_INSTEAD_OF_MOVE
cid#1555619 COPY_INSTEAD_OF_MOVE
cid#1555633 COPY_INSTEAD_OF_MOVE
cid#1555654 COPY_INSTEAD_OF_MOVE
cid#1555707 COPY_INSTEAD_OF_MOVE
cid#1555712 COPY_INSTEAD_OF_MOVE
cid#1555746 COPY_INSTEAD_OF_MOVE
cid#1555763 COPY_INSTEAD_OF_MOVE

Change-Id: Ibcc1a3649c5663328e60474c06e51902aa74db52
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175407
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-10-22 17:53:07 +02:00
Miklos Vajna
4aa8d30c09 cool#9992 lok doc sign: never remember previous .uno:Signature params
Do this explicitly, so it can't happen that .uno:Signature with params
gets dispatched, then .uno:Signature without params still has the old
XCertificate.

Change-Id: I35c4d5e0e4545fb1aabb9050aa6b11cd10c3ca85
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175414
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-10-22 17:21:27 +02:00
Julien Nabet
b2d35dfe19 tdf#163284: Diagonal/criss-cross borders for tables is only implemented in Calc
Change-Id: I645fd2a6fafb2607d94607599366d9442b4423fa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175199
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2024-10-22 17:14:02 +02:00
Michael Weghorn
c8371b5f1a a11y: Return early in AccessibleFactory::createAccessibleContext
Return the XAccessibleContext reference right away, instead
of assigning it to a local variable and returning at the end
of the method.

Change-Id: Iec47f4158dd40c25482366c33ed4a4642709f641
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175405
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-10-22 15:42:52 +02:00
Michael Weghorn
51a482bc04 a11y: Return early in AccessibleTabBar::getAccessibleAtPoint
Just return `xAcc` right away instead of first assigning it to
a local variable.

Change-Id: If11c88266b4ec72b2d5d927e3f28a14bf0cdc304
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175404
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-10-22 15:42:46 +02:00
Bogdan Buzea
f85366c407 tdf#163486: PVS: Identical branches
Since
commit 97075a384a
Author: Michael Brauer <mib@openoffice.org>
Date:   Wed Oct 24 13:16:17 2001 +0000

    #91961#: Support of language

V1037 Two or more case-branches perform the same actions. Check lines: 1462, 1465

Change-Id: Ie27fb47ec7e22b9dbe9a2338c661c261bea8926b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175383
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-22 14:30:26 +02:00
folandidi
33ca469ee6 tdf#143148: Use pragma once instead of include guards
Change-Id: I798ffbdf9acd44ba45cebc0a5c41249fd53c49bf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175035
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
2024-10-22 14:06:42 +02:00
Javiya Vivekkumar Dineshbhai
e4da2a54aa lok: fix repeat slideshow after duration issue
Change-Id: I0b84d003ab3345bc89482e9940a4f0d11f33e427
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175379
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-10-22 13:29:00 +02:00
Xisco Fauli
f558eb09dc tdf#163486: PVS: check stream read instead of EOF
V1024 	The 'aStream' stream is checked for EOF before reading from it, but is not checked after reading. Potential use of invalid data.

Change-Id: I4f7b10bc896d13a31a97ed0dbacd413de990eb89
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175363
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-10-22 12:43:28 +02:00
Noel Grandin
75d6fd0913 tdf#163516 Draw fails to restore Layer data Title and Description
regression from
    commit c7b7153213
    Author: Noel Grandin <noelgrandin@gmail.com>
    Date:   Fri Nov 20 14:24:51 2020 +0200
    fastparser in SdXMLLayerContext

Change-Id: I0db381fbd383efd23bb254703bea103ca0d270d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175378
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-10-22 12:37:13 +02:00
Bogdan Buzea
993c872606 tdf#163486: PVS: Identical branches
V1037 Two or more case-branches perform the same actions. Check lines: 1241, 1244. Also, 1247 and 1251.

Change-Id: Ibf474d045ae52bc0d7f655143e72117c29736dfe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175206
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-22 12:14:48 +02:00
Bogdan Buzea
14a3ed6149 tdf#163486: PVS: Identical branches
V1037 Two or more case-branches perform the same actions. Check lines: 1048, 1053

Change-Id: I24f2b4698ff8c0d57aa81b57b42a847caa6c1aeb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175360
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-22 12:14:06 +02:00
Bogdan Buzea
9bcd990d5a tdf#163486: PVS: Identical branches
V1037 Two or more case-branches perform the same actions. Check lines: 628, 638

Change-Id: I0979a4c245c2b550ab85072f3925082845f0915a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175352
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-10-22 12:09:48 +02:00