summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-07-05 11:53:39 +0200
committerMichael Meeks <michael.meeks@collabora.com>2015-07-06 21:01:38 +0100
commit135c3c567aeda1db3d81858cdad401b1df1d2504 (patch)
treef7fefcdabf3a81962a91a8cc744e812d3b11c04d /canvas
parentfaf32bcd27b4a1e53cccb03de51a691152a75c6d (diff)
tdf#91574: SLIDESHOW: crash when second monitor connected
0 0x00002aaab1f6a803 in VirtualDevice::InnerImplSetOutputSizePixel(Size const&, bool, boost::shared_array<unsigned char> const&, bool) (this=0x0, rNewSize=Size = {...}, bErase=true, pBuffer=..., bTopDown=false) at /home/julien/compile-libreoffice/libreoffice/vcl/source/gdi/virdev.cxx:293 1 0x00002aaab1f6ae54 in VirtualDevice::ImplSetOutputSizePixel(Size const&, bool, boost::shared_array<unsigned char> const&, bool) (this=0x0, rNewSize=Size = {...}, bErase=true, pBuffer=..., bTopDown=false) at /home/julien/compile-libreoffice/libreoffice/vcl/source/gdi/virdev.cxx:396 2 0x00002aaab1f6b1af in VirtualDevice::SetOutputSizePixel(Size const&, bool) (this=0x0, rNewSize=Size = {...}, bErase=true) at /home/julien/compile-libreoffice/libreoffice/vcl/source/gdi/virdev.cxx:444 3 0x00002aaae650e30f in vclcanvas::SpriteCanvasHelper::updateScreen(bool, bool&) (this=0x69daf50, bUpdateAll=true, io_bSurfaceDirty=@0x69dafe0: true) at /home/julien/compile-libreoffice/libreoffice/canvas/source/vcl/spritecanvashelper.cxx:316 So initialize maVDev Change-Id: I4a79ba6e8f13c4a2bed3127742a9a9c928e133cd Reviewed-on: https://gerrit.libreoffice.org/16770 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com> Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/vcl/spritecanvashelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/vcl/spritecanvashelper.cxx b/canvas/source/vcl/spritecanvashelper.cxx
index 095dae6ea461..e6fa3e7f7280 100644
--- a/canvas/source/vcl/spritecanvashelper.cxx
+++ b/canvas/source/vcl/spritecanvashelper.cxx
@@ -177,7 +177,7 @@ namespace vclcanvas
SpriteCanvasHelper::SpriteCanvasHelper() :
mpRedrawManager( NULL ),
mpOwningSpriteCanvas( NULL ),
- maVDev(),
+ maVDev(VclPtr<VirtualDevice>::Create()),
maLastUpdate(),
mbShowFrameInfo( false ),
mbShowSpriteBounds( false ),