diff options
author | Caolán McNamara <caolanm@redhat.com> | 2023-03-30 20:50:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2023-03-30 20:19:11 +0000 |
commit | a1f6628e0b73556e0f9fa5f4110068ab7096af1a (patch) | |
tree | b4dd4d4d0e65e14dc3459e8f7e580c03dcf7cb5d | |
parent | db7f33af1438538bb51b376242294ecd3bfcb055 (diff) |
ofz#57526 Abrt
Change-Id: Ic165f012e6fc21e4be6833ccbfd6ad70e522cc11
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149772
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | vcl/source/app/settings.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx index 7981a2310c2f..5cb172ab8276 100644 --- a/vcl/source/app/settings.cxx +++ b/vcl/source/app/settings.cxx @@ -2785,6 +2785,8 @@ void MiscSettings::SetDarkMode(int nMode) int MiscSettings::GetAppColorMode() { + if (utl::ConfigManager::IsFuzzing()) + return 0; return officecfg::Office::Common::Misc::ApplicationAppearance::get(); } |