[Libreoffice-commits] core.git: vcl/source
LuboÅ¡ LuÅák (via logerrit)
logerrit at kemper.freedesktop.org
Tue Oct 5 14:04:49 UTC 2021
vcl/source/window/paint.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit a733c728a2e255507abf2dc7107ba730ee0f2bd8
Author: Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Tue Oct 5 14:34:45 2021 +0200
Commit: Luboš Luňák <l.lunak at collabora.com>
CommitDate: Tue Oct 5 16:04:16 2021 +0200
remove useless '&& true'
Change-Id: I7ba14695171a832bf7e858cb17160861487fb3a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123096
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak at collabora.com>
diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx
index dbb255f8bc87..291b82094c46 100644
--- a/vcl/source/window/paint.cxx
+++ b/vcl/source/window/paint.cxx
@@ -646,7 +646,7 @@ void Window::ImplCallOverlapPaint()
IMPL_LINK_NOARG(Window, ImplHandlePaintHdl, Timer *, void)
{
- if (comphelper::LibreOfficeKit::isActive() && true)
+ if (comphelper::LibreOfficeKit::isActive())
{
// Tiled rendering is used, idle paint does not need to do anything.
mpWindowImpl->mpFrameData->maPaintIdle.Stop();
@@ -691,7 +691,7 @@ IMPL_LINK_NOARG(Window, ImplHandleResizeTimerHdl, Timer *, void)
void Window::ImplInvalidateFrameRegion( const vcl::Region* pRegion, InvalidateFlags nFlags )
{
- if (comphelper::LibreOfficeKit::isActive() && true)
+ if (comphelper::LibreOfficeKit::isActive())
{
// Tiled rendering is used, so there's no need to invalidate for idle painting.
return;
@@ -1293,7 +1293,7 @@ void Window::PaintImmediately()
if (!mpWindowImpl)
return;
- if (comphelper::LibreOfficeKit::isActive() && true)
+ if (comphelper::LibreOfficeKit::isActive())
{
// Tiled rendering is used, direct paint does not need to do anything.
return;
More information about the Libreoffice-commits
mailing list