diff options
Diffstat (limited to 'sw/source/uibase/shells/textidx.cxx')
-rw-r--r-- | sw/source/uibase/shells/textidx.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/textidx.cxx b/sw/source/uibase/shells/textidx.cxx index 7f88652d229d..5d8c2880ddca 100644 --- a/sw/source/uibase/shells/textidx.cxx +++ b/sw/source/uibase/shells/textidx.cxx @@ -239,7 +239,7 @@ void SwTextShell::GetIdxState(SfxItemSet &rSet) rSet.Put(SfxBoolItem(FN_INSERT_AUTH_ENTRY_DLG, nullptr != pAuthMark)); if( bInReadonly || !pField || - pField->GetTyp()->Which() != RES_AUTHORITY) + pField->GetTyp()->Which() != SwFieldIds::TableOfAuthorities) rSet.DisableItem(FN_EDIT_AUTH_ENTRY_DLG); rSet.DisableItem(FN_REMOVE_CUR_TOX); } |