10 Commits
Author SHA1 Message Date
Muhammad Naeem fd5a095840 tdf#45904: Migrate XDrawPageDuplicator test for sd from Java to C++
Change-Id: Ie4289a404794ac19dd28725ece8ac758fa254297
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205275
Reviewed-by: Hossein <hossein@libreoffice.org>
Tested-by: Jenkins
2026-06-10 10:48:50 +02:00
Muhammad Naeem 8e4147e02d tdf#45904: Migrate XMasterPagesSupplier test for sd from Java to C++
Change-Id: Id9c73452040acb5fa365ce741fd5cf3cf45d842c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205276
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
Tested-by: Jenkins
2026-05-25 21:07:12 +02:00
Muhammad Naeem 3d029be871 tdf#143148: Replace include guards with #pragma once
Verified with: container=1 make -j4 oox.build sax.build xmloff.build \
comphelper.build sfx2.build reportdesign.build jvmfwk.build shell.build \
jvmaccess.build

Change-Id: Iafcce5855e7ab4e6b146e149eba43fcc1814a825
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204667
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-05-18 15:21:59 +02:00
Muhammad Naeem 884db13b71 tdf#147021: Use std::size() instead of SAL_N_ELEMENTS in several modules
Verified: make Library_tk Library_lng CppunitTest_sax_xmlimport Library_PresentationMinimizer Executable_xpdfimport
Change-Id: I1b7c30fda2b72cdc3fe1cf6bf802f15624aee148
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204771
Tested-by: Jenkins
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
2026-05-11 15:31:06 +02:00
Muhammad Naeem 098e175fb5 tdf#147021: Use std::size() instead of SAL_N_ELEMENTS in several modules
Change-Id: Ifcfd17b089c14033780792deb2d8e23fa26cd2b5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204733
Tested-by: Jenkins
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
2026-05-11 14:40:51 +02:00
Muhammad Naeem 01144d08d9 tdf#145538: Prefer range-based for in svtools, Sfx2, DDE client
Replace a few index loops with range-based iteration where the counter
was only used for element access: index algorithm lookup, UTF-16 OLE
string streaming, and scanning DDE connections for a matching handle.

Verification: make svtools sfx2
Change-Id: I5678af4bdab855d7ce60bdccc46f608cee56c4e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204657
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2026-05-09 11:49:37 +02:00
Muhammad Naeem 71aa55e61a tdf#145538: Use range-based loops for palette and range fills
Replace index-only loops where we copy from containers into UNO or
diagram structures using an explicit sequence index / output pointer:

- BasicColorConfig: vector of property keys into Sequence OUString.
- ChartColorScheme: palette colors into uno color sequence buffer.
- RangeHighlighter: HighlightedRange list from OUString vectors.

Verified: make -j4 basctl chart2
Change-Id: If4a4a8747fadc772329d3ccc3f03778406b140ae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204659
Tested-by: Jenkins
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
2026-05-06 18:15:36 +02:00
Muhammad Naeem 007ff9e08c tdf#145538: Use range-based for in vcldemo renderers and icon loop
Replace index-only loops over maIcons and maRenderers with range-based
iteration; behavior is unchanged (bitmap copies, benchmark resets, and
geomean still use container size).

Verified: make Executable_vcldemo
Change-Id: I84ca9338f0fcb7004f80d71acb6ab3dd948d794d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204660
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
2026-05-03 08:36:46 +02:00
Muhammad Naeem 5c812142b2 tdf#143148: Use pragma once instead of include guards
- Convert include guards to #pragma once in salhelper, starmath, tools, ucb, and o3tl.
- Kept changes minimal to a small cross-module batch as requested by the easyHack guidance.
- Verified with: container=1 make -j4 o3tl.build salhelper.build starmath.build tools.build ucb.build

Change-Id: Ic047061433985e12be41bdb6463ac4c8e8969ddd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204555
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2026-05-02 13:12:13 +02:00
Muhammad Naeem d21d87868d tdf#150518 Replace Close with Cancel for cancel-action sparkline dialogs
Align button labels with cancel semantics in Sparkline

Change-Id: Ic325987e86abf002a43ac94b7b326707c13a3b3d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204383
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2026-05-01 11:09:32 +02:00