summaryrefslogtreecommitdiff
path: root/vcl/source/window/paint.cxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-09-08 18:49:20 +0200
committerJan Holesovsky <kendy@collabora.com>2015-09-11 18:50:00 +0200
commit560e2ea8512be606c330cf8f858c67694f690a52 (patch)
tree0e4d055345c8d03998f4b4282efb4e8377912e28 /vcl/source/window/paint.cxx
parentc5e3cf0f17605b4fcc809eadf5ebdc9d80025556 (diff)
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
Diffstat (limited to 'vcl/source/window/paint.cxx')
-rw-r--r--vcl/source/window/paint.cxx2
1 files changed, 0 insertions, 2 deletions
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