Rafał Dobrakowski
6fac2ead2d
tdf#171872 sc: allow copying status bar function values
...
Copy the value from the status bar.
According to the checkboxes selected in the submenu.
If “None” is selected, choosing “Copy Value...” saves
an empty string to the clipboard.
This effectively clears the clipboard.
Support for multiple national languages has been added.
Change-Id: I662e8be8feaeac5bf2e4d69f557a8fec2420ff47
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/207385
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org >
Tested-by: Jenkins
2026-07-20 17:56:20 +02:00
Rafał Dobrakowski
5fab2d8f24
tdf#170269 Use std::ranges::any_of to simplify loops
...
in indexdialog.cxx and paramdialog.cxx
Change-Id: I440ea336e107ea7b1f7199c4d2437ce447f3d6fa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203418
Tested-by: Jenkins
Reviewed-by: David Gilbert <freedesktop@treblig.org >
2026-04-26 16:58:57 +02:00
Rafał Dobrakowski
3db7176000
tdf#153109 Use std::any_of to simplify loop in sp2bv.cxx
...
Change-Id: Ib2fd169ba38048ba8a5e886516d91e3bbfbc3bd6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203336
Tested-by: Jenkins
Reviewed-by: David Gilbert <freedesktop@treblig.org >
2026-04-26 16:44:38 +02:00
Rafał Dobrakowski
6c88e551e3
Migration to C++ 20 std::ranges::find from the standard library.
...
Change-Id: I62a7c34dadfe6601ee50cafdeb3e18047a43e131
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203337
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org >
Tested-by: Jenkins
2026-04-12 22:04:09 +02:00
Rafał Dobrakowski
8f76899b2d
tdf#168771 - Convert enum to enum class
...
The package supporting the “pdfium” library has been improved.
Numeric values have been converted to a fixed-size enumeration type.
The changes apply to all occurrences of the older version of this code.
Change-Id: Ie9d0bd98d7c323f890ac3051bb1f08a50d51e046
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201303
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com >
2026-03-30 10:05:05 +02:00
Rafał Dobrakowski
b166bfdef9
tdf#114441 sal_uLong to better integer type
...
Changed the type returned from the ‘InverseColorMap::GetBestPaletteIndex’ method.
The data is stored in ‘sal_uInt8’ format.
Converted to ‘sal_uInt16’ unnecessarily each time before use.
Change-Id: I107f8d472a4d714e1d0b857f99835a58da8ca72e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185992
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de >
2025-06-02 15:51:46 +02:00
Rafał Dobrakowski
b0a9be0189
tdf#153294 Optimize item index retrieval in Menu::GetCharacterBounds()
...
using std::find.
Change-Id: Ia72d77025ea0308e336d0b0b5497fedada7e73cd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182729
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de >
Tested-by: Jenkins
2025-05-13 15:10:42 +02:00
Rafał Dobrakowski
481b0844d8
tdf#145538 Use range based for loops
...
refactor: Simplify loops in MergeNotebookBarAddons and MergeNotebookBarMenuAddons functions
Change-Id: Ie7c8daebca810d05a652dd995827248a1dee89de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181926
Reviewed-by: Hossein <hossein@libreoffice.org >
Tested-by: Jenkins
2025-02-20 11:49:29 +01:00
Rafał Dobrakowski
78e0626bc7
tdf#45705 Integrate zoom UI commands into Calc
...
This patch uses basegfx::zoomtools to zoom in and out, making it smoother.
Similar to commit c96e1ec618 done for
Writer view shell, this patch makes zoom in and zoom out commands
functional for Calc the preview shell.
Change-Id: I1612f51d39c507d192237bf2361b91e6e5723c4c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167389
Tested-by: Jenkins
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org >
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org >
2024-05-13 10:41:43 +02:00
Rafał Dobrakowski
97af15c86c
tdf#114441 Convert sal_uLong to better integer types
...
This patch changes the usage of type sal_uLong in sc module to sal_Int32.
Looking into ScRefreshTimer constructor in sc/inc/refreshtimer.hxx, it
becomes clear that sal_Int32 is a good choice. The usage is for
communicating the refresh delay, measured in seconds. The reason to use
signed variables is to follow the convention in ScRefreshTimer class.
Change-Id: Ib565fd50ec4e6a46e95e9db06b7798a0b4a38d4b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164957
Tested-by: Hossein <hossein@libreoffice.org >
Reviewed-by: Hossein <hossein@libreoffice.org >
2024-04-10 13:55:11 +02:00
Rafał Dobrakowski
0fb98963c4
tdf#146619 Remove unused #includes from C/C++ files
...
'sc' module was cleaned.
Change-Id: Ia491d741a4c1c5314f35ebb4baa82dd516948ae7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165699
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de >
2024-04-02 19:32:44 +02:00
Rafał Dobrakowski
a0c53ab438
tdf#146619 Remove unused #includes from C/C++ files
...
the 'xmlsecurity' module was cleaned
Change-Id: If8fae797ed5586888022ecb09bab690d68ae7bd9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165593
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de >
2024-04-02 17:30:55 +02:00
Rafał Dobrakowski
75706c003c
tdf#146619 Remove unused #includes from C/C++ files
...
the 'desktop' module was cleaned
Change-Id: Ia7dcb77a42ca7f9be67e30d10cd54697bf93b6d0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165663
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de >
2024-04-02 17:27:27 +02:00
Rafał Dobrakowski
68c7d719cd
update PCHs in xmlsecurity
...
Change-Id: I198af12fd6dbe3b218239e3532862cb70b571853
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165040
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de >
2024-03-28 21:05:03 +01:00
Rafał Dobrakowski
03b00e03c2
tdf#146619 Remove unused #includes from C/C++ files
...
'xmlsecurity' module was cleaned.
Add some headers from xmlsec-wrapper.h in preparation
for its removal
Change-Id: Id66e6d40d4d5d980626832c0e2f6255fc31b4bcf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164639
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de >
2024-03-28 12:50:41 +01:00
Rafał Dobrakowski
102622a07d
tdf#146619 Remove unused #includes from C/C++ files
...
'chart2' module was cleaned.
Change-Id: Ib4cdb3c8a21d0ed47f4970894d416327df5e68a6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164864
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de >
2024-03-27 09:20:54 +01:00
Rafał Dobrakowski
4ec72f3935
tdf#146619 Remove unused #includes from C/C++ files
...
'sc' module was cleaned.
Change-Id: I072dcc0bfb8395b88cba18f212aa23f8edf0d32a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164793
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de >
2024-03-14 10:52:18 +01:00
Rafał Dobrakowski
c8b8a2c2cb
tdf#141908 - CppUnittests: replace usage of sal_Int32 with colors
...
Conversion of hex/dec colour notation
(example entry Color( 255, 255, 255), Color(0xFFFFFF) - COL_WHITE)
For the other available colour definitions.
Change-Id: I9eed0cd64adcbc8d25e1c22143a000906a457586
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163729
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com >
2024-03-14 02:33:03 +01:00
Rafał Dobrakowski
7eebe68006
tdf#146619 Remove unused #includes from C/C++ files
...
the 'vcl' module was cleaned.
Change-Id: I3bc7470d08bd5eae46344975293a1f6ae30b30f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164637
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de >
2024-03-13 09:31:09 +01:00
Rafał Dobrakowski
72f1800ad2
tdf#141908 - CppUnittests: replace usage of sal_Int32 with colors
...
Conversion of only one colour, Color(0, 0, 0), Color(0x000000) - COL_BLACK
Change-Id: I4ba2412929522532d32304734b0269c70d75e5ae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163460
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com >
2024-03-13 07:19:03 +01:00
Rafał Dobrakowski
3d2134c011
tdf#157664 Drop operator !=, where respective operator == is defined
...
Found when working on 'tdf#141908'
Change-Id: I33aae153b448c4c6bf0a17810a16c34f8e400774
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163104
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com >
2024-02-09 04:11:01 +01:00
buldi
f5e5e86144
tdf#114441 sal_uLong to better integer type
...
At first it seemd that sal_uInt16 may be sufficient for storing possible
values. But as elsewhere unsigned 32 bit variables are used for such
purpose, sal_uInt32 is used which allows having more space for bigger values.
Change-Id: Ic2834ffc0fcabad91175aba3753e832dc1807fbe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151006
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org >
2024-01-04 12:38:38 +01:00
buldi
65a20a85c2
tdf#145538 Refactor to use range-based for-loop
...
Change-Id: I7c75593fef6d3226011a938349850dc485b763c2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148204
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org >
2023-06-13 09:23:54 +02:00
buldi
aff52ed56a
tdf#145538 Refactor to use range-based for-loop
...
Change-Id: Idc64cae6deccbf62824eadef3a3b4dbb979cfd39
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150737
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org >
2023-06-12 10:29:39 +02:00
buldi
c6755955ae
tdf#147906 Use std::hypot for Pythagorean addition
...
Change-Id: I47611e1bffed814294bd2c7b23b26e1878151464
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149939
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org >
2023-04-24 00:52:19 +02:00
buldi
4e822d22e1
tdf#143148 Use pragma once instead of include guard
...
Change-Id: I6fa77335ced02442eec69b0dbb088505eb4b1aa0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146818
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr >
2023-02-13 13:18:18 +00:00
buldi
8ca611b212
tdf#143148 Use pragma once instead of include guards
...
Change-Id: I5a88b699425a37b914a71400e918965a9f6116eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146730
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr >
2023-02-13 11:26:27 +00:00
buldi
4f6d506e79
tdf#143148 Use pragma once instead of include guard in sw
...
Change-Id: I9b4d2ccb608ceaafb3ee71a34831ce9cb69db6f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146729
Reviewed-by: Julien Nabet <serval2412@yahoo.fr >
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org >
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org >
2023-02-13 09:25:42 +00:00
buldi
1af3cb6cf2
.gitignore: /.vscode*
...
Some VS Code extensions create directories with this prefix.
Change-Id: Ie4a96a276970327d8da39bffd51eaf137e4163bf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146728
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org >
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org >
2023-02-12 21:37:18 +00:00