sw/inc/strings.hrc | 1 - sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-)
New commits: commit 816b51c7a9cdd72eaa01f3c074ba5a8446917d19 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Fri Nov 22 12:48:41 2024 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Fri Nov 22 14:24:44 2024 +0100 PVS: V547 Expression 'bNoDictionaryAvailable' is always false Since commit a50a2bf8e8c6084aeacb8d2db42e21f528410742 Author: Szymon Kłos <szymon.k...@collabora.com> Date: Thu Jan 24 11:22:22 2019 +0100 tdf#86731 Don't show 'start from beginning' when dictionary is missing Change-Id: Ib71051ddbb3318c74fb5020ec27560f1c6f73893 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177017 Reviewed-by: Szymon Kłos <szymon.k...@collabora.com> Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sw/inc/strings.hrc b/sw/inc/strings.hrc index a6ce4cad0a5a..44b011cba6b7 100644 --- a/sw/inc/strings.hrc +++ b/sw/inc/strings.hrc @@ -945,7 +945,6 @@ #define STR_QUERY_SPELL_CONTINUE NC_("STR_QUERY_SPELL_CONTINUE", "Continue checking at beginning of document?") #define STR_SPELLING_COMPLETED NC_("STR_SPELLING_COMPLETED", "The spellcheck is complete.") -#define STR_DICTIONARY_UNAVAILABLE NC_("STR_DICTIONARY_UNAVAILABLE", "No dictionary available") /*-------------------------------------------------------------------- Description: strings for the types diff --git a/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx b/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx index 6a865078af74..db9c5a84289f 100644 --- a/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx +++ b/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx @@ -401,7 +401,7 @@ The code below would only be part of the solution. if( aRet.empty() && bCloseMessage && !bNoDictionaryAvailable ) { LockFocusNotification( true ); - OUString sInfo( SwResId( bNoDictionaryAvailable ? STR_DICTIONARY_UNAVAILABLE : STR_SPELLING_COMPLETED ) ); + OUString sInfo( SwResId( STR_SPELLING_COMPLETED ) ); auto xSpellController = GetController(); // #i84610# std::unique_ptr<weld::MessageDialog> xBox(