summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/outdev/outdev.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx
index 6f3be20869db..b7429f6a1ec9 100644
--- a/vcl/source/outdev/outdev.cxx
+++ b/vcl/source/outdev/outdev.cxx
@@ -107,13 +107,6 @@ OutputDevice::OutputDevice() :
mnOutOffY = 0;
mnOutWidth = 0;
mnOutHeight = 0;
- if (comphelper::LibreOfficeKit::isActive())
- {
- // Device size isn't set later in this case, and with zero size, we
- // miss paint events.
- mnOutWidth = 1;
- mnOutHeight = 1;
- }
mnDPIX = 0;
mnDPIY = 0;
mnDPIScaleFactor = 1;