Kaydet (Commit) 560e2ea8 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

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
üst c5e3cf0f
...@@ -1252,12 +1252,10 @@ void Window::Invalidate( const vcl::Region& rRegion, InvalidateFlags nFlags ) ...@@ -1252,12 +1252,10 @@ void Window::Invalidate( const vcl::Region& rRegion, InvalidateFlags nFlags )
void Window::Validate( ValidateFlags nFlags ) void Window::Validate( ValidateFlags nFlags )
{ {
if ( !comphelper::LibreOfficeKit::isActive() && (!IsDeviceOutputNecessary() || !mnOutWidth || !mnOutHeight) ) if ( !comphelper::LibreOfficeKit::isActive() && (!IsDeviceOutputNecessary() || !mnOutWidth || !mnOutHeight) )
return; return;
ImplValidate( NULL, nFlags ); ImplValidate( NULL, nFlags );
LogicInvalidate(0);
} }
bool Window::HasPaintEvent() const bool Window::HasPaintEvent() const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment