diff options
author | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2022-11-30 12:09:44 +0100 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2022-11-30 14:42:04 +0100 |
commit | 62967366c3b7d8fdf44393af834145a628b18147 (patch) | |
tree | 67f262de30087040a0ee1ae9c4ec5cc46c8946e7 | |
parent | 8b9e182f90c681d55848f08605470d2bff39078c (diff) |
WASM: conditionalize one more Deepl usage in sw
Change-Id: I7aa6bb5a2bc1f64ed17911d777921fbc8be92ddc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143484
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Jenkins
-rw-r--r-- | sw/source/uibase/shells/textsh1.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/shells/textsh1.cxx b/sw/source/uibase/shells/textsh1.cxx index b4fba6972fbe..bf3f65e677d8 100644 --- a/sw/source/uibase/shells/textsh1.cxx +++ b/sw/source/uibase/shells/textsh1.cxx @@ -2000,11 +2000,13 @@ void SwTextShell::GetState( SfxItemSet &rSet ) case SID_FM_TRANSLATE: { +#if !ENABLE_WASM_STRIP_EXTRA const SvxDeeplOptions& rDeeplOptions = SvxDeeplOptions::Get(); if (rDeeplOptions.getAPIUrl().isEmpty() || rDeeplOptions.getAuthKey().isEmpty()) { rSet.DisableItem(nWhich); } +#endif } break; |