diff options
Diffstat (limited to 'sd/source/ui')
-rw-r--r-- | sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx index 1d5815dfd0c9..ab724dba287d 100644 --- a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx +++ b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx @@ -63,7 +63,10 @@ AccessibleDocumentViewBase::AccessibleDocumentViewBase ( ::sd::ViewShell* pViewShell, const uno::Reference<frame::XController>& rxController, const uno::Reference<XAccessible>& rxParent) - : AccessibleContextBase (rxParent, AccessibleRole::DOCUMENT), + : AccessibleContextBase (rxParent, + pViewShell->GetDoc()->GetDocumentType() == DOCUMENT_TYPE_IMPRESS ? + AccessibleRole::DOCUMENT_PRESENTATION : + AccessibleRole::DOCUMENT), mpWindow (pSdWindow), mxController (rxController), mxModel (NULL), |