summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
Diffstat (limited to 'svx')
-rw-r--r--svx/source/accessibility/ChildrenManagerImpl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/accessibility/ChildrenManagerImpl.cxx b/svx/source/accessibility/ChildrenManagerImpl.cxx
index c5214d406bbb..08af808b26bf 100644
--- a/svx/source/accessibility/ChildrenManagerImpl.cxx
+++ b/svx/source/accessibility/ChildrenManagerImpl.cxx
@@ -294,7 +294,7 @@ void ChildrenManagerImpl::CreateListOfVisibleShapes (
}
// Add the visible shapes for which only the XShapes exist.
- if (!mxShapeList.is())
+ if (!mxShapeList.is() || !mxShapeList->hasElements())
return;
sal_Int32 nShapeCount = mxShapeList->getCount();
@@ -321,7 +321,6 @@ void ChildrenManagerImpl::CreateListOfVisibleShapes (
}
}
-
void ChildrenManagerImpl::RemoveNonVisibleChildren (
const ChildDescriptorListType& rNewChildList,
ChildDescriptorListType& rOldChildList)