Commit Graph
520251 Commits
Author SHA1 Message Date
Andrea Gelmini 6a1480506d Fix typos
Change-Id: I9d99aba8500ea31628e4b883974bb60181407647
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210562
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 22:08:01 +02:00
Andrea Gelmini a5fc9ac9ab Fix typos in code + comments + some reformatting
Change-Id: Ic16cfe81371046c2ba131f7e7bca53824c3a24cd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210573
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 22:07:10 +02:00
Andrea Gelmini be7ff6a857 Fix typos in code and comments + some reformatting
Change-Id: Ic6fe197734655a2591a6730d07f23d4222a278f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210564
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 22:06:44 +02:00
Andrea Gelmini f1c58464ac Fix typos
Change-Id: I38b80f7bbf93192b7e2e00a426b72b77eb33bf1c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210568
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 21:28:54 +02:00
Andrea Gelmini 6e696502fc Fix typos
Change-Id: I3e012ec27be31748afd2486366ede02939ca3cf1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210567
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 21:27:55 +02:00
Andrea Gelmini eeb4290b30 Fix typos
Change-Id: I53571976c4e045a5a09f1adc4425b41d96b0e6a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210565
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 21:26:38 +02:00
Julien Nabet 1be25f4913 Following Related tdf#150928: replace character set by encoding (sc/part 3...)
Change-Id: I45197943cd052827eb79b5fd11501d50fd0f18af
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210642
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 21:03:47 +02:00
Andrea Gelmini 5028dc63d3 Fix typos
Change-Id: Ib83ef851cb68de13c257633f0fe6d57b4581af27
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210159
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 20:50:52 +02:00
Andrea Gelmini 472eb96025 Fix typos
Change-Id: Ia570d150a1dfe11492379894704e7d2d1fc3542c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210049
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 20:50:11 +02:00
Andrea Gelmini c34443c550 Fix typos
Change-Id: Ie82498a0d43f5f076fd06071e15d03ccebf680db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210199
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 20:41:38 +02:00
Andrea Gelmini 1406e27b4c Fix typos
Change-Id: Ife5bb699c12cc02575ab9313b2a70d85c75e61b9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210577
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 20:37:30 +02:00
Andrea Gelmini f422ea7806 Fix typos
Change-Id: Ifb32f0dc72ec366a35b029374712dd2f7b462657
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209743
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-09-10 20:23:19 +02:00
Michael Weghorn c94c18341e toolkit a11y: Switch AccessibleGridControlBase::m_xParent to OAccessible
Switch from the abstract XAccessible UNO interface to the
more concrete OAccessible for AccessibleGridControlBase::m_xParent
and rename accordingly.

Drop now no longer needed method calls and UNO queries
to get the XAccessibleContext and XAccessibleComponent interfaces,
because OAccessible directly implements those interfaces
itself as well.

Change-Id: I39e8453f087568c78c2f7de6634d87bde2717956
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210633
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-10 18:34:27 +02:00
Michael Weghorn e341b072d3 toolkit a11y: Pass OAccessible for AccessibleGridControlBase parent
The parent is always an OAccessible subclass.
Pass that more concrete type for the parent param instead
of the abstract XAccessible UNO interface.

Change-Id: I4880448db03dcc89076dc72d45902c0bf2f16d83
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210632
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-10 18:34:19 +02:00
Michael Weghorn 14c4068c8e toolkit a11y: Pass OAccessible for AccessibleGridControl parent
The parent is always an OAccessible subclass.
Pass that more concrete type for the parent param instead
of the abstract XAccessible UNO interface.

Change-Id: Id2c3cb8c9095f338c5c1072bf86486bbf9260a79
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210631
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-09-10 18:34:11 +02:00
Michael Weghorn 067915ecb3 toolkit a11y: Switch TableControl_Impl::getAccessible param to OAccessible
Pass a more concrete OAccessible instead of the abstract
XAccessible UNO interface for the parent param.

Change-Id: I0a363d3174b304f019f7005cc5d7f219d0e150b3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210630
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-09-10 18:34:03 +02:00
Michael Weghorn 7c130f7f93 toolkit: clang-format TableControl_Impl code
This in particular also gets rid of an extra level
of indentation.

Change-Id: Iceace592edb15bdbadce55e86b2e460d71fb771d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210629
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-10 18:33:55 +02:00
Michael Weghorn 075aa89667 toolkit: clang-format TableControl code
This in particular also gets rid of an extra level
of indentation.

Change-Id: I57f636a694a99910d2a04a037a6cda0a8f385e61
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210628
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-10 18:33:45 +02:00
Michael Weghorn 332d2279b6 toolkit a11y: Use OAccessible in TableControl::CreateAccessible
Switch the local variable from the abstract XAccessible UNO
interface to the more concrete OAccessible base class.

This also prepares for more upcoming changes.

Change-Id: I8f33c4bea80052ebfc0d2ec21889f865e0cc5d6d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210627
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-09-10 18:33:37 +02:00
Michael Weghorn c3b1f8a6e1 toolkit a11y: Pass OAccessible for AccessibleGridControlCell parent
The parent is always an OAccessible subclass.
Pass that more concrete type for the parent param instead
of the abstract XAccessible UNO interface.

Change-Id: If072062b295195b9599ad20af72d4fbf3eb6fc8c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210626
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-10 18:33:29 +02:00
Michael Weghorn 77e6c95623 toolkit a11y: Pass AccessibleGridControlTable for its cell parent
The parent of a AccessibleGridControlTableCell is always the
AccessibleGridControlTable it belongs to.

Pass that concrete type to the ctor instead of the abstract
XAccessible UNO interface.

Change-Id: I3ff1c0f9f1a9bd81d07b8ff825b11d763c3863cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210625
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-10 18:33:20 +02:00
Michael Weghorn 44635146f6 toolkit a11y: Pass AccessibleGridControlHeader for its cell parent
The parent of a AccessibleGridControlHeaderCell is always the
AccessibleGridControlHeader it belongs to.

Pass that concrete type to the ctor instead of the abstract
XAccessible UNO interface.

Change-Id: I17069674b5bd853e07b6b1551f291994f21c7eb7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210624
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-09-10 18:33:02 +02:00
Michael Weghorn f568c64948 toolkit a11y: Pass OAccessible for AccessibleGridControlTableBase parent
The parent is always an OAccessible subclass, so use that
more concrete type for the parent param of the ctor
instead of the abstract XAccessible UNO interface.

Change-Id: I938d73cef38385a562b516758bdbb7bb8d7dc5bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210623
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-10 18:32:54 +02:00
Michael Weghorn b0777def2f toolkit a11y: Pass OAccessible for AccessibleGridControlTable parent
The parent is always an OAccessible subclass, so use that
more concrete type for the parent param of the ctor
instead of the abstract XAccessible UNO interface.

Change-Id: Icaeca70a28b87c2b2f9e5b07581777f0dd4cec3c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210622
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-09-10 18:32:46 +02:00
Michael Weghorn 28876ba49f toolkit a11y: Pass OAccessible for AccessibleGridControlHeader parent
The parent is always an OAccessible subclass, so use that
more concrete type for the parent param of the
AccessibleGridControlHeader ctor instead of the
abstract XAccessible UNO interface.

Change-Id: Ib0575f725f553b8345bd3f02085fa073a500cd92
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210621
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-09-10 18:32:38 +02:00
Michael Weghorn 2e9dd9a0df sw a11y: Use more concrete type in SwAccessibleTable::DisposeChild
Use the more concrete SwAccessibleContext instead of the
abstract XAccessible UNO interface for the local
variable.

Change-Id: I8ba838163a683c088886ee695188a779aacf6b01
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210620
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-09-10 18:32:30 +02:00
Michael Weghorn aa1723e64b sw a11y: Drop local var in SwAccessibleTable::getAccessibleCellAt
Return the result right away Instead of first assigning
it to a local variable.

While at it, also call SwAccessibleMap::GetContextImpl
directly instead of SwAccessibleMap::GetContext that
only wraps the former.

Change-Id: I9e576e59fe263ac5c892998d67076dfe66cf81f3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210619
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-09-10 18:32:23 +02:00
Michael Weghorn 000f410562 sw a11y: Return OAccessible in SwAccessibleSelectionHelper
In SwAccessibleSelectionHelper::getSelectedAccessibleChild,
return the more concrete OAccessible instead of the abstract
XAccessible UNO interface.

Change-Id: I2f80e7cbdf393b8f1dfc14e7709801a15c9d8c72
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210618
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-10 18:32:15 +02:00
Michael Weghorn 91e9aa7c3f sw a11y: Use OAccessible lcl_getSelectedState
Call SwAccessibleMap::GetContextImpl instead of
SwAccessibleMap::GetContex to get a more concrete
type that subclasses OAccessible and switch the
local variable to that type.

Drop a now redundant call to OAccessible::getAccessibleContext
as that returns a reference to self.

Change-Id: Ib85c98c7b803297775131c333d1cde9e625cb98f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210617
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-09-10 18:32:07 +02:00
Michael Weghorn 571fd28f4d sw a11y: Drop OAccessible::getAccessibleContext call
The method a reference to self, so just use
SwAccessibleDocumentBase::mpParent directly instead.

Change-Id: Ib0b457434ad67c1beb318c93830f6d406e4f93e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210616
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-10 18:31:59 +02:00
Michael Weghorn 5ee335983a sw a11y: Switch SwAccessibleDocumentBase::mxParent to OAccessible
Use the more concrete OAccessible class instead of the
abstract XAccessible UNO interface.

Change-Id: Ia6eca4debb98bfb079e51841568a1752c8ad8393
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210615
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-10 18:31:52 +02:00
Michael Weghorn 59bab7c98b sw a11y: Drop local XAccessible var
Just return the result directly instead of
first assigning it to a local variable.

Change-Id: Iaf7e6409d2843507b2c725a537145c7789ad15b4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210614
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-09-10 18:31:44 +02:00
Michael Weghorn a2ad4fc380 vcl a11y: Pass OAccessible to VCLXAccessibleToolBoxItem::NotifyChildEvent
Switch the param from the abstract XAccessible UNO interface to
the more OAccessible class.

Change-Id: Ib2ed2535d2d65042f34c7852734779c9d3e91c7a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210613
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-10 18:31:36 +02:00
Michael Weghorn 82ebc0cb7a editeng a11y: Switch AccessibleEditableTextPara::mpParent to OAccessible
Use the more specific OAccessible class instead of the
abstract XAccessible UNO interface.

This also allows to get rid of the need to retrieve the
XAccessibleComponent and XAccessibleContext interfaces
in extra steps, as OAccessible implements those interfaces
as well.

Change-Id: I3845e266dd21db1ffd601851a7b766c9174d7633
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210611
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-10 18:31:27 +02:00
Michael Weghorn 0aa8eedf3a editeng a11y: Pass OAccessible to AccessibleEditableTextPara ctor
Use the more concrete OAccessible type for the parent param
of the AccessibleEditableTextPara ctor instead of the abstract
XAccessible UNO interface.

Change-Id: I5ce37c7d55b6f7111d515ed4ba6ddeb87993be27
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210610
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-09-10 18:31:18 +02:00
Michael Weghorn 76de59770c chart2 a11y: Simplify AccessibleBase::ImplGetAccessibleChildById
No need for an `else branch` as the `if` branch throws
an exception.

Also stop intermediate assignment to local variable
and return the result directly instead.

Change-Id: Ib442f72510302acffb0336e56df3efd6d93c4d83
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210609
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-10 18:31:10 +02:00
Michael Weghorn dbb865574c chart2 a11y: Return without assigning to local var first
Change-Id: I48551b0add3db3335fb0ab09731cadf01f9a0d82
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210608
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-09-10 18:31:03 +02:00
Michael Weghorn e21f0fe031 sc a11y: Use concrete type in ScAccessibleDocument::deselectAccessibleChild
Change-Id: Idfb12634c3bebab05a30e5f7db5497a1ea80badf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210607
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-10 18:30:55 +02:00
Michael Weghorn b21b32cf83 sc a11y: Use concrete type in ScAccessibleDocument::isAccessibleChildSelected
Change-Id: I158f83ec7561f50a461ed420e87170b72a7ea8fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210606
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-10 18:30:47 +02:00
Michael Weghorn 55b36fc75c sc a11y: Use concrete type in ScAccessibleDocument::selectAccessibleChild
Change-Id: I1830fb4a86895b4a767c367f7e8945a8376209c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210605
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-09-10 18:30:39 +02:00
Michael Weghorn ec8be139bc sc a11y: Return concrete type in ScAccessibleDocument::GetAccessibleSpreadsheet
Change-Id: I11d00468deff9438038eb8d66208a8772ccdf6fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210604
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-09-10 18:30:31 +02:00
Michael Weghorn a4f18a3ae9 chart2 a11y: Drop XAccessible::getAccessibleContext call
OAccessible returns itself in its XAccessible::getAccessibleContext
implementation and implements the XAccessibleComponent interface itself,
so there is no need to call the method and query for that interface.

Change-Id: I232d86a3c972a8313a6dc62a1b6c799c6b1a9d81
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210603
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-10 18:28:52 +02:00
Michael Weghorn bb11afbcd7 chart2 a11y: Switch AccessibleChartView::m_xParent to OAccessible
Switch AccessibleChartView::m_xParent from a weak
reference of the abstract XAccessible interface to
a weak reference of the more concrete OAccessible class.

Change-Id: Iba9f410979c079735b6c41723206b2ac76c1dc1b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210602
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-09-10 18:28:43 +02:00
Michael Weghorn 5701442238 chart2 a11y: Use OAccessible in ChartController::impl_initializeAccessible
Switch to using the more concrete OAccessible instead
of the abstract XAccessible UNO interface.

Change-Id: I5ef11c3880788320dda6750409f36a04fcf40a06
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210601
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
2026-09-10 18:28:36 +02:00
Andrea Gelmini e8fa15e0d6 Fix typos in code and comments
Change-Id: I48caad6ed035a1e46e434a685fc40376e0276fe5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210576
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 16:27:50 +02:00
Andrea Gelmini a486bdeef2 Fix typos
Change-Id: Ieb4e85c582ae37b6d83411b5e76303453bf8ea35
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210570
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 16:25:21 +02:00
Andrea Gelmini 8ee79ac196 Fix typos
Change-Id: Ic7a97a5219d8a0d30b1753c2502995ea4c2cd32f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210563
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-09-10 16:22:54 +02:00
Andrea Gelmini b36dd72872 Fix typos
Change-Id: Ie0d39dd4bb84d346ca2b19d0965e31fecc75d878
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210572
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-09-10 16:05:29 +02:00
Andrea Gelmini 3ff64935b4 Fix typos
Change-Id: I48e41434d3f451725a724cd86750731a9fc67fcc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210569
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2026-09-10 16:00:26 +02:00
Justin Luth ecb92a32f3 tdf#107230 dinfdlg: no 'Save preview image' if !GenerateThumbnails
Disable the checkbox to save preview image
if the expert config says thumbnails are not allowed to be generated.

Change-Id: I5c2cceffb3f0ac301814b347ce0d3a6eff0cc79f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210639
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
2026-09-10 15:44:53 +02:00