summaryrefslogtreecommitdiff
path: root/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx')
-rw-r--r--sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
index e055a70df1dd..1f6e89dc84b1 100644
--- a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
+++ b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
@@ -170,8 +170,7 @@ IMPL_LINK_TYPED(AccessibleDocumentViewBase, WindowChildEventListener,
// Window is dying. Unregister from VCL Window.
// This is also attempted in the disposing() method.
vcl::Window* pWindow = maShapeTreeInfo.GetWindow();
- vcl::Window* pDyingWindow = static_cast<vcl::Window*>(
- rEvent.GetWindow());
+ vcl::Window* pDyingWindow = rEvent.GetWindow();
if (pWindow==pDyingWindow && pWindow!=nullptr && maWindowLink.IsSet())
{
pWindow->RemoveChildEventListener (maWindowLink);