Kaydet (Commit) 341f5ce7 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 ddc9626e
...@@ -1244,12 +1244,10 @@ void Window::Invalidate( const vcl::Region& rRegion, sal_uInt16 nFlags ) ...@@ -1244,12 +1244,10 @@ void Window::Invalidate( const vcl::Region& rRegion, sal_uInt16 nFlags )
void Window::Validate( sal_uInt16 nFlags ) void Window::Validate( sal_uInt16 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