diff options
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx index d5ee45bd533a..6fdad87f41b0 100644 --- a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx +++ b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx @@ -800,8 +800,6 @@ namespace { struct ScVisAreaChanged { - const ScIAccessibleViewForwarder* mpViewForwarder; - explicit ScVisAreaChanged(const ScIAccessibleViewForwarder* pViewForwarder) : mpViewForwarder(pViewForwarder) {} void operator() (const ScShapeChild& rAccShapeData) const { if (rAccShapeData.mpAccShape.is()) @@ -818,7 +816,7 @@ void ScShapeChildren::VisAreaChanged() const ScShapeRangeVec::const_iterator aItr = maShapeRanges.begin(); while (aItr != aEndItr) { - ScVisAreaChanged aVisAreaChanged(&(aItr->maViewForwarder)); + ScVisAreaChanged aVisAreaChanged; std::for_each(aItr->maBackShapes.begin(), aItr->maBackShapes.end(), aVisAreaChanged); std::for_each(aItr->maControls.begin(), aItr->maControls.end(), aVisAreaChanged); std::for_each(aItr->maForeShapes.begin(), aItr->maForeShapes.end(), aVisAreaChanged); |