summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdundo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdundo.cxx')
-rw-r--r--svx/source/svdraw/svdundo.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx
index 9aa4e00a3fc3..9da38fbcac02 100644
--- a/svx/source/svdraw/svdundo.cxx
+++ b/svx/source/svdraw/svdundo.cxx
@@ -42,6 +42,7 @@
#include <svx/svdograf.hxx>
#include <sdr/contact/viewcontactofgraphic.hxx>
#include <svx/svdotable.hxx> // #i124389#
+#include <vcl/svapp.hxx>
// iterates over all views and unmarks this SdrObject if it is marked
@@ -761,6 +762,8 @@ SdrUndoObjList::SdrUndoObjList(SdrObject& rNewObj, bool bOrdNumDirect)
SdrUndoObjList::~SdrUndoObjList()
{
+ SolarMutexGuard aGuard;
+
delete m_pListener;
if (pObj!=NULL && IsOwner())