summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-05-28 21:35:43 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-06-04 16:45:17 +0100
commit07074e0e072f33fe8954eded5cd2495822f5f0e4 (patch)
tree5d8ea28f63974fda098fb8514a25c22f5244817c /xmlsecurity
parent0ae00643fc87ca30ddf788df9f31cec8dae4e544 (diff)
tdf#91702 - fix stack-based MessBox allocation.
Change-Id: I62dd164e281911d9db3de453789a5badc7cd5fd7 Reviewed-on: https://gerrit.libreoffice.org/15954 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/workben/signaturetest.cxx2
1 files changed, 1 insertions, 1 deletions
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<InfoBox>::Create( this, aText )->Execute();
}
return 0;