Commit Graph
1281 Commits
Author SHA1 Message Date
Tor Lillqvist b28a46aa50 Make sure that <tools/UnixWrappers.h> stays compilable as C
We don't use it yet from any C source file, but the plan is to do
that. Mainly from freetype, fontconfig, and cairo, when these are
built for Windows when the --enable-headless options is used (for the
new Collabora Office).

Also some cleanups, sorting #include lines, avoiding warnings, etc.

Change-Id: Ifef3588d06fdcceaeaeb3482399737faaf558d7d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195602
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2025-12-15 07:31:21 +01:00
Mike Kaganski e2b5ff965e enable-msvc-analyze: C6011: Dereferencing NULL pointer
C:\lo\core\include\tools\UnixWrappers.h(91) : warning C6011:
Dereferencing NULL pointer 'result'. .: Lines: 77, 78, 83, 84, 89, 90, 91

Change-Id: Ie9f938f7eb5c80a7c5ebb413249de51c29b41f33
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195520
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2025-12-12 13:58:44 +01:00
Tor Lillqvist ddcfcd67af Add wrappers to use Unix-style file APIs on Windows
Of course, LibreOffice has tons of APIs from before whose whole point
is to hide system dependencies behind a cross-platform API. All the
"sal" and "osl" stuff, for starters. The wrappers in this file is not
intended to replace those. The point with these wrappers is to quickly
port code that was written for Unix *only* to Windows, with minimal
changes to the source code. Basically you just need to prefix calls to
functions like open() and stat() with wrap_.

In Windows, "file descriptors" are a thing in the C library, not the
operating system. But the C library does provide the same core set of
functionality as Unix-like systems do. The functions use almost the
same names, except that for some reason, to avoid compilation
warnings, you need to call variants with names preceded by an
underscore, like _close().

Another Windows complication is that the file system is based on
UTF-16 names. You can't just pass file names as eight-bit characters
to _open() and expect it to work for all file names. Instead, you need
to call a function with a "w" prefix, like _wopen(), that takes a wide
character string (UTF-16).

This header is in C, not C++, because we want it to be usable from
some external libraries written in C that we compile as part of
LibreOffice in some circumstances, particularly for Windows.

All functions behave like the wrapped ones, set errno on errors.

Change-Id: Ia093ccf976659ceabbef6e0071da73d4df0b63b7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195422
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2025-12-11 15:49:28 +01:00
Tomaž Vajngerl ecf75f2637 tools: support XmlWriter construction from xmlTextWriterPtr
So we can use it in dumpAsXml functions and eventually use it as
a replacement to directly using libxml.

Change-Id: I204d487b52343f69224fec2fd480657785bc0a69
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195167
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2025-12-08 04:15:21 +01:00
Gabor Kelemen 3db02bc3eb tdf#146619 Run IWYU again on include/tools
Change-Id: I5110d7dd84914ee95ce9170e9b872b2184bc0d9d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193917
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
2025-11-30 23:08:05 +01:00
Méven Car 042ffad714 HostFilter: Allow to disable SSL Host verification for allowed hosts
LOK_HOST_ALLOWLIST allows to pass a restricted list of hosts that
curlsession will be allowed to download from.

LOK_HOST_ALLOWLIST_EXEMPT_VERIFY_HOST reuses this list for the use case
of not verifying SSL host additionaly for them. This is useful for say
developpement environement.

Change-Id: I75ac26a4bfe1c33ff183c4ad12391b2da08593cb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193961
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
(cherry picked from commit 8688e9d8c94a21a7a0abc9edfe632e6fa0e94281)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194187
Tested-by: Jenkins
Reviewed-by: Méven Car <meven.car@collabora.com>
2025-11-19 13:21:52 +01:00
Tomaž Vajngerl 4fa74cefc3 tools: use string_view instead of OString in XmlWriter
Change-Id: I55dd06fc432d9686b370274a4621d61c035a99dc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193997
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2025-11-19 07:33:37 +01:00
Mike Kaganski ebad6146dd Simplify Date a bit
No need to re-invent std::abs. Also drop some static_casts, to
allow warnings in case there will be unexpected values.

Change-Id: Iad1bc7fd22a1c517e4cdce28d156aa42fc5e6ec6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193507
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2025-11-06 09:52:11 +01:00
Sampath-1984 3c4bc6ae41 tdf#143148 Replace include guards with pragma once
Changed in the following files:
- include/tools/color.hxx
- include/tools/config.hxx
- include/tools/date.hxx

Change-Id: I5adb65f4b256eb06616ade246cbda2ab0369c8ca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193013
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2025-10-27 19:00:01 +01:00
Caolán McNamara 9b74900076 ofz#442383407 Integer-overflow
Change-Id: I96c62fd03a6c7b4c5e1ddaa62df4bb577fbdb8ae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190812
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2025-09-11 18:14:53 +02:00
Noel Grandin fc124142eb BitmapEx->Bitmap in various comments
leftovers from earlier conversions

Change-Id: Ia6df2a70eb1eed25dbdcc45654a6466177f0ddfe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190610
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2025-09-05 11:18:39 +02:00
Caolán McNamara d752e23e41 drop coverity workarounds that no longer seem needed
since version 2024

Change-Id: I81b3c04087f0f9db181311cbfdd95a04b229b1be
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189276
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2025-08-10 11:51:43 +02:00
Bartosz Kosiorek 1b68f85903 tdf#167616 EMF Add support for EMR_ANGLEARC record
Change-Id: Ic872f80b2a318ac7c0f3b0cbdb4ad285795989c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188865
Tested-by: Jenkins
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2025-08-06 14:47:01 +02:00
Mike Kaganski 12c6fc8afa Introduce SvStream::ResetEndianSwap to reset to native endianness
Used in several places; avoids inclusion of osl/endian.h and use of
ifdefs for the task.

Change-Id: I87a7b41ef6d0edc3fee39cc192f7abe09f7e45df
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186928
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-06-25 17:22:45 +02:00
Mohamed Ali f4bd60261e Refactor comparison operators for DateTime and Time classes
Change-Id: Ia59373da6717c8705c96eecb0f1dc0016cd2dcd6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181068
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2025-02-23 09:22:18 +01:00
Stephan Bergmann 71e781cbe5 Introduce DBG_TESTNOTSOLARMUTEX, to complement DBG_TESTSOLARMUTEX
...and use it in one place for the experimental Emscripten Qt6
JSPI/non-PROXY_TO_PTHREAD mode (where I have a hunch that some of the deadlocks
I experience in that experimental mode are due to a mis-locked SolarMutex)

Change-Id: Ifb335202569b7d2beecd7a502064ebcfdaaddbab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181872
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2025-02-19 12:38:29 +01:00
Mike Kaganski 828221842b Make Date::GetAsNormalizedDays public, and use it for optimization
The function was introduced specifically to speed up the common case
of null date value, and we can make use of that.

Change-Id: I26ccd2a4abce7a9d9dcd828a62c700c7319b30ae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181700
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-02-15 14:40:51 +01:00
Mohamed Ali 6802590b3a tdf#157665 Use <=> operator for date
Change-Id: I3527b7fde74f09f6ce4a887ca353ba05a8e14742
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177211
Tested-by: Jenkins
Reviewed-by: Hossein   <hossein@libreoffice.org>
2025-02-01 23:00:54 +01:00
Stephan Bergmann b811b283c2 Extend the Link DBG_UTIL support to non-member function Links
...so that they don't report "unknown" (and make empty links report "empty"
instead, for clarification).  This introduces a new LINK_NONMEMBER macro; the
non-default Link ctor should no longer be used directly, so make it private.

Change-Id: I4ae99758de57adb8569ce98cb3824e875b26c959
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180593
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
2025-01-23 12:40:26 +01:00
Tomaž Vajngerl b9477183bb tools: moved function to create the color from string to tools
Will be needed again in a follow up commit.

Change-Id: Idbe2f540f9c3fb974f7dadf62dc099a0791bb0c6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180378
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Jenkins
2025-01-20 01:40:10 +01:00
Tomaž Vajngerl 2990620e20 remove code duplication - conversion hex char to value
We use the same funciton all over the place, so create a common
function in o3tl and use that in all instances where we duplicated
the code.

Change-Id: I74091fbbde8c2ba8c7e4ab30194ab53e2a338e52
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180372
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2025-01-20 01:39:16 +01:00
Gabor Kelemen 72df5a6fdf Drop unneeded forward declarations from include/
test drive the new bin/find-unneeded-includes --fwdecl mode

Change-Id: I507fa2b172ec9e348d1d91066ea241f02187b5ed
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179321
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2025-01-03 09:32:27 +01:00
Mike Kaganski faf5725d7c Simplify a bit
Change-Id: Ibbd269624bbd043aef7039585edf05d4c63bef38
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179429
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-12-26 16:04:33 +01:00
Bogdan Buzea ed3fe52aba tdf#152299 - Remove unused define(s) from C/C++ files
Change-Id: Ib84ec9730aca0b528a61f06c1ac5a4ace7ae77fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177134
Tested-by: Jenkins
Reviewed-by: David Gilbert <freedesktop@treblig.org>
2024-12-22 18:31:26 +01:00
Stephan Bergmann 39f701d540 Avoid UBSan when negating the most negative sal_Int64 value
...as exhibited by recently added 08e566f0c9 "add
a couple of tests for tools::BigInt"

Change-Id: Icd1080f86ccd985868fce34d6f86e2706acd58df
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176677
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-11-16 23:27:39 +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
Noel Grandin a34d9e3619 loplugin:reftotemp in scripting..uui
Change-Id: I6953958b4429dd0fa1a44d02b0b49618f97baf90
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176500
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-11-13 06:35:19 +01:00
Noel Grandin 54a91f287f loplugin:passstuffbyref in tools
Change-Id: Id902f711d14eb21dc14366e8fe8fc5a96c0afec4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176055
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-11-06 09:25:37 +01:00
Noel Grandin 19bc8856c4 move vcl::DeleteOnDeinit to tools
so we can fix a shutdown use-after-free in sot.

Change-Id: I32f83bd94627d72d7bee7ea2ebd6ab77a7f78435
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175335
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-10-22 08:01:19 +02:00
Mike Kaganski 7e5f69aa33 Make tools::Time ctor taking sal_Int64 private
This ctor is meant to set the value of nTime directly; and that value
is not nanoseconds, but an encoded value, using SEC_/MIN_/HOUR_MASK.
But in some places, this ctor was misused for setting of nanoseconds,
which would only accidentally work for values less than one second.
All places that initialized tools::Time with 0, now use EMPTY.

This makes the ctor private; and for the very few cases where really
the encoded value of nTime is stored / restored, fromEncodedTime is
introduced.

Change-Id: I1f1994bd9aab1b51a41b1de637619049fe820da4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175283
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-10-21 10:30:58 +02:00
Noel Grandin 5c4fac1e9f loplugin:unusedmethods
Change-Id: I6ba4b4046190b701d4a15c6fa90b6009ecf4ab1c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175014
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-10-16 15:52:02 +02:00
Caolán McNamara 3ef8075040 version COVERITY conditionals
so there's a recheck on each major if they are still needed

Change-Id: I351f731fe4eaec0ebf735147a9a168cccba3bca5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174883
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-10-14 13:07:37 +02:00
Mike Kaganski bbcd4765ee Simplify tools::Time code
Change-Id: I44a61a0ae2f6e2b81cce96ff96418484a611821d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174689
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-10-08 14:05:14 +02:00
Mohit Marathe be16c6cf5c sw: add Comments Panel in sidebar
This commit adds a sidebar deck for comments.
It has all the functionalities of the old comments
shown via annotation window.

Change-Id: Ibab0e21a54c097d0f42bddb1d07da74319970135
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167840
Tested-by: Jenkins
Reviewed-by: Sarper Akdemir <sarper.akdemir@allotropia.de>
2024-09-13 12:35:45 +02:00
Caolán McNamara 2a5c998d4c allow an exemption to be made for a specific host
Change-Id: Ie423df7839e793a9c07561efb56d5649876947ee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168826
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172328
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2024-08-23 21:52:26 +02:00
Heiko Tietze 74d910231c Resolves tdf#161766 - WCAG 2.1 compliant luminance for isDark()
Alternative solution to I63b85694584cdc6213e7b904ed6402b6c2f2b422

Change-Id: Ifca47de30616295a9965b9313886456313921401
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171862
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2024-08-16 08:55:54 +02:00
Heiko Tietze 919e13fb3b Resolves tdf#61242 - Customization of comment background color
* COL_AUTHOR<1..>_DARK/LIGHT/NORMAL removed Author1..9 added
* dark variants calculated from light with 50% brightness
* light does In/DecreaseLuminance(30) and dark (sd) resp. anchor (sw) In/DecreaseLuminance(80) depending on GetUseDarkMode()
* sw: font color depends on outline background, which now picks up DOCCOLOR; this does not work for dark colors in light mode, for example
* sd does not update on changes and requires a restart

Change-Id: I773793de8cfbdc0d23124db790604b93030375c2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171523
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Jenkins
2024-08-11 08:26:23 +02:00
Noel Grandin 3519027515 make date/time single-arg constructors explicit
Change-Id: I943f755d95b90ef8aeb7d5b339f617ff50db4e29
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170673
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-07-18 10:27:41 +02:00
Yuki Joou cfe6ce1656 tdf#145538 - related: Make tools::PolyPolygon iterable
This patch allows tools::PolyPolygon to be iterated using c++11's
fancy range-based for-loops. It also upgrades a bunch of old-style
for-loops iterating over polypolygons to the new style to make code
more readable.

Note that not all for-loops iterating over polypolygons have been
upgraded, as I didn't find a way to automatically find those. I just
did a few I found manually.

Change-Id: Ifa8d0d44e6f0aa28fdcfd87d70058b12f48c1349
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168730
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-07-14 12:24:14 +02:00
Marco Cecchetti 9aaf21b285 sd: function to return a presentation info in a JSON document
The presentation info includes properties like document size, if the
slide is visible, master slide information and similar.

[ Miklos: don't refer to removed tools::ScopedJsonWriterArray. ]

Change-Id: I5b0acff2ee0df351dd1859e02695ca249e17c391
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170155
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-07-08 19:18:46 +02:00
Tomaž Vajngerl 02c91f82c2 move UniqueID to tools and rework to increase counter in constructor
In the tools module it can be used in more other modules.

Changed the instantiation to increase the counter already in the
constructor, so no need to check if the ID is 0.

Also test for UniqueID

Change-Id: I77c80461875c69496a7e218534d16d6550c168c2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170061
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2024-07-07 09:41:02 +02:00
Caolán McNamara 12a94012ca cid#1554717 COPY_INSTEAD_OF_MOVE
Change-Id: Icb1df2b857568cf085b597e378094e7231286fce
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170047
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
2024-07-06 22:14:59 +02:00
Mike Kaganski dc5adb7ca8 Use more getters/setters instead of direct member access
Change-Id: I8e0077f9040f0036f16e97da65c93c3fd6a87747
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169744
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-07-02 09:14:39 +02:00
Mike Kaganski 63f36e4b76 Move MapToO3tlLength and FieldToO3tlLength to respective enums' headers
Decreases dependency on <tools/UnitConversion.hxx> a bit.

Change-Id: Ia469c08ca2844c522f508a724ddc879120d0b50d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169761
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-06-29 20:13:09 +02:00
Mike Kaganski 11ad465075 Simplify a use of convertTwipToMm100 a bit
For some reason, MSVC fails to find the o3tl::convert overload for Size
defined in <tools/gen.hxx>, unless the call to convert is unqualified,
accompanied by a 'using namespace o3tl' in convertTwipToMm100.

Change-Id: I7100ef55156b6944b5adc5aefa52eee38b3fe69e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169751
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-06-29 12:51:43 +02:00
Mike Kaganski 2cb5e2256c Simplify solar.h a bit
Use std::copy / std::reverse_copy for double serialization. Also
remove __cplusplus conditions, because the header is not included
in any C files. And simplify the functions uses, where casts were
unneeded.

Change-Id: I1d8375e601851231fdffcf52e3f3e3bdcbcbde7f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169706
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2024-06-28 22:53:27 +02:00
Andreas Heinisch 8730575016 tdf#161469 - Basic: align implementation now with the now function in calc
Align the implementation of the now function in basic with the now function in calc to include the also nanoseconds. The precision is limited to milliseconds to avoid comparision inaccuracies.

Change-Id: Ia85b653898f5849f67a171749725faab976b2a8a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168706
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-06-20 14:36:50 +02:00
Noel Grandin 57dc0cbd8e do less OString->OUString conversion in tools datetime functions
Change-Id: I93d012f32b8006019c431b8bf88ab9c7ffb4d3a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167574
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-05-13 14:44:19 +02:00
Noel Grandin defc7a9206 replace createFromAscii with OUString literals in vcl::pdf::BuildinFont
Change-Id: Ia5bf95a5474363e745517edce96a123764dcab73
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167151
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
2024-05-05 11:39:34 +02:00
Noel Grandin 5058a54d8d reduce symbol visibility
Change-Id: Iad2d114d257244f456d5579636e5c25ce070a08a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166805
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2024-04-28 22:30:17 +02:00