summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-27 16:10:10 +0000
committerJan Holesovsky <kendy@collabora.com>2016-05-21 22:45:04 +0200
commitd0c6ea67b48bf1cde719175b4afba1f769b37726 (patch)
tree9179355a0a68b01930a5d2b8ad7747421cbaf854
parent8626cafa3a08088fb310fe6ecf2906208e068a3a (diff)
Resolves: rhbz#1283426 using vdevs based on now dead physical devs is unsafe
This is the same problem that commit 133e04fc1a870c0aad207e82eefeeeceaba5dc6d Author: Caolán McNamara <caolanm@redhat.com> Date: Wed Jun 17 09:23:32 2015 +0100 Resolves: tdf#91880 Invalidate graphics when the gtk window is destroyed not just when the GtkSalFrame is dtored tried to fix, but that just made it more unlikely to fail Change-Id: Icba750c787adb6cd5c5ed0874ef07e6201c4cf25
-rw-r--r--drawinglayer/source/processor2d/vclhelperbufferdevice.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
index ccf6d30460a6..eb254bd03da9 100644
--- a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
+++ b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
@@ -185,6 +185,7 @@ namespace
if(!pRetval)
{
pRetval = VclPtr<VirtualDevice>::Create(rOutDev, bMonoChrome ? DeviceFormat::BITMASK : DeviceFormat::FULLCOLOR);
+ maDeviceTemplates[pRetval] = &rOutDev;
pRetval->SetOutputSizePixel(rSizePixel, bClear);
}
else