diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-05-18 18:13:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-18 20:23:41 +0200 |
commit | 8cf56338a96c77f4712130cc775d57410bd9b623 (patch) | |
tree | fb4a52c62dda143c479fc9b7c67c3e040bb2dc73 /vcl/source/window/brdwin.cxx | |
parent | c66de7079f5ad92889a28b4a3f18adc4c4cf019f (diff) |
fix some casts
after
commit 9090dc1f3b27195f5defd35586ac79357992be21
Date: Mon Jan 18 18:27:19 2021 +0200
split OutputDevice from Window
Change-Id: I2622c9814ec18c98364a7eb18084759f17c80f14
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115762
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window/brdwin.cxx')
-rw-r--r-- | vcl/source/window/brdwin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/brdwin.cxx b/vcl/source/window/brdwin.cxx index e343a7bd4ae1..3fd3503dab80 100644 --- a/vcl/source/window/brdwin.cxx +++ b/vcl/source/window/brdwin.cxx @@ -80,7 +80,7 @@ static void ImplDrawBrdWinSymbolButton( vcl::RenderContext* pDev, nState &= ~DrawButtonFlags::Highlight; tools::Rectangle aTempRect; - vcl::Window *pWin = dynamic_cast< vcl::Window* >(pDev); + vcl::Window *pWin = pDev->GetOwnerWindow(); if( pWin ) { if( bMouseOver ) |