summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-11-11 12:40:47 +0100
committerMichael Stahl <mstahl@redhat.com>2014-11-11 12:42:47 +0100
commit72d6f917aeb011394b4545530605f5f932f6ad8f (patch)
treeae514faa4306a1f31871d552b709f5a0395e94a3 /sc/source/ui
parent8863396e7039f891ef23298dd15ce3ed9a9fb782 (diff)
sc: ~ScViewPaneBase() needs the SolarMutex
Change-Id: Idbda230e8e4e48804b356e35cba3a3488cd4c55c
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/unoobj/viewuno.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx
index db4769f89dc3..769fe6779c21 100644
--- a/sc/source/ui/unoobj/viewuno.cxx
+++ b/sc/source/ui/unoobj/viewuno.cxx
@@ -129,6 +129,8 @@ ScViewPaneBase::ScViewPaneBase(ScTabViewShell* pViewSh, sal_uInt16 nP) :
ScViewPaneBase::~ScViewPaneBase()
{
+ SolarMutexGuard g;
+
if (pViewShell)
EndListening(*pViewShell);
}