From 560e2ea8512be606c330cf8f858c67694f690a52 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Tue, 8 Sep 2015 18:49:20 +0200 Subject: tdf#93480: Don't send an EMPTY Invalidate() on .uno:DefaultBullet. When there was no modification to the document, and .uno:DefaultBullet was sent, we have got an invalidtion of the entire document. It seems that Invalidate() was not supposed to be called in the Validate() call, and instead, we should rely on what the Validate() invalidates :-) Change-Id: Ia65df90e4ff34078b59c1b2eb1ce1faac790b40d --- vcl/source/window/paint.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'vcl/source/window') diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx index 8fc4c23fc158..74c74dba5d74 100644 --- a/vcl/source/window/paint.cxx +++ b/vcl/source/window/paint.cxx @@ -1252,12 +1252,10 @@ void Window::Invalidate( const vcl::Region& rRegion, InvalidateFlags nFlags ) void Window::Validate( ValidateFlags nFlags ) { - if ( !comphelper::LibreOfficeKit::isActive() && (!IsDeviceOutputNecessary() || !mnOutWidth || !mnOutHeight) ) return; ImplValidate( NULL, nFlags ); - LogicInvalidate(0); } bool Window::HasPaintEvent() const -- cgit