cui/source/dialogs/screenshotannotationdlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 9e00f6d70cda2070e6dafbad8eded7d6e7f14ef9 Author: Stephan Bergmann <[email protected]> Date: Mon Aug 29 09:15:44 2016 +0200 loplugin:vclwidgets Change-Id: Icce2f463d9263de4c0e40b38600677dbe74d83b3 diff --git a/cui/source/dialogs/screenshotannotationdlg.cxx b/cui/source/dialogs/screenshotannotationdlg.cxx index ccd003f..fff5ba8 100644 --- a/cui/source/dialogs/screenshotannotationdlg.cxx +++ b/cui/source/dialogs/screenshotannotationdlg.cxx @@ -175,7 +175,7 @@ ScreenshotAnnotationDlg_Impl::ScreenshotAnnotationDlg_Impl( maDimmedDialogBitmap.Adjust(-15); // init paint buffering VirtualDevice - mpVirtualBufferDevice = new VirtualDevice(*Application::GetDefaultDevice(), DeviceFormat::DEFAULT, DeviceFormat::BITMASK); + mpVirtualBufferDevice = VclPtr<VirtualDevice>::Create(*Application::GetDefaultDevice(), DeviceFormat::DEFAULT, DeviceFormat::BITMASK); mpVirtualBufferDevice->SetOutputSizePixel(maParentDialogSize); mpVirtualBufferDevice->SetFillColor(COL_TRANSPARENT); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
