[Libreoffice-commits] core.git: sw/source
Jan Holesovsky
kendy at collabora.com
Fri Jun 19 02:01:36 PDT 2015
sw/source/core/layout/layact.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ccda9e46074059f5ade64888689d946139d5c202
Author: Jan Holesovsky <kendy at collabora.com>
Date: Fri Jun 19 10:59:03 2015 +0200
rendercontext: Don't direct paint the SHOW_IDLE when double-buffering.
Change-Id: I279187a80b4c6d1fe9e34e38451abeb496e53b37
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index e2b67e7..520808d 100644
--- a/sw/source/core/layout/layact.cxx
+++ b/sw/source/core/layout/layact.cxx
@@ -2103,7 +2103,7 @@ void SwLayIdle::ShowIdle( ColorData eColorData )
{
m_bIndicator = true;
vcl::Window *pWin = pImp->GetShell()->GetWin();
- if ( pWin )
+ if (pWin && !pWin->SupportsDoubleBuffering()) // FIXME make this work with double-buffering
{
Rectangle aRect( 0, 0, 5, 5 );
aRect = pWin->PixelToLogic( aRect );
More information about the Libreoffice-commits
mailing list