vcl/source/gdi/impanmvw.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit 49d6768483fbae8789d97512e78a00b860fbad60 Author: Chris Sherlock <chris.sherloc...@gmail.com> AuthorDate: Sun Jun 21 22:42:54 2020 +1000 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Mon Jun 29 21:59:18 2020 +0200 tdf#74424 vcl: Flush() is implemented in OutputDevice so no need for type check Change-Id: I12f177dadf9a637ab3ef2fa7d85fe96d1d141808 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96811 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/vcl/source/gdi/impanmvw.cxx b/vcl/source/gdi/impanmvw.cxx index abdc376b2567..cf55483692cc 100644 --- a/vcl/source/gdi/impanmvw.cxx +++ b/vcl/source/gdi/impanmvw.cxx @@ -286,9 +286,7 @@ void ImplAnimView::draw( sal_uLong nPos, VirtualDevice* pVDev ) } pDev.disposeAndClear(); - - if( pRenderContext->GetOutDevType() == OUTDEV_WINDOW ) - static_cast<vcl::Window*>( pRenderContext.get() )->Flush(); + pRenderContext->Flush(); } } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits