diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-09-15 14:22:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-09-15 18:09:27 +0200 |
commit | 6d61e34e5623eab8f735344b0e659d834f6069e0 (patch) | |
tree | 4b6459c88a6bee34685d2f0a531826577796b8de /sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx | |
parent | 5a33420923c76d3e282f6d4ce0f3a63616ca3cff (diff) |
reduce casting around ScDocShell
instead of using SfxObjectShell and then static_cast'ing it
everywhere.
Change-Id: Id3184e44f048228dc4d0d9fa5d579e663c2762cc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156945
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx')
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx index 672785f7d35f..46dcdcfec8df 100644 --- a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx +++ b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx @@ -1550,7 +1550,7 @@ OUString ScAccessibleDocumentPagePreview::getAccessibleName() OUString aName = ScResId(STR_ACC_DOC_SPREADSHEET); ScDocument& rScDoc = mpViewShell->GetDocument(); - SfxObjectShell* pObjSh = rScDoc.GetDocumentShell(); + ScDocShell* pObjSh = rScDoc.GetDocumentShell(); if (!pObjSh) return aName; |