diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2022-08-31 16:55:41 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2022-08-31 21:53:56 +0200 |
commit | a72861e3be5b89544ae943c0c5cc6d43e8e70a7d (patch) | |
tree | 7026b23027a449cf3d33d898a16dfc2c1a08b035 /sd | |
parent | f6f0ef29f17a7afebd855dc06bd7172884649d73 (diff) |
tdf#150506 Execution parameter confused with slot state
Regression of a6eddceda5d376cd73922123a3bb3a5683307c41
("rename some SID to FN_PARAM").
Change-Id: I5bcafdcec16cc91b1b77f7a3affd630a2f6cc556
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139121
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/drtxtob.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/drtxtob.cxx b/sd/source/ui/view/drtxtob.cxx index b3f53c7a6860..b10af08289fa 100644 --- a/sd/source/ui/view/drtxtob.cxx +++ b/sd/source/ui/view/drtxtob.cxx @@ -415,7 +415,7 @@ void TextObjectBar::GetAttrState( SfxItemSet& rSet ) OUString aStatusVal; LanguageType nLang = LANGUAGE_NONE; bool bIsLookUpWord = GetStatusValueForThesaurusFromContext( aStatusVal, nLang, rEditView ); - rSet.Put( SfxStringItem( FN_PARAM_THES_WORD_REPLACE, aStatusVal ) ); + rSet.Put( SfxStringItem( SID_THES, aStatusVal ) ); // disable "Thesaurus" context menu entry if there is nothing to look up uno::Reference< linguistic2::XThesaurus > xThes( LinguMgr::GetThesaurus() ); |