Commit graph

501538 commits

Author SHA1 Message Date
Noel Grandin
78693c376e tdf#108189 inspection of object hangs LO
There is no general solution to this that I am aware of, so just
implement a rather specific solution that will need periodic extending
to check for other dangerous properties

Change-Id: Ie09d89416fea5b7cdf782319ed9921657faa5a5a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176593
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-11-14 18:02:03 +01:00
Jonathan Clark
78a18a5dc6 tdf#36709 GUI changes for font-relative first-line indent
This change includes GUI element changes to support viewing and editing
first-line indent values with font-relative units in the paragraph style
dialog.

Change-Id: I72ada2565f51d70475eb17096a1317be9316b770
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176595
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
Tested-by: Jenkins
2024-11-14 17:30:06 +01:00
Miklos Vajna
39bf87f943 cool#9992 lok doc sign, hash extract: add signatureTime parameter
Execute getCommandValues('Signature') on the same document twice, you
get different hashes, because the content includes a timestamp, which
changes, so it's not possible to know if the hash is stable or not.

Also, working with a provided timestamp will needed for
<https://docs.eideasy.com/electronic-signatures/api-flow-with-file-hashes-pdf.html#_4-add-the-signature-to-the-pdf-file>
anyway.

Fix the problem by adding a signatureTime parameter and this way we can
have a test that makes sure we get the same hash if the time is
provided.

With this, the hash extraction part is meant to be ~complete.

Change-Id: If5e1e5bcf84c3b777f26b2ded24dcca48ea9ad94
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176601
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2024-11-14 17:28:21 +01:00
Stephan Bergmann
89714f9e3e Fix indentation
...accidentally broken by 16e3b84d2e "Improve
loplugin:dyncastvisibility to check for non-inline key functions"

Change-Id: Ie840803b4223fae76bcd72973b6a072eaa5e1d40
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176598
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-11-14 17:13:32 +01:00
Caolán McNamara
3b267b65d2 add an autotext 'common' directory like templates/common
for language neutral autotexts

Change-Id: Id3202981c28071a8100a6ce730274788c80a2867
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176508
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-11-14 16:22:29 +01:00
Xisco Fauli
45bb8d9ddc tdf#163486: PVS: redundant nullptr check
V668 	There is no sense in testing the 'm_pRelStorElement->m_xStorage' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.

Change-Id: Ie195de78b48c3766ef08a2d3666f778f75d2ca6e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176596
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-14 16:21:42 +01:00
Xisco Fauli
19e1cf2d1c tdf#163486: PVS: redundant nullptr check
V668 	There is no sense in testing the 'pUndo' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error.

Change-Id: I3eeff673f5c0862e0b3c7f0a5338ddb0882ab31d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176594
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-14 16:21:34 +01:00
Caolán McNamara
c8afec430a cid#1634638 Use of auto that causes a copy
and

cid#1634639 Missing move assignment operator

Change-Id: Icfc8f958dccae87fd646404c3a5a3772362bcc13
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176573
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-11-14 16:20:08 +01:00
Caolán McNamara
2bffbd8f55 cid#1634806 Logically dead code
Change-Id: If8de961277c3f1a29d2f2ab58261abd8145d4316
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176572
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-11-14 16:19:54 +01:00
Caolán McNamara
9edf69bc03 cid#1634808 COPY_INSTEAD_OF_MOVE
Change-Id: I7209b869abb1133d27271979b1e6c06fa50f7ecb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176571
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-11-14 16:19:45 +01:00
Stephan Bergmann
6c5355d45d Fix Linux cppuhelper_detail_findSofficePath
...so that it looks for the /usr/bin/ symlink with the name with which it is
created by sysui/CustomTarget_share.mk via sysui/desktop/share/create_tree.sh

Change-Id: I46c2bb9d8df936fd5c7bd52bbee86da959d5c6cb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176597
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2024-11-14 16:11:59 +01:00
Xisco Fauli
80cea92291 tdf#163486: PVS: Expression is always false
V560 	A part of conditional expression is always false: pTable == nullptr.

Change-Id: Id6f9a8ff3943fecbe77a4d339b3ca76e27a86605
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176585
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-14 15:58:46 +01:00
Xisco Fauli
4cde4b4b98 tdf#163486: PVS: Expression is always true
V560 	A part of conditional expression is always true: mpPage.

Change-Id: If132fa2d5116ec3517846e026bfd3f76ef2cd9a1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176591
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-14 14:59:33 +01:00
Xisco Fauli
766b63f2d9 svx: fix typo
Change-Id: If344ad16098d8bb1549108700d40a7dff65debb9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176590
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-11-14 14:59:16 +01:00
Xisco Fauli
11e5ef0698 tdf#163486: PVS: container is empty
Since
commit ecd615ab32
Author: Armin Le Grand (Allotropia) <Armin.Le.Grand@me.com>
Date:   Thu Nov 18 18:06:39 2021 +0100

    VCL implement GetGlyphOutline fallback

V557 	The 'aDXArry' container is empty, the access to its elements is impossible.

Change-Id: Ib67bbbf21f215bc27aa03b1a61dd7195c93e5311
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176589
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-14 14:20:04 +01:00
Xisco Fauli
d03f1ed446 tdf#163486: PVS: Expression is always true
V560 	A part of conditional expression is always true: pFlyFormat.

Change-Id: I9cc68a314dcdf98857eaf39aacf613d6fa67b720
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176584
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-14 14:18:30 +01:00
Xisco Fauli
5c8c4d78f6 tdf#163486: PVS: Expression is always false
V560 	A part of conditional expression is always false: pPap.
V560 	A part of conditional expression is always false: pSty.

Change-Id: I37a2cce02f303b9a3944c232d57f89b9087375ee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176586
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-11-14 14:11:03 +01:00
Xisco Fauli
6454428f1d tdf#163486: PVS: Expression is always true
V560 	A part of conditional expression is always true: pView.

Change-Id: I6c01996c66a0c1488080da532734c3c05820337d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176581
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-14 13:55:35 +01:00
Xisco Fauli
95bc3adf3a tdf#163486: PVS: Expression is always true
Since
commit 9cddf9da7f
Author: Vladimir Glazounov <vg@openoffice.org>
Date:   Tue May 22 15:33:44 2007 +0000

    INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED

V560 	A part of conditional expression is always false: (!(pTableFormat && pUnoCursor)).
V560 	A part of conditional expression is always true: pTableFormat.
V560 	A part of conditional expression is always true: pUnoCursor.

Change-Id: Id690161e2a64a82f94530142879bf291bd8df743
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176583
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-14 13:42:09 +01:00
Xisco Fauli
0f08d5cac5 tdf#163486: PVS: Expression is always true
V560 	A part of conditional expression is always true: pFormatItem.

Change-Id: I82009191496573e7f9dd1a6ab7f19df2243a30b2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176582
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-14 13:31:49 +01:00
Xisco Fauli
333b215427 tdf#163486: PVS: Expression is always true
V560 	A part of conditional expression is always true: pV != nullptr.

Change-Id: I4af6361993f3b172c54479e1011358c37fcde64b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176580
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-14 13:19:02 +01:00
Xisco Fauli
9b3159b984 tdf#163486: PVS: Expression is always true
V560 	A part of conditional expression is always true: pItem->mbVisible.

Change-Id: Id9c55e610fa81003a5ad7661d98962aa6d48c062
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176579
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-14 12:59:57 +01:00
Xisco Fauli
7b7d935478 tdf#163486: PVS: Expression is always true
V560 	A part of conditional expression is always true: pArguments == nullptr.

Change-Id: I1fd44091173ed81cdb0c4a4e27e9408cb6a25e5a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176578
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-14 12:54:51 +01:00
Stephan Bergmann
16e3b84d2e Improve loplugin:dyncastvisibility to check for non-inline key functions
This would have caught the issue discussed in
709b1f3ddb "Make sure VCLXPopupMenu has unique
RTTI".  (The commit message talks about RTTI there, while what Clang actually
compared for an optimized implementation of a dynamic_cast to a final class is
vtable pointers, but the overall picture remains the same.  Both RTTI and
vtables are emitted along the key function, and if that is missing or inline,
they are emitted for each dynamic library individually, and as internal symbols
on macOS.)

This commit also addresses all the issues found by the improved
loplugin:dyncastvisibility on Linux.  See the newly added TODO in
compilerplugins/clang/dyncastvisibility.cxx and
86b86ac87e "Give DocumentEventHolder (aka
EventHolder<DocumentEvent>) a key function" for an issue with key functions for
class template instantiations.

Change-Id: Ia19155efb1d23692c92b9c97ff17f18ae7a1f3ee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176576
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-11-14 12:49:22 +01:00
Andrea Gelmini
ac2983bbfb Fix typos
Change-Id: I67b770e3973b78cd59bc1e7c23d780187814c07a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176587
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2024-11-14 12:34:27 +01:00
Xisco Fauli
d6e81eaf73 tdf#163486: PVS: simplify expression
V728 	An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression.

Change-Id: I31edbbc7ce3b10085c5f1404e74485ea180ddec3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176577
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-11-14 12:32:24 +01:00
Tomaž Vajngerl
a37890e704 render slide layers with VCL / drawinglayer primitives
Instead of using slideshow module to render the slide layers, use
the VCL / drawinglayer instead, which makes it possible to render
transparency correctly and fast.

Change-Id: Idfc9fcc8bc0e2bc139df93d1805f7a19fb1bce1f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176575
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-11-14 11:55:09 +01:00
Stephan Bergmann
86b86ac87e Give DocumentEventHolder (aka EventHolder<DocumentEvent>) a key function
...that is not inline, so that RTTI and vtable are not emitted for each dynamic
library individually.  (Where they would be internal on macOS, which could break
optimized uses of dynamic_cast for that final class just checking vtable pointer
identity, as could happen for the dynamic_cast at
dbaccess/source/core/dataaccess/documenteventnotifier.cxx:232:51,

>   232 |         const DocumentEventHolder& rEventHolder = dynamic_cast< const DocumentEventHolder& >( _rEvent );
>       |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

And with the extern explicit template instantiation, EventHolder needs to be
SAL_DLLPUBLIC_TEMPLATE instead of just SAL_DLLPUBLIC_RTTI now, so that
Library_comphelper will export the DocumentEventHolder ctors and
DocumentEventHolder::getEventObject.)

(This would ideally have been caught by an upcoming improvement of
loplugin:dyncastvisibility, but might be complicated to check there for template
instantiations.)

Change-Id: I1e6280b185535968a870fbfadaff6238d38858e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176547
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-11-14 11:10:30 +01:00
Jonathan Clark
cf42d70e8c cid#1634809 Null pointer dereferences
and

cid#1634807 Null pointer dereferences

Change-Id: I9a100651a744cb77ff89769e8c98afcfb771f593
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176563
Tested-by: Jenkins
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
2024-11-14 10:29:31 +01:00
Stephan Bergmann
08aa3c4fa7 loplugin:reftotemp
(plus ensuing -Werror,-Wpessimizing-move)

Change-Id: Ie2bc5310f0c4a50ba6cdc351cc99f09e7534de29
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176562
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-11-14 09:15:00 +01:00
Mike Kaganski
eecdaa02b6 Turn a macro to a function
Change-Id: I39cfbe43e7f27ada9999daf93aa6ccfd38fb0c52
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176561
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-11-14 08:57:32 +01:00
Pranam Lashkari
df8941ee5b tdf#163805: set fill style to solid on fill color selection
problem:
The issue here is that the table does not have a fill style set,
but using the fill tool from the menubar does not give any error
or warning, either, which confuses the user.

Change-Id: Ib7d6ecdbb315b6eb2eca21423fba28d3cb086450
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176245
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
(cherry picked from commit c0623158f010e08e0bfadaffb988eac14e1ff34e)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176238
Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
Tested-by: Jenkins
2024-11-14 07:17:08 +01:00
Chris Sherlock
221194dda8 vcl: make BitmapArithmeticBlendFilter variables constant
Change-Id: I8e1219ef5ecdbb507b41756304d30eb49ae9a227
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173699
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2024-11-14 05:10:42 +01:00
Jim Raykowski
2b1b78e11b SwNavigator: Improve the page change control
The intent of this patch is to address an issue with the Writer
Navigator page change control reported at https://
ask.libreoffice.org/t/writer-display-single-page/111050

"I have selected View > Normal and View > Whitespace and View> Zoom>
Entire Page. On the bottom right, I’ve chosen the single page icon."
... "It is odd that the page number displayed as you click the
[Navigator Page control spin button] up and down arrows does not
change.."

The patch changes the function used by the page control to determine
the page number of the page in the view to that used by the status
bar page control. It also disables page tracking by the control when
the view is set to Multiple-page view or Book view.

Change-Id: I439bb4493061528f87eaeca3c08a33095adb8192
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173888
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2024-11-14 04:38:09 +01:00
Stephan Bergmann
deaa5dc2a4 Parameterize lower case PRODUCTNAME in odk/config/setsdkenv_windows.bat
Change-Id: I50ebfabdc63729b0ea3152fa919758b028a9c5d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176558
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-11-13 23:04:53 +01:00
Xisco Fauli
fc383577b8 svx: use a reference here
Change-Id: Ic92f640f79c8d1185be422eefaa61601eae9ae8b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176555
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-11-13 20:14:54 +01:00
Xisco Fauli
aa60d9a5af tdf#163486: PVS: variable is used after being declared
V614 	The 'pReturn' smart pointer is utilized immediately after being declared or reset. It is suspicious that no value was assigned to it.
V614 	The 'pReturn' smart pointer is utilized immediately after being declared or reset. It is suspicious that no value was assigned to it.

Change-Id: Ic84af8c395c4b3f86017eb83be17a6fbd628e5d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176553
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-11-13 20:13:02 +01:00
Xisco Fauli
6570d56009 tdf#163486: PVS: variable is used after being declared
Since
commit 400d5d8a90
Author: Miklos Vajna <vmiklos@collabora.co.uk>
Date:   Wed Nov 13 10:35:36 2013 +0100

    oox: initial import of wps:wsp

V614 	The 'pMasterShape' smart pointer is utilized immediately after being declared or reset. It is suspicious that no value was assigned to it. Consider checking the third actual argument of the 'WpsContext' function.

Change-Id: I1e14be0a528e01acbfa2d3e79d5a4d03e4b3e268
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176552
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-11-13 20:12:48 +01:00
Xisco Fauli
c382c5202c tdf#163486: PVS: variable was assigned the same value
Since
commit 2387c2a46e
Author: Matthew J. Francis <mjay.francis@gmail.com>
Date:   Wed Jul 29 15:22:54 2015 +0800

    Give PyUNO structs/exceptions their own separate type

V1048 	The 'me' variable was assigned the same value.

Change-Id: Ia75c524c9cf459ff2961206c9a17dac1de0125a1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176530
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-11-13 20:12:29 +01:00
Xisco Fauli
97cb43c001 tdf#163486: PVS: variable is used after being declared
Since
commit d4087b13fa
Author: Rüdiger Timm <rt@openoffice.org>
Date:   Fri Apr 18 13:32:32 2008 +0000

    INTEGRATION: CWS xmlfilter04 (1.2.12); FILE MERGED

V614 	The 'pMasterShape' smart pointer is utilized immediately after being declared or reset. It is suspicious that no value was assigned to it. Consider checking the second actual argument of the 'GraphicalObjectFrameContext' function.

Change-Id: I3d4241e8c88ee80c95a93d0e08d5498d87e7853b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176551
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-13 20:12:06 +01:00
Xisco Fauli
6923fa7a92 tdf#163486: PVS: identical conditional expressions
Since
commit 63cd67e5e1
Author: Attila Bakos (NISZ) <bakos.attilakaroly@nisz.hu>
Date:   Fri May 14 13:53:32 2021 +0200

    tdf#92525 tdf#142398: fix export of simple custom shapes

V649 	There are two 'if' statements with identical conditional expressions. The first 'if' statement contains function return. This means that the second 'if' statement is senseless. Check lines: 733, 738.

Change-Id: I92bff7ef8472c1774e6def78c5f1a165ea6a0153
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176550
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-11-13 20:11:37 +01:00
Xisco Fauli
83763a3ae1 tdf#163486: PVS: variable is used after being declared
V614 	The 'pEffect' smart pointer is utilized immediately after being declared or reset. It is suspicious that no value was assigned to it.

Change-Id: Ic93aa42fa34af873f8dced5da0c1f55a8dcbd58d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176554
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-13 17:23:58 +01:00
Ilmari Lauhakangas
d366b2b6d9 Update modeline in license header and vim footer
per the current template in TEMPLATE.SOURCECODE.HEADER

Change-Id: I06b36a22d0a62c46e0e0c99f27e1035e9f24e1a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176549
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
2024-11-13 17:13:52 +01:00
Xisco Fauli
98e2abcfb8 tdf#163486: PVS: variable was assigned the same value
Since
commit 1847211c00
Author: Sander Vesik <svesik@openoffice.org>
Date:   Wed Apr 21 11:25:53 2004 +0000

    INTEGRATION: CWS loadenv01 (1.27.22); FILE MERGED

V1048 	The 'm_bViewCreated' variable was assigned the same value.

Change-Id: I2c5fe19dcbc0524f6a4bf9baf774cc5ef0c2e793
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176545
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-11-13 16:39:28 +01:00
Xisco Fauli
81bce5cdfc tdf#163486: PVS: variable was assigned the same value
V1048 	The 'm_bDelete' variable was assigned the same value.

Change-Id: Ib324ee9473de6b8ce8d4e6e073265580c8a3ba68
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176546
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
2024-11-13 16:33:56 +01:00
Stephan Bergmann
603e92c7d9 Some PRODUCTNAME parametrization in SDK .html files
(and some places need a lower case LCPRODUCTNAME; plus some more clean up)

Change-Id: I7e97fcbe2e59ef22dffa7c0b47f076446873d09e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176539
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-11-13 15:42:01 +01:00
Xisco Fauli
5f251d6ff7 tdf#163486: PVS: variable was assigned the same value
Since
commit 49ab7533eb
Author: Jens-Heiner Rechtien <hr@openoffice.org>
Date:   Thu Sep 27 07:43:57 2007 +0000

    INTEGRATION: CWS swwarnings (1.15.222); FILE MERGED

V1048 	The 'm_bUndoIdInitialized' variable was assigned the same value.

Change-Id: Iccc66213efa98c8fc9108294515ec174b45cc08e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176537
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: Jenkins
2024-11-13 15:36:32 +01:00
NickWingate
fa3e9a2f31 Enable context menu key in online
Catch and execute context menu command when
called from online.

Signed-off-by: NickWingate <nick.wingate@collabora.com>
Change-Id: I5cca5c7855f5b87f7850c9248e27aa20382dde04
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171914
Reviewed-by: vivek javiya <vivek.javiya@collabora.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
(cherry picked from commit 5e969a45d36b7e76b4e1e168263bcf2fefddfcef)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176529
Tested-by: Jenkins
2024-11-13 15:27:41 +01:00
Xisco Fauli
7c5476ada9 tdf#163486 PVS: identical sub-expressions
Since
commit 85a47bbb83
Author: László Németh <nemeth@numbertext.org>
Date:   Fri May 12 17:03:57 2023 +0200

    tdf#155328 sw tracked table column: add DOCX export/import

V501 There are identical sub-expressions 'pRedline->GetRedlineData().GetType()' to the left and to the right of the '==' operator.

Change-Id: Ib53d20f102e64cd716245d558d6fd7754f62d9a1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175403
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-11-13 15:24:10 +01:00
Jonathan Clark
2cb039f570 tdf#36709 editeng: Layout for font-relative first-line indent
This change extends layout for font-relative paragraph first-line
indentation into Edit Engine.

Change-Id: I5906f493b91fbcb87ded165709fb132b33ce1906
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176487
Tested-by: Jenkins
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
2024-11-13 15:01:11 +01:00