sw/source/uibase/utlui/content.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 609d1e353cfd7a9b138fcbe656a2faae9f84c36a Author: Michael Stahl <michael.st...@allotropia.de> AuthorDate: Wed May 8 13:28:52 2024 +0200 Commit: Michael Stahl <michael.st...@allotropia.de> CommitDate: Fri May 10 10:08:01 2024 +0200 sw: Navigator: don't show virtual drawing objects These can return a non-empty name now, so exclude them explicitly. (regression from commit ae132145ff42a95dc24fb124847c04af4b8c8dab) Change-Id: Ia7f7b9fd7abe67f3302e95b38e3b9fa30b769b5b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167349 Reviewed-by: Michael Stahl <michael.st...@allotropia.de> Tested-by: Jenkins diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index 5642ff20a790..fb7833e244a4 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -1023,7 +1023,7 @@ void SwContentType::FillMemberList(bool* pbContentChanged) for (const rtl::Reference<SdrObject>& pTemp : *pPage) { // #i51726# - all drawing objects can be named now - if (!pTemp->GetName().isEmpty()) + if (!pTemp->IsVirtualObj() && !pTemp->GetName().isEmpty()) { tools::Long nYPos = LONG_MIN; const bool bIsVisible = rIDDMA.IsVisibleLayerId(pTemp->GetLayer());