From ba81e5c6bd420b41a84ade6ccd774011a8089f7f Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Thu, 28 May 2015 21:35:43 +0100 Subject: tdf#91702 - fix stack-based MessBox allocation. Change-Id: I62dd164e281911d9db3de453789a5badc7cd5fd7 Reviewed-on: https://gerrit.libreoffice.org/15954 Reviewed-by: Michael Meeks Tested-by: Michael Meeks --- xmlsecurity/workben/signaturetest.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmlsecurity/workben') diff --git a/xmlsecurity/workben/signaturetest.cxx b/xmlsecurity/workben/signaturetest.cxx index 77e665f76ed5..e97e6f33c633 100644 --- a/xmlsecurity/workben/signaturetest.cxx +++ b/xmlsecurity/workben/signaturetest.cxx @@ -301,7 +301,7 @@ IMPL_LINK_NOARG(MyWin, VerifyDigitalSignaturesHdl) if ( !rInf.SignatureIsValid ) aText.append( "NOT " ); aText.append( "valid" ); - InfoBox( this, aText ).Execute(); + ScopedVclPtr::Create( this, aText )->Execute(); } return 0; -- cgit v1.2.3