diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2022-12-23 13:02:57 -0500 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2023-01-29 13:22:28 +0000 |
commit | e2d646665c4cb4c7eeb0a73cb5f460838589bef0 (patch) | |
tree | 42987bdec2a8e09af3b6cf70ad2b244c01d92136 /include/comphelper | |
parent | e3e259d551c0c8b7c106191f2c258e5929db1b29 (diff) |
lok: support per-user timezone
This adds support for user-specific timezone.
When none is provided during loading, the
system default is used.
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
Change-Id: Ie863450687eb82bc475268a09c9112e9fd50020f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144816
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit abaf8c0af1c6c7fe01276fdf2ae62419c7b0f654)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146211
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'include/comphelper')
-rw-r--r-- | include/comphelper/lok.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/comphelper/lok.hxx b/include/comphelper/lok.hxx index 66784e8e4892..4cfdb70a09d3 100644 --- a/include/comphelper/lok.hxx +++ b/include/comphelper/lok.hxx @@ -102,6 +102,9 @@ COMPHELPER_DLLPUBLIC const LanguageTag& getLanguageTag(); /// If the language name should be used for this LOK instance. COMPHELPER_DLLPUBLIC bool isAllowlistedLanguage(const OUString& lang); +/// Update the current LOK's timezone. +COMPHELPER_DLLPUBLIC void setTimezone(bool isSet, const OUString& rTimezone); + // Status indicator handling. Even if in theory there could be several status indicators active at // the same time, in practice there is only one at a time, so we don't handle any identification of // status indicator in this API. |