[Libreoffice-commits] core.git: vcl/source
Chris Sherlock (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jun 29 19:59:56 UTC 2020
vcl/source/gdi/impanmvw.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 49d6768483fbae8789d97512e78a00b860fbad60
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
AuthorDate: Sun Jun 21 22:42:54 2020 +1000
Commit: Tomaž Vajngerl <quikee at 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 <quikee at 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();
}
}
}
More information about the Libreoffice-commits
mailing list