sw/source/uibase/shells/textsh1.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 62967366c3b7d8fdf44393af834145a628b18147 Author: Thorsten Behrens <thorsten.behr...@allotropia.de> AuthorDate: Wed Nov 30 12:09:44 2022 +0100 Commit: Thorsten Behrens <thorsten.behr...@allotropia.de> CommitDate: Wed Nov 30 14:42:04 2022 +0100 WASM: conditionalize one more Deepl usage in sw Change-Id: I7aa6bb5a2bc1f64ed17911d777921fbc8be92ddc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143484 Reviewed-by: Tor Lillqvist <t...@collabora.com> Tested-by: Jenkins 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;