sw/source/uibase/utlui/content.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c5d255b1f0bea5fec520c27b5141bce4b41cb3d6 Author: Michael Stahl <michael.st...@allotropia.de> AuthorDate: Tue Aug 23 11:29:46 2022 +0200 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Tue Aug 23 15:37:49 2022 +0200 sw: Navigator: Protect Bookmarks should allow editing, part 2 Nowadays the Navigator is created once on document open, so enabling the protection from the menu will be ignored in SwContentType ctor, while setting loaded from file will take effect. Change-Id: If70b49044a712ebb3729a800836501db76fc490d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138714 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.st...@allotropia.de> diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index 7922655252fa..4599bca9894b 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -354,7 +354,7 @@ SwContentType::SwContentType(SwWrtShell* pShell, ContentTypeId nType, sal_uInt8 { const bool bProtectedBM = m_pWrtShell->getIDocumentSettingAccess().get( DocumentSettingId::PROTECT_BOOKMARKS); - m_bEdit = !bProtectedBM; + m_bEdit = true; m_bDelete = !bProtectedBM; } break;