summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-09-20 12:13:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-09-20 10:45:14 +0000
commitb18e1bc61ccba9d0c74274e2fe45b2b422c601cf (patch)
tree13d90e6939c5d152c30b948148125be7b0cb6f22 /sc/source/ui
parent8a382d4ad190cf07cbd6b1fd6b903975134b0cf1 (diff)
loplugin:unusedfields
Change-Id: I852e98b16fdcb88b04e39d11e3101d502c918c24 Reviewed-on: https://gerrit.libreoffice.org/29078 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx4
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);