19 Commits
Author SHA1 Message Date
shlok3640 f908f26683 tdf#170978 cui: added live search filter to custom dictionary
Change-Id: Icc218d423f21f8f5d92b978004520692ae9d06c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203277
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
Tested-by: Jenkins
2026-05-06 18:05:02 +02:00
shlok3640 e41f1a246f tdf#126389 basctl:replace generic new/open buttons with macro tools
Change-Id: I4106662d027daaa6e69b5f62eb7073f3df58120a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203214
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2026-04-09 14:37:49 +02:00
shlok3640 d2cd98b66f tdf#168272 Add Insert Landscape Page function
Change-Id: I9efd61029b400d4af1662259937ca272e4709938
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200606
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2026-03-01 14:24:17 +01:00
shlok3640 b0342fab0d tdf#130924 Revert SAL_INFO/SAL_WARN changes to vcl/qa
This patch partially reverts f69793083e

Reason described by Stephan:

"I think for test code (in vcl/qa) we always want to print information
about how and why a test failed, regardless of the configuration of
--enable-sal-log and the SAL_LOG environment variable. (Otherwise, it
just gets harder to decipher why some buildbot build, for which all we
have is its stdout/-err output, failed.)"
https://gerrit.libreoffice.org/c/core/+/197490/comments/3d04e8a0_9793bd57

Change-Id: I51a36350bd361eb48222513fc39a2b80416c6b8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199017
Reviewed-by: Hossein <hossein@libreoffice.org>
Tested-by: Jenkins
2026-02-10 11:55:53 +01:00
shlok3640 f69793083e tdf#130924: Replace fprintf with SAL_INFO/WARN in vcl
Change-Id: Ia7ee1e94c77c12df6441a2ebb4da6aaeed68e492
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197490
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
2026-02-06 17:20:50 +01:00
shlok3640 19f943f134 tdf#163738: Use insert() instead of push_back loops
Change-Id: If5bbf0fde172c0fd0a21e44141d7e53e0ae09cab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198445
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2026-01-31 12:30:33 +01:00
shlok3640 f268a212e7 [API CHANGE] tdf#49602: Remove legacy osl/profile Implementation
Change-Id: Ida2f39cd657f846c4b31fa88a46ef3e02baabdf7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196372
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Tested-by: Jenkins
2026-01-23 19:36:08 +01:00
shlok3640 6c3050ea8c tdf#49602: Add unit test for non-recursive bootstrap macro expansion
Change-Id: Iae7c8d92976696472314591111a908466a3d82a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196564
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Tested-by: Jenkins
2026-01-22 08:18:28 +01:00
shlok3640 2ad97afee0 tdf#49602: Implement manual parsing of .ini files in bootstrap.cxx
Replaced legacy osl::profile with manual parser using osl::file. The
code now reads .ini file line by line to find section and keys. Added
SAL_WARN to alert if a profile file fails to open. Also, section headers
are matched by looking at the content between brackets.

Change-Id: I67ede84cde5911cd35d3944de1cebeef03f82ee0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196192
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
2026-01-22 08:17:58 +01:00
shlok3640 c549d491f3 tdf#168272 Allow InsertPageBreak to accept a Page Style
Currently, the .uno:InsertPageBreak command (FN_INSERT_PAGEBREAK)
ignores all arguments and simply inserts a default page break.
This limits the ability of macros and UI elements to specify a
target page style when breaking the page.

This patch:
1. Updates the SDI definition in swriter.sdi to change the return type
   from SfxVoidItem to SfxStringItem, and adds a string parameter
   PageStyle (mapped to FN_PARAM_1).
2. Updates the execution logic in textsh.cxx to check for this parameter.
   If a style name is provided, it passes it to SwWrtShell::InsertPageBreak,
   allowing the page break and style switch to happen immediately.

This enables users (via macros) to insert a break and switch to
"Landscape" or other styles in a single command.

Change-Id: I8de15cd7ddd037420e3b3f4f482f11e1efb02c4a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195326
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2025-12-20 20:53:44 +01:00
shlok3640 0aca17d5c1 tdf#162563 Remove Java Applet test code in bean
Remove the obsolete test code related to Java Applets in the bean module.
Since the Applet feature is being removed, these tests are no longer needed.

Change-Id: Iaee7aad618e6addff5f14c08ec4a07d920c01a90
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195592
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Tested-by: Jenkins
2025-12-16 22:33:21 +01:00
shlok3640 1b30dee17c tdf#162563 Remove Java Applet configuration (NetAccess/Security)
Removes the "NetAccess" and "Security" configuration properties
from the Office.Java schema.

Also removes the corresponding logic in stoc/source/javavm/javavm.cxx
that read these properties to configure the JVM appletviewer mode.
Since Applet support is being removed (deprecated in Java 9, removed
in Java 17), the JVM no longer needs these specific security flags.

Change-Id: Ifb2a2be4d103750d918d938d569c7dc8e196f19d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195591
Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com>
Tested-by: Jenkins
2025-12-16 14:19:26 +01:00
shlok3640 421add5ae7 tdf#165233 Use lambda instead of std::bind in ScDocShell
Replaces the legacy std::bind usage with a modern C++ lambda in
SetNotifyUndoActionHdl. This improves readability and ensures
std::unique_ptr arguments are moved correctly using std::move.

Change-Id: I96d1fe48563a80057fdac64007f729552c5411bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195172
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-12-13 09:11:59 +01:00
shlok3640 f80fc21dc5 tdf#90341 Clean up excessive const_cast in SwCursorShell
The GetPageNum function logically retrieves information without
modifying the document, so it should be marked as const.

This patch:
1. Marks GetPageNum as const in the header and source.
2. Removes the unnecessary const_cast at the call site in viscrs.cxx.
3. Handle the non-const requirement of CurrShell internally using
   const_cast to preserve logical constness of the API.

Change-Id: Id4ff5245d4160166bbddee7dce0b0999bb3fc5c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195084
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-12-13 08:37:51 +01:00
shlok3640 182bc52b79 tdf#165233 Replace std::bind with lambda in EffectRewinder
Replaces the legacy std::bind usages with modern C++ lambdas in
EffectRewinder. This improves readability and avoids the need for
std::bind and std::placeholders.

Change-Id: If0f0f52d02a3b89327feaf01cd0f7f0f3d290501
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195174
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-12-13 08:35:22 +01:00
shlok3640 6010975414 tdf#158237 Use C++20 contains() in ScTable
Change-Id: Ib87d9d03ee73678e0fa4276f518a0cdae4931121
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194919
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-12-11 12:27:26 +01:00
shlok3640 71e72d9103 tdf#165233 Replace std::bind with lambda in SlideShowRestarter
Change-Id: I1c0028bb3506e3433798f674510045792b914180
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195183
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-12-11 12:08:06 +01:00
shlok3640 9e7ec018ce tdf#75280 Convert sal_uIntPtr to sal_uInt64 in SdrEdgeObj
Replaces sal_uIntPtr with sal_uInt64 in ImpCalcEdgeTrack and
related variables.

This ensures safety on 64-bit systems and avoids usage of
pointer-sized integers for arithmetic logic, consistent with
modern codebase standards.

Change-Id: I9120d4e15fc63ea75dc04ae67969b6108e0499f4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194938
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2025-12-11 08:36:04 +01:00
shlok3640 4b49864614 tdf#164685 Modernize SfxItemSetFixed usage
Replaces the old explicit template instantiation with the
modern SfxItemSet::makeFixedSfxItemSet helper function.
This simplifies the syntax and enables auto type deduction.

Change-Id: I23102ca679756f6e2b1caca182469fdaacd501a1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194927
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2025-12-03 07:08:40 +01:00