summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-05-28 21:35:43 +0100
committerAndras Timar <andras.timar@collabora.com>2015-08-06 12:21:54 +0200
commit12278b37cea48e660d7068d67349701d1accbe97 (patch)
treef0da8cd9794888ae6b9da5f656f4b60b0ad823b5 /extensions
parent7b45cd849f31637bf64f552cf58f9ef2d0a69831 (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 'extensions')
-rw-r--r--extensions/source/propctrlr/propcontroller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/propcontroller.cxx b/extensions/source/propctrlr/propcontroller.cxx
index dc85415a63fa..7236a9ba557f 100644
--- a/extensions/source/propctrlr/propcontroller.cxx
+++ b/extensions/source/propctrlr/propcontroller.cxx
@@ -1412,7 +1412,7 @@ namespace pcr
}
catch(const PropertyVetoException& eVetoException)
{
- InfoBox(m_pView, eVetoException.Message).Execute();
+ ScopedVclPtr<InfoBox>::Create(m_pView, eVetoException.Message)->Execute();
PropertyHandlerRef handler = impl_getHandlerForProperty_throw( rName );
Any aNormalizedValue = handler->getPropertyValue( rName );
getPropertyBox().SetPropertyValue( rName, aNormalizedValue, false );