summaryrefslogtreecommitdiff
path: root/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-08 13:53:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-09 21:04:23 +0100
commit34f333445c54c87f3afe777fa467f7a2bb122208 (patch)
tree542b1f2344c9da43ca33da8afec890acc01e712e /sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
parentb4f38d8b788018b3f88421d72bb82ad3bdeef9e2 (diff)
loplugin:indentation in sd
Change-Id: I8ce307b8c467ac1e3f19faca1df15a079bc14169 Reviewed-on: https://gerrit.libreoffice.org/67563 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx')
-rw-r--r--sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
index bb55af18a6f3..f86604ca3775 100644
--- a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
+++ b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
@@ -711,10 +711,10 @@ void AccessibleDrawDocumentView::Activated()
}
else
ResetState (AccessibleStateType::FOCUSED);
- mpChildrenManager->UpdateSelection();
- // if the child gets focus in UpdateSelection(), needs to reset the focus on document.
- if (mpChildrenManager->HasFocus() && bChange)
- ResetState (AccessibleStateType::FOCUSED);
+ mpChildrenManager->UpdateSelection();
+ // if the child gets focus in UpdateSelection(), needs to reset the focus on document.
+ if (mpChildrenManager->HasFocus() && bChange)
+ ResetState (AccessibleStateType::FOCUSED);
}
}